From: Marcin Borkowski <mbork@mbork.pl>
To: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: How to streamline my Magit workflow?
Date: Sat, 29 Oct 2022 09:43:02 +0200 [thread overview]
Message-ID: <87bkpvqdmh.fsf@mbork.pl> (raw)
Hi all,
I am using Magit with BitBucket (don't judge me - my company uses BB,
I'd probably prefer something else). When I push (with Magit, of
course), BitBucket responds with some info on the command line (I
suppose it uses Git hooks under the hood, but that is not important
here). What is important is that I can parse that output to get the URL
I need to visit in my browser to open a pull request.
Now, I'd like to streamline my workflow. Instead of pressing `$',
finding that URL and copying it to my browser, I'd like to either have
it done automatically after a push or triggered with a custom command.
So, my questions are:
1. How can I access the "magit process buffer" of the repo I'm in from
Elisp?
2. Is there some hook which runs after a (Magit) push is completed?
TIA,
--
Marcin Borkowski
http://mbork.pl
next reply other threads:[~2022-10-29 7:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-29 7:43 Marcin Borkowski [this message]
2022-10-29 11:18 ` How to streamline my Magit workflow? Lele Gaifax
2022-10-29 17:03 ` Kyle Meyer
2022-10-29 17:15 ` Björn Bidar
2022-10-30 5:28 ` Peter Hardy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bkpvqdmh.fsf@mbork.pl \
--to=mbork@mbork.pl \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.