Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. Clone a project repo to your account
  2.  
  3. ```git clone ssh_string local_directory```
  4.  
  5. In order to keep in sync with the official repo
  6.  
  7. ```git remote add upstream ssh_string(official repo)```
  8.  
  9. Get information about that remote
  10.  
  11. `git fetch upstream`
  12.  
  13. You need to point your master to the upstream/master (official)
  14.  
  15. `git branch --set-upstream-to=upstream/master master`
  16.  
  17. The remote copy of the repo in your account is called origin
  18.  
  19. Before making any changes to the project, you should review the *contributing.md* file or
  20. the *readme.md* or *wiki* in order to know how to set-up the project development environment,
  21. coding standards and contributing guidelines.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement