Skip to content

Instantly share code, notes, and snippets.

@ingoradatz
Created July 17, 2012 22:05
Show Gist options
  • Save ingoradatz/3132459 to your computer and use it in GitHub Desktop.
Save ingoradatz/3132459 to your computer and use it in GitHub Desktop.
start a discussion on an existing source file (not in a commit) #github

start a discussion on an existing source file (not in a commit)

Often people saying that we can't discus easily about existing code because the discus functionality on code is present in commits only.

But the solution is built-in the statement. Every code is updated with the help of commits - also the first creation step. If we can find the right commit - we are able to start a discussion over existing code that probably exists since a long time.

Here are one possible behavior:

  • enter the repository on the github.com website
  • surf to the file or use the shortcut t to filter by file names (? to finding more keyboard shortcuts)
  • click the button blame
  • searching the source code line and click on the linked commit on the left side
  • hover the same line number and click on the blue discus icon on the left side or start a wider context on the bottom of the whole source code

The author of the commit will be notified automatically. If you want more attention you can mentions (@...) user names or user groups like all owners.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment