You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.
There are numerous reasons to not have any captialization in your branches but here are the three biggest problems
Git-workflows are mostly preconfigured to use lower-case branches
(i.e.: cpplint will by default check master not Master)
Windows will mess with your stuff
( i.e.: to windows "Feature" and "feature" are the same folder but for git they produce different hashes)
Windows will mess with stuff of others too
( when someone who follows the "standard" pattern of naming their branches feature/some-feature, then tries at any other time tries to clone a branch called "Feature/SomeOtherFeature", git will not allow him/her)
How to change this
locally the branches would need to be renamed with git checkout <BranchName> && git branch -m <branch-name> if you work on windows the offending files in .git/refs/heads should be deleted. afterwards upload the branch with git push --set-upstream origin <branch-name>
The text was updated successfully, but these errors were encountered:
Why change this ?
There are numerous reasons to not have any captialization in your branches but here are the three biggest problems
Git-workflows are mostly preconfigured to use lower-case branches
(i.e.: cpplint will by default check master not Master)
Windows will mess with your stuff
( i.e.: to windows "Feature" and "feature" are the same folder but for git they produce different hashes)
Windows will mess with stuff of others too
( when someone who follows the "standard" pattern of naming their branches feature/some-feature, then tries at any other time tries to clone a branch called "Feature/SomeOtherFeature", git will not allow him/her)
How to change this
locally the branches would need to be renamed with
git checkout <BranchName> && git branch -m <branch-name>
if you work on windows the offending files in.git/refs/heads
should be deleted. afterwards upload the branch withgit push --set-upstream origin <branch-name>
The text was updated successfully, but these errors were encountered: