GIT

Version Control System – Dateiänderungen aufzeichnen

https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository  … Freebook

https://marklodato.github.io/visual-git-guide/index-en.html … super Tutorial

http://onlywei.github.io/explain-git-with-d3/#fetch … interaktives Tutorial +++

 

 

 

git config --global user.name “kner”

git config --global user.email “kner@kner.at”

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

 

 

Gist

Code Snippets bereitstellen

Giggle

einfache GUI für git