github
GitForce and github
Assuming that you already have a github account, but the project that you'd like to share on github is currently only on your PC and you would like to upload it to a github.
Create a new repository on the github ("Dashboard" -> "New Repository")
If the sources on your PC is not added to git yet
Open GitForce and select "Repository" -> "New"
Select "New empty working repository (with or without your files already in), "Next"
Browse to the root folder of your project and select it, "OK"
Add your files to the index by dragging them from the left pane and onto a changelist pane
Submit your changes by "Changelist" -> "Submit"
Your project should now be added to git and managed by GitForce.
We will be using SSH to transfer files:
On the github project page, click on the SSH (on the bar with options "SSH | HTTP | Git Read-Only") and copy the link to clipboard:
In GitForce, click on the "Settings" -> "Edit Remote Repos..." to bring up the remote repository dialog
Click on the "Add" to add a new remote: paste the link from github into both "Fetch URL:" and "Push URL:" fields
Click "OK" and "Done"
Now we need to generate our local private/public key pair, upload public key to github and add github's public key to our set of known hosts.
This particular setup differs on Windows and Linux:
For Windows, click here.
For Linux, your existing git command line SSH configuration should work.
After you have setup SSH, click on the "Settings" -> "Push to Remote" (or click on the green up arrow on the toolbar) to initiate git push command.
Your project should now be updated with the files you pushed.