 
      
    | You are here | www.erikschierboom.com | ||
| | | | | blog.danskingdom.com | |
| | | | | Git is super powerful, but can also be confusing, especially when using the command line interface (CLI). It has so many commands, and I only regularly use a handful of them. | |
| | | | | www.aaron-gray.com | |
| | | | | You can run rubocop on just a local branches' changes like this: git fetch && git diff-tree -r --no-commit-id --name-only master@{u} head | xargs ls -1 2>/dev/null | xargs rubocop --force-exclusion Then you can create 2 corresponding aliases in your terminal .rc file to make this easy to remember: # Alias to run rubocop on the current branch's diff from [...] | |
| | | | | haacked.com | |
| | | | | A git alias to clean up gone branches. Even ones that have been squashed and merged. | |
| | | | | blog.ltgt.net | |
| | | |||