forked from junaid238/gunturClasses
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclassTwentyFourOnline.py
74 lines (46 loc) · 1.26 KB
/
classTwentyFourOnline.py
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
55
56
57
58
59
60
61
62
63
64
65
# git --> init , add , commit , push
.gitignore
-> hidden file
-> skipping push of selected files
-> passwords , server details (pwd.txt)
-> not push such files to remote
-> init folder
.gitignore
<filename>.<ext>
<filename2>.<ext>
<filename3>.<ext>
filename3 , filename2 , filename --> will not pushed
100 devs - fb.com
100 systems - 1 app
33 systems --> 1 system/3people --> shifts
1 system --> 3 devs --> k , h , r
fb.com
partitions --> branchs
local --> k , h , r , master
remote --> k , h , r , master
branch commands
----------------
create a new --> git checkout -b <branchname>
delete a branch --> git branch -d <branchname>
switch --> git checkout <branchname>
list --> git branch
remote link --> https://github.com/junaid579/gitdemopy.git
clone --> download the repository
git clone <remote link>
git clone https://github.com/cloudera/hue.git
project --> git link --> clone
--> work project
1 project --> 3 people -> 30 changes
1 person --> -20 changes
2 person --> -20 changes
3 person --> -20 changes
pull all changes from remote into your branch
git pull origin <branchname>
git add
git commit
git push
adding
------
git add <filename> --> add single file to staging area
git add *
git add . --> all files to staging area