-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit.txt
More file actions
executable file
·51 lines (31 loc) · 1 KB
/
git.txt
File metadata and controls
executable file
·51 lines (31 loc) · 1 KB
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
(1)New Repository creating ...
*************************
* repsitory name
* private
* create repository
create folder and inside that
* echo "# programmes" >> README.md
* git init
* git add README.md
* git commit -m "first commit"
* git remote add origin https://github.com/Siddeshvr/programmes.git
* git push -u origin master
then it will ask for user_name and password.....Siddeshvr and gmail_password respectively...
(2)Adding files...
* create a file inside that folder
* git add file_name
* git commit -m " " here give your own discription inside double_invites...
* git remote add origin https://github.com/Siddeshvr/programmes.git
* git push -u origin master
(3)Removing file from both repository and filesystem...
* git rm file_name
* git commit -m " "
* git push origin master
(4)Removing file only from repository...
* git rm --cached file_name
* git commit -m " "
* git push origin master
(5)Updating file...
* git add file_name
* git commit -m " "
* git push origin master