Git - Branch with the same name but different case doesn't show up -


so have published branch of master, let's call test. co-worker creates branch called test , publishes it. when 'git fetch' says there's new branch called test that's detected on remote when 'git branch -r' not show up. here's fetch results

   5ddcaca..70707f4  master     -> origin/master  * [new branch]      test     -> origin/test  + 890caf9...dc42ec8 test     -> origin/test  (forced update) 

now creating branch same name isn't great practice can't find in reference problem. common knowledge? feel deleting original 'test' branch solve problem don't want accidentally delete branch well, or damage in way.

as have wait until tomorrow talk him, know of solution problem?

edit: i'm using windows 7 64bit, git version 1.9.5.msysgit.0, git bash

if you're going sharing remote repository other people , pushing short-lived test branches, i've found practice namespace branches. example, when creating branches (or when pushing remote if like), call branch:

<your_name>/test 

then colleague should use convention:

<his_name>/test 

this avoid collisions altogether.


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -