5 super aliases to quicken development workflow
1. Open the git repository quickly in browser, from terminal
Many time after pushing a change, I need to go to the repository page to create a pull request. This trick helps in that process a lot, I don’t need to open the browser or type the link.
Create a file in /usr/bin or /usr/local/bin or anywhere which is in
Then use it from any git repository like:
gitgo origin
or
gitgo upstream
The repository will open in google chrome. If you need to open in default browser, replace google-chrome with xdg-open.
2. pbcopy and pbpaste and it’s variants
pbcopy and pbpaste are the 2 most useful commands in MAC. We can use the using xsel in Linux. Alias them like this:
alias pbcopy='xclip -selection clipboard'
alias pbpaste='xclip -selection clipboard -o'