Skip to content

Commit 85bace5

Browse files
2nd Update README.md
1 parent 57132e6 commit 85bace5

File tree

1 file changed

+68
-10
lines changed

1 file changed

+68
-10
lines changed

README.md

Lines changed: 68 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,78 @@ manages projects with repositories, which are like secret hideouts for your code
3939
GitHub isn't Git, but it's like its trusty sidekick. It takes Git to the next level with a whole suite of tools and features. Owned by the mighty Microsoft, GitHub is the ultimate hub for all things code, hosting millions of repositories from developers worldwide.
4040

4141
So, there you have it! Get ready to dive into the exciting world of Git and GitHub, where coding dreams become reality.
42-
## Git Install
42+
## What is Repository.
43+
In the world of programming and software development, a repository is an essential tool that serves as a central location for storing and managing code. It not only houses the source code but also tracks changes, manages versions, and facilitates collaboration among developers. Let's delve into the intricacies of what a repository is and why it's indispensable in modern software development.
44+
45+
46+
# Git Install in Your System
4347

44-
You can download Git for free from the following website: [https://www.git-scm.com/](https://www.git-scm.com/)
45-
## Check your git version
48+
Setting up Git in your system for use with Visual Studio Code is essential for efficient version control and collaboration. Here's a straightforward guide to help you get started.
4649

47-
To check your git version, you can run the following command:
50+
### Step-by-Step Instructions
4851

52+
1. Install Git
53+
- **Windows** : Download and install from Git for [Windows](https://www.git-scm.com/).
54+
- **Mac** : Use Homebrew with brew install git or download from Git for [Mac](https://git-scm.com/download/mac).
55+
- **Linux** : Install via package manager, e.g., `sudo apt-get install git` for Debian-based distributions.
56+
57+
2. Verify Git Installation
58+
Open your terminal or command prompt and run:
4959
```cmd
5060
git --version
5161
```
52-
62+
You should see the installed Git version.
5363
This command will display the version of git installed on your system. Git is a very stable software and don’t get any breaking changes in majority of the cases, at least in my experience.
54-
## What is Repository.
55-
In the world of programming and software development, a repository is an essential tool that serves as a central location for storing and managing code. It not only houses the source code but also tracks changes, manages versions, and facilitates collaboration among developers. Let's delve into the intricacies of what a repository is and why it's indispensable in modern software development.
64+
65+
3. Configure Git
66+
Set up your username and email:
67+
```cmd
68+
git config --global user.name "Your Name"
69+
git config --global user.email "your.email@example.com"
70+
```
71+
Check your configuration with:
72+
73+
```cmd
74+
git config --list
75+
```
76+
4. Install Visual Studio Code
77+
Download and install from [Visual Studio Code](https://code.visualstudio.com/).
78+
79+
5. Install Git Extension in VS Code
80+
Open VS Code.
81+
Go to the Extensions view by clicking the Extensions icon in the Activity Bar on the side of the window.
82+
Search for "GitLens" and install it for enhanced Git capabilities.
83+
# Initialize folder into Git Repository.
84+
- Create a folder and open in vs code.
85+
- Open the terminal in VS Code.
86+
- Initialize a new Git repository:
87+
```cmd
88+
git init
89+
```
90+
- check status of the foldres an files.
91+
92+
```cmd
93+
git status
94+
```
95+
96+
## Commit
97+
98+
99+
commit is a way to save your changes to your repository. It is a way to record your changes and make them permanent. You can think of a commit as a snapshot of your code at a particular point in time. When you commit your changes, you are telling git to save them in a permanent way. This way, you can always go back to that point in time and see what you changed.
100+
101+
![logo](https://app.eraser.io/workspace/SMlHs99FVb8wFX7uXTLP/preview?elements=PBx4CuCnDKSV09sU8nNxVw&type=embed)
102+
103+
- write code, then
104+
105+
- . Add you file
106+
```cmd
107+
git add <FILE_NAME> <FILE_NAME> <FILE_NAME>
108+
```
109+
- If you want to all the file :
110+
111+
```cmd
112+
git add .
113+
```
56114
## Support
57115
58116
For support, email fake@fake.com or join our Slack channel.
@@ -75,12 +133,12 @@ To run this project, you will need to add the following environment variables to
75133
- Cross platform
76134
77135
78-
## Demo
136+
![Logo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/th5xamgrr6se0x5ro4g6.png)
79137
80-
Insert gif or link to demo
81138
139+
## Demo
82140
83-
![Logo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/th5xamgrr6se0x5ro4g6.png)
141+
Insert gif or link to demo
84142
85143
86144
## Usage/Examples

0 commit comments

Comments
 (0)