diff --git a/aliases/aliases.zsh b/aliases/aliases.zsh index 4177022..f8011c1 100755 --- a/aliases/aliases.zsh +++ b/aliases/aliases.zsh @@ -60,14 +60,6 @@ alias stress='yes >> /dev/null' # define ssh without controlmaster alias ssh1="ssh -o ControlMaster=no" -# git: useful_stuff -alias git-sort-branches-by-date="git for-each-ref --sort=committerdate refs/heads/ --format='%(committerdate:short) %(refname:short)'" -alias gswr="git-switch-recent-branch" -alias gl5='git log -n 5' -alias gs='git status' -alias gcfx='git-fixup' -alias gls="git log --pretty=oneline --abbrev-commit" # gls: Git Log Short - alias watcha='watch ' # note the space after watch. This makes watch work with aliases # A short version of docker ps diff --git a/aliases/git.zsh b/aliases/git.zsh new file mode 100644 index 0000000..8e8f205 --- /dev/null +++ b/aliases/git.zsh @@ -0,0 +1,8 @@ +# git: useful_stuff +alias git-sort-branches-by-date="git for-each-ref --sort=committerdate refs/heads/ --format='%(committerdate:short) %(refname:short)'" +alias gswr="git-switch-recent-branch" # defined in functions/git.zsh +alias gl5='git log -n 5' +alias gs='git status' +alias gcfx='git-fixup' +alias gls="git log --pretty=oneline --abbrev-commit" # gls: Git Log Short +alias glsu='git ls-files --others --exclude-standard'