Daily Use:
git status
git branch
git add -A // if you put something inside a sub-directory "git add ." won't detect
////////////////////////////////////////////////////////////////////////////////////////////////////////
Troubleshoots:
(0)
error: failed to push some refs to 'https://xxxxx@bitbucket.org/yyyyyyy/zzzzzzzz.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
Force Push...
////////////////////////////////////////////////////////////////////////////////////////////////////////////
ref:
https://www.douban.com/note/525306465/
http://stackoverflow.com/questions/20939648/issue-pushing-new-code-in-github
No comments:
Post a Comment