git Your branch is up-to-date with 'origin/master'. Changes not staged for commit:
알고리즘 문제를 풀고 그것을 git을 통해서 저장하고 있는데, 이번에 commit을 하다가 문제가 발생했다...
내용인 즉,
git commit -m"mod"
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
modified: BinomialCoefficient/.vs/BinomialCoefficient/v14/.suo
modified: BinomialCoefficient/BinomialCoefficient1/Debug/Binomial.31B3 547C.tlog/CL.command.1.tlog
modified: BinomialCoefficient/BinomialCoefficient1/Debug/Binomial.31B3 547C.tlog/CL.read.1.tlog
modified: BinomialCoefficient/BinomialCoefficient1/Debug/Binomial.31B3 547C.tlog/CL.write.1.tlog
modified: BinomialCoefficient/BinomialCoefficient1/Debug/vc140.idb
modified: BinomialCoefficient/BinomialCoefficient1/Debug/vc140.pdb
deleted: BinomialCoefficient/BinomialCoefficient1/bc2.cpp
modified: BinomialCoefficient/BinomialCoefficient2/BinomialCoefficient 2.vcxproj
modified: BinomialCoefficient/BinomialCoefficient2/BinomialCoefficient 2.vcxproj.filters
modified: BinomialCoefficient/BinomialCoefficient2/Debug/Binomial.95F1 8686.tlog/CL.command.1.tlog
modified: BinomialCoefficient/BinomialCoefficient2/Debug/Binomial.95F1 8686.tlog/CL.read.1.tlog
modified: BinomialCoefficient/BinomialCoefficient2/Debug/Binomial.95F1 8686.tlog/CL.write.1.tlog
modified: BinomialCoefficient/BinomialCoefficient2/Debug/vc140.idb
modified: BinomialCoefficient/BinomialCoefficient2/Debug/vc140.pdb
modified: BinomialCoefficient/Debug/BinomialCoefficient1.ilk
modified: BinomialCoefficient/Debug/BinomialCoefficient1.pdb
modified: BinomialCoefficient/Debug/BinomialCoefficient2.ilk
modified: BinomialCoefficient/Debug/BinomialCoefficient2.pdb
Untracked files:
BinomialCoefficient/BinomialCoefficient.VC.VC.opendb
BinomialCoefficient/BinomialCoefficient2/bc2.cpp
no changes added to commit
요런 말이 뜨던데... 사실 잘 모르겠고... google에
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
이 내용만 검색해 봤는데,
http://forum.codio.com/t/git-commit-reports-changes-not-staged-for-commit/286
I figured out what to do...
Need to run
git commit -a
instead of just
git commit
요렇게 되어 있길래
git commit -a로 commit을 다시 해보니 잘 되더라...
사실 정확한 문제는 뭔지 모르겠지만.... 되니깐 다행이다...
<출처>
http://forum.codio.com/t/git-commit-reports-changes-not-staged-for-commit/286
'git' 카테고리의 다른 글
[Git] 오류 fatel remote error CAPTCHA required (0) | 2024.01.03 |
---|---|
[git] stash를 사용하여 수정 내역 스택에 저장하기 (0) | 2023.11.14 |
[git] 명령어 모음(commit, push, pull, fetch 등등) (0) | 2023.11.07 |
[git]error: failed to push some refs to (0) | 2018.01.08 |