aboutsummaryrefslogtreecommitdiff
path: root/mkshrc.d/00-git.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mkshrc.d/00-git.sh')
-rwxr-xr-xmkshrc.d/00-git.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/mkshrc.d/00-git.sh b/mkshrc.d/00-git.sh
new file mode 100755
index 0000000..22cbb28
--- /dev/null
+++ b/mkshrc.d/00-git.sh
@@ -0,0 +1,11 @@
+if [ -x /usr/bin/git ]; then
+ alias ga='git add'
+ alias gc='git commit'
+ alias gca='git commit --amend'
+ alias gp='git pull'
+ alias gpr='git pull --rebase'
+ alias gs='git status -sb'
+ alias gb='git branch'
+ alias gd='git diff'
+ alias gl='git l'
+fi