Advertisement
puggan

.gitconfig/alias

Oct 3rd, 2019
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.52 KB | None | 0 0
  1. alias = !git config -l | sed -nE 's/^alias\.([^= ]+)=/\1 = /p'
  2. blog = log --graph --oneline --decorate --all --simplify-by-decoration
  3. flog = log --graph --oneline --decorate --all
  4. glog = log --graph --oneline --decorate
  5. test = !composer test
  6. require = !composer require
  7. update = !composer update
  8. install = !composer install
  9. ff = pull --ff-only
  10. ffm = merge --ff-only
  11. day = !f() { git log --all --pretty='format:%C(yellow)%h %G? %ad%Cred%d %Creset%s%C(cyan) [%cn]' --decorate --after="$1 0:00" --before="$1 23:59"; }; f
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement