home: git: add 'pick' alias
All checks were successful
continuous-integration/drone/push Build is passing
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:
parent
ca1c7962ea
commit
f66da6fee6
|
@ -23,6 +23,7 @@ in
|
||||||
assume = "update-index --assume-unchanged";
|
assume = "update-index --assume-unchanged";
|
||||||
unassume = "update-index --no-assume-unchanged";
|
unassume = "update-index --no-assume-unchanged";
|
||||||
assumed = "!git ls-files -v | grep ^h | cut -c 3-";
|
assumed = "!git ls-files -v | grep ^h | cut -c 3-";
|
||||||
|
pick = "log -p -G";
|
||||||
push-new = "!git push -u origin "
|
push-new = "!git push -u origin "
|
||||||
+ ''"$(git branch | grep '^* ' | cut -f2- -d' ')"'';
|
+ ''"$(git branch | grep '^* ' | cut -f2- -d' ')"'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue