You can store a variety of projects in GitHub Enterprise 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."
- En la esquina superior derecha de cualquier página, utiliza el menú desplegable y selecciona Repositorio Nuevo.
- 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."
- Elige la visibilidad del repositorio. Para obtener más información, consulta la sección "Acerca de la visibilidad de un repositorio".
- Selecciona Inicializar este repositiro con un README.
- Da clic en Crear repositorio.
Congratulations! You've successfully created your first repository, and initialized it with a README file.
Tip: You can also create repositories using the CLI de GitHub. For more information, see "gh repo create
" in the CLI de GitHub documentation.
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.
- Arriba del contenido nuevo, da clic en Previsualizar cambios.
- Review the changes you made to the file. You'll see the new content in green.
- En la parte inferior de la página, teclea un mensaje de confirmación corto y significativo que describa el cambio que realizaste al archivo. Puedes atribuir el cambio a mas de un autor en el mensaje del mismo. Para obtener más información, consulta "Crear una confirmación con co-autores múltiples".
- Debajo de los campos del mensaje de confirmación, decide si deseas agregar tu confirmación a la rama actual o a una rama nueva. Si tu rama actual es la rama predeterminada, debes elegir crear una nueva rama para tu confirmación y después crear una solicitud de extracción. Para obtener más información, consulta "Crear una solicitud de extracción nueva".
- Haz clic en Proponer cambio en el archivo.
Celebrate
Congratulations! You have now created a repository, including a README file, and created your first commit on tu instancia de servidor de GitHub Enterprise. What do you want to do next?
- "Set up Git"
- Create a repository
- "Fork a repository"
- "Be social"
- Conéctate con personas de todo el mundo en el Soporte de la Comunidad de GitHub