Learning git
This section contains resources for learning how to use the Git version control system. I highly recommend getting familair with the Terminal to make the most out of learning and using Git and Github. If you are new to the a command line interface (ie Terminal), start by looking at the beginner section of Learning Terminal.
Note this is a living document and is constantly being updated. Some things may come and go over time.
Beginner
How to setup a global ignore file to ignore system files like .DS_Store (macOS). The alternative is to specify ignored files in .gitignore for a local repository.
-
Create ignore file with .DS_Store in it.
echo .DS_Store >> ~/.gitignore_global
-
Configure git to use the ignore file.
git config --global core.excludesfile ~/.gitignore_global
Git & GitHub
- Github Tutorial (10 mins) - Non command line (Terminal) tutorial.
- Git - The Simple Guide - Command line based tutorial.
- Connecting to Github with SSH
- Git & Github Tutorial on Udacity - Command line based tutorial.
- Start a new git repository
- git/github guide a minimal tutorial
- The most important git commands
- Git Immersion - Advanced Tutorial. Work through this once you get the hang of working on the command line.
- Command Line Cheat Sheet by git-tower - This one is great!
- Version Control Workflow Cheat Sheet for Git (git0tower)
- .gitignore generator - Utility to generate gitignore files
Markdown
- Mastering Markdown
- Markdown Docs
- Markdown Cheatsheet
- How to write a great README for your GitHub project - These are only examples. Not all projects need every detail in the readme as described. The contents of a readme really depend on the type of project and audience. In general, its good to enable someone else to download and run your code if you are sharing it to Github.
- Awesome README - A massive list of README examples and resources.