12,301
edits
No edit summary |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 37: | Line 37: | ||
or to add all: | or to add all: | ||
<source lang="bash">git add | <source lang="bash">git add .</source> | ||
| Line 47: | Line 47: | ||
At this point, your commit is only local! You can commit as few or as many changes as you like. But at the end of the day, you should push your changes to the server: | At this point, your commit is only local! You can commit as few or as many changes as you like. But at the end of the day, you should push your changes to the server: | ||
<source lang="bash">git push origin | <source lang="bash">git push origin main</source> | ||
| Line 111: | Line 111: | ||
* [http://gitref.org gitref.org] – Git Reference | * [http://gitref.org gitref.org] – Git Reference | ||
* [http://git.or.cz/course/svn.html gir.or.cz Crash Course] about git | * [http://git.or.cz/course/svn.html gir.or.cz Crash Course] about git | ||
* [https://github.com GitHub.com] | * [https://github.com GitHub] | ||
* [https://gitlab.com gitlab] | |||
* [https://bitbucket.org Bitbucket.org] (Also works with Mercurial) | * [https://bitbucket.org Bitbucket.org] (Also works with Mercurial) | ||
* [http://pcottle.github.io/learnGitBranching Learn Git branching] – nice interactive branching tutorial | * [http://pcottle.github.io/learnGitBranching Learn Git branching] – nice interactive branching tutorial | ||