commit 8c58cdcba94dae893b06bf6dc7e04a6da257b993
parent 2c43988e146e3709d1ebf5b077beb695b85d4f17
Author: hhvn <dev@haydenvh.com>
Date: Sat, 27 Mar 2021 19:13:48 +0000
.c/g/config .c/g/m/m/git-rs.1 .c/g/m/m/git-rh.1: add reset alias'
Diffstat:
3 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/.config/git/config b/.config/git/config
@@ -13,6 +13,8 @@
re = !sh ~/.config/git/remote
pu = !sh ~/.config/git/push
pa = !sh ~/.config/git/push --all
+ rs = reset
+ rh = reset --hard
mg = merge --no-ff
ch = checkout
co = commit
diff --git a/.config/git/man/man1/git-rh.1 b/.config/git/man/man1/git-rh.1
@@ -0,0 +1 @@
+git-rs.1
+\ No newline at end of file
diff --git a/.config/git/man/man1/git-rs.1 b/.config/git/man/man1/git-rs.1
@@ -0,0 +1,23 @@
+.Dd hhvn-git
+.Dt git-rs 1
+.Os
+.Sh Name
+.Nm git-rs ,
+.Nm git-rh
+.Nd alias'
+for
+.Xr git-reset 1
+.Sh SYNOPSIS
+.Nm git-rs
+.Ar [GIT-RESET-OPTIONS]
+.Ar [GIT-RESET-ARGUMENTS]
+.Nm git-rh
+.Ar [GIT-RESET-OPTIONS]
+.Ar [GIT-RESET-ARGUMENTS]
+.Sh DESCRIPTION
+.Nm git-rh uses the --hard option be default.
+.Sh SEE ALSO
+.Xr hhvn-git 7 ","
+.Xr git-reset 1 ","
+.Sh AUTHOR
+.An hhvn Aq Mt dev@hhvn.uk .