Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. # To use, copy these into `~/.gitconfig` or another configuration file location.
  2.  
  3. # `git purge` deletes all fully-merged branches.
  4. # `git aliases` lists your git aliases.
  5. # `git today`, `git yesterday`, and `git friday` help remind you what you've done lately.
  6.  
  7. # Thanks to Roberto Bonvallet at Coderwall, and commenter takhion, for the inspiration here.
  8.  
  9. [alias]
  10. purge = !git branch --merged | egrep -v \"(^\\*|master|develop)\" | xargs git branch -d
  11. aliases = config --get-regexp alias
  12. today = !git log --graph --all --since=midnight --author=\"$(git config user.name)\" --oneline
  13. yesterday = !git log --graph --all --since=yesterday.midnight --until=midnight --author=\"$(git config user.name)\" --oneline
  14. friday = !git log --graph --all --since=3days.midnight --until=midnight --author=\"$(git config user.name)\" --oneline
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement