msysgit - Git fetch: origin/master different from FETCH_HEAD -
i'm using msysgit. after git fetch origin master
, , run git diff master origin/master
nothing shows up. if run git diff master fetch_head
differences show up. haven't changed settings, how come it's that?
note have line fetch = +refs/heads/*:refs/remotes/origin/*
existing in .git/config
g
the easiest solution upgrade msysgit installation (see msysgit releases).
as mention in "git fetch
, fetch_head
, origin/master
", since git 1.8.4 (august 2013) git fetch origin master
update origin/master
, not fetch_head
.
Comments
Post a Comment