jamesksh0130 / bcd-test

MIT License
0 stars 0 forks source link

Need a license file. #3

Open hisplan opened 7 months ago

hisplan commented 7 months ago

Please follow the instructions below:

  1. Start by creating a new file within your project's directory and name it LICENSE without adding any file extension.
  2. Use a web browser to search for the MIT License text. Official sources like the Open Source Initiative's website or the MIT website itself are reliable places to find the accurate license text.
  3. Once you have located the MIT License text, copy it in its entirety.
  4. Open the newly created LICENSE file with a text editor of your choice (such as Notepad on Windows, TextEdit on Mac, or any code editor like VS Code).
  5. Paste the copied MIT License text into the LICENSE file. Edit the first line, change the year and copyright holder name.
  6. Commit the LICENSE file and push it to your repo.
jamesksh0130 commented 7 months ago

I just completed #3, and. here is new file, gitignored.

hisplan commented 7 months ago

Okay, this issue is about the LICENSE file. I still do not see the LICENSE file.

jamesksh0130 commented 7 months ago

[image: image.png] Good evening professor, I made the LICENSE file, however for some reason, it is with that red box and also not on the first page of my github page.

2024년 4월 10일 (수) 오후 8:12, Jaeyoung Chun @.***>님이 작성:

Okay, this issue is about the LICENSE file. I still do not see the LICENSE file.

— Reply to this email directly, view it on GitHub https://github.com/jamesksh0130/bcd-test/issues/3#issuecomment-2047252625, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHUGSOADDCFE6F2QOQEAMHDY4UNBRAVCNFSM6AAAAABF4T3BU2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBXGI2TENRSGU . You are receiving this because you were assigned.Message ID: @.***>

hisplan commented 7 months ago

You'd have to push the file to your repo. I'm not sure what you meant by the red box.

jamesksh0130 commented 7 months ago

[image: image.png] The red box is these. The left side has a red line with a box, also there are red boxes next to .gitignore, .gitignore.save and so on.

2024년 4월 10일 (수) 오후 8:30, Jaeyoung Chun @.***>님이 작성:

You'd have to push the file to your repo. I'm not sure what you meant by the red box.

— Reply to this email directly, view it on GitHub https://github.com/jamesksh0130/bcd-test/issues/3#issuecomment-2047284809, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHUGSOAPXNH6O62E73YM3LLY4UPEJAVCNFSM6AAAAABF4T3BU2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBXGI4DIOBQHE . You are receiving this because you were assigned.Message ID: @.***>

hisplan commented 7 months ago

Okay, I still don't see the image. Please DO NOT use your email to reply. Use GitHub and attach the image using GitHub.

jamesksh0130 commented 7 months ago
스크린샷 2024-04-10 오후 8 39 17

The red box is these. The left side has a red line with a box, also there are red boxes next to .gitignore, .gitignore.save and so on.

hisplan commented 7 months ago

I don't know what you did, but it looks like you created the LICENSE file, but later deleted it. Just create it again and push it to the repo.

jamesksh0130 commented 7 months ago

When I tried to create new LICENSE file and pushed the file to the repo, there is an error message like this.

(base) james@seunghyeons-MacBook-Pro bcd-test % git push origin main To https://github.com/jamesksh0130/bcd-test.git ! [rejected] main -> main (non-fast-forward) error: failed to push some refs to 'https://github.com/jamesksh0130/bcd-test.git' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details.

According to hint message I did git pull, but still same message appeared out.

hisplan commented 7 months ago

If the remote repo and local repo have differences, you could get that kind of message. While you were working on the local, I pushed something to your remote repo, thus there are some differences. But this is very natural, and this is something that can happen anytime.

Anyway, run the git status command and show me the output.

jamesksh0130 commented 7 months ago

I tried to use git merge, but

스크린샷 2024-04-10 오후 10 10 04

this is the screenshot when I run the git status command.

hisplan commented 7 months ago

Run git pull and show me the output.

jamesksh0130 commented 7 months ago
스크린샷 2024-04-10 오후 10 22 22

this is the result when I run git pull

hisplan commented 7 months ago

You have the following files/folders on your local repo:

The remote repo also has those files/folders, but they are not the same as those on your local repo.

That's why when you run git pull, git complains because it can't decide which one is the right one.

How can you resolve this issue???

jamesksh0130 commented 7 months ago

If I decide one of the repo between remote repo or local repo, and remove the other one, then I think git pull will be run.

hisplan commented 7 months ago

Okay, then try.

jamesksh0130 commented 7 months ago

I finally uploaded LICENSE file, thank you so much professor

hisplan commented 7 months ago

Okay, just minor fix, then you will be done with this issue.

Delete [ and ]: https://github.com/jamesksh0130/bcd-test/blob/fdd2ba9bf7698d84a8a2624db210fba9fafa69c4/LICENSE#L3