Hacker News new | ask | show | jobs
by StreakyCobra 1703 days ago
Tip of the day: you can have `magit` as a fast and standalone tool by using this script (require emacsclient to be setup properly):

  #!/usr/bin/env bash
  
  emacsclient -c --eval "(progn (magit-status) (delete-other-windows))"
This will open the repository under the current path in a maximized magit window.

The only downside I have for now about magit is when using `pre-commit` it can run for long sometimes, so it would be nice to see the progress/output of pre-commit while waiting for the commmit message buffer to appear. If you know a way I'm all ears.

1 comments

You should just be able to hit `$` in the magit buffer to watch the output.
Oh… when git fails I always have to navigate to the end of this buffer so I thought it would not auto-scroll. I should have tried earlier. Thanks!