What I want:
Update all new commits from server with my local repository in all branch but do not merge any branch (just join the history lines).
I am trying this command
git fetch --force --progress --verbose name@host:/path/to/repository.git
I thought it will work fine, because it show:
From host:/path/to/repository
* branch HEAD -> FETCH_HEAD
But, what does this output mean? If I see the log, it wasn't updated. If I do a clone from server, all new commits are there. So... The command does not work. Then I try with a branch that exist in server but not in my local repository
git fetch --force --progress --verbose name@host:/path/to/repository.git my_branch
The result is:
From host:/path/to/repository
* branch my_branch -> FETCH_HEAD
And any success... Even if I not know all branches and my branch was update, I want to fetch this changes and can see in my log.
Any idea to do it work?