Articles tagged "git":
Delete a range of commits
Published:
The --onto option of a git rebase can be used to delete a range of commits
How to add an experimental feature to your code, without having it in your main version control
Published:
You might have a really good idea, but its not practical to get it commited to version control. You can keep the feature around for local use with some shell aliases and git commands.
How to prevent further modification commits to a file with a pre-commit hook
Published:
Sometimes you want to prevent accidentally modifying sets of test fixtures etc. Use this simple pre-commit hook to prevent it.