... | @@ -2604,7 +2604,7 @@ GitLab or another service that is expected. |
... | @@ -2604,7 +2604,7 @@ GitLab or another service that is expected. |
|
|
|
|
|
Now let us add the remote repo.
|
|
Now let us add the remote repo.
|
|
|
|
|
|
1. Locate your repos SSH URL. It can usually be found under the *clone* button.
|
|
1. Locate your repo's SSH URL. It can usually be found under the *clone* button.
|
|
The URL should be in a format similiar to `git@git-community.cs.odu.edu:tkennedy/git-workshop.git`.
|
|
The URL should be in a format similiar to `git@git-community.cs.odu.edu:tkennedy/git-workshop.git`.
|
|
2. In your repo run `git remote add origin URL_REPO`.
|
|
2. In your repo run `git remote add origin URL_REPO`.
|
|
3. Run `git remote -v`. You should see output simliar to
|
|
3. Run `git remote -v`. You should see output simliar to
|
... | @@ -2630,7 +2630,7 @@ You should now see the changes to `README.md` in your local copy of the file. |
... | @@ -2630,7 +2630,7 @@ You should now see the changes to `README.md` in your local copy of the file. |
|
|
|
|
|
# Cloning an Existing Repository
|
|
# Cloning an Existing Repository
|
|
|
|
|
|
Cloning a git repo is far less work than seeting one up locally (from scratch).
|
|
Cloning a git repo is far less work than setting one up locally (from scratch).
|
|
|
|
|
|
1. Find the URL of a repo you want to clone (and for which you have edit
|
|
1. Find the URL of a repo you want to clone (and for which you have edit
|
|
privileges).
|
|
privileges).
|
... | | ... | |