Forrest logo
back to context overview

git-push

List of commands for git-push:

  • git-push:tldr:0380e git-push: Send local changes in the current branch to its default remote counterpart.
    $ git push
    try on your machine
    explain this command
  • git-push:tldr:1d688 git-push: Send changes from a specific local branch to its remote counterpart.
    $ git push ${remote_name} ${local_branch}
    try on your machine
    explain this command
  • git-push:tldr:6aeca git-push: Send changes from a specific local branch to its remote counterpart, and set the remote one as the default push/pull target of the local one.
    $ git push -u ${remote_name} ${local_branch}
    try on your machine
    explain this command
  • git-push:tldr:6d98e git-push: Remove remote branches that don't have a local counterpart.
    $ git push --prune ${remote_name}
    try on your machine
    explain this command
  • git-push:tldr:9a789 git-push: Send changes on all local branches to their counterparts in a given remote repository.
    $ git push --all ${remote_name}
    try on your machine
    explain this command
  • git-push:tldr:ce51c git-push: Send changes from a specific local branch to a specific remote branch.
    $ git push ${remote_name} ${local_branch}:${remote_branch}
    try on your machine
    explain this command
  • git-push:tldr:f6c1a git-push: Publish tags that aren't yet in the remote repository.
    $ git push --tags
    try on your machine
    explain this command
back to context overview