Open edytawrobel opened 8 years ago
Command | Definition |
---|---|
git checkout -b 'branch_name' | Create |
git branch -D test_branch | Delete |
git checkout 'branch_name' | Switch |
git branch -a | See All |
git checkout master | Go to Master |
Command | Definition |
---|---|
fetch | update remote-tracking branches |
merge | update changes of a branch onto master |
clone | |
pull | git fetch + git merge; bring a local branch up-to-date with its remote version |
remote | The remote repository is only involved when you git push your local commits to a remote repository, or when you git pull someone else's commits from it. |
Table of content