3 ms·
git shove (which doesn't exist, but is short and would be easy to remember)
by sokoloff 5y ago
git shove
(which doesn't exist, but is short and would be easy to remember)
- bombcar 5y agoYeah, just need to know how to refer to "current branch name" in an alias ...
- ______-_-______ 5y ago$(git rev-parse --abbrev-ref HEAD)
- ______-_-______ 5y agoI bet everyone who's used git for a while has their own `git shove` alias different from everyone else's. Mine basically does `git pull && git merge && git push`