-
Notifications
You must be signed in to change notification settings - Fork 8
/
.gitshrc
34 lines (25 loc) · 682 Bytes
/
.gitshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
# Sourced by the git shell, git-sh. So, mostly aliases.
# git commit
gitalias commit='git commit --verbose'
gitalias amend='git commit --verbose --amend'
gitalias ci='git commit --verbose'
gitalias ca='git commit --verbose --all'
# git branch
gitalias br='git branch'
# git add
gitalias a='git add'
gitalias aa='git add --update'
gitalias ap='git add --patch'
# git checkout
gitalias co='git checkout'
# git status
gitalias st='git status'
gitalias stat='git status'
# git log
gitalias l='git log'
gitalias ll='git log --pretty=oneline --abbrev-commit'
# git-wtf
gitalias wtf='git wtf'
# Avoid my default interfering with the custom prompt
unset PROMPT_COMMAND