1
0
mirror of https://github.com/meineerde/dotfiles.git synced 2026-03-18 06:48:13 +00:00

Get the hash of the current git HEAD with ghead

This commit is contained in:
Holger Just 2015-01-12 16:57:56 +01:00
parent 3712adaa6b
commit b9dc7a1fef

View File

@ -236,7 +236,7 @@ alias log='git lg'
alias ciam='git ci -am' alias ciam='git ci -am'
alias cia='git ci -a' alias cia='git ci -a'
alias ga='git add -p' alias ga='git add -p'
alias head='git rev-parse --verify HEAD' ghead() { git rev-parse --verify "${1:-HEAD}"; }
alias be="bundle exec" alias be="bundle exec"
alias rs="rails server -b 127.0.0.1" alias rs="rails server -b 127.0.0.1"