Git Basics
Get started with git:
- Create a new repo
mkdir my_project
cd my_project
git init
- Track changes on a file
touch README.md
git add README.md
git commit -m "add a readme"
- Make changes to a file
echo "# My Project" > README.md
git add -p # type y to add changes to a changeset
git commit -m "provide a title to the readme"
- Previous: Making with Make
- Next: Working with remote repositories