Add this helper function to your ~/.bash_profile
(or ~/.bashrc
, or whatever you use) to create custom short links for your GitHub projects without having to remember the whole cURL command!
If you use a file other than ~/.bash_profile
to configure your terminal, substitute that value in the installation instructions below.
- Open your
~/.bash_profile
- Copy-paste the
gitlink
function into it