How do I set git up to automatically configure the upstream on a branch

时间:2015-06-30 13:44:00

标签: git

I am always pushing my code to the same upstream repo. I would like to set up git so that when I create a new branch with git checkout -b foo, the upstream for branch foo will automatically push to and pull from the branch foo on the origin repo.

Is this possible?

0 个答案:

没有答案
相关问题