github forked repository: How to pull the changes from forkedrepo/branch to orignalrepo/<Create-new-branch> -


usera original repository creator: no branches. master only.
userb forks repository , makes changes , creates new branch , puts changes github.com/userb/repo-name/newbranch-name

how can usera ,

  1. pull changes github.com/userb/repo-name/newbranch-name ,
  2. put new branch same name of userb ....that is, github.com/usera/repo-name/newbranch-name

some info on current scenario
userb(forked user) not available push changes - question not "how can something" "how can myself" without requesting userb push changes usera (original repo creator)
in addition, usera doesnt want merge master.
usera prefers put these changes in new branch. i.e. github.com/usera/repo-name/{create-new-branch}

add userb's repository remote, pull new branch locally, push usera's repository:

git remote add usera github.com/usera/repo-name git remote add userb github.com/userb/repo-name git pull userb newbranch-name git push usera newbranch-name 

Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -