Git repository with only remote branches for production
- by becomingGuru
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.