Git: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(git command line - Befehle) |
|||
Zeile 54: | Zeile 54: | ||
== git command line == | == git command line == | ||
+ | |||
+ | *http://birth-of-the-empires.de/wiki_files/Bilder/Deutsch-Symbol.jpg http://rogerdudler.github.io/git-guide/index.de.html | ||
+ | |||
+ | |||
+ | *http://birth-of-the-empires.de/wiki_files/Bilder/Englisch-Symbol.jpg Git-Tutorial http://vogella.com/articles/Git/ | ||
+ | *http://www.youtube.com/watch?v=0KY8zw14jNY | ||
+ | ---- | ||
(vorher muß man evtl. Git manuell in den Pfad aufnehmen: dauerhaft siehe http://www.pctipp.ch/tipps-tricks/kummerkasten/windows-7/artikel/windows-path-aendern-50647/ oder temporär über "path=%path%;c:\Program Files (x86)\Git\bin") | (vorher muß man evtl. Git manuell in den Pfad aufnehmen: dauerhaft siehe http://www.pctipp.ch/tipps-tricks/kummerkasten/windows-7/artikel/windows-path-aendern-50647/ oder temporär über "path=%path%;c:\Program Files (x86)\Git\bin") | ||
*git clone "git://github.com/bote-team/bote.git" "c:\BotE-Repo" (= checkout) | *git clone "git://github.com/bote-team/bote.git" "c:\BotE-Repo" (= checkout) | ||
− | *git commit (= local commit (must be uploaded !) | + | *git status (=status) |
+ | *git log | ||
+ | *git commit -m "first commit or whatever you want to write" (= local commit (must be uploaded !), -m might be message) | ||
*git push (= upload) | *git push (= upload) | ||
*git pull (= download) | *git pull (= download) | ||
*git sync (= upload/download) | *git sync (= upload/download) |
Version vom 5. August 2013, 18:21 Uhr
click here for other languages |
This site is to get familar with Git and to learn how to manage it. See also Programm-Code#Github for details of BotE-Repository !
Git
Commits
Commits: https://github.com/bote-team/bote/commits/master
Blame
(Verantwortung)
shows who has done what e.g. line 1 ("0.9") did SirP, line 13 did bote-reginald
TortoiseGit
commit
git command line
(vorher muß man evtl. Git manuell in den Pfad aufnehmen: dauerhaft siehe http://www.pctipp.ch/tipps-tricks/kummerkasten/windows-7/artikel/windows-path-aendern-50647/ oder temporär über "path=%path%;c:\Program Files (x86)\Git\bin")
*git clone "git://github.com/bote-team/bote.git" "c:\BotE-Repo" (= checkout) *git status (=status) *git log *git commit -m "first commit or whatever you want to write" (= local commit (must be uploaded !), -m might be message) *git push (= upload) *git pull (= download) *git sync (= upload/download)