diff options
author | George L. Albany <Megacake1234@gmail.com> | 2023-09-25 07:26:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-25 07:26:57 +0200 |
commit | 24e9f25fe2be11f03a1588e434e0e6fe3f484144 (patch) | |
tree | 48e2b2d22cea391ca4b653a8fd2a351657f1b630 /docs/contribution/cloning.md | |
parent | a579fa30b9faced48499028f32e3ae53d7eeb142 (diff) | |
parent | 60b62e370ee566010f88e65df3981125dc17be2d (diff) |
Merge pull request #156 from Spartan322/fixup/docs
Diffstat (limited to 'docs/contribution/cloning.md')
-rw-r--r-- | docs/contribution/cloning.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/contribution/cloning.md b/docs/contribution/cloning.md new file mode 100644 index 0000000..06a84bb --- /dev/null +++ b/docs/contribution/cloning.md @@ -0,0 +1,22 @@ +# Cloning + +If you do not have Git installed foremost you need to install it at https://git-scm.com/download. + +Once installed you need to clone OpenVic: +```sh +git clone https://github.com/OpenVicProject/OpenVic.git +``` +After cloning you must initialize and update the submodules: +```sh +cd OpenVic +git submodule update --init --recursive +``` +Updating the submodules is neccessary every time the dependencies are updated, if you're unsure, on every `git pull` you should also call `git submodule update --init --recursive` + +To update the repo you must pull the repo: +```sh +git pull +``` +Git may install a gui with it, this gui can be a useful external tool for doing things related to git, (especially commits) you can open it via `git gui`. + +Further tutorials and documentation on git can be found at https://git-scm.com/book.
\ No newline at end of file |