Git Workflows Book
pre { background: #eee; padding: 1em; margin-bottom: 1em}
code { background: #eee; padding: 0.25em; }
Git Workflows
by Yan Pritzker
Copyright 2011, Yan Pritzker. All Rights Reserved.
- Git bash completion
- Show the git branch in your bash prompt
- Get colorized
- Automatic cleanup and compression of the repo
- Better merge messages
- Better information on branches and remotes
- Two useful aliases: unstage and uncommit
- Using the index for breaking apart quick changes
- Making several commits from one set of changes
- Using git add for deleted files
- Staging unrelated changes within one file
- Using topic branches
- One branch per bug
- Coming back to unfinished work on a topic branch
- Fixing the last commit
- Using the stash to temporarily hide your changes
- Keeping a topic branch in sync with its parent
- Changing commit history to clean up change sets
- Searching for a specific change
- Throwing away all changes
- Restoring a file or directory to a past state
- Throwing away commits
- Reverting a changeset
- Reverting changes to one file only
Page 1 of 16 | Next page