|
You are here |
www.erikschierboom.com | ||
| | | | |
haacked.com
|
|
| | | | | A git alias to clean up gone branches. Even ones that have been squashed and merged. | |
| | | | |
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 [...] | |
| | | | |
felipec.wordpress.com
|
|
| | | | | Probably one of most powerful and under-utilized concepts of git is the upstream tracking branch, and to be honest it probably was too difficult to use properly in the past, but not so much any more. Here I'll try to explain what it is, and how you can take the most advantage out of it.... | |
| | | | |
8yd.no
|
|
| | | Git squash takes your commits and squashes them together, usually into one commit. Useful for creating one commit if you've got a lot of smaller commits that creates a messy Git history. Git rebase ... | ||