Atom Packages Directory

a package directory for a text editor of the 21st Century

Git Diff Details

Install with:
    apm install git-diff-details

git-diff-details package

View git diffs directly in atom.

Please note this package will show one diff at a time, as opposed to all diffs at once (see #58).


Syntax highlighting

You can choose whether the diff should be highlighted or not:




You can style the diffs to your liking. Here’s an example:

```less atom-text-editor::shadow .line { &.git-diff-details-new-highlighted { background-color: rgba(162, 232, 120, 0.4) !important; }

&.git-diff-details-old-highlighted { background-color: rgba(232, 120, 120, 0.4) !important; }

&.git-diff-details-new-flat { background-color: rgba(162, 232, 120, 0.7) !important; }

&.git-diff-details-old-flat { background-color: rgba(232, 120, 120, 0.7) !important; } } ```


I’d like to be conservative about adding features to this plugin. If you want to implement something, please create an issue first so we can discuss whether i’d accept a pull request.

Keywords: git, diff, details, inline, undo Suggest keywords
Fork me on GitHub