Git repository with only remote branches for production
Posted
by becomingGuru
on Stack Overflow
See other posts from Stack Overflow
or by becomingGuru
Published on 2010-03-23T10:31:26Z
Indexed on
2010/03/23
10:33 UTC
Read the original article
Hit count: 207
git
On the remote production branch, I don't do any changes, so I don't need any branches.
I always want it mirrored to the origin production git checkout origin production
works.
But, I can't seem to pull after that.
Is creating a local branch that tracks the origin production by
git checkout -b production --track origin production
the only option, or, I'm wondering, if there is any other way.
© Stack Overflow or respective owner