Compare commits
11 Commits
main
...
feature/me
Author | SHA1 | Date | |
---|---|---|---|
d54f69e33c | |||
03d0464d1b | |||
5f7a68af9f | |||
0244faa2f4 | |||
7ac7bba1db | |||
ed6fdf856f | |||
bb1bae28ee | |||
ba7836f784 | |||
e51c034284 | |||
2008e713fd | |||
0e620a0e8a |
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
secret.txt
|
||||
.env
|
@ -3,3 +3,27 @@ Step 1 :Create new Repository
|
||||
- Created a new repository named as git-practice-Jaya Lekshmi
|
||||
- Created with no README, no .gitignore and no license
|
||||
- 
|
||||
1. Checking Git Version
|
||||
- 
|
||||
2. Checking Git Status
|
||||
- 
|
||||
3. Adding Files to Staging
|
||||
- 
|
||||
4. Viewing Commit History
|
||||
- 
|
||||
5. Compact History (Oneline)
|
||||
- 
|
||||
6. Visual History (Graph)
|
||||
- 
|
||||
7. Checking Differences
|
||||
- 
|
||||
8. Comparing Two Commits
|
||||
- 
|
||||
9. Exploring Branches
|
||||
- 
|
||||
10. Cloning a Repository
|
||||
- 
|
||||
11. Pulling the Code
|
||||
- 
|
||||
12. Using gitignore
|
||||
- 
|
BIN
cloned-repo.png
Normal file
After Width: | Height: | Size: 42 KiB |
5
example.txt
Normal file
@ -0,0 +1,5 @@
|
||||
added new file
|
||||
added line one
|
||||
added line two
|
||||
added line three
|
||||
added line four in new branch
|
BIN
git_add.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
git_branch.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
git_diff_commit.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
git_ignore.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
git_new_branch.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
git_pull.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
git_version.png
Normal file
After Width: | Height: | Size: 21 KiB |
7
readme.md
Normal file
@ -0,0 +1,7 @@
|
||||
- Created readme.md in a repo and renamed it to README.md
|
||||
- 
|
||||
- Git didn’t show changes because windows system is case-insensitive
|
||||
- Fixed it using:
|
||||
`git mv -f readme.md README.md`
|
||||
`git commit -m "Rename readme.md to README.md"`
|
||||
- Reason: Git is case-sensitive, but case-insensitive filesystems treat both names as the same
|
BIN
readme.png
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
repo_edit.png
Normal file
After Width: | Height: | Size: 8.3 KiB |