Add git alias: pom

This commit is contained in:
Dave Gallant
2026-01-14 12:20:51 -05:00
parent e379790ffd
commit 768488f94a

View File

@@ -53,8 +53,8 @@ in
ca = "commit --amend"; ca = "commit --amend";
cane = "commit --amend --no-edit"; cane = "commit --amend --no-edit";
cb = "checkout -b"; cb = "checkout -b";
co = "checkout";
cmp = "! git checkout main && git pl"; cmp = "! git checkout main && git pl";
co = "checkout";
d = "diff"; d = "diff";
dc = "diff --cached"; dc = "diff --cached";
dcn = "diff --cached --name-only"; dcn = "diff --cached --name-only";
@@ -63,6 +63,7 @@ in
p = "push origin"; p = "push origin";
pf = "push -f"; pf = "push -f";
pl = "! git pull origin $(git rev-parse --abbrev-ref HEAD)"; pl = "! git pull origin $(git rev-parse --abbrev-ref HEAD)";
pom = "pull origin main";
st = "status"; st = "status";
wip = "for-each-ref --sort='authordate:iso8601' --format=' %(color:green)%(authordate:relative)%09%(color:white)%(refname:short)' refs/heads"; wip = "for-each-ref --sort='authordate:iso8601' --format=' %(color:green)%(authordate:relative)%09%(color:white)%(refname:short)' refs/heads";
}; };