CodeHub is a repository designed to store multiple projects utilizing various technologies and architectural styles. It serves as a comprehensive collection of examples and best practices for different development paradigms, including monolithic applications, microservices, Spring Boot, full-stack development, PrimeFaces, and more.
-
Fork the Repository Click the "Fork" button in the upper right corner of the repository on GitHub.
-
Clone Your Fork to Your Computer Open a terminal and run:
git clone https://github.com/your-username/repository-name.git
- Then navigate to the cloned repository directory:
cd repository-name
- Create a New Branch
git checkout -b my-new-branch
- Make Your Changes
- Edit the necessary files.
- Follow the project's conventions.
- Save Your Changes Add the modified files and commit:
git add .
git commit -m "Brief description of your change"
- Keep Your Branch Updated Ensure you have the latest version of the original repository:
git remote add upstream https://github.com/original-user/repository-name.git
git fetch upstream
git rebase upstream/main
- Push Your Changes to GitHub
git push origin my-new-branch
- Create a Pull Request (PR)
- Go to your repository on GitHub.
- Click "Compare & pull request".
- In the branch section, select your branch as the source. Ensure the target branch is the main (or master) branch of the original repository.
- Write a clear title and description.
- Click "Create pull request".
- Wait for Review The maintainers will review your PR and may request changes. Respond to their comments and adjust your code if necessary.
🎉 Congratulations! If your PR is approved, it will be merged into the original repository. You have contributed to an open-source project! 🚀
This project is open source under the Licencia MIT.
-
Haz un Fork del Repositorio Haz clic en el botón "Fork" en la esquina superior derecha del repositorio en GitHub.
-
Clona tu Fork en tu Computadora Abre una terminal y ejecuta:
git clone https://github.com/tu-usuario/nombre-del-repositorio.git
- Luego navega al directorio del repositorio clonado:
cd nombre-del-repositorio
- Crea una Nueva Rama
git checkout -b mi-nueva-rama
- Realiza tus Cambios
- Edita los archivos necesarios.
- Sigue las convenciones del proyecto.
- Guarda tus Cambios Añade los archivos modificados y realiza un commit:
git add .
git commit -m "Descripción breve de tu cambio"
- Mantén tu Rama Actualizada Asegura que tienes la última versión del repositorio original:
git remote add upstream https://github.com/usuario-original/nombre-del-repositorio.git
git fetch upstream
git rebase upstream/main
- Sube tus Cambios a GitHub
git push origin mi-nueva-rama
- Crea un Pull Request (PR)
- Ve a tu repositorio en GitHub.
- Haz clic en "Compare & pull request".
- En la sección de ramas, selecciona tu rama como origen. Asegúrate de que la rama de destino sea la rama principal (main o master) del repositorio original.
- Escribe un título y una descripción clara.
- Haz clic en "Create pull request".
- Espera la Revisión Los mantenedores revisarán tu PR y pueden solicitar cambios. Responde a sus comentarios y ajusta tu código si es necesario. 🎉 ¡Felicitaciones! Si tu PR es aprobado, se fusionará al repositorio original. ¡Has contribuido a un proyecto de código abierto! 🚀