name: push description: Pushes the current branch to the remote repository. unsandboxed: true
When asked to push code, follow these steps:
Run
git statusto verify there are commits to push.Push to the remote repository:
- Run
git pushto push the commits - If the branch has no upstream, use
git push -u origin <branch-name>
- Run
Report the results including:
- The branch name
- The push status