🔄
Verifiedgit0 installs

Push Current Branch

Push current branch to origin

Command

git push -u origin $(git branch --show-current)

Installation

Via StackShack CLI

npx stackshack install git-push-branch

Manual Installation

Copy and run the command in your terminal:

git push -u origin $(git branch --show-current)

Prerequisites

git

Tags

#git#push#remote

Quick Actions

Stats

Installs0
Categorygit
Statuspublished

Need Help?

Check our documentation or reach out to the community.

Get Support

More git Commands