Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Orion/How Tos/Init repository and push to github"
Line 1: | Line 1: | ||
+ | #Click your login name upper right corner, select Profile | ||
+ | #Verify that you have set the git email and git user name correctly. | ||
#Click Orion > Repositories | #Click Orion > Repositories | ||
#From the tool bar click '''Init Repository''' | #From the tool bar click '''Init Repository''' | ||
Line 5: | Line 7: | ||
#Click the + plus sign on the right of '''Remotes''', a dialog box requests Remote name and URI | #Click the + plus sign on the right of '''Remotes''', a dialog box requests Remote name and URI | ||
#Enter "origin" for Remote Name. | #Enter "origin" for Remote Name. | ||
− | #In another browser tab, navigate to | + | #In another browser tab, navigate https://github.com/repositories/new (login to github if you need to) |
− | #Select the '''http''' button by the repo URL, copy | + | #Select the '''http''' button by the repo URL, copy the URL |
− | #Go back to the Orion window, paste the http github URL | + | #Go back to the Orion window, paste the http github URL, then Ok. |
#Click Git Status next to the project name on the Orion repositories page. | #Click Git Status next to the project name on the Orion repositories page. | ||
#You should see Recent commits on master followed by an arrow-pointing-to-a-can icon (push). | #You should see Recent commits on master followed by an arrow-pointing-to-a-can icon (push). | ||
#Click it, you're done. | #Click it, you're done. |
Revision as of 18:45, 9 January 2012
- Click your login name upper right corner, select Profile
- Verify that you have set the git email and git user name correctly.
- Click Orion > Repositories
- From the tool bar click Init Repository
- Put your project name in the box, verify that New folder is selected, then OK. Your new project will be listed on the git-clone (Repositories) page
- Expand the twist on the left of the project.
- Click the + plus sign on the right of Remotes, a dialog box requests Remote name and URI
- Enter "origin" for Remote Name.
- In another browser tab, navigate https://github.com/repositories/new (login to github if you need to)
- Select the http button by the repo URL, copy the URL
- Go back to the Orion window, paste the http github URL, then Ok.
- Click Git Status next to the project name on the Orion repositories page.
- You should see Recent commits on master followed by an arrow-pointing-to-a-can icon (push).
- Click it, you're done.