...
| Code Block |
|---|
|
$ git clone https://github.com/<USERNAME>/jdk JDK-8654321
$ cd JDK-8654321
$ git checkout -b JDK-8654321 |
How do I push a local branch to a remote repository?
| Code Block |
|---|
|
$ git push --set-upstream <REPOSITORY> <LOCAL-BRANCH> |
For example, if the repository you want to push corresponds to the remote named origin and your local branch is named JDK-8123456, you would run the following command:
| Code Block |
|---|
|
$ git push --set-upstream origin JDK-8123456 |
If you are using the Skara CLI tools then and have the branch you want to publish currently checked out, then you can just run git publish
GitHub
Configuration
How do I setup two-factor authentication (2FA)?
...