-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
96 additions
and
1,639 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
////////////////////////// | ||
[[_first_time]] | ||
////////////////////////// | ||
=== First-Time Git Setup | ||
////////////////////////// | ||
[[_first_time]] | ||
=== 最初のGitの構成 | ||
////////////////////////// | ||
|
@@ -58,13 +57,6 @@ This is important because every Git commit uses this information, and it's immut | |
Gitをインストールしたときに最初にすべきことは、ユーザー名とE-mailアドレスを設定することです。 | ||
全てのGitのコミットはこの情報を用いるため、これは重要で、作成するコミットに永続的に焼き付けられます: | ||
////////////////////////// | ||
[source,console] | ||
---- | ||
$ git config --global user.name "John Doe" | ||
$ git config --global user.email [email protected] | ||
---- | ||
////////////////////////// | ||
[source,console] | ||
---- | ||
$ git config --global user.name "John Doe" | ||
|
@@ -97,26 +89,18 @@ If you want to use a different text editor, such as Emacs, you can do the follow | |
これが設定されていない場合、Gitはシステムのデフォルトエディターを使います。大抵の場合はVimです。 | ||
Emacsのような違うテキストエディターを使いたい場合は、次のようにします: | ||
////////////////////////// | ||
[source,console] | ||
---- | ||
$ git config --global core.editor emacs | ||
---- | ||
////////////////////////// | ||
[source,console] | ||
---- | ||
$ git config --global core.editor emacs | ||
---- | ||
////////////////////////// | ||
[WARNING] | ||
////////////////////////// | ||
==== | ||
Vim and Emacs are popular text editors often used by developers on Unix based systems like Linux and Mac. If you are not familiar with either of these editors or are on a Windows system, you may need to search for instructions for how to set up your favorite editor with Git. | ||
If you don't set an editor like this and you don't know what Vim or Emacs are, you will likely get into a really confusing state when they are launched. | ||
==== | ||
////////////////////////// | ||
[WARNING] | ||
==== | ||
VimとEmacsは人気があり、LinuxやMacのようなUnixベースのシステムを使う開発者たちに特によく使われています。それらについてあまり知らない、もしくはWindowsを使っている場合は、好みのエディターをGitで使うにはどうすればいいか、調べる必要があるかもしれません。 | ||
Git用のエディターを設定していなくて、VimやEmacsのことを知らないとすると、Gitを使っている最中にそれが立ち上がって困惑することになってしまうでしょう。 | ||
|
@@ -132,19 +116,6 @@ If you want to check your settings, you can use the `git config --list` command | |
////////////////////////// | ||
設定を確認したい場合は、その時点でGitが見つけられる全ての設定を一覧するコマンドである`git config --list`を使う事ができます: | ||
////////////////////////// | ||
[source,console] | ||
---- | ||
$ git config --list | ||
user.name=John Doe | ||
[email protected] | ||
color.status=auto | ||
color.branch=auto | ||
color.interactive=auto | ||
color.diff=auto | ||
... | ||
---- | ||
////////////////////////// | ||
[source,console] | ||
---- | ||
$ git config --list | ||
|
@@ -168,13 +139,6 @@ You can also check what Git thinks a specific key's value is by typing `git conf | |
////////////////////////// | ||
また、Gitに設定されている特定のキーの値を、`git config <key>`とタイプすることで確認することができます:(((git commands, config))) | ||
////////////////////////// | ||
[source,console] | ||
---- | ||
$ git config user.name | ||
John Doe | ||
---- | ||
////////////////////////// | ||
[source,console] | ||
---- | ||
$ git config user.name | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.