File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ Hi, We have made the homework at the class.
2+ Me and @mehmet mehmetekinci worked together on this project and the result is shown on the following link:
3+ https://github.com/rabrad/animals
4+
5+ Recap:
6+
7+ 1 . admin creates a new repository on github called ** animals** .
8+ Done by me as admin.
9+
10+ 2 . admin adds a file called “zoo.txt” with some animals generally found in a zoo.
11+ From CLI:
12+ mkdir animals
13+ touch zoo.txt
14+ echo "Lion" "Zepra" "heppo" > zoo.txt
15+
16+ 3 . admin commits and pushes the changes (in master branch).
17+ git add .
18+ git commit -m "Made file zoo.txt"
19+
20+ 4 . user forks the repository created by admin and bring it to their machine (covered during classwork).
21+ Done by user.
22+ forks the repository.
23+ And from CLI:
24+ git cloan http://....
25+
26+ 5 . user makes a new branch called user-dev.
27+ git branch user-dev
28+
29+ 6 . user adds another file called “pets.txt” with some animals generally found in a home.
30+ touch pets.txt
31+ echo "cat" "dog" "horse" > pets.txt
32+
33+ 7 . user commits and pushes his branch to remote.
34+ git add .
35+ git commit -m "Made file pets.txt"
36+
37+ 8 . user creates a pull request(PR) to merge changes from user's _ user-dev_ branch to admin's _ master_ branch.
38+ Done by user on github.
39+
40+ 9 . admin reviews the pull request and approves and merges changes.
41+ Done by admin on github
You can’t perform that action at this time.
0 commit comments