Git: Difference between revisions
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
<pre> | <pre> | ||
git commit -m "Commit-Nachricht" | git commit -m "Commit-Nachricht" | ||
git commit -a # includes add | |||
</pre> | </pre> | ||
</blockquote> | </blockquote> |
Revision as of 20:32, 16 November 2017
- Create repository (on server)
git init
- add files
git add *
- commit changes
git commit -m "Commit-Nachricht" git commit -a # includes add
- send changes to server
git push
- get latest changes from server
git pull