PyGitUp icon indicating copy to clipboard operation
PyGitUp copied to clipboard

Add a setting that would try "origin master" if there's no tracking information

Open d33tah opened this issue 10 years ago • 2 comments

$ git up
Can't update your repo because it doesn't has any branches with tracking information.

I would love to be able to set something like GIT_UP_TRY_ORIGINMASTER that would try pulling from origin/master in this case.

d33tah avatar Sep 13 '15 21:09 d33tah

Why don't you set up the tracking information for your repo? I'm not sure this is a common case...

msiemens avatar Sep 14 '15 11:09 msiemens

This happens to me when I run git init and then add remotes, use hub create and other tools that create a .git directory without actually using git clone.

d33tah avatar Oct 02 '15 22:10 d33tah