5 super aliases to quicken development workflow

Supratim Samanta
Nerd For Tech
Published in
2 min readJul 12, 2021

--

Photo by Miguel Bruna on Unsplash

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'

3. Format JSON from anywhere

--

--

Supratim Samanta
Nerd For Tech

300K+views 🙏🏼#Unconventional #ProblemSolver #Tech #Dev #Productivity . Join my fascinating journey.🕺 Support me at https://susamn.medium.com/membership