Skip to content

Commit c3a6ea7

Browse files
author
Rafal Chmiel
committed
Merge pull request tiimgreen#79 from hail2u/ja-translation
Update Ja translation to 0430782
2 parents 2acb308 + 29b9f17 commit c3a6ea7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.ja.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,22 @@ $ git fetch origin '+refs/pull/*/head:refs/remotes/origin/pr/*'
627627
$ git checkout pr/42 pr-42
628628
```
629629

630+
もしくは様々なリポジトリで作業をするのなら、代わりにグローバルのGit設定で行うことにより、pull requestの取得をグローバルに設定すると良いだろう。
631+
632+
```bash
633+
git config --global --add remote.origin.fetch "+refs/pull/*/head:refs/remotes/origin/pr/*"
634+
```
635+
636+
こうすると以下の様な短いコマンドを利用することが可能になる:
637+
638+
```bash
639+
git fetch origin
640+
```
641+
642+
```bash
643+
git checkout pr/42
644+
```
645+
630646
[*pull requestのチェックアウトについてもっと詳しく*](https://help.github.com/articles/checking-out-pull-requests-locally)
631647

632648
### 空のコミット :trollface:

0 commit comments

Comments
 (0)