Some basic Git commands.
Unless you like vi you will want to set your basic editor. I suggest doing:
git config --global core.editor "nano"
When working with git, you will want to
- (a)
- You’ll need to pull your new repo. Move “first.tex” into your repo.
- (b)
- Type git add first.tex to stage the changes you’ve made to the first.tex file. Or do git add -u to add all updated files.
- (c)
- Type git commit -m "My first edit" to commit the staged changes. You can also just do: git commit