1. Homebrew & Git - SerbanC/SerbanC.github.io GitHub Wiki
Start here. You'll get most of your stuff via brew
or git
.
-
cURL Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2. install Homebrew Cask which is a Homebrew library containing binary apps (i.e. apps you would normally install via the App Store, .dmg's etc.)
```bash
brew install caskroom/cask/brew-cask
-
Then install Git with Homebrew
brew install git
4. Create and add some recommended files to the global .gitignore so you won't be bothered with them again
```bash
[sudo] touch ~/.gitignore_global
[sudo] vim ~/.gitignore_global
Leave the first line *~
, and add the contents of this helper: move your cursor to the line below *~
, press i
and paste the contents then :wq
5. set Git to use that file for global exclusion patterns
git config --global core.excludesfile ~/.gitignore_global