A simple little alias function that lets you clone and cd
into a GitHub repo in one command.
Add to your zsh
or bash
config (usually ~/.bash_profile
or ~/.zshrc
) and open a new terminal to be able to use the function.
gcd [github_repo_owner/repo_name]