Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
4bb620d7fb | |||
9af9d7f1a6 | |||
21b060bd88 | |||
f94c0f4188 | |||
0e822925e6 | |||
8cb81f15fb | |||
18dec66878 | |||
74392f016f | |||
ed9763372d | |||
62ad7dd4e6 | |||
e81c2b1524 | |||
1c2c4fa9b7 |
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.ignore.txt
|
@ -3,3 +3,27 @@ Step 1 : Create new empty repository
|
|||||||
- Created a new repository named as git-practice-Ajishini
|
- Created a new repository named as git-practice-Ajishini
|
||||||
- Created with no README, no .gitignore and no license
|
- 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: 53 KiB |
BIN
git_add.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
git_checkout.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
git_commit-commit.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
git_commit.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
git_diff.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
git_ignore.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
git_init.png
Normal file
After Width: | Height: | Size: 8.6 KiB |
BIN
git_log--oneline--graph.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
git_log.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
git_pull.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
git_remote.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
git_remote_add_origin_URL.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
git_status.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
git_version.png
Normal file
After Width: | Height: | Size: 21 KiB |
1
new_branch.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Create new text file
|
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: 57 KiB |
BIN
repo_edit.png
Normal file
After Width: | Height: | Size: 14 KiB |
1
secret.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
this is a txt file
|