Skip to content

Commit b945b7d

Browse files
committed
Translate Cheat Sheet to Japanese
1 parent 4de3a05 commit b945b7d

File tree

1 file changed

+65
-65
lines changed

1 file changed

+65
-65
lines changed
Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,235 +1,235 @@
1-
# GitHub Git Cheat Sheet
1+
# GitHub Git チートシート
22

3-
Git is the open source distributed version control system that facilitates GitHub activities on your laptop or desktop. This cheat sheet summarizes commonly used Git command line instructions for quick reference.
3+
Gitはオープンソースとして配布されているバージョンコントロールシステムです。Gitを使うと、あなたのラップトップまたはデスクトップから、GitHub上のアクティビティーを楽に操作できます。このチートシートは、コマンドラインを使ったよく使われているGitの命令のクイックリファレンスです。
44

5-
## Install git
6-
GitHub provides desktop clients that include a graphical user interface for the most common repository actions and an automatically updating command line edition of Git for advanced scenarios.
5+
## gitのインストール
6+
GitHubは、利用頻度の高いリポジトリへのアクションを可能にするグラフィカルユーザーインターフェースを提供し、同時に自動的にアップデートされる高度なシナリオにおけるGitのコマンドライン版を含むデスクトップクライアントを提供しています。
77

8-
### GitHub for Windows
8+
### GitHub Windows版
99
http://windows.github.com
1010

11-
### GitHub for Mac
11+
### GitHub Mac版
1212
http://mac.github.com
1313

14-
Git distributions for Linux and POSIX systems are available on the official Git SCM web site.
14+
LinuxまたはPOSIXシステムのためのGitディストリビューションはオフィシャルのGit SCMウェブサイトから入手できます。
1515

16-
### Git for all platforms
16+
### Git 全プラットフォーム版
1717
http://git-scm.com
1818

19-
## Configure tooling
20-
Configure user information for all local repositories
19+
## ツールの設定
20+
すべてのローカルリポジトリのために、ユーザー情報を設定してください
2121

2222

2323
```$ git config --global user.name "[name]"```
2424

25-
Sets the name you want attached to your commit transactions
25+
コミット操作に付加されるあなたの名前を設定します
2626

2727

2828
```$ git config --global user.email "[email address]"```
2929

30-
Sets the email you want attached to your commit transactions
30+
コミット操作に付加されるあなたのeメールアドレスを設定します
3131

3232

3333
```$ git config --global color.ui auto```
3434

35-
Enables helpful colorization of command line output
35+
コマンドラインの出力を見やすくするため色を設定できます
3636

3737

38-
## Create repositories
39-
Start a new repository or obtain one from an existing URL
38+
## リポジトリの作成
39+
新規リポジトリの作成もしくは既存のURLから取得します
4040

4141

4242
```$ git init [project-name]```
4343

44-
Creates a new local repository with the specified name
44+
指定した名前のローカルリポジトリを作成します
4545

4646

4747
```$ git clone [url]```
4848

49-
Downloads a project and its entire version history
49+
プロジェクトとすべてのバージョン履歴をダウンロードします
5050

51-
## Make changes
52-
Review edits and craft a commit transaction
51+
## 変更の作成
52+
変更をレビューしコミット操作ログを作成します
5353

5454

5555
```$ git status```
5656

57-
Lists all new or modified files to be committed
57+
コミット可能なすべての新規ファイルまたは変更のあるファイルを一覧で表示します
5858

5959

6060
```$ git diff```
6161

62-
Shows file differences not yet staged
62+
まだステージされていないファイルの差分を表示します
6363

6464

6565
```$ git add [file]```
6666

67-
Snapshots the file in preparation for versioning
67+
バージョン管理のためにファイルのスナップショットを作成します
6868

6969

7070
```$ git diff --staged```
7171

72-
Shows file differences between staging and the last file version
72+
ステージングと最後のファイルバージョンとの差分を表示します
7373

7474

7575
```$ git reset [file]```
7676

77-
Unstages the file, but preserves its contents
77+
ファイルをステージングから外しますが、その内容は保持します
7878

7979

8080
```$ git commit -m"[descriptive message]"```
8181

82-
Records file snapshots permanently in version history
82+
ファイルのスナップショットをバージョン履歴内に恒久的に記録します
8383

84-
## Group changes
85-
Name a series of commits and combine completed efforts
84+
## 変更の整理
85+
一連のコミットに名前をつけ、完了した成果を結合します
8686

8787

8888
```$ git branch```
8989

90-
Lists all local branches in the current repository
90+
現在のリポジトリ上のすべてのローカルブランチを一覧で表示します
9191

9292

9393
```$ git branch [branch-name]```
9494

95-
Creates a new branch
95+
新規ブランチを作成します
9696

9797

9898
```$ git checkout [branch-name]```
9999

100-
Switches to the specified branch and updates working directory
100+
指定されたブランチに切り替え、作業ディレクトリを更新します
101101

102102

103103
```$ git merge [branch-name]```
104104

105-
Combines the specified branch’s history into the current branch
105+
指定されたブランチの履歴を現在のブランチに統合します
106106

107107

