Git

From Wiki
Revision as of 22:05, 31 January 2018 by Marcluer (talk | contribs)
  • Create repository (on server)
git init
  • show changed files
git diff --cached --name-only
  • 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