나는이 codereview 도구를 사용하고있다. 나는 자식에 문제가있다. 이 git status
의 출력은 다음과 같습니다git를 사용하여 ReviewBoard. "차이점이없는 것 같습니다!" 하지만 거기에있다
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: path/to/something/modified.js
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# .gitignore
# .reviewboardrc
나는이 메시지를 얻을이 상태에서 post-review --guess-summary --guess-description -p
를 실행하려고하면 :
은 어떤 차이점이있을 것 같지 않습니다! 내가
git add -u
을 실행하면
이제, 내 git status
는이 상황을
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: path/to/something/modified.js
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# .gitignore
# .reviewboardrc
, 내가 다시 post-review --guess-summary --guess-description -p
를 실행하면 내가 여전히 같은 메시지가 :
이 안 어떤 diffs 것 같다! 내가 명령
git commit -m "my commit"
으로 커밋 경우이 시점에서
I (명백하게) 다음과 같은 메시지가 :
변경[마스터 027e044] 제 1 개 파일을 커밋, 1 개 삽입 (+)
Review request #22 posted.
http://192.168.133.218/r/22/
이 :
내가 다시 사후 검토 명령을 실행 I 출력이
이자식과 기본 사전 커밋 워크 플로우는 다음과 같이 보일 것이다 :
Clone the central repository. Make a change you want reviewed, but do not commit it yet. Run post-review (or otherwise submit a diff). Get reviews, update your change as needed. When the change is marked to ship, commit it to master and push it to the origin.
내 의도는 사전을하고 이후는 ReviewBoard FAQ를 읽어 가면 여기에 메시지 때문에 저 퍼즐 -commit, 커밋 변경을 한 후에 diff가없는 이유를 설명 할 수 있습니까?
솔루션 링크가 오래되었습니다. – mateor