]> git.madduck.net Git - etc/zsh.git/blobdiff - .zsh/zshrc/85-git

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

add inplace list
[etc/zsh.git] / .zsh / zshrc / 85-git
index d60ce996ef6e1321975c4e507385c23d91eb221b..d4023d88733d1c513cd9a98251ac148752551604 100644 (file)
@@ -18,6 +18,10 @@ alias gd='g diff'
 alias gg='g pull'
 alias gr='g rebase'
 alias gp='g push'
 alias gg='g pull'
 alias gr='g rebase'
 alias gp='g push'
+alias gap='g add -p'
+alias gac='gap && gc'
+alias gh='g stash'
+alias ghp='g stash pop'
 
 function gtestfile() {
   local fname="${1:-$(tempfile -d ${PWD})}"
 
 function gtestfile() {
   local fname="${1:-$(tempfile -d ${PWD})}"