Merlyn Morgan-Graham
Merlyn Morgan-Graham

Reputation: 59111

Working directory diff with Git Extensions

Is there a simple way to get a diff on the working directory using the Git Extensions UI (besides the Commit dialog)?

It feels like View Diff should allow me to diff between my working directory and a commit version. However it seems to only want to show me my commit history.

I am a recovering Tortoise Git user, and I'm used to having a "Working Directory" pseduo-commit in my commit log UI. Is there anything in Git Extensions that works similarly to this?

Upvotes: 16

Views: 13598

Answers (5)

mrc
mrc

Reputation: 307

I couldn't see the options that some of you have mentioned here, but what worked for me was the following.

Right click on any commit and go for View > Show artificial commits and ensure you disable it.

enter image description here

Upvotes: 0

fl_int
fl_int

Reputation: 83

In latest versions (I have version 3.3.0) this option is moved from settings to View -> Show artificial commits menu.

You will see local changes when select Working directory pseudo-commit in commit graph.

Upvotes: 6

AJ Dhaliwal
AJ Dhaliwal

Reputation: 721

In version 3.00.00.4433 the setting is found here:

Tools->Settings->Git Extensions->General

Show current working directory changes as an artificial commit

Upvotes: 1

aBlaze
aBlaze

Reputation: 2716

The answer from Henk is great for older versions of GitExtensions. However, I am using version 2.51 and the steps are different. Here are the steps I took:

  • On the top ribbon, go to Tools --> Settings

enter image description here

  • Find the "Git Extensions" list item and check the box for "Show current working directory changes an an artificial commit"

enter image description here

Upvotes: 8

Henk
Henk

Reputation: 424

GitExtensions has a setting to enable the 'pseudo-commit' your mention. Just go to settings, open the tab Git Extensions en check the option 'Show current changes in revision graph'.

This option is disabled by default.

Upvotes: 24

Related Questions