Update GIT_ASSIGNMENT.md

This commit is contained in:
2025-08-22 21:05:51 +00:00
parent a204569a26
commit e6d684423d

View File

@@ -327,9 +327,12 @@ git checkout main
### My Work ### My Work
`git branch feature/feature-1` `git branch feature/feature-1`
`git checkout feature/feature-1` `git checkout feature/feature-1`
### Result
`Switched to branch 'feature/feature-1'`
#### Result #### Result
`Switched to branch 'feature/feature-1'`
#### Result
``` ```
Magdel@LAPTOP-NS5FVUS9 MINGW64 ~ (feature/feature-1) Magdel@LAPTOP-NS5FVUS9 MINGW64 ~ (feature/feature-1)
$ git branch $ git branch
@@ -337,10 +340,11 @@ $ git branch
master master
``` ```
###My Work ### My Work
``` ```
echo "This note was made on 23rd August 2025" >> notes.txt echo "This note was made on 23rd August 2025" >> notes.txt
git add notes.txt`` git add notes.txt
```
#### Result #### Result
``` ```
@@ -366,23 +370,19 @@ Changes to be committed:
``` ```
### My Work - Commit ### My Work - Commit
`git commit -m "New Note" `git commit -m "New Note"`
#### Result #### Result
``` `Magdel@LAPTOP-NS5FVUS9 MINGW64 ~ (feature/feature-1)`
Magdel@LAPTOP-NS5FVUS9 MINGW64 ~ (feature/feature-1) `$ git commit -m "New Note"`
$ git commit -m "New Note" `[feature/feature-1 d2ef265] New Note`
[feature/feature-1 d2ef265] New Note `1 file changed, 1 insertion(+)`
1 file changed, 1 insertion(+) ### My work
```
###My work
`git checkout master` `git checkout master`
#### Result #### Result
``` `Magdel@LAPTOP-NS5FVUS9 MINGW64 ~ (feature/feature-1)`
Magdel@LAPTOP-NS5FVUS9 MINGW64 ~ (feature/feature-1) `$ git checkout master`
$ git checkout master `Switched to branch 'master'`
Switched to branch 'master'
```
# 8. Cloning a Remote Repository # 8. Cloning a Remote Repository