File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ # Day 24
2+
3+ Today we will learn to clone a repository and make a PR.
4+
5+ ## Problem Statement:
6+ Your friend has a problem! Clone the repo, create a branch called
7+ "solution", and fix the problem in this branch. When you're ready. make a "Pull Request" by using ` git tag pr ` .
8+
9+ ### Question:
10+ - Complete the goal of this level
11+
12+ ### Repository:
13+ - friend
14+ - file
15+
16+
17+ <div align =" center " >
18+ <img src =" https://github.com/ArnabKumarRoy02/Learn-git/assets/86621483/052e0ee2-4250-4987-b13f-102e09fecc94 " width =450 >
19+ <p >Description of the problem.</p >
20+ </div >
21+
22+ ## Solution:
23+
24+ 1 . Clone the repository.
25+ ``` bash
26+ git clone ../friend .
27+ ```
28+
29+ 2 . Create a new branch named ` solution ` .
30+ ``` bash
31+ git branch -M solution
32+ ```
33+
34+ 3 . Edit the file and make a commit.
35+ ``` bash
36+ git add .
37+ git commit -m " issue fixed"
38+ ```
39+
40+ 4 . Create a PR into the repository.
41+ ``` bash
42+ git tag pr
43+ ```
44+
45+ <div align =" center " >
46+ <img src =" https://github.com/ArnabKumarRoy02/Learn-git/assets/86621483/4de08d28-41dc-4922-ba97-597a18b127d6 " width =450 >
47+ <p >Description of the solution.</p >
48+ </div >
You can’t perform that action at this time.
0 commit comments