Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 244
Merlyn Morgan-Graham Avatar asked Jul 05 '12 19:07

Merlyn Morgan-Graham


People also ask

How Git Extensions works?

GIT Extensions is a distributed version control system enabling a user to robustly manage a collection of source files and the changes made in them. The changes made are shown in the History of changes. Users can make changes by accessing a Central repository called remote repository and committing the changes to it.

How do I stage a git extension?

Staging changes in Git Extensions is the same as using git add on the Git command line. You can stage the changes you want to commit by selecting the files in the top-left or “Unstaged changes” pane and pressing the Stage button or pressing the [S] key.

How do I change my git username and password in extensions?

Control panel->credential manager->windows credentials->update github with new credentials (Edit) and give new password. Close and reopen Git Extensions and then try to push your changes again, it'll work.


3 Answers

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.

like image 165
Henk Avatar answered Sep 23 '22 23:09

Henk


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

like image 43
aBlaze Avatar answered Sep 22 '22 23:09

aBlaze


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.

like image 26
fl_int Avatar answered Sep 26 '22 23:09

fl_int