Guest User

Untitled

a guest
Jan 21st, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. git remote add <remote_name> <original-repo>
  2. # => add remote refs named (whatever) to targeted the original repo
  3.  
  4. git fetch <remote_name>
  5. git merge <remote_name>/<branch-name>
  6. # => safely gathers any commits from original repo and stores them in your local repo
  7.  
  8. ** if auto-merging conflict, use `git diff --color` to check/edit the files
  9. and commit it first before push to the remote repo
Add Comment
Please, Sign In to add comment