Version Control System – Dateiänderungen aufzeichnen  … Freebook … super Tutorial … interaktives Tutorial +++




git config --global “kner”

git config --global “”

git status

git add filename.ext

git .

git *

git commit -m “Short Message”

git log

git log -p              … with changes displayed

git log - -  s1 … display all commits where s1

git diff

git diff --staged


git rm   s1   … removes s1 from working and stage

git checkout -- s1 … copy from stage to work  (discard changes)

git checkout 99aaf – s1 … copy from repo to work

git reset HEAD s1 …  from repo to staging area; Attention: not in work yet

     HEAD is the last commit

git reset 99aaf s1 … from the 99aaf commit




Code Snippets bereitstellen


einfache GUI für git