Items tagged snippets

Not so much a blog post as a notebook for useful git commands... Export changes from a range of revisions git archive --output=../my_archive.tar HEAD $(git diff-tree -r --no-commit-id --name-only --diff-filter=ACRMT revision_id_1..revision_id_2) Keep your fork in sync with the main repo Alias for deleting all branches whose commits have already been merged into the develop branch