Domanda

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.

È stato utile?

Soluzione

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

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

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top