home: git: add 'pick' alias
All checks were successful
continuous-integration/drone/push Build is passing

I wanted to name it 'pickaxe' but for a curious reason, it does not seem
to be working when I use that alias...

I am trying to find a second alias name for `git log -p -S`, which only
shows commits that change the number of occurrences of its pickaxe in
the file. Whereas `-G` shows any commit involving the pickaxe in its
diff.
This commit is contained in:
Bruno BELANYI 2021-05-25 20:26:37 +02:00
parent ca1c7962ea
commit f66da6fee6

View file

@ -23,6 +23,7 @@ in
assume = "update-index --assume-unchanged";
unassume = "update-index --no-assume-unchanged";
assumed = "!git ls-files -v | grep ^h | cut -c 3-";
pick = "log -p -G";
push-new = "!git push -u origin "
+ ''"$(git branch | grep '^* ' | cut -f2- -d' ')"'';
};