Skip to main content

New answers tagged

0 votes

In Magit how can I see the difference a commit make to a file?

In the list of changed files, press j on the file you want to jump to. It invokes magit-jump-to-diffstat-or-diff which does exactly what you need.
choroba's user avatar
  • 2,045
0 votes

Magit remove local branches that were merged into another branch

Here's what I use: (defun my-magit/delete-merged-branches () (interactive) (magit-fetch-all-prune) (let* ((default-branch (read-string "Default branch: " (magit-get-current-...
gavv's user avatar
  • 101
1 vote

What is the equivalent of doing `git reset <file>` / `git reset` with the shipped vc?

If you want to just undo the changes, go with C-x v u. This is all you need for all practical purposes. For sophisticated things, there is always magit. vc-revert is an autoloaded interactive ...
mxnt's user avatar
  • 686

Top 50 recent answers are included