Introduction Flashcards
1
Q
How to start/create a git project
A
In the terminal you type, git init
2
Q
How to add a file to the staging area?
A
git add filename
3
Q
How to check what files are untracked, been modified etc?
A
git status
4
Q
How to add a file from the staging area as a commit to the resopitory
A
git commit -am “Version 1”
5
Q
How to check the commits in the respitory?
A
git log