-
Notifications
You must be signed in to change notification settings - Fork 0
intro git
Qihong Lu edited this page Sep 12, 2018
·
9 revisions
Git is a version control system. Here're the steps/git commands you need to know to submit your work:
-
clone
- example:
git clone the_url_for_your_repo
- get your assignment/lab repo
- example:
-
add
- example:
git add a_file_name
- add that file to the index
- example:
git add .
- add all files to the index
- example:
-
commit
-
git commit -m 'a_message_describing_what_you_did'
- record changes to the repository
-
-
push
-
git push
- submit the stuff you committed to your repo
-
Then GitHub Classroom will collect your works from your repo automatically on Sunday night!