If userA and I both fork a project from userB. Then userA creates a commit in their master fork and has not decided to make a pull request to userB master. How do I add their commit (userA) to my dev branch (not my master) in my fork?
If userA and I both fork a project from userB . Then userA creates
Share
You can actually do this with one command. For example:
This will merge userA’s
masterbranch into your current branch (usegit checkout devon your own repository first).If you find yourself doing this frequently, you can add a remote to your local repository that allows you to refer to userA’s repository with a single name. For example: