Last active
July 15, 2016 18:46
-
-
Save brunolimame/53cb3c6c0b60fee9f39b6ff60966336e to your computer and use it in GitHub Desktop.
Create update package between commits
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Criar pacote de atualizações entre commits | Create update package between commits | |
------------------------------------- | |
Criar um arquivo apenas com a diferença entre os commits. | Create a file with only the difference between commits. | |
------------------------------------- | |
Comando para listar as tags e seus commits. | Command to list as tags and commits. | |
------------------------------------- | |
git log --no-walk --tags --pretty="%h %d %s" --decorate=short | |
tag_ver_1.9 = <start-commit> | |
tag_ver_2.0 = <end-commit> | |
git diff-tree -r --no-commit-id --name-only <start-commit> <end-commit>| xargs tar -rf patch.tar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment