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