4 ms·
It might be worth it for the git one alone ... I really need to figure out how to make something as short as "git push" which maps to "freaking push this shit a
by bombcar 5y ago
It might be worth it for the git one alone ... I really need to figure out how to make something as short as "git push" which maps to "freaking push this shit and make a pr c'mon"
- sokoloff 5y agogit 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`
- TobTobXX 5y agoTake a look at git aliases: https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases