Simple git init
and git clone
wrapper to initialize git user's email and the right SSH key. Useful for managing multiple GitHub accounts.
See: StackOverflow
git setup git@github.com/your/repo.git
mkdir new-repo && cd new-repo git setup
git clone https://github.com/ibolmo/git-setup.git
ln -s $(pwd)/git-setup/git-setup ~/bin/git-setup # or add to path
- git: 2.10.x or greater