shell - Suddenly can't create local/remote git branches -


not sure how i've managed can't create local , remote branch anymore.

~/myapp(master) > git checkout -b new_feature origin/new_feature fatal: git checkout: updating paths incompatible switching branches. did intend checkout 'origin/new_feature' can not resolved commit? 

i've tried re-cloning app in case .git directory corrupted, no luck. suggestions?

you can't create remote branch way, need first git checkout -b new_feature create new local branch , git push origin new_feature push branch remote.


Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -