commit 17260cd6c45df6e841abfd67103f3013516fb57f
parent 9260c5dc5084785151cf0be5c03de82c6b7fc7ce
Author: hhvn <dev@haydenvh.com>
Date: Mon, 8 Mar 2021 00:47:31 +0000
.config/git/config .config/git/man/man1/git-pu.1 .config/git/man/man1/git-pa.1: script
git-pu(1) and git-pa(1) use "server" as default remote.
Diffstat:
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/.config/git/config b/.config/git/config
@@ -11,11 +11,11 @@
fm = !sh ~/.config/git/format-patch
ac = !sh ~/.config/git/add-commit
re = !sh ~/.config/git/remote
+ pu = !sh ~/.config/git/push
+ pa = !sh ~/.config/git/push --all
mg = merge --no-ff
ch = checkout
co = commit
- pu = push
- pa = push --all
[init]
defaultBranch = master
diff --git a/.config/git/man/man1/git-pa.1 b/.config/git/man/man1/git-pa.1
@@ -4,8 +4,11 @@
.Sh Name
.Nm git-pa
.Nd alias for
-.Xr git-push 1
-.Fl -all "."
+.Xr git-push 1 "."
+.Sh DESCRIPTION
+Pushes to all remotes.
+
+Uses "server" as default remote.
.Sh SYNOPSIS
.Nm
.Ar [GIT-PUSH-OPTIONS]
diff --git a/.config/git/man/man1/git-pu.1 b/.config/git/man/man1/git-pu.1
@@ -5,6 +5,8 @@
.Nm git-pu
.Nd alias for
.Xr git-push 1 "."
+.Sh DESCRIPTION
+Uses "server" as default remote.
.Sh SYNOPSIS
.Nm
.Ar [GIT-PUSH-OPTIONS]