10000 Update Ja translation to 0430782 · 7demo/github-cheat-sheet@29b9f17 · GitHub
[go: up one dir, main page]

Skip to content

Commit 29b9f17

Browse files
author
Kyo Nagashima
committed
Update Ja translation to 0430782
1 parent 2acb308 commit 29b9f17

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 - 8AC1 -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)
0