-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathmidhuram_manoj.txt
66 lines (47 loc) · 1.46 KB
/
midhuram_manoj.txt
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
66
Commands Used
1. git clone https://github.com/Midhu7/SOPTask0.git
To clone the forked repo in my account to local system
2. git checkout -b midhuram_manoj
To create and shift to branch midhuram_manoj
3. touch log.txt
To create a new file log.txt and then write all commands used
4. git add .
git commit -m "message"
To commit all changes made
5. git checkout -b answer-oneword
To create new branch
Write one word answer in log.txt
6. git add .
git commit -m "message"
To commit all changes made
7. git checkout midhuram_manoj
To shift to branch midhuram_manoj
8. git checkout -b answer-explanation
To create new branch
Write explanation in log.txt
9. git add .
git commit -m "message"
To commit all changes made
10.git checkout midhuram_manoj
To shift to branch midhuram_manoj
11.git merge answer-oneword
To merge branch to midhuram_manoj
12.git merge answer-explanation
To merge branch to midhuram_manoj
13.Resolve conflicts
add .
git commit
To save the merge commit
14.mv log.txt midhuram_manoj.txt
To rename file log.txt
15.git add .
git commit -m "message"
To commit all changes made
16.git pull origin master
To pull updates from remote file
17.git add .
git commit -m "added file midhuram_manoj"
To add and commit all changes made
18.git push origin midhuram_manoj
To add the new branch to the forked repo
19.Go back to original repository and create pull request