Create a repository
You can store a variety of projects in GitHub Enterprise Server repositories, including innersource projects. With innersource, you can share code to make better, more reliable software. For more information on innersource, see GitHub's white paper "An introduction to innersource."
- ページの右上隅で、[] ドロップダウン メニューを使用して、 [新しいリポジトリ] を選択します。
- Type a short, memorable name for your repository. For example, "hello-world".
- Optionally, add a description of your repository. For example, "My first repository on GitHub Enterprise Server."
- リポジトリの可視性を選択してく� さい。 詳細については、リポジトリに関する説明を参照してく� さい。
- [Initialize this repository with a README] (このレポジトリを README で初期化する) を選択します。
- [Create repository] (リポジトリの作成) をクリックします。
Congratulations! You've successfully created your first repository, and initialized it with a README file.
Commit your first change
A commit is like a snapshot of all the files in your project at a particular point in time.
When you created your new repository, you initialized it with a README file. README files are a great place to describe your project in more detail, or add some documentation such as how to install or use your project. The contents of your README file are automatically shown on the front page of your repository.
Let's commit a change to the README file.
- In your repository's list of files, click README.md.
- Above the file's content, click .
- On the Edit file tab, type some information about yourself.
- 新しいコンテンツの上にある [変更のプレビュー] をクリックします。
- Review the changes you made to the file. You will see the new content in green.
- ページの下部で、ファイルに対して行った変更を説明する短く分かりやすいコミットメッセージを入力してく� さい。 コミットメッセージでは、複数の作者にコミットを関連づけることができます。 詳細については、「複数の共同作成者とのコミットの作成」を参照してく� さい。
- コミットメッセージフィールドの下で、コミットの追� 先を現在のブランチか新しいブランチから選択してく� さい。 現在のブランチがデフォルトブランチなら、コミット用に新しいブランチを作成してからPull Requestを作成すべきです。 詳細については、「新しい pull request の作成」を参照してく� さい。
- [ファイルの変更の提案] をクリックします。
Next steps
You have now created a repository, including a README file, and created your first commit on your GitHub Enterprise Server instance.
- You can now clone a GitHub repository to create a local copy on your computer. From your local repository you can commit, and create a pull request to update the changes in the upstream repository. For more information, see "Cloning a repository" and "Set up Git."
-
You can find interesting projects and repositories on GitHub and make changes to them by creating a fork of the repository. リポジトリをフォークすると、元のリポジトリに影響を与えることなく、別のリポジトリに変更を� えることができるようになります。 詳細については、「リポジトリをフォークする」を参照してく� さい。
-
GitHub の各リポジトリは、個人または組織が所有しています。 GitHub Enterprise Server に接続してフォローすることで、ユーザー、リポジトリ、および組織と対話できます。 詳細については、「交流する」を参照してく� さい。
-
GitHub には� 晴らしいサポート コミュニティがあり、助けを求め、世界中の人々と話すことができます。 GitHub Community で会話に参� してく� さい。