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?