Expose local branch ref as an environment variable

This commit is contained in:
Florent Clarret 2021-06-19 18:09:32 +02:00
parent 8037b45cb1
commit 584fd585ec
5 changed files with 17 additions and 2 deletions

View file

@ -99,6 +99,9 @@ def _add_run_options(parser: argparse.ArgumentParser) -> None:
parser.add_argument(
'--remote-branch', help='Remote branch ref used by `git push`.',
)
parser.add_argument(
'--local-branch', help='Local branch ref used by `git push`.',
)
parser.add_argument(
'--from-ref', '--source', '-s',
help=(