Compare commits
20 Commits
cdd1970950
...
assignment
Author | SHA1 | Date | |
---|---|---|---|
b88b3e4605 | |||
5251743ba6 | |||
dde586a637 | |||
36e4019ced | |||
1da6f094d0 | |||
19a309af94 | |||
24faea97fe | |||
6be5cb4f32 | |||
df394da8e2 | |||
7e2c7a9396 | |||
e2914f3b70 | |||
d0c1a1730e | |||
6f6d069366 | |||
4f19dbc47a | |||
3618c2e693 | |||
8f87fd7888 | |||
2e533c8cf6 | |||
6ba0313795 | |||
d16da988cd | |||
3f66206d09 |
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
secret.txt
|
||||
secretfile.txt
|
25
ASSIGNMENT-04-09-2025.md
Normal file
@ -0,0 +1,25 @@
|
||||
## Viewing File History
|
||||
|
||||
## 1. git log -- assignment.txt
|
||||
|
||||
|
||||

|
||||
|
||||
## 2. git log -p -- assignment.txt
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## 3. git log --oneline -- assignment.txt
|
||||
|
||||

|
||||
|
||||
## How many commits modified this file?
|
||||
|
||||
3 commits
|
||||
|
||||
## What differences do you see when adding the -p option?
|
||||
|
||||
Shows detailed changes for each commit in the file.
|
||||
|
BIN
Adding & Managing Remotes.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
Ignoring Files with .gitignore.png
Normal file
After Width: | Height: | Size: 16 KiB |
14
README.md
Normal file
@ -0,0 +1,14 @@
|
||||
## why Git is not tracking this case-only rename?
|
||||
|
||||
Windows/macOS filesystems are case-insensitive they treat both names as the same file.So when you rename only by case, the OS reports no change.
|
||||
|
||||
## Provide the correct steps to make Git recognize and commit the rename:
|
||||
force Rename command : git mv -f readme.md Readme.md
|
||||
|
||||
## Explain the underlying reason why this happens (hint: think about how Git interacts with different operating systems and filesystems).
|
||||
|
||||
1. Git was designed for Linux, where filesystems are case-sensitive.
|
||||
2. Windows/macOS filesystems are case-insensitive they treat both names as the same file.So when you rename only by case, the OS reports no change.
|
||||
|
||||
|
||||
|
BIN
Working Directory and Staging.png
Normal file
After Width: | Height: | Size: 24 KiB |
21
assignment.txt
Normal file
@ -0,0 +1,21 @@
|
||||
git log -- <filename> :
|
||||
shows the commmit message for a specific file.
|
||||
|
||||
git log -p --<filename> :
|
||||
shows line by line changes for each commmit in a specific file
|
||||
|
||||
git log --oneline --<filename> :
|
||||
shows commit history in short form for the specific file
|
||||
|
||||
Tel No: Mandatory 8 characters
|
||||
|
||||
git clone for specific branch git clone --branch <branch-name> --single-branch <repo-url>
|
||||
|
||||
Renewal Flow
|
||||
Reshop Flow
|
||||
Mortgage Inaccurate Flow
|
||||
Paid/Unpaid Flow
|
||||
Insured Billing & Mortgage Billing Flow
|
||||
|
||||
|
||||
|
BIN
create new branch.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
git branch.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
git checkout.png
Normal file
After Width: | Height: | Size: 8.3 KiB |
BIN
git clone.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
git log--filename.png
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
git log--oneline--filename.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
git log-p--filename.png
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
git log-p--filename1.png
Normal file
After Width: | Height: | Size: 51 KiB |
BIN
git pull.png
Normal file
After Width: | Height: | Size: 8.5 KiB |
BIN
git push.png
Normal file
After Width: | Height: | Size: 60 KiB |
BIN
git status after gitignore.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
git status before gitignore.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
git switch.png
Normal file
After Width: | Height: | Size: 8.4 KiB |
@ -44,3 +44,40 @@ In email we can`t tarck the changes in the code.But in git we track the changes
|
||||

|
||||

|
||||

|
||||
|
||||
## 7. Creating & Switching Branches
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
## 8 Git clone
|
||||
|
||||

|
||||
|
||||
## 9. Adding & Managing Remotes
|
||||
|
||||

|
||||
|
||||
## 10. Pushing & Pulling Changes
|
||||
|
||||

|
||||

|
||||
|
||||
## 11. Ignoring Files with .gitignore
|
||||
|
||||

|
||||
|
||||
Working Directory and staging:
|
||||
|
||||

|
||||
|
||||
Git status Before gitignore
|
||||
|
||||

|
||||
|
||||
Git status after gitignore
|
||||
|
||||

|