Site menu

CodeCook.io

  • Languages
    • C
    • C++
    • CSS
    • Git
    • HTML
    • Java
    • JavaScript
    • jQuery
    • PHP
    • Python
    • Ruby
    • Scala
  • branch
  • remote

Git - Upload local branch to remote

Push a local branch to remote.

1
515
  • Share on Facebook
  • Share on Google+
  • Share on Twitter

Push branch to remote and track it for automatic pulling and pushing of the branch.

git push --set-upstream {{remote}} {{branch}}

Notes

last update: Oct. 26, 2014

Advertisement

This project is hosted on DigitalOcean, try it and support us

Related concept

  • Remove remote branch
  • Rename git branch locally
  • List branches on machine
  • Create local branch
  • Delete local branch
  • Overwrite local file changes on pull

Random task

  • Concatenate two arrays
  • Convert String to int
  • Block comment
  • Django check object exists
  • Repeat string
  • Blog
  • About
  • License