1
0
mirror of https://github.com/tiimgreen/github-cheat-sheet.git synced 2025-08-11 02:14:04 +02:00

Apply small fixes to translations

- #103, #102, #99: Apply to all
- #101: Apply only ko
This commit is contained in:
Shim Won
2015-01-22 11:10:24 +09:00
parent 3463ac0821
commit 22858cff2a
3 changed files with 35 additions and 33 deletions

View File

@@ -85,7 +85,7 @@ GitHub上で差分ページを表示している時、そのURLに`?w=1`を加
![After, tab space example](http://i.imgur.com/70FL4H9.png)
### 特定のユーザーによるコミット履歴
特定のユーザーによるあるリポジトリへのコミット履歴のみを参照したい場合は、`?author=username`をURLの末尾に付ける。
特定のユーザーによるあるリポジトリへのコミット履歴のみを参照したい場合は、`?author={user}`をURLの末尾に付ける。
```
https://github.com/rails/rails/commits/master?author=dhh
@@ -135,7 +135,7 @@ https://github.com/{user}/{repo}/branches/{branch}
GitHubのブランチ比較は以下のようなURLで提供されている:
```
https://github.com/user/repo/compare/{range}
https://github.com/{user}/{repo}/compare/{range}
```
`{range}``master...4-1-stable`に変更する。
@@ -196,8 +196,8 @@ This means you also can modify and push updates to Gists:
```bash
$ git commit
$ Username for 'https://gist.github.com':
$ Password for 'https://tiimgreen@gist.github.com':
Username for 'https://gist.github.com':
Password for 'https://tiimgreen@gist.github.com':
```
@@ -264,7 +264,7 @@ $ git commit -m "Fix screwup, fixes #12"
### issueの相互リンク
同じリポジトリの違うissueへリンクを張り参照させたい場合、`#`に続けてissue番号を指定する。そうすると自動的にリンクが作成されるだろう。
別のリポジトリのissueの場合は`user_name/repo_name#ISSUE_NUMBER`とすれば良い(例: `tiimgreen/toc#12`)。
別のリポジトリのissueの場合は`{user}/{repo}#ISSUE_NUMBER`とすれば良い(例: `tiimgreen/toc#12`)。
![Cross-Link Issues](https://camo.githubusercontent.com/447e39ab8d96b553cadc8d31799100190df230a8/68747470733a2f2f6769746875622d696d616765732e73332e616d617a6f6e6177732e636f6d2f626c6f672f323031312f736563726574732f7265666572656e6365732e706e67)
@@ -324,11 +324,11 @@ GitHubでサポートされているEmojiの完全なリストは[Emoji cheat sh
GitHubで使われているEmojiのトップ5は以下の通りだ:
1. :shipit: - `:shipit:`
2. :sparkles: - `:sparkles:`
3. :-1: - `:-1:`
4. :+1: - `:+1:`
5. :clap: - `:clap:`
1. `:shipit:`
2. `:sparkles:`
3. `:-1:`
4. `:+1:`
5. `:clap:`
### 画像及びアニメーションGIF
画像やアニメーションGIFはコミットのコメントやREADMEなどで利用できる:
@@ -340,7 +340,7 @@ GitHubで使われているEmojiのトップ5は以下の通りだ:
リポジトリにある画像も直接参照することが出来る:
```
![Alt Text](https://github.com/(user)/(repo)/raw/master/path/to/image.gif)
![Alt Text](https://github.com/{user}/{repo}/raw/master/path/to/image.gif)
```
![Peter don't care](http://www.sheawong.com/wp-content/uploads/2013/08/keephatin.gif)

View File

@@ -92,7 +92,7 @@ diff나 파일 URL에 `?ts=4`를 덧붙이면 텝 문자의 크기를 기본값
### Commit History by Author
특정 커미터가 한 모든 커밋을 보고 싶다면 URL에 `?author=username`를 추가하세요.
특정 커미터가 한 모든 커밋을 보고 싶다면 URL에 `?author={user}`를 추가하세요.
```
https://github.com/rails/rails/commits/master?author=dhh
@@ -132,7 +132,7 @@ https://github.com/{user}/{repo}/branches
깃허브에서 브랜치 비교를 하시려면, URL을 이런 식으로 바꾸세요.
```
https://github.com/user/repo/compare/{range}
https://github.com/{user}/{repo}/compare/{range}
```
`{range}``master...4-1-stable`식으로 적습니다.
@@ -196,8 +196,8 @@ $ git clone https://gist.github.com/tiimgreen/10545817
```bash
$ git commit
$ Username for 'https://gist.github.com':
$ Password for 'https://tiimgreen@gist.github.com':
Username for 'https://gist.github.com':
Password for 'https://tiimgreen@gist.github.com':
```
[*gist를 만드는 법에 대해 더 읽어보세요.*](https://help.github.com/articles/creating-gists)
@@ -268,7 +268,7 @@ $ git commit -m "Fix screwup, fixes #12"
같은 저장소의 다른 이슈를 링크하기 원한다면, `#`뒤에 이슈 번호만 입력하시면 자동으로 링크됩니다.
다른 저장소의 이슈를 링크하고 싶다면 `사람_이름/저장소_이름#이슈_번호`로 할 수 있습니다. (예 `tiimgreen/toc#12`)
다른 저장소의 이슈를 링크하고 싶다면 `{user}/{repo}#이슈_번호`로 할 수 있습니다. (예 `tiimgreen/toc#12`)
![Cross-Link Issues](https://camo.githubusercontent.com/447e39ab8d96b553cadc8d31799100190df230a8/68747470733a2f2f6769746875622d696d616765732e73332e616d617a6f6e6177732e636f6d2f626c6f672f323031312f736563726574732f7265666572656e6365732e706e67)
@@ -324,11 +324,11 @@ puts table.to_s
깃허브에서 많이 사용하는 에모지 탑 5위는 이렇습니다.
1. :shipit: - `:shipit:`
2. :sparkles: - `:sparkles:`
3. :-1: - `:-1:`
4. :+1: - `:+1:`
5. :clap: - `:clap:`
1. `:shipit:`
2. `:sparkles:`
3. `:-1:`
4. `:+1:`
5. `:clap:`
### Images/GIFs
@@ -341,7 +341,7 @@ puts table.to_s
저장소에 있는 이미지는 직접 불러서 사용할 수 있습니다.
```
![Alt Text](https://github.com/(user)/(repo)/raw/master/path/to/image.gif)
![Alt Text](https://github.com/{user}/{repo}/raw/master/path/to/image.gif)
```
![Peter don't care](http://www.sheawong.com/wp-content/uploads/2013/08/keephatin.gif)
@@ -370,6 +370,8 @@ puts table.to_s
### Pasting Clipboard Image to Comments
_(크롬에서만 동작합니다)_
스크린샷을 찍고 클립보드에 있는 경우 (mac: `cmd-ctrl-shift-4`), 간단히 이미지를 커맨트 색션에 붙여넣기(`cmd-v / ctrl-v`)할 수 있고 이는 자동으로 깃허브에 업로드 됩니다.
![Pasting Clipboard Image to Comments](https://cloud.githubusercontent.com/assets/39191/5794265/39c9b65a-9f1b-11e4-9bc7-04e41f59ea5f.png)

View File

@@ -81,7 +81,7 @@
![After, tab space example](http://i.imgur.com/70FL4H9.png)
### 查看某个用户的Commit历史
查看某个用户的所有提交历史只需在commits页面URL后加上`?author=username`
查看某个用户的所有提交历史只需在commits页面URL后加上`?author={user}`
```
https://github.com/rails/rails/commits/master?author=dhh
@@ -133,7 +133,7 @@ https://github.com/{user}/{repo}/branches/{branch}
如果我们想要比较两个分支可以像下面一样修改URL
```
https://github.com/user/repo/compare/{range}
https://github.com/{user}/{repo}/compare/{range}
```
其中`{range} = master...4-1-stable`
@@ -197,8 +197,8 @@ $ git clone https://gist.github.com/tiimgreen/10545817
```bash
$ git commit
$ Username for 'https://gist.github.com':
$ Password for 'https://tiimgreen@gist.github.com':
Username for 'https://gist.github.com':
Password for 'https://tiimgreen@gist.github.com':
```
@@ -268,7 +268,7 @@ $ git commit -m "Fix screwup, fixes #12"
### 链接其他仓库的Issue
如果你想引用到同一个仓库中的一个Issue只需使用井号 `#` 加上Issue号这样就会自动创建到此Issue的链接。
要链接到其他仓库的Issue就使用`user_name/repo_name#ISSUE_NUMBER`的方式,例如`tiimgreen/toc#12`
要链接到其他仓库的Issue就使用`{user}/{repo}#ISSUE_NUMBER`的方式,例如`tiimgreen/toc#12`
![Cross-Link Issues](https://camo.githubusercontent.com/447e39ab8d96b553cadc8d31799100190df230a8/68747470733a2f2f6769746875622d696d616765732e73332e616d617a6f6e6177732e636f6d2f626c6f672f323031312f736563726574732f7265666572656e6365732e706e67)
@@ -317,11 +317,11 @@ Github支持的完整表情符号列表详见[emoji-cheat-sheet.com](http://www.
Github上使用最多的5个表情符号是
1. :shipit: - `:shipit:`
2. :sparkles: - `:sparkles:`
3. :-1: - `:-1:`
4. :+1: - `:+1:`
5. :clap: - `:clap:`
1. `:shipit:`
2. `:sparkles:`
3. `:-1:`
4. `:+1:`
5. `:clap:`
### 静态与动态图片
注释和README等文件里也可以使用图片和GIF动画
@@ -333,7 +333,7 @@ Github上使用最多的5个表情符号是
仓库中的原始图片可以被直接调用:
```
![Alt Text](https://github.com/(user)/(repo)/raw/master/path/to/image.gif)
![Alt Text](https://github.com/{user}/{repo}/raw/master/path/to/image.gif)
```
![Peter don't care](http://www.sheawong.com/wp-content/uploads/2013/08/keephatin.gif)