Skip to content
Discussion options

You must be logged in to vote

To achieve the YOLO achievement on GitHub, you typically need to make changes directly to the main branch without going through the usual pull request or review process—essentially committing straight to the main branch. However, this is not considered a best practice, as it bypasses code review and can introduce risks.

For merging changes correctly, follow these steps:

  1. Create a Branch: Start by creating a feature branch for your changes (git checkout -b feature-branch).
  2. Make Changes: Commit your changes to this branch using git add and git commit.
  3. Push to Remote: Push your branch to the remote repository (git push origin feature-branch).
  4. Open a Pull Request: On GitHub, open a pull reque…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@5ee5
Comment options

Comment options

You must be logged in to vote
1 reply
@5ee5
Comment options

This comment was marked as spam.

Comment options

You must be logged in to vote
0 replies
Answer selected by 5ee5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Achievements Share and celebrate milestones and contributions within the community New To GitHub 👋 New To GitHub
5 participants