😻 CÓMO hacer tu primera PULL REQUEST a un proyecto en GITHUB 🐙
Collaboration on GitHub: Forking and Contributing
Understanding the Forking Process
- The speaker introduces the concept of forking a repository, explaining that it creates a personal copy of someone else's code to work on.
- Emphasizes the importance of checking for a
CONTRIBUTINGfile in the repository, which often contains guidelines for contributions.
Preparing for Contribution
- Highlights the need to review contribution guidelines carefully, as they may outline specific rules or steps necessary for making contributions.
- Discusses opening an editor to make changes and stresses reviewing all modifications thoroughly before committing them.
Making Changes and Committing
- Advises on being meticulous with changes, noting that even small details like spaces or punctuation can affect code quality.
- Describes creating a new branch for changes and checking existing branches to maintain consistency with naming conventions.
Submitting Pull Requests
- Explains how to commit changes with appropriate messages, suggesting adherence to existing commit message formats in the project.
- Details the process of pushing commits and initiating a pull request (PR), highlighting automatic detection by GitHub when submitting PRs from forks.
Finalizing Contributions
- Clarifies that when creating a PR from a forked repository, it automatically targets the original project's base repository.
- Mentions referencing previous closed PRs for context and ensuring clarity in communication within new PR submissions.
- Notes enhancements in Git allowing users to upload images or videos alongside their PR descriptions, improving visual communication.