crwdns30861:0crwdne30861:0

crwdns30862:0crwdne30862:0

Note

crwdns30863:0:doc:crwdne30863:0

crwdns30864:0crwdne30864:0

crwdns30865:0crwdne30865:0

Tip

crwdns30866:0crwdne30866:0

Repo Overview

crwdns30867:0crwdne30867:0

crwdns30868:0crwdne30868:0

crwdns30869:0crwdne30869:0

  1. crwdns30870:0crwdne30870:0

  2. crwdns30871:0crwdne30871:0

  3. crwdns30872:0crwdne30872:0

  4. crwdns30873:0crwdne30873:0

  5. crwdns30874:0crwdne30874:0

  6. crwdns30875:0crwdne30875:0

  7. crwdns30876:0crwdne30876:0

  8. crwdns30877:0crwdne30877:0

  9. crwdns30878:0crwdne30878:0

  10. crwdns30879:0crwdne30879:0

crwdns30880:0crwdne30880:0

crwdns30881:0crwdne30881:0

Note

crwdns30882:0crwdne30882:0

crwdns30883:0crwdne30883:0

Note

crwdns30884:0crwdne30884:0

Repo forking

crwdns30885:0crwdne30885:0

crwdns30886:0:doc:crwdne30886:0

Note

crwdns30887:0crwdne30887:0

crwdns30888:0crwdne30888:0

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

crwdns30889:0crwdne30889:0

crwdns30890:0crwdne30890:0

crwdns30891:0crwdne30891:0

git checkout -b [name_of_your_new_branch]

crwdns30892:0crwdne30892:0

git branch
Branches

crwdns30893:0crwdne30893:0

crwdns30894:0crwdne30894:0

crwdns30895:0crwdne30895:0

crwdns30896:0crwdne30896:0

crwdns30897:0crwdne30897:0

crwdns30898:0crwdne30898:0

crwdns30899:0crwdne30899:0

git add <file>
git add <folder>

crwdns30900:0crwdne30900:0

git commit

crwdns30901:0crwdne30901:0

Note

crwdns30902:0crwdne30902:0

crwdns30903:0crwdne30903:0

Committing

crwdns30904:0crwdne30904:0

crwdns30905:0crwdne30905:0

git push <remote> <branch>

crwdns30906:0crwdne30906:0

git push origin feature/YourFeature
Pushing commits

crwdns30907:0crwdne30907:0

crwdns30908:0crwdne30908:0

PRs

crwdns30909:0crwdne30909:0

crwdns30910:0crwdne30910:0

crwdns30911:0crwdne30911:0

crwdns30912:0crwdne30912:0

crwdns30913:0crwdne30913:0

crwdns30914:0crwdne30914:0

crwdns30915:0crwdne30915:0

crwdns30916:0crwdne30916:0

crwdns30917:0crwdne30917:0

Squashing commits

crwdns30918:0crwdne30918:0

crwdns30919:0crwdne30919:0

Setting up a remote

crwdns30920:0crwdne30920:0

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

crwdns30921:0crwdne30921:0

git remote -v

crwdns30922:0crwdne30922: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

crwdns30923:0crwdne30923:0

crwdns30924:0crwdne30924:0

crwdns30925:0crwdne30925:0

crwdns30926:0crwdne30926:0

crwdns30927:0crwdne30927:0

crwdns30928:0crwdne30928:0

git fetch upstream

crwdns30929:0crwdne30929:0

crwdns30930:0crwdne30930:0

crwdns30931:0crwdne30931:0

git checkout master

crwdns30932:0crwdne30932:0

git merge upstream/master

crwdns30933:0crwdne30933:0

Rebasing 1

crwdns30934:0crwdne30934:0

crwdns30935:0crwdne30935:0

git checkout feature/yourfeature
git rebase master

crwdns30936:0crwdne30936:0

Rebasing 2

crwdns30937:0crwdne30937:0

crwdns30938:0crwdne30938:0

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

crwdns30939:0crwdne30939:0