... | ... | @@ -21,8 +21,6 @@ Command | Effect |
|
|
`git config --global color.ui auto` | Enable some colourful git output.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Simple Git flow
|
|
|
Command | Effect
|
|
|
--- | ---
|
... | ... | @@ -37,7 +35,18 @@ Command | Effect |
|
|
This section is aimed towards first time users of both Git and this instance of GitLab.
|
|
|
|
|
|
### What is `git` and GitLab?
|
|
|
Let's get this info from git's website:
|
|
|
> '[Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.'](https://git-scm.com/)'
|
|
|
|
|
|
Then from the Wikipedia page about GitLab:
|
|
|
> '[GitLab is a web-based Git-repository manager with wiki and issue-tracking features, using an open-source license, developed by GitLab Inc.](https://en.wikipedia.org/wiki/GitLab)'
|
|
|
|
|
|
For you, as a student, this means you will
|
|
|
1. Learn how to use version control in order to help prepare you for the working world,
|
|
|
2. Be able to safely submit and track your code, with the over-site of the Lecturers and Demi's,
|
|
|
3. Have a safe place for your project code, provided you push your changes back to the CS GitLab server.
|
|
|
|
|
|
**NOTE:** Always have a number of backups of your code. GitLab should house one of a few copies of your projects.
|
|
|
|
|
|
### Login
|
|
|
GitLab has been setup such that you can login with your Stellenbosch University credentials.
|
... | ... | @@ -62,4 +71,4 @@ Next, we will need to add your SSH key so that you can `clone` a copy of the pro |
|
|
|
|
|
All commands need to be executed within the directory of your git repo.
|
|
|
|
|
|
### Links and Videos |
|
|
### Links and Videos |
|
|
\ No newline at end of file |