How do I get a remote tracking branch to stay up to date with remote origin in a bare Git repository?
- by Beau Simensen
I am trying to maintain a bare copy of a Git repository and having some issues keeping the remote tracking branches up to date. I create the remote tracking branches like this:
git branch -t 0.1 origin/0.1
This seems to do what I need to do for that point in time. However, if I make changes to origin and then fetch with the bare repo, things…