3 ms·
There is also the documented way of running git commands straight from magit [1]. I am leaving this here, in case it may help you with those times that you have
by iib 4y ago
There is also the documented way of running git commands straight from magit [1]. I am leaving this here, in case it may help you with those times that you have to go to the command-line.
[1] https://magit.vc/manual/magit/Running-Git-Manually.html https://magit.vc/manual/magit/Running-Git-Manually.html
- TacticalCoder 4y agoAh that's intriguing, I'm using Magit since forever and had no idea! When I need to do it I like to do it from a regular prompt: I just switch to an actual terminal (i.e. not from Emacs: not an eshell, not an libvterm, not anything like that: just the "real thing"). Then I just hit 'g' (which runs magit-refresh) when I go back to Emacs.
- ParetoOptimal 4y ago> When I need to do it I like to do it from a regular prompt: I just switch to an actual terminal You might like exploring using async-shell-command for these things. If you like that, you may also like detached.el for command rerunning and command output history.