Header

git push

Update a remote branch with new commits that have been added in your local copy

If you've committed some work in your local copy and you want to update the remote branch, type:

$ git push

This will automatically update the configured remote with new commits from the current branch, if any are available.

Otherwise, you can specify specific remotes and branches with the following:

$ git push origin master

With the name of the remote, followed by the branch name.

Tree

Proudly powered by Katapult. Running on 100% renewable energy.