... | @@ -49,7 +49,7 @@ Checking out files: 100% (310/310), done. |
... | @@ -49,7 +49,7 @@ Checking out files: 100% (310/310), done. |
|
Now there should be a new directory called OpenSimRoot with all the files in it. Now we will set up our remote repository. We do this by changing directory to the OpenSimRoot directory we just created and entering the command
|
|
Now there should be a new directory called OpenSimRoot with all the files in it. Now we will set up our remote repository. We do this by changing directory to the OpenSimRoot directory we just created and entering the command
|
|
`git remote add origin git@gitlab.com:rootmodels/OpenSimRoot.git`
|
|
`git remote add origin git@gitlab.com:rootmodels/OpenSimRoot.git`
|
|
|
|
|
|
This tells git to add a remote, with the name "origin" and with as source the SSH address of the OpenSimRoot repository. Now whenever we want to get the latest version we make sure we are in the OpenSimRoot directory and enter
|
|
This tells git to add a remote, with the name "origin" and with as source the SSH address of the OpenSimRoot repository. You can check the remotes you added with their names with `git remote -v`. Now whenever we want to get the latest version we make sure we are in the OpenSimRoot directory and enter
|
|
`git fetch origin`
|
|
`git fetch origin`
|
|
or
|
|
or
|
|
`git pull origin`
|
|
`git pull origin`
|
... | | ... | |