afeld / git-setup

easy Git setup
MIT License
13 stars 3 forks source link

Git Setup Script

Helps install and/or configure Git with good default settings, including:

The script is safe to run even if you already have Git installed or have some of these settings in place already... it will only add those not previously set.

Installation

Currently only Mac and Linux are supported. To execute, run this from your Terminal:

bash <(curl -fsSL https://raw.githubusercontent.com/afeld/git-setup/master/setup.sh)

Debugging

If you run into problems, run

uname -a
ssh -V
curl --version
openssl version
DEBUG=1 bash <(curl -fsSL https://raw.githubusercontent.com/afeld/git-setup/master/setup.sh)

and paste the output into a new issue.

Windows

For Windows setup, try GitHub for Windows, which comes preconfigured with all of the fixes in git-setup. Alternatives:

Resources

See other useful development environment setup projects: