Add cmp git alias to automatically checkout and pull the latest from main

This commit is contained in:
Dave Gallant
2022-02-10 10:13:00 -05:00
parent a2b87a10c1
commit eb56869f94
2 changed files with 16 additions and 15 deletions

View File

@@ -47,6 +47,7 @@ in
cane = "commit -S --amend --no-edit";
cb = "checkout -b";
co = "checkout";
cmp = "! git checkout main && git pl";
d = "diff";
dc = "diff --cached";
dcn = "diff --cached --name-only";