Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S sucs-site
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 25
    • Issues 25
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • sucssite
  • sucs-site
  • Wiki
  • forking

forking · Changes

Page history
Change the url to the new one authored Sep 11, 2015 by Imran Hussain's avatar Imran Hussain
Hide whitespace changes
Inline Side-by-side
forking.md 0 → 100644
View page @ 5d9f7454
So you want to keep on top of all the changes that happen to the main SUCS site repo in your own fork?
Good, keep reading.
cd to your cloned repo and run
$ git remote -v
You should see something like this:
```
imranh@silver:~/public_html/sucs-site$ git remote -v
origin git@projects.sucs.org:imranh/sucs-site.git (fetch)
origin git@projects.sucs.org:imranh/sucs-site.git (push)
```
Now you want to run this
$ git remote add upstream git@projects.sucs.org:sucssite/sucs-site.git
Then run
git fetch upstream
Switch to the master branch (git branch master) and run the following to sync upstream changes into your branch
git merge upstream/master
Enjoy :)
\ No newline at end of file
Clone repository
  • forking
  • getting started
  • Home