crwdns17853:0crwdne17853:0

crwdns17854:0crwdne17854:0

Note

crwdns42247:0:doc:crwdne42247:0

crwdns17856:0crwdne17856:0

crwdns17857:0crwdne17857:0

Tip

crwdns17858:0crwdne17858:0

Repo Overview

crwdns17859:0crwdne17859:0

crwdns28464:0crwdne28464:0

crwdns17861:0crwdne17861:0

  1. crwdns17862:0crwdne17862:0

  2. crwdns17863:0crwdne17863:0

  3. crwdns17864:0crwdne17864:0

  4. crwdns17865:0crwdne17865:0

  5. crwdns17866:0crwdne17866:0

  6. crwdns17867:0crwdne17867:0

  7. crwdns17868:0crwdne17868:0

  8. crwdns17869:0crwdne17869:0

  9. crwdns17870:0crwdne17870:0

  10. crwdns17871:0crwdne17871:0

crwdns17872:0crwdne17872:0

crwdns17873:0crwdne17873:0

Note

crwdns17874:0crwdne17874:0

crwdns17875:0crwdne17875:0

Note

crwdns42521:0crwdne42521:0

Repo forking

crwdns17877:0crwdne17877:0

crwdns42248:0:doc:crwdne42248:0

Note

crwdns42522:0crwdne42522:0

crwdns42523:0crwdne42523:0

git clone git://github.com/YourGitHubAccount/ClonedRepoName.git
Repo cloning

crwdns17881:0crwdne17881:0

crwdns17882:0crwdne17882:0

crwdns17883:0crwdne17883:0

git checkout -b [name_of_your_new_branch]

crwdns42524:0crwdne42524:0

git branch
Branches

crwdns17885:0crwdne17885:0

crwdns17886:0crwdne17886:0

crwdns17887:0crwdne17887:0

crwdns17888:0crwdne17888:0

crwdns17889:0crwdne17889:0

crwdns42525:0crwdne42525:0

crwdns17891:0crwdne17891:0

git add <file>
git add <folder>

crwdns17892:0crwdne17892:0

git commit

crwdns17893:0crwdne17893:0

Note

crwdns17894:0crwdne17894:0

crwdns17895:0crwdne17895:0

Committing

crwdns17896:0crwdne17896:0

crwdns17897:0crwdne17897:0

git push <remote> <branch>

crwdns17898:0crwdne17898:0

git push origin feature/YourFeature
Pushing commits

crwdns17899:0crwdne17899:0

crwdns42526:0crwdne42526:0

PRs

crwdns17901:0crwdne17901:0

crwdns17902:0crwdne17902:0

crwdns17903:0crwdne17903:0

crwdns17904:0crwdne17904:0

crwdns17905:0crwdne17905:0

crwdns17906:0crwdne17906:0

crwdns42527:0crwdne42527:0

crwdns17908:0crwdne17908:0

crwdns17909:0crwdne17909:0

Squashing commits

crwdns17910:0crwdne17910:0

crwdns42528:0crwdne42528:0

Setting up a remote

crwdns17912:0crwdne17912:0

git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git

crwdns17913:0crwdne17913:0

git remote -v

crwdns17914:0crwdne17914:0

origin    https://github.com/YOUR_USERNAME/YOUR_FORK.git (fetch)
origin    https://github.com/YOUR_USERNAME/YOUR_FORK.git (push)
upstream  https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git (fetch)
upstream  https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git (push)

Note

crwdns17915:0crwdne17915:0

crwdns17916:0crwdne17916:0

crwdns17917:0crwdne17917:0

crwdns42529:0crwdne42529:0

crwdns17919:0crwdne17919:0

crwdns17920:0crwdne17920:0

git fetch upstream

crwdns17921:0crwdne17921:0

crwdns17922:0crwdne17922:0

crwdns17923:0crwdne17923:0

git checkout master

crwdns17924:0crwdne17924:0

git merge upstream/master

crwdns17925:0crwdne17925:0

Rebasing 1

crwdns17926:0crwdne17926:0

crwdns17927:0crwdne17927:0

git checkout feature/yourfeature
git rebase master

crwdns17928:0crwdne17928:0

Rebasing 2

crwdns17929:0crwdne17929:0

crwdns17930:0crwdne17930:0

git checkout master
git push -f
git checkout feature/yourfeature
git push -f
Rebasing 3

crwdns17931:0crwdne17931:0