nhkiiim / TIL

Today I Learned
https://github.com/nhkiiim/TIL/discussions
1 stars 0 forks source link

git : Nothing to commit, working tree clean #7

Open nhkiiim opened 1 year ago

nhkiiim commented 1 year ago

git clone 이후 변경사항이 있어도 commit 되지 않음

On branch master
nothing to commit, working tree clean
nhkiiim commented 1 year ago

GitHub Community Discussions 참고


(1) rm -rf .git/

(2) git init

(3) git remote add origin https://repository.remote.url/

(4) git commit -m “Commit message”

(5) git push -f origin master