git version 1.7.3.5
を引っ張っ:更新支店は、私は、次の枝を持って
git branch
image
master
* video
私はオフィスで、いくつかの仕事をしてくれました。私が家に帰ったとき、私はいつも家のノートを更新します。
私はgit remote show origin
をしたときしかし、私は次を得る:
Local refs configured for 'git push':
image pushes to image (up to date)
master pushes to master (fast-forwardable)
video pushes to video (local out of date)
だから私はこれらのブランチの全てのためのgitプルでした:私はgitのステータスを行うと
git pull origin image
git pull origin master
git pull origin video
をビデオと画像ブランチ私は得る:
nothing to commit (working directory clean)
私はマスターブランチでgitステータスを行う:
私は、次の(fast-forwardable)
と
(local out of date)
を理解していない
Your branch is ahead of 'origin/master' by 5 commits.
?
しかし、ビデオのgitステータスでは、最新の状態になっていますか?
マスターが5回コミットしている場合は、マスターをプッシュする必要がありますか?任意の提案
'git log --stat --pretty = format: '%Cred%h%Creset - %s%Cgreen(%cr)%Creset' --abbrev-commit --date = relative origin/master..master'を実行して、その差についての印象を取得します。 '(早送り可能な)'はプッシュするのが安全であることを意味します:ブランチが1つのブランチ(あなたの場合は 'local')を除いて同じコミットを持っています。 – jfs