for %a in ("%path:;=";"%") do @echo %~a
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
docs: | |
https://git.wiki.kernel.org/index.php/Aliases#Getting_the_diff_of_a_branch_since_it_forked_from_another_branch.2C_or_since_the_last_merge | |
complex example: | |
https://medium.com/@vitalyb/creating-powerful-git-aliases-3dfc0efc9a31#.o07jp91ea | |
cleanall = "!git reset --hard;git clean -fd" | |
diffu = !current=$(git symbolic-ref --short HEAD) && git log --oneline $current...origin/$current; | |
dBranch = "!f() { \ | |
git log --oneline $1...origin/$1; \ |
NewerOlder