There is a repo say ABC/A. I had forked this repo to my own github say ME/A. I was asked to create a branch on ME/A say x (originally there were develop and master). I had to wr
Assume that the name of the remote you are using for ME
is called me
(git remote -v show
will list them).
Then with your branch checked out, do
git push -u me A
where A
is the name of the branch. The -u
will set your local branch to track the upstream branch on me
, so git pull
will pull from the right place, and future git push
es will work without additional commands.