-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathgit&github.txt
More file actions
22 lines (19 loc) · 859 Bytes
/
git&github.txt
File metadata and controls
22 lines (19 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Git: Git is a distributed version control system
Git is an application done by ORACLE. we can download and install from official website
https://git-scm.com/downloads
After selecting 64-bit window setup , it downloads the file
install it. just make sure your default editor is vscode
after installing it, open "cmd"
how to make git work in vscode?
Goto terminal ----> new terminal
i. git init
ii. git add .
iii. git commit -m "message"
for first time, you need to enter configs
git config --global user.email "youremailid"
git config --global user.name "your username"
again do add and commit
Github: Github is a website to share,deploy and test your code
create an account in github and create a new repository
In terminal , type git remote add origin "repository link"
and to push , type git push -u origin main/maste