crwdns37647:0crwdne37647:0

crwdns37648:0crwdne37648:0

Note

crwdns37649:0:doc:crwdne37649:0

crwdns37650:0crwdne37650:0

crwdns37651:0crwdne37651:0

Tip

crwdns37652:0crwdne37652:0

Repo Overview

crwdns37653:0crwdne37653:0

crwdns37654:0crwdne37654:0

crwdns37655:0crwdne37655:0

  1. crwdns37656:0crwdne37656:0

  2. crwdns37657:0crwdne37657:0

  3. crwdns37658:0crwdne37658:0

  4. crwdns37659:0crwdne37659:0

  5. crwdns37660:0crwdne37660:0

  6. crwdns37661:0crwdne37661:0

  7. crwdns37662:0crwdne37662:0

  8. crwdns37663:0crwdne37663:0

  9. crwdns37664:0crwdne37664:0

  10. crwdns37665:0crwdne37665:0

crwdns37666:0crwdne37666:0

crwdns37667:0crwdne37667:0

Note

crwdns37668:0crwdne37668:0

crwdns37669:0crwdne37669:0

Note

crwdns37670:0crwdne37670:0

Repo forking

crwdns37671:0crwdne37671:0

crwdns37672:0:doc:crwdne37672:0

Note

crwdns37673:0crwdne37673:0

crwdns37674:0crwdne37674:0

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

crwdns37675:0crwdne37675:0

crwdns37676:0crwdne37676:0

crwdns37677:0crwdne37677:0

git checkout -b [name_of_your_new_branch]

crwdns37678:0crwdne37678:0

git branch
Branches

crwdns37679:0crwdne37679:0

crwdns37680:0crwdne37680:0

crwdns37681:0crwdne37681:0

crwdns37682:0crwdne37682:0

crwdns37683:0crwdne37683:0

crwdns37684:0crwdne37684:0

crwdns37685:0crwdne37685:0

git add <file>
git add <folder>

crwdns37686:0crwdne37686:0

git commit

crwdns37687:0crwdne37687:0

Note

crwdns37688:0crwdne37688:0

crwdns37689:0crwdne37689:0

Committing

crwdns37690:0crwdne37690:0

crwdns37691:0crwdne37691:0

git push <remote> <branch>

crwdns37692:0crwdne37692:0

git push origin feature/YourFeature
Pushing commits

crwdns37693:0crwdne37693:0

crwdns37694:0crwdne37694:0

PRs

crwdns37695:0crwdne37695:0

crwdns37696:0crwdne37696:0

crwdns37697:0crwdne37697:0

crwdns37698:0crwdne37698:0

crwdns37699:0crwdne37699:0

crwdns37700:0crwdne37700:0

crwdns37701:0crwdne37701:0

crwdns37702:0crwdne37702:0

crwdns37703:0crwdne37703:0

Squashing commits

crwdns37704:0crwdne37704:0

crwdns37705:0crwdne37705:0

Setting up a remote

crwdns37706:0crwdne37706:0

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

crwdns37707:0crwdne37707:0

git remote -v

crwdns37708:0crwdne37708: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

crwdns37709:0crwdne37709:0

crwdns37710:0crwdne37710:0

crwdns37711:0crwdne37711:0

crwdns37712:0crwdne37712:0

crwdns37713:0crwdne37713:0

crwdns37714:0crwdne37714:0

git fetch upstream

crwdns37715:0crwdne37715:0

crwdns37716:0crwdne37716:0

crwdns37717:0crwdne37717:0

git checkout master

crwdns37718:0crwdne37718:0

git merge upstream/master

crwdns37719:0crwdne37719:0

Rebasing 1

crwdns37720:0crwdne37720:0

crwdns37721:0crwdne37721:0

git checkout feature/yourfeature
git rebase master

crwdns37722:0crwdne37722:0

Rebasing 2

crwdns37723:0crwdne37723:0

crwdns37724:0crwdne37724:0

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

crwdns37725:0crwdne37725:0