17 Commits

Author SHA1 Message Date
8ee5230729 added explanation 2025-09-10 17:05:34 +05:30
d9cdcb5d67 removed day 2025-09-10 16:59:03 +05:30
bc129fd68f added git log -- <filename> explanation 2025-09-10 16:57:23 +05:30
ae37ccf579 Added wednesday 2025-09-10 16:29:53 +05:30
818379d412 Added date 2025-09-10 16:29:15 +05:30
f04a9ca2fe Added assignment number to example file 2025-09-10 16:28:17 +05:30
cbc5e0c771 Updated example file 2025-09-10 16:26:37 +05:30
1f63ae97fb Adding example file 2025-09-10 16:23:58 +05:30
fc3d883e78 Updated Readme 2025-09-04 11:51:40 +05:30
b2d5453bd4 Updated Readme file 2025-09-04 11:42:03 +05:30
6d04a8313b Add readme.md 2025-09-04 10:10:54 +05:30
935a42820f Updated git ignore images 2025-09-02 15:54:44 +05:30
3990ff2f28 Updated the MD file 2025-08-27 21:44:37 +05:30
5b645a8eec Added git push image to MD file 2025-08-27 21:34:14 +05:30
298f362201 Updating the assignment 2025-08-27 21:29:26 +05:30
31700ab7fd Add .gitignore to ignore secret.txt 2025-08-27 20:00:12 +05:30
4cc845f31d Added assinment file to main branch 2025-08-27 19:56:02 +05:30
13 changed files with 59 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
techthursday.txt
git_commands.txt

View File

View File

@ -100,3 +100,40 @@ Version control (like Git) keeps one central version of the file, records who ma
---
## 9. Adding & Managing Remotes
## Git Remote
![Git origin](git_origin.png)
![Git remote](git_origin_remote.png)
---
## 10. Pushing & Pulling Changes
## Git Pull
![Git pull](git_pull.png)
## Git Push
![Git push](gitpush.png)
---
## 11. Ignoring Files with .gitignore
## .gitignore
![.gitignore](gitignore.png)
## Before git ignore
![.gitignore](before_git_ignore.png)
## After git ignore
![.gitignore](after_git_ignore.png)
---

5
README.md Normal file
View File

@ -0,0 +1,5 @@
Why This Happens
Git uses filesystem system calls to detect changes. Case-insensitive filesystems report no difference for case-only renames, so Git's index isn't updated. core.ignorecase (set to true on such systems) aligns Git with filesystem behavior.
To change the file name we use the force Rename command : git mv -f readme.md Readme.md

BIN
after_git_ignore.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

5
assignment.txt Normal file
View File

@ -0,0 +1,5 @@
Git commit
Takes the staged snapshot and commits it to the project history. Combined with git add, this defines the basic workflow for all Git users.
Git clone
Creates a copy of an existing Git repository. Cloning is the most common way for developers to obtain a working copy of a central repository.

BIN
before_git_ignore.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

10
example.txt Normal file
View File

@ -0,0 +1,10 @@
Tech Thursday assignment 3
date 10-09-2025
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

BIN
git_origin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
git_origin_remote.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
git_pull.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
gitignore.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
gitpush.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB