Updated Git Assignement
This commit is contained in:
@ -1,3 +1,69 @@
|
||||
- Visited the Git-Training-Hub organization on Git Comorin.
|
||||
- Created a new repository named git-practice-Renejit as per the assignment.
|
||||
- Screenshot attached below.
|
||||
<!-- @format -->
|
||||
|
||||
# Git Assignment
|
||||
|
||||
## Git Version Check
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## Git Username
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## Git List
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## Git Init
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## Git Add
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||
## Git Log
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## Git Log (graph)
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## Git Diff
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## Git Diff (commit1 vs commit2)
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
### Notes:
|
||||
|
||||
1. **Git Version Check** – Confirms the installed Git version.
|
||||
2. **Git Status** – Shows the current working tree status, including staged/unstaged changes.
|
||||
3. **Git Add** – Adds changes to the staging area, preparing them for commit.
|
||||
4. **Git Log** – Displays commit history.
|
||||
5. **Git Log (oneline/graph)** – Shows simplified or visual commit history.
|
||||
6. **Git Diff** – Shows changes between commits or working directory states.
|
||||
|
15
todo.txt
Normal file
15
todo.txt
Normal file
@ -0,0 +1,15 @@
|
||||
Explanation of Git Comments
|
||||
|
||||
git config --global user.name "Renejit"
|
||||
Explanation: This command sets up your name for Git. Git will use this name for all commits you make, so your contributions can be tracked properly.
|
||||
|
||||
git config --global user.email "renejit.vedamoni@comorin.co"
|
||||
Explanation: Similar to the previous command, this sets up your email address for Git. This email is used to associate your commits with your identity. It’s important for collaboration.
|
||||
|
||||
git init
|
||||
Explanation: Initializes a new Git repository in the current directory. This turns your project folder into a version-controlled repository.
|
||||
|
||||
git status
|
||||
Explanation: Shows the status of the working directory. It tells you which files are modified, staged, or untracked, and if there are changes to commit.
|
||||
|
||||
|
Reference in New Issue
Block a user