Re:Flight rules for Git
by CJefferson on Tuesday October 16, 2018 @03:18PM
(#18232328)
Further, what does `git checkout a/b` do?
* Checkout a file called a/b
* Checkout branch b from remote a
* Checkout a local branch called a/b
I've seen people end up with local branches with names like 'upstream/mybranch', then get super-confused about how these branches aren't "upstream". git should really ban local branches with a / in their name.
* Checkout a file called a/b
* Checkout branch b from remote a
* Checkout a local branch called a/b
I've seen people end up with local branches with names like 'upstream/mybranch', then get super-confused about how these branches aren't "upstream". git should really ban local branches with a / in their name.