Arnab's GitHub Instructions


Welcome!

Here you can find useful instructions for gitHub in Q&A format.

How to fork a repository?

How to update/Sync a gitHub repository?

1. Clone your fork:

git clone git@githubNOSPAMPLEASE.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo

git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git

git fetch upstream

3. Updating your fork from original repo to keep up with their changes:

git pull upstream master

4. Push changes to your forked area:

git push

How to...?

-- ArnabPurohit - 2018-06-02

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2018-06-02 - ArnabPurohit
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback