Github Introduction
Source control website for hosting code, to install git alone run:
brew install gitTo check the version and whether properly installed, run:
git --versionTo connect to github and store your credentials, run:
git config --global user.name "Your Name Here"
git config --global user.email "[email protected]"HTTPS method for GitHub
To clone a repository using HTTPS, run:
git clone https://github.com/<username>/<repo-name>.gitGitignore
Tells git to ignore certain files, useful for security reasons.
Boilerplate
For macOS, maintained by git themselves here
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdiskLast updated