Frage

I'm looking for a view that highlights changes to files, similar to the changes you can see viewing the Edits button for an SO item, or the history of a wiki page.

War es hilfreich?

Lösung

For example https://github.com/clojure/clojure/commit/c89bf2e9bcfc1bca62e36dee2d78a48f8c38c15c

You are looking for 'diffs' aka 'changesets'.

Andere Tipps

Note: the change set view not only offer a diff (line by line or side-by-side), it now (Sept. 4th 2014) offer a word-by-word diff.

See:

"Better Word Highlighting in Diffs"

Commits, compare views, and pull requests now highlight individual changed words instead of the entire changed section, making it easier for you to see exactly what’s been added or removed.

https://cloud.githubusercontent.com/assets/917945/4137704/c79d41de-3389-11e4-9730-434b99d7e8f8.gif

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top