Etiquette of GitHub Contributing, Pull Requests vs New Issue

I was wondering what the proper etiquette to contributing on GitHub is?

Should you submit a “New Issue” first and discuss the problem?

  • How do you change a repository description on GitHub?
  • How to change the base branch of a pull request?
  • Says it commits, but in GitHub it doesn't show up
  • Switch to another Git tag
  • how to search a particular word or entry inside a sub folder in a repository on github
  • Reading code from GitHub as text (raw) in a web page
  • Or do you take some initiative, code, then do a “Pull Request” and discuss the code further there?

    My concern with creating a “New Issue” first is that if you do a “Pull Request” after, there would be two issues #’s created… seems like a waste.

    Thanks!

  • How to install an npm package from GitHub directly?
  • Can't run project in Eclipse imported from Git
  • Override configured user for a single git commit
  • Removing files from past commits in GitHub repository with BFG Repo-Cleaner
  • git commit not showing up in github
  • Import existing source code to GitHub
  • One Solution collect form web for “Etiquette of GitHub Contributing, Pull Requests vs New Issue”

    The difference is quite clear:

    • if you don’t think you can contribute back a patch, open a “New Issue” (following the same kind of checklist than the one described here).
    • if you think you can make some patch to fix the issue, fork the repo, and make a “Pull Request” (once you have pushed your patch back to your fork).

    If you make a pull issue first, and then create a pull request, nothing stops you to reference the issue URL in your pull request comment, in order to avoid writing again the context of your patch.

    Git Baby is a git and github fan, let's start git clone.