Skip to main content

rt git push

rt › git › push

Push current branch to origin/<branch>, fixing wrong upstream

Usage

rt git push [flags]

Arguments & flags

Flag / ArgTypeDefaultDescription
--remotetextRemote to push to
--dry-runbooleanfalseShow the git command without running it
--no-verifybooleanfalseSkip pre-push hooks

Subcommands

CommandDescription
forcePush with --force-with-lease (after rebase/amend)

See code: commands/git/push.ts › pushCommand