Git recipes and how-to's
# Clone repos without pulling all the history
|
|
# Squash two last commits
|
|
And then instead of pick
do either fixup
or squash
.
# Undo changes
For unstaged files:
|
|
# Other links
- 6 типичных ошибок Git и как их исправить / Хабр
- oh shit! I want to split my commit into 2 commits!
- Five Useful Git Tips - adit.io
- How to create development branch from master on GitHub
- How do I squash two non-consecutive commits?
- How can one change the timestamp of an old commit in Git?
To look into later
See also Git resources.