-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit and github notes.txt
More file actions
56 lines (31 loc) · 932 Bytes
/
git and github notes.txt
File metadata and controls
56 lines (31 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
git and github notes
git is version control systme (vcs)
git config --global user.email "suchitsheth42@gmail.com"
git config --global user.name "suchitsheth.com"
// initlizing git in the folder(security gard)
git init
// adding file to the git which (add file of give to security gard)
git add .
// commit file to the git
git commit -m "name will be here with version "
//connecting with github
git add remote origin https:// lnk
//adding file to the github
git push -u origin master
//logging how much commit
git logging
//for list of branchin
git branch
// for making new branch
git branch newBranch
//how to switch to new branch
git checkout newBranch
//how to puch in ranch
git push origin : newBranch
//
9306094713
git use for local version control only
-------------------------------------------------------
github account
@Suchit581
github: having repo/folder and project collebration platform