Git command `push`
Definition
Update remote refs along with associated objects.
Basic usage
Send local datas to remote
$ git push <remote> master
Send tags to remote
$ git push --tags <remote> master
Advanced usage
Download and merge datas from remote branch
$ git pull <branch>
Download and securely merge datas from remote
$ git pull --rebase=prevent <branch>
or with config:
$ git config --global pull.rebase prevent $ git pull <branch>
Advanced usage
Create a remotely tracked branch over a local branch
$ git push <remote> <branch>
Send datas to a remote branch
$ git push <remote> <branch>
Delete a remote branch
$ git push <remote> --delete <branch>