... | ... | @@ -144,13 +144,14 @@ Now that you've done some work, you must `commit` and `push` your changes to Git |
|
|
|
|
|
+ Inside the root of your record store repository on IGOR, do:
|
|
|
git add sql/*
|
|
|
to tell git you want it to track all of the files in the sql directory.
|
|
|
to tell git you want it to stage (prepare) all of the files in the sql directory for the next commit.
|
|
|
+ Now do:
|
|
|
git commit -m 'Adding SQL files for lab 2'
|
|
|
The `-m` option says we want to add a commit message, and the string after it is just a short message explaining what the commit is about.
|
|
|
+ And finally do:
|
|
|
git push origin master
|
|
|
This tells git to push your changes to the origin repo (on GitLab), and on the master branch.
|
|
|
**Note: ** From now on, try to do regular add/commits with short meaningful messages, each time you make a significant change to a file in the repo. You don't have to 'push' every time you commit, but committing regularly will make sure there's a nice record of the work you've been doing - making it easy for the tutor to give you credit for it!
|
|
|
|
|
|
|
|
|
|