emailconfirmed, nsInternRO, nsInternRW, Administrators
3,356
edits
(created) |
m (→Setup) |
||
Line 17: | Line 17: | ||
To add a remote git server, type: | To add a remote git server, type: | ||
<source lang="bash">git remote add origin | <source lang="bash">git remote add origin ssh://myserver.com</source> | ||
For example, you can use [https://github.com/ github.com] to host your open source projects, or [https://bitbucket.org/ bitBucket.org]. You will find an excessive online help on how to setup a remote server on github: [http://help.github.com/set-up-git-redirect How-to-Setup github]. Basically, you only need a private/public ssh key and a valid user account. | For example, you can use [https://github.com/ github.com] to host your open source projects, or [https://bitbucket.org/ bitBucket.org]. You will find an excessive online help on how to setup a remote server on github: [http://help.github.com/set-up-git-redirect How-to-Setup github]. Basically, you only need a private/public ssh key and a valid user account. | ||
But remember, you can use git only on your local computer as well, it is not required to have an online server! | But remember, you can use git only on your local computer as well, it is not required to have an online server! | ||
== Usage == | == Usage == |