- Git for Windows
- Take care to choose the best default editor for you (which is most probably not Vim).
- Take care to select 'Checkout as-is, commit as-is' to turn off any line ending conversions if you do not explicitly need this feature for cross-platform development.
- Setting up your own Git environment - totally locally!
git init --bare demo-repo.git
# The warning 'You appear to have cloned an empty repository.' is normal at this point...
git clone demo-repo.git clone-a
git clone demo-repo.git clone-b
- gittutorial - A tutorial introduction to Git
- giteveryday - A useful minimum set of commands for Everyday Git
- Learn Git Collaboration
- Rewriting history
- Git Immersion - A guided tour that walks through the fundamentals of Git
- Upstream Changes
- Supported operations
git commit
git pull
- Results in a merge commit.
clear
(Not a Git command!)git commit
git fetch
git rebase origin/feature
- Alternative with the same Visualization:
- Visualizing Git Concepts with D3
- Combine Branches - git merge
- Try with
git checkout ff
andgit merge dev
and withgit merge dev
only...
- Try with
- Combine Branches - git rebase
- Combine Branches - git merge
- Visualizing Git Concepts with D3