Git branch ahead of master (old repo) -


i annoyed fact every time checkout master branch message branch ahead of old repository.

a while ago created new repository renamed 1 origin , renamed other 1 old every time checkout master merge current branch annoying message master behind on old repository.

i not want rid of repository might need on later time

does have idea how git rid of message?

git issues warning when branch ahead of 1 it tracking. means not see warning experience other inconveniences working master branch since tracking obsolete one.

you should set branch track master in new repository:

git branch -u origin/master master 

Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -