|
You are here |
misha.brukman.net | ||
| | | | |
www.lazy-electron.com
|
|
| | | | | I tend to use git from the command line frequently. There's a useful feature to reduce repetitive work called git aliases: | |
| | | | |
micahkepe.com
|
|
| | | | | There's tons of little goodies you can add to your .gitconfig to make your life easier. From hidden gems in the git Man pages to aliases and shell functions, here's a few things I've found useful to reduce friction in my Git workflow. | |
| | | | |
gist.github.com
|
|
| | | | | Some useful Git aliases that I use every day. GitHub Gist: instantly share code, notes, and snippets. | |
| | | | |
www.brandonpugh.com
|
|
| | | I found a way to stash changes in git without including the branch name in the stash message. This might be a very niche use case but it's been a minor annoyance for me for some time. If you just want the alias, then add the following to your .gitconfig: [alias] sm = "!f() { git stash || exit 1; rev=$(git rev-parse stash@{0}) && git stash drop stash@{0} || exit 1; git stash store -m \"$1\" $rev; }; f" You can also use this technique for renaming stashes. | ||