Git/GitHub

From Wikibooks, open books for an open world
< Git
Jump to navigation Jump to search
GitHub logo.

GitHub is a Git repository providing two formulae:

  1. Free public.
  2. Paying private.

Functionalities[edit]

Each repo can have its own wiki and issues tracking. The documentation is in markdown, and can be written directly on line.

Review[edit]

The online review provides diffs.

Suffixing the pull request URL with ?w=0 or ?w=1 removes indentations from diffs.

To expand all the minimized files from the diffs, just enter this JS code in the browser console:

document.querySelectorAll('.load-diff-button').forEach(node => node.click());

Webhooks[edit]

It's possible to validate every pull request with webhooks for the continuous integration, like Jenkins[1].

References[edit]