New answers tagged magit
0
votes
How to install a specific version of package?
This problem was solved ages ago. I saw the implemention in Steve Purcell's emacs.d about ten years ago.
The solution uses only Emacs built in package system.
Once it's set up, you don't need manually ...
0
votes
How to install a specific version of package?
Update as of 2022, elpa lists the older versions of a package on its page. One can download the archive file and then use package-install-file command on emacs to install this specific version.
I ...
1
vote
Accepted
Can't commit in Emacs 29.0.50 , magit 20220412
The problem turned out to be related to running git off of an NTFS volume. Previously git didn't care much about the file system. Now it does, so running magit on the repository produces an error ...
3
votes
Accepted
Make Magit ignore certain files already added to git and to .gitignore
.gitignore is only relevant for files that are not already tracked by Git. If you've started tracking a file and now regret it, you need to remove it from Git. Once that's done, if the file is listed ...
3
votes
Accepted
How to properly use Magit Fixup?
f just creates the fixup! commit. You wanted the upper-case F -- that ("Instant Fixup") is the variant which automatically performs the rebase after creating the fixup! commit.
You can ...
2
votes
Accepted
In Magit, what is the difference between stashing "index", "worktree", or "both"?
I assume you already know the difference:
index: staged diff
worktree: unstaged diff
both: both
As for examples, I'm not sure if this is a good one, but at times I use this feature:
Suppose you are ...
2
votes
Accepted
How is the history.el file written? Why did this change happen?
It seems like transient save its history to transient/history.el. I don't think you need to care too much about how it's stored. I suggest you use no-littering and add no-littering-var-directory into ....
1
vote
Can't commit in Emacs 29.0.50 , magit 20220412
Version 29.0.50 is the version used by the unreleased master branch of Emacs. You appear to be using a prerelease version of Emacs, which you either recompile yourself from time to time or which you ...
2
votes
Accepted
How to insert a flyspell hook on Magit via `use-package` declaration?
Here is from the README of use-package
When using :hook omit the "-hook" suffix if you specify the hook explicitly, as this is appended by default. For example the following code will not ...
Top 50 recent answers are included
Related Tags
magit × 663git × 140
key-bindings × 18
spacemacs × 18
diff × 17
tramp × 14
ssh × 12
github × 11
ediff × 10
helm × 9
window × 9
hooks × 9
version-control × 9
evil × 8
microsoft-windows × 7
org-mode × 6
package × 6
forge × 6
init-file × 5
debugging × 5
osx × 5
projectile × 5
performance × 5
gpg × 5
buffers × 4