Skip to content

[Guide] Git Tips (Basics)

Moony Chou edited this page Nov 5, 2015 · 2 revisions

For a project on Github, click the "Fork" button on the upper-right corner of its repo homepage (e.g. this page for TUNet) to create your own copy of the repo.

In local develop environment, clone the code from your fork on Github. First you can use Github desktop clients (win&mac), and do advanced things in command line in the future, e.g. remote add upstream, rebase, stash, etc.

Commit and push on your own fork, then make pull request to contribute code back. Please follow the CONTRIBUTING rules (usually at the root directory of the project as CONTRIBUTING.md) for commit styles and pull requests.