8000 Merge pull request #119 from hail2u/ja-translation · rperng/github-cheat-sheet@11a9b62 · GitHub
[go: up one dir, main page]

Skip to content

Commit 11a9b62

Browse files
committed
Merge pull request tiimgreen#119 from hail2u/ja-translation
Update Ja translation to 3c21657
2 parents 3c21657 + 02640da commit 11a9b62

File tree

1 file changed

+32
-3
lines changed

1 file changed

+32
-3
lines changed

README.ja.md

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,11 @@
4848
- [GitHub情報](#github%E6%83%85%E5%A0%B1)
4949
- [GitHub Talks](#github-talks)
5050
- [Git](#git)
51+
- [すべての削除済みファイルをワーキング・ツリーから削除する](#%E3%81%99%E3%81%B9%E3%81%A6%E3%81%AE%E5%89%8A%E9%99%A4%E6%B8%88%E3%81%BF%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E3%83%AF%E3%83%BC%E3%82%AD%E3%83%B3%E3%82%B0%E3%83%BB%E3%83%84%E3%83%AA%E3%83%BC%E3%81%8B%E3%82%89%E5%89%8A%E9%99%A4%E3%81%99%E3%82%8B)
5152
- [直前のブランチ](#%E7%9B%B4%E5%89%8D%E3%81%AE%E3%83%96%E3%83%A9%E3%83%B3%E3%83%81)
5253
- [空白の削除](#%E7%A9%BA%E7%99%BD%E3%81%AE%E5%89%8A%E9%99%A4)
5354
- [pull requestのチェックアウト](#%E3%83%97%E3%83%AB%E3%83%AA%E3%82%AF%E3%82%A8%E3%82%B9%E3%83%88%E3%81%AE%E3%83%81%E3%82%A7%E3%83%83%E3%82%AF%E3%82%A2%E3%82%A6%E3%83%88)
54-
- [空のコミット :trollface:](#%E7%A9%BA%E3%81%AE%E3%82%B3%E3%83%9F%E3%83%83%E3%83%88-trollface)
55+
- [空のコミット](#%E7%A9%BA%E3%81%AE%E3%82%B3%E3%83%9F%E3%83%83%E3%83%88)
5556
- [Gitステータスのスタイリング](#git%E3%82%B9%E3%83%86%E3%83%BC%E3%82%BF%E3%82%B9%E3%81%AE%E3%82%B9%E3%82%BF%E3%82%A4%E3%83%AA%E3%83%B3%E3%82%B0)
5657
- [Gitログのスタイリング](#git%E3%83%AD%E3%82%B0%E3%81%AE%E3%82%B9%E3%82%BF%E3%82%A4%E3%83%AA%E3%83%B3%E3%82%B0)
5758
- [コミットログの検索](#%E3%82%B3%E3%83%9F%E3%83%83%E3%83%88%E3%83%AD%E3%82%B0%E3%81%AE%E6%A4%9C%E7%B4%A2)
@@ -304,7 +305,7 @@ GitHubでは[Linguist](https://github.com/github/linguist)を使って言語を
304305
[*GitHub Flavored Markdownについてもっと詳しく*](https://help.github.com/articles/github-flavored-markdown)
305306

306307
### Emoji
307-
Emojiはpull requestやissue、READMEなどで`:name_of_emoji:`と書くと利用できる:
308+
Emojiはpull requestやissue、コミット・メッセージ、リポジトリーの概要などで`:name_of_emoji:`と書くと利用できる:
308309

309310
GitHubでサポートされているEmojiの完全なリストは[Emoji cheat sheet for Campfire and GitHub](http://www.emoji-cheat-sheet.com/)[All-Github-Emoji-Icons](https://github.com/scotch-io/All-Github-Emoji-Icons)で確認できる。
310311

@@ -575,6 +576,33 @@ GitHubで使われているアイコン(Octicons)はオープンソース化
575576
| More Git and GitHub Secrets | https://www.youtube.com/watch?v=p50xsL-iVgU |
576577

577578
## Git
579+
### すべての削除済みファイルをワーキング・ツリーから削除する
580+
例えば`/bin/rm`を使って大量のファイルを削除した場合、以下のコマンドを使えばワーキング・ツリー、そしてインデックスからも削除することができ、ファイルごとにそれぞれGitコマンドを実行する必要がなくなる:
581+
582+
```bash
583+
$ git rm $(git ls-files -d)
584+
```
585+
586+
例えば以下のように実行される:
587+
588+
```bash
589+
$ git status
590+
On branch master
591+
Changes not staged for commit:
592+
deleted: a
593+
deleted: c
594+
595+
$ git rm $(git ls-files -d)
596+
rm 'a'
597+
rm 'c'
598+
599+
$ git status
600+
On branch master
601+
Changes to be committed:
602+
deleted: a
603+
deleted: c
604+
```
605+
578606
### 直前のブランチ
579607
Gitで直前のブランチへ移動するには:
580608

@@ -660,7 +688,7 @@ git checkout pr/42
660688

661689
[*pull requestのチェックアウトについてもっと詳しく*](https://help.github.com/articles/checking-out-pull-requests-locally)
662690

663-
### 空のコミット :trollface:
691+
### 空のコミット
664692
`--allow-empty`オプションを付けると、コードの変化がなくてもコミットを作成することができる:
665693

666694
```bash
@@ -877,6 +905,7 @@ $ git config --global color.ui 1
877905
| Git for Computer Scientists | http://eagain.net/articles/git-for-computer-scientists/ |
878906
| Git Magic | http://www-cs-students.stanford.edu/~blynn/gitmagic/ |
879907
| GitHub Training Kit | http://training.github.com/kit |
908+
| Git Visualization Playground | http://onlywei.github.io/explain-git-with-d3/#freeplay |
880909

881910
#### Git Books
882911
| Title | Link |

0 commit comments

Comments
 (0)
0