add notes on switching branch, pushing, pulling and fetching.

This commit is contained in:
Robin Hübner 2017-08-04 00:49:14 +02:00
parent b71cf2f2bb
commit c4a97285c6
1 changed files with 12 additions and 0 deletions

View File

@ -25,6 +25,18 @@ General Usage
# show changes since last commit
git diff HEAD
Pushing/Pulling Changes
-------------------------
# fetch changes from remote for current branch AND merge them in
git pull
# only fetch changes, do not merge (probably wont be used, but useful to know that git pull = git fetch + git merge in one)
git fetch
# push your changes to remote
git push
Branching
-----------