gitman
gitman copied to clipboard
Checkout branches when possible
Even when tracking a SHA, first try checking out the branch to see if the current head matches the desired ref. This will leave the nested repository in a better state for ongoing development.
This could be accomplished by first checking out the rev and then the locked rev.
- [x] Wait for https://github.com/jacebrowning/gdm/issues/80