Compare commits
17 Commits
learning
...
feature/as
| Author | SHA1 | Date | |
|---|---|---|---|
| 8ee5230729 | |||
| d9cdcb5d67 | |||
| bc129fd68f | |||
| ae37ccf579 | |||
| 818379d412 | |||
| f04a9ca2fe | |||
| cbc5e0c771 | |||
| 1f63ae97fb | |||
| fc3d883e78 | |||
| b2d5453bd4 | |||
| 6d04a8313b | |||
| 935a42820f | |||
| 3990ff2f28 | |||
| 5b645a8eec | |||
| 298f362201 | |||
| 31700ab7fd | |||
| 4cc845f31d |
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
techthursday.txt
|
||||
git_commands.txt
|
||||
0
.gitignore_folder/secret.txt
Normal 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
|
||||
|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||
## 10. Pushing & Pulling Changes
|
||||
|
||||
## Git Pull
|
||||
|
||||

|
||||
|
||||
## Git Push
|
||||
|
||||

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

|
||||
|
||||
## Before git ignore
|
||||
|
||||

|
||||
|
||||
## After git ignore
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
|
||||
5
README.md
Normal 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
|
After Width: | Height: | Size: 39 KiB |
5
assignment.txt
Normal 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
|
After Width: | Height: | Size: 20 KiB |
10
example.txt
Normal 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
|
After Width: | Height: | Size: 50 KiB |
BIN
git_origin_remote.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
git_pull.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
gitignore.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
gitpush.png
Normal file
|
After Width: | Height: | Size: 38 KiB |