108108
```$ git branch -d [branch-name]```
109109

110-
Deletes the specified branch
110+
指定されたブランチを削除します
111111

112112

113-
## Refactor file names
114-
Relocate and remove versioned files
113+
## ファイル名の整理
114+
バージョン管理されているファイルの移動、または削除を行ないます
115115

116116

117117
```$ git rm [file]```
118118

119-
Deletes the file from the working directory and stages the deletion
119+
作業ディレクトリからファイルを削除し、削除をステージします
120120

121121

122122
```$ git rm --cached [file]```
123123

124-
Removes the file from version control but preserves the file locally
124+
バージョン管理からファイルを削除しますが、ローカルのファイルは保持します
125125

126126

127127
```$ git mv [file-original] [file-renamed]```
128128

129-
Changes the file name and prepare it for commit
129+
ファイル名を変更し、コミットします
130130

131-
## Suppress tracking
132-
Exclude temporary files and paths
131+
## トラッキングの制限
132+
一時ファイルやパスを除外します
133133

134134
```
135135
*.log
136136
build/
137137
temp-*
138138
```
139139

140-
A text file named `.gitignore` suppresses accidental versioning of files and paths matching the specified patterns
140+
`.gitignore` という名前のテキストファイルで、指定されたパターンに該当するファイルやパスを誤ってバージョン管理してしまうことを防げます
141141

142142

143143
```$ git ls-files --other --ignored --exclude-standard```
144144

145-
Lists all ignored files in this project
145+
プロジェクト内のすべての除外されたファイルを一覧で表示します
146146

147-
## Save fragments
148-
Shelve and restore incomplete changes
147+
## 断片の保存
148+
未完成の変更を一時的に退避し、復旧させることができます
149149

150150

151151
```$ git stash```
152152

153-
Temporarily stores all modified tracked files
153+
すべての変更のあるトラックされているファイルを一時的に保存します
154154

155155

156156
```$ git stash pop```
157157

158-
Restores the most recent stashed files
158+
直近に一時保存されたファイルを復旧します
159159

160160

161161
```$ git stash list```
162162

163-
Lists all stashed changesets
163+
すべての一時保存された変更セットを一覧で表示します
164164

165165

166166
```$ git stash drop```
167167

168-
Discards the most recently stashed changeset
168+
直近に一時保存された変更セットを破棄します
169169

170-
## Review history
171-
Browse and inspect the evolution of project files
170+
## 履歴の確認
171+
プロジェクトファイルの進展を確認します
172172

173173

174174
```$ git log```
175175

176-
Lists version history for the current branch
176+
現在のブランチのバージョン履歴を一覧で表示します
177177

178178

179179
```$ git log --follow [file]```
180180

181-
Lists version history for the file, including renames
181+
ファイル名の変更を含む指定したファイルのバージョン履歴を一覧で表示します
182182

183183

184184
```$ git diff [first-branch]...[second-branch]```
185185

186-
Shows content differences between two branches
186+
2つのブランチ間の差分を表示します
187187

188188

189189
```$ git show [commit]```
190190

191-
Outputs metadata and content changes of the specified commit
191+
指定されたコミットのメタ情報と変更内容を出力します
192192

193-
## Redo commits
194-
Erase mistakes and craft replacement history
193+
## コミットの修正
194+
ミスの削除と履歴の置き換え
195195

196196

197197
```$ git reset [commit]```
198198

199-
Undoes all commits after `[commit]`, preserving changes locally
199+
`[commit]`以降のすべてのコミットを取り消し、ローカルでは変更を保持します
200200

201201

202202
```$ git reset --hard [commit]```
203203

204-
Discards all history and changes back to the specified commit
204+
指定されたコミットに戻り、それ以降のすべての変更を破棄します
205205

206-
## Synchronize changes
207-
Register a repository bookmark and exchange version history
206+
## 変更の同期
207+
リポジトリのブックマークを登録し、バージョン履歴を交換します
208208

209209

210210
```$ git fetch [bookmark]```
211211

212-
Downloads all history from the repository bookmark
212+
リポジトリブックマークからすべての履歴をダウンロードします
213213

214214

215215
```$ git merge [bookmark]/[branch]```
216216

217-
Combines bookmark’s branch into current local branch
217+
ブックマークのブランチを現在のローカルブランチに統合します
218218

219219

220220
```$ git push [alias] [branch]```
221221

222-
Uploads all local branch commits to GitHub
222+
すべてのローカルブランチのコミットをGitHubにアップロードします
223223

224224

225225
```$ git pull```
226226

227-
Downloads bookmark history and incorporates changes
227+
ブックマークの履歴をダウンロードし、変更を統合します
228228

229229
---
230230

231-
## GitHub Training
232-
Learn more about using GitHub and Git. Email the Training Team or visit our web site for learning event schedules and private class availability.
231+
## GitHub トレーニング
232+
より詳しくGitHubとGitの使い方を知るには、トレーニングチームにメールするか、イベントスケジュールや受講可能なプライベート講義を知るために私たちのウェブサイトをご覧ください。
233233

234234
235235
* training.github.com

0 commit comments

Comments
 (0)