Update GIT_ASSIGNMENT.md
This commit is contained in:
@ -396,6 +396,67 @@ Assignment:
|
||||
|
||||
Verify by listing files inside cloned-repo.
|
||||
|
||||
### My Work and Result
|
||||
```
|
||||
Magdel@LAPTOP-NS5FVUS9 MINGW64 ~ (master)
|
||||
$ git clone https://git.comorin.co/Git-Training-Hub/git-practice-Mag.git cloned-repo
|
||||
Cloning into 'cloned-repo'...
|
||||
remote: Enumerating objects: 12, done.
|
||||
remote: Counting objects: 100% (12/12), done.
|
||||
remote: Compressing objects: 100% (11/11), done.
|
||||
remote: Total 12 (delta 2), reused 0 (delta 0), pack-reused 0 (from 0)
|
||||
Receiving objects: 100% (12/12), 206.16 KiB | 10.31 MiB/s, done.
|
||||
Resolving deltas: 100% (2/2), done.
|
||||
```
|
||||
|
||||
### My work
|
||||
```
|
||||
cd cloned-repo
|
||||
ls
|
||||
```
|
||||
|
||||
#### Result
|
||||
```
|
||||
Magdel@LAPTOP-NS5FVUS9 MINGW64 ~ (master)
|
||||
$ cd cloned-repo
|
||||
|
||||
Magdel@LAPTOP-NS5FVUS9 MINGW64 ~/cloned-repo (main)
|
||||
$ ls
|
||||
GIT_ASSIGNMENT.md 'repository .jpg'
|
||||
```
|
||||
|
||||
|
||||
# 9. Adding & Managing Remotes
|
||||
|
||||
Assignment:
|
||||
|
||||
In your original git-practice-<<your_name>> repo, add a remote:
|
||||
|
||||
git remote add origin <your-repo-url>
|
||||
git remote -v
|
||||
|
||||
Verify the remote shows correctly.
|
||||
|
||||
### My work
|
||||
|
||||
```
|
||||
git remote add origin https://git.comorin.co/Git-Training-Hub/git-practice-Mag.git
|
||||
git remote -v
|
||||
```
|
||||
|
||||
#### Result
|
||||
```
|
||||
Magdel@LAPTOP-NS5FVUS9 MINGW64 ~/cloned-repo (main)
|
||||
$ git remote -v
|
||||
origin https://git.comorin.co/Git-Training-Hub/git-practice-Mag.git (fetch)
|
||||
origin https://git.comorin.co/Git-Training-Hub/git-practice-Mag.git (push)
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user