Material related to the LTCC module "Graph algorithms and models". Please see http://www.maths.qmul.ac.uk/~vnicosia/LTCC2018
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
2.2 KiB
62 lines
2.2 KiB
# Using Git - Software and tutorials
|
|
|
|
If you have never used **git** before, you might find this section
|
|
helpful.
|
|
|
|
## What is this git about?
|
|
|
|
[git](https://git-scm.com/) is a Distributed Version Control System.
|
|
This means that **git** allows people to work on the same set of
|
|
files, adding, modifying, replacing, and deleting stuff without
|
|
stepping on each others' toes.
|
|
|
|
For the scope of this project, you just need to know how to perform
|
|
very basic **git** operations, such as importing an existing
|
|
repository into your computer (a so-called **clone**), adding files
|
|
to a **git** repository, making your changes/addition available to
|
|
others (a composition of a **commit** and a so-called **push**) and
|
|
getting the latest updates from a repository (a so-called **pull**).
|
|
|
|
All the repositories needed for the module and your projects have
|
|
already been created at
|
|
[https://mygit.mine.nu/:LTCC_2018](https://mygit.mine.nu/LTCC_2018),
|
|
so you don't need to create any repository at all. Just
|
|
|
|
|
|
## OK, that's still pretty obscure: where do I find more information?
|
|
|
|
Please find below a short list of tutorials on basic **git** usage:
|
|
|
|
* [git, the simple guide](https://rogerdudler.github.io/git-guide/)
|
|
* [git for beginners @StackOverflow](https://stackoverflow.com/questions/315911/git-for-beginners-the-definitive-practical-guide#320140)
|
|
* [an intro to git for
|
|
beginners](https://product.hubspot.com/blog/git-and-github-tutorial-for-beginners)
|
|
|
|
## Do I really need to type long commands on my keyboard to use git?
|
|
|
|
Originally, **git** was just a terminal-based application, but
|
|
nowadays there exist a lot of Graphical User Interfaces. A
|
|
(non-comprehensive) list of **git** applications is available [on the
|
|
official git webpage](https://git-scm.com/download/guis/)
|
|
|
|
|
|
## Experimenting with git
|
|
|
|
There is a [sandbox
|
|
repository](https://mygit.mine.nu:3000/LTCC_2018/sandbox) that you can
|
|
use to start experimenting with git. In order to use it, you just need
|
|
to _clone_ it:
|
|
|
|
```
|
|
git clone https://mygit.mine.nu:3000/LTCC_2018/sandbox
|
|
```
|
|
|
|
and then you can start adding new files, modofying existing ones, etc.
|
|
|
|
## Asking for help
|
|
|
|
If you need any help with using git, and you can't find the answer on
|
|
the web, then just write an email to the lecturer ;-)
|
|
|
|
|
|
|
|
|