Upgrade to Pro — share decks privately, control downloads, hide ads and more …

GitHub Pro Tips

Yuichi Tanaka
September 01, 2018

GitHub Pro Tips

Yuichi Tanaka

September 01, 2018
Tweet

More Decks by Yuichi Tanaka

Other Decks in Programming

Transcript

  1. GitHub Pro Tips 2018-09-01 Big MiniConf

  2. yuichielectric Yuichi Tanaka Inside Solutions Engineer

  3. None
  4. None
  5. https://octodex.github.com/

  6. What is necessary to succeed in software development?

  7. None
  8. None
  9. Writing code is not the only way to contribute.

  10. GitHub collaborative tips • Issues • Pull Requests • Projects

  11. Issues

  12. Open issue first • Share your ideas/thoughts • Get feedback

    from your team members earlier
  13. Use task lists

  14. Use task lists

  15. Create issue templates

  16. Create issue templates

  17. Keep issues small • Focus on one topic • Large

    issue often contains several topics • Divide large issues and lock conversation
  18. Lock conversation

  19. Master search syntax is:issue Only issues text in:title Issues with

    “text” in their title user:octocat Issues owned by @octocat state:open Open issues assignee:octocat Issues that is assigned to @octocat mentions:octocat Issues that mention @octocat commenter:octocat Issues which have a comment by @octocat https://help.github.com/articles/understanding-the-search-syntax/ https://help.github.com/articles/searching-issues-and-pull-requests/
  20. Use table

  21. Use table

  22. Use table

  23. Pull Requests

  24. Create pull request early • Get feedback from your team

    members and tools • Specify it is a work-in-progress (WIP) • Prefix title with [WIP] or use a WIP label
  25. Pull Request template

  26. Close issues using keywords

  27. Co author

  28. Jump to method/function

  29. Jump to method/function

  30. Projects

  31. Projects

  32. Progress bar

  33. Automation

  34. More automation

  35. None
  36. None
  37. module.exports = app => { app.on('issues.opened', async context => {

    // `context` extracts information from the event, // which can be passed to GitHub API calls. const params = context.issue({body: 'Hello World!'}) // Post a comment on the issue return context.github.issues.createComment(params) }) } Probot
  38. GitHub API • provides programmatic access to GitHub features and

    data • https://developer.github.com/
  39. None
  40. Keep track of GitHub

  41. Changelog https://blog.github.com/changelog/

  42. GitHub Learning Lab https://lab.github.com/

  43. GitHub Learning Lab

  44. GitHub Community https://github.community/

  45. None