-
Notifications
You must be signed in to change notification settings - Fork 0
Git Howto
Das Problem ist historisch bedingt. Für Interessierte: http://en.wikipedia.org/wiki/Newline#History
Lösung:
- check this out: http://help.github.com/dealing-with-lineendings/
- Zusammenfassung davon:
– git config —global core.autocrlf true
– repo neu ziehen (d.h. alles löschen, danach git clone)
- wär cool, wenn ihr http://help.github.com/dealing-with-lineendings/ auch lesen würdet, hilft fürs Verständnis
- git fetch
- git rebase origin/master (wenn auf anderem branch: master = BRANCHNAME)
- git status (zeigt dir, welche files geändert wurden)
- git diff (zeigt dir den code, den du geändert hast)
- git add FILENAME (das neue/geänderte file hinzufügen)
- git commit -m “COMMITMESSAGE”
- git fetch
- git rebase origin/master (wenn auf anderem branch: master = BRANCHNAME)
- evtl. Konflikte beheben
- git push origin master (wenn auf anderem branch: master = BRANCHNAME)