rt git push
rt › git › push
Push current branch to origin/<branch>, fixing wrong upstream
Usage
rt git push [flags]
Arguments & flags
| Flag / Arg | Type | Default | Description |
|---|---|---|---|
--remote | text | Remote to push to | |
--dry-run | boolean | false | Show the git command without running it |
--no-verify | boolean | false | Skip pre-push hooks |
Subcommands
| Command | Description |
|---|---|
force | Push with --force-with-lease (after rebase/amend) |
See code: commands/git/push.ts › pushCommand