Skip to content

Commit f5a2033

Browse files
authored
feat(gitconfig): added psu command
Added command push upstream improved
1 parent d1396b3 commit f5a2033

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

git/.gitconfig

+3
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@
8888
# Push improved
8989
ps = push
9090

91+
# Push upstream improved
92+
psu = "f() { git push --set-upstream origin $(git symbolic-ref --short HEAD); }; f"
93+
9194
# Pull improved
9295
pu = pull --ff-only
9396

0 commit comments

Comments
 (0)