Skip to content

Commit

Permalink
remove information no longer in the original
Browse files Browse the repository at this point in the history
  • Loading branch information
Conner Bondurant committed Dec 12, 2017
1 parent 628ef29 commit c9e2bbc
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions translations/README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,31 +80,8 @@ GitHub であなたのリポジトリに行くと、 `Compare&pull request`

<img style="float: right;" src="../assets/submit-pull.png" alt="submit pull request" />

## ォークしたレポジトリと元のレポジトリを同期させる

今、私はこのプロジェクトの master ブランチにすべての変更をマージしています。しかしあなたのフォークしたレポジトリにはどのような変更は加えられていません。あなたのフォークしたレポジトリと元のレポジトリとの変更を同期させるために、私のレポジトリのURLを「上流のリモート URL 」として追加する必要があります:
```
git remote add upstream https://github.com/multunus/first-contributions
```
これは、指定された URL にこのプロジェクトの別のバージョンが存在することを Git に伝える方法で、これを upstream と呼んでいます。変更がマージされたら、新しいバージョンのリポジトリを取得します。
```
git fetch upstream
```


ここで私のフォークレポジトリ(上流のリモート)のすべての変更を取得しています。今度は、新しいリポジトリのリビジョンを master ブランチにマージする必要があります。
```
git rebase upstream/master
```

ここでは、取得したすべての変更を master ブランチに適用します。master ブランチを押した場合、フォークにも変更が加えられます
```
git push origin master
```
ここでは remote に移動していることに注目してください


## その他のツールを使用したチュートリアル

|<a href="github-desktop-tutorial.md"><img alt="GitHub Desktop" src="https://desktop.github.com/images/desktop-icon.svg" width="100"></a>|<a href="github-windows-vs2017-tutorial.md"><img alt="Visual Studio 2017" src="https://www.microsoft.com/net/images/vslogo.png" width="100"></a>|<a href="gitkraken-tutorial.md"><img alt="GitKraken" src="/assets/gk-icon.png" width="100"></a>|
|---|---|---|
Expand Down

0 comments on commit c9e2bbc

Please sign in to comment.