Commits

Randy Stauner  committed 1d0bf61

Comment on some handy options

  • Participants
  • Parent commits e3fd3a4

Comments (0)

Files changed (1)

File scripts/git_config.sh

 
 #$gc alias.change-github-username $'!sed -i -re \047s/(github.com:)magnificent-tears/\\1rwstauner/\047 .git/config'
 
+# filenames at the top: --heading --break ?
 $gc alias.grep-todo       $'grep -iE "to.?do|fix.?me"'
 
 $gc alias.homepage-metacpan      $'!curl -v -d "login=`git config github.user`&token=`git config github.token`&values[homepage]=http://metacpan.org/release/${PWD##*/}" "https://github.com/api/v2/json/repos/show/rwstauner/${PWD##*/}"'
 $gc alias.lg               "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%aN%Creset %C(blue)<%aE>%Creset' --abbrev-commit"
 $gc alias.lgpcw           $'!git lg -p --color-words=.'
 
+# provide rebasing music (https://coderwall.com/p/at9bya)
+#$gc alias.mav             $'!afplay ~/Music/Danger\\ Zone.mp3 & LASTPID=$! \ngit rebase -i $1 \nkill -9 $LASTPID\n true'
+
 # what new commits have been created by the last command (like "git pull")
 $gc alias.new             $'!_() { git log $1@{1}..$1@{0} "$@"; }; _'