Here's a short summary of the basic workflow that we covered today. We'll be using it for homeworks, quizzez, etc. so it should start to come more naturally.
- Navigate to your stat133 directory (in Bash)
- Run the
git pull
command (in Bash) - Make changes to the files (in your text editor)
- Save the changes you made (in your text editor)
- Run the
git add <filename>
command (in Bash) - Run the
git commit -m "put some informative message here"
command (in Bash) - Run the
git push
command (in Bash)
At various points throughout the process, you may be prompted for you GitHub
username and password. You can also use the git status
and git diff
commands (in Bash) to get more information about changes you have made.