Advertisement
JPeterson

git

Dec 26th, 2012
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.72 KB | None | 0 0
  1. # scripts
  2. /usr/local/bin/notepad.sh
  3. #!/bin/bash
  4. notepad++ -multiInst -nosession -noPlugin "$(cygpath -w "$1")"
  5.  
  6. # settings
  7. git config --global log.date iso
  8. git config --global color.ui auto
  9. git config --global core.pager cat
  10. git config --global core.autocrlf false
  11. git config --global core.eol lf
  12. git config --global core.pager 'less -x4'
  13. git config --global core.whitespace 'tabwidth=4'
  14. git config --global core.editor "notepad.sh"
  15.  
  16. # alias
  17. git config --global alias.stat "status -uno"
  18. git config --global alias.log1 "log -1 --stat"
  19. git config --global alias.log2 "log -2 --stat"
  20. git config --global alias.unadd "reset HEAD"
  21. git config --global alias.pullr "pull --rebase"
  22. git config --global alias.pushf "push -f"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement