Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.

Basics

VCS für mich

config

init

add

git add foo bar

commit

git commit -m 'foo bar'

prima -

was hat sich nu verändert?

log

--stat

-p

diff

  • was ändern
  • git diff
  • git commit -am

repo / stage / working

  • grafik raussuchen
  • wofür nutzen

add / reset / checkout

diff und diff --staged und diff HEAD

vcs mit backup

  • github neues projekt --> projekteinbindung: clone / remote add origin foo
  • push
  • pull

merge

mergetool linux = meld mac = ??? windows = ???

Workflows

branching workflows

was sind branches und wofür brauch ich sie? diese frage sollte eindeutig in diesem kapitel erklärt werden.

nvie successful git branching model

multi master

paper with many journals

same paper text - different theme file for page layout, graph layout, etc.

tips for papers

git diff -w --ignore-blank-lines --word-diff

Your Projects

STuff
  • explain all collaboration workflows via github