Last active
          July 1, 2020 09:13 
        
      - 
      
- 
        Save yurikoval/b0953ce705f6f5aa74325d4a95d43c94 to your computer and use it in GitHub Desktop. 
    Setup git
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/sh | |
| # http://uberblo.gs/2010/12/git-lol-the-other-git-log | |
| git config --global --add alias.lol "log --graph --decorate --pretty=oneline --abbrev-commit" | |
| git config --global --add alias.lola "log --graph --decorate --pretty=oneline --abbrev-commit --all" | |
| git config --global --add alias.m "merge --no-ff --log" | |
| git config --global --add alias.st "status" | |
| git config --global --add alias.br "branch" | |
| git config --global --add alias.bra "branch --all" | |
| git config --global --add alias.sweep "!git branch --merged master | grep -v 'master$' | xargs git branch -d && git remote prune origin" | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment