1
edit
m (Added to Software category) |
m (Update git command for pushing code) |
||
Line 172: | Line 172: | ||
<!--T:17--> | <!--T:17--> | ||
It is then possible to push changes to the origin repository with: | It is then possible to push changes to the origin repository with: | ||
{{Command| git push origin | {{Command| git push origin main}} | ||
<!--T:18--> | <!--T:18--> | ||
In the above command, ''origin'' is the remote repository and '' | In the above command, ''origin'' is the remote repository and ''main'' is the current branch that will be pushed. | ||
You might have to use <tt>git push origin master</tt> for older git repositories. | |||
== Hosting Git repositories == <!--T:19--> | == Hosting Git repositories == <!--T:19--> | ||
[http://github.com GitHub] and [http://bitbucket.org Bitbucket] are two of the main Git repository hosting services. They are both available for commercial projects as well as free projects. | [http://github.com GitHub] and [http://bitbucket.org Bitbucket] are two of the main Git repository hosting services. They are both available for commercial projects as well as free projects. | ||
</translate> | </translate> |
edit