commit - Strange behavior with git fetch -
i'm getting big problem git fetch...look this
$ git fetch server:project 422b4cb..a04c062 master -> origin/master $ git show-ref ba113be885e66a5306d1646cd3db0801170c04f8 refs/heads/alpha-release a04c062261beeb4a951337ebb58745945cac3562 refs/heads/master a04c062261beeb4a951337ebb58745945cac3562 refs/heads/test a04c062261beeb4a951337ebb58745945cac3562 refs/remotes/origin/head ba113be885e66a5306d1646cd3db0801170c04f8 refs/remotes/origin/alpha-release a04c062261beeb4a951337ebb58745945cac3562 refs/remotes/origin/master
and git fetch
:
$ git fetch server:project + a04c062...422b4cb head -> origin/head (forced update) $ git show-ref ba113be885e66a5306d1646cd3db0801170c04f8 refs/heads/alpha-release a04c062261beeb4a951337ebb58745945cac3562 refs/heads/master a04c062261beeb4a951337ebb58745945cac3562 refs/heads/test 422b4cbac3db2784c8f6e94ffd99c7afcda9122d refs/remotes/origin/head ba113be885e66a5306d1646cd3db0801170c04f8 refs/remotes/origin/alpha-release 422b4cbac3db2784c8f6e94ffd99c7afcda9122d refs/remotes/origin/master
and one...
$ git fetch server:project 422b4cb..a04c062 master -> origin/master $ git show-ref ba113be885e66a5306d1646cd3db0801170c04f8 refs/heads/alpha-release a04c062261beeb4a951337ebb58745945cac3562 refs/heads/master a04c062261beeb4a951337ebb58745945cac3562 refs/heads/test a04c062261beeb4a951337ebb58745945cac3562 refs/remotes/origin/head ba113be885e66a5306d1646cd3db0801170c04f8 refs/remotes/origin/alpha-release a04c062261beeb4a951337ebb58745945cac3562 refs/remotes/origin/master
and git fetch
:
$ git fetch server:project + a04c062...422b4cb head -> origin/head (forced update) $ git show-ref ba113be885e66a5306d1646cd3db0801170c04f8 refs/heads/alpha-release a04c062261beeb4a951337ebb58745945cac3562 refs/heads/master a04c062261beeb4a951337ebb58745945cac3562 refs/heads/test 422b4cbac3db2784c8f6e94ffd99c7afcda9122d refs/remotes/origin/head ba113be885e66a5306d1646cd3db0801170c04f8 refs/remotes/origin/alpha-release 422b4cbac3db2784c8f6e94ffd99c7afcda9122d refs/remotes/origin/master
my refs/remotes/origin/head
, refs/remotes/origin/master
force update 422b4cb
...
what happened? 422b4cb
... old commit.
wow...after big fight git fixed issue using:
git push origin :head
Comments
Post a Comment