miniblog.
← Back to all posts
Feb 11, 2014 at 11:31
Magit tip: M-s and M-h show and hide changes, usually more conveniently than using M-1, M-2, M-3, or M-4 to explicitly set expansion levels.
Wilfred Hughes
Related Posts
Jan 20, 2016 at 23:40
Emacs tip of the day: you can use ! to explicitly run git commands inside magit. Handy for deleting large directories: ! rm -r somedir
Wilfred Hughes
Shared words: Magit, tip, explicitly Score: 111.6
Mar 26, 2017 at 20:31
Tip for magit users: set push.default = current so you can push branches that only have pushRemote set:
Prefer current to simple when pushing branches · Wilfred/dotfiles@5402e2e
If a branch only has pushRemote set, then we can't simply use `git push`: $ git push fatal: The current branch example_branch has no upstream branch. To push the current branch and...
Wilfred Hughes
Shared words: Magit, tip, set Score: 105.7
Feb 10, 2014 at 14:33
Magit tip: `l f` shows you commits, but only those that touched a specific file. Marvellous. #emacs
Wilfred Hughes
Shared words: Magit, tip, show Score: 104.1