-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfix2.txt
More file actions
58 lines (57 loc) · 998 Bytes
/
fix2.txt
File metadata and controls
58 lines (57 loc) · 998 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
55
56
57
58
1
git init
git branch -m master main
2
git add .
3
git commit -m "Initial Commit"
4
git branch feature1
git checkout feature1
5
git add .
git commit -m "Created branch feature1"
6
git checkout main
git add .
git commit -m "changed moose to mahmut"
7
git merge feature1
cat readme.md
git add readme.md
git commit -m "merged and resolved conflicts"
8
git tag extinct
9
git revert -m 1 eeaa
10
git branch feature2
11
git add readme.md
git commit -m "capitalized animals"
12
git checkout feature2
git add fix1.txt
git commit -m "added fix1"
git add fix2.txt
git commit -m "added fix2"
13
git checkout main
git cherry-pick 51d27
16
git remote add origin https://github.com/LMMAndreasson/gitLabb1
git push origin main
git checkout feature1
git push origin feature1
git checkout feature2
git push origin feature2
18
git tag -a v1.0 -m "Version 1.0"
19
git rebase main -i HEAD~2
20
git checkout -b feature3
git add fix3.txt
git commit -m "feature3 added, fix2 updated"
git checkout main
git merge feature3