I found a few helpful git tips and tricks at work the other day, so I figured I might share them.
You must log in or # to comment.
So this is ohshitgit.com but for feds? And with less swears, I guess.
Yeah. I just thought the CIA git tutorial was amusing. I did add aliases for
git branch --merged origin/master | grep -v '\\*\\|master\\|develop' | xargs -n 1 git branch -dand!git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /' | sortthough
Nearly all of these are symptoms of CLI git being a registered torture method.
I would never be able to use git without a porcelain like magit.
registered torture method
The correct term is “enhanced version control”
Abandon cheat sheets, embrace better tools.




