mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-01-15 11:12:57 -05:00
next-mdx-remote v4 (#737)
This commit is contained in:
@@ -12,8 +12,6 @@ tags:
|
||||
image: "/static/images/notes/how-to-pull-request-fork-github/step7-2.png"
|
||||
---
|
||||
|
||||
import Image from "../components/media/Image";
|
||||
|
||||
<svg width="150" height="150" viewBox="0 0 40 40" style={{ float: "right", marginBottom: "6px", marginLeft: "12px" }}>
|
||||
<path d="M6.5 35v-4.8c0-5.4 4.3-9.7 9.7-9.7h7.6c5.4 0 9.7-4.3 9.7-9.7V6M6.5 32.5v-26" fill="none" stroke="#a3b7cc" />
|
||||
<path d="M6.5 10.5a4 4 0 110-8 4 4 0 010 8z" fill="#8bb7f0" />
|
||||
@@ -36,7 +34,12 @@ Starting from the very beginning, we'll fork an existing repository to our accou
|
||||
|
||||
Assuming you're using GitHub, this step is easy. Just find the repository you're contributing to and press the Fork button in the upper left. This will create an exact copy of the repository (and all of its branches) under your own username.
|
||||
|
||||
<Image src="/static/images/notes/how-to-pull-request-fork-github/step1.png" width="865" height="80" alt="Step 1" />
|
||||
<Image
|
||||
src="/public/static/images/notes/how-to-pull-request-fork-github/step1.png"
|
||||
width="865"
|
||||
height="80"
|
||||
alt="Step 1"
|
||||
/>
|
||||
|
||||
## 2. Clone your new fork locally
|
||||
|
||||
@@ -46,7 +49,12 @@ GitHub will automatically redirect you to the forked repository under your usern
|
||||
git clone git@github.com:jakejarvis/react-native.git
|
||||
```
|
||||
|
||||
<Image src="/static/images/notes/how-to-pull-request-fork-github/step2.png" width="420" height="208" alt="Step 2" />
|
||||
<Image
|
||||
src="/public/static/images/notes/how-to-pull-request-fork-github/step2.png"
|
||||
width="420"
|
||||
height="208"
|
||||
alt="Step 2"
|
||||
/>
|
||||
|
||||
## 3. Track the original repository as a remote of the fork
|
||||
|
||||
@@ -94,9 +102,19 @@ git push -u origin fix-readme-typo
|
||||
|
||||
You're now all ready to submit the improvement you've made to the project's maintainers for approval. Head over to the original repositories Pull Requests tab, and you should see an automatic suggestion from GitHub to create a pull request from your new branch.
|
||||
|
||||
<Image src="/static/images/notes/how-to-pull-request-fork-github/step7-1.png" width="865" height="75" alt="Step 7.1" />
|
||||
<Image
|
||||
src="/public/static/images/notes/how-to-pull-request-fork-github/step7-1.png"
|
||||
width="865"
|
||||
height="75"
|
||||
alt="Step 7.1"
|
||||
/>
|
||||
|
||||
<Image src="/static/images/notes/how-to-pull-request-fork-github/step7-2.png" width="700" height="354" alt="Step 7.2" />
|
||||
<Image
|
||||
src="/public/static/images/notes/how-to-pull-request-fork-github/step7-2.png"
|
||||
width="700"
|
||||
height="354"
|
||||
alt="Step 7.2"
|
||||
/>
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user