Git: Unterschied zwischen den Versionen

Aus BotE Wiki
Zur Navigation springen Zur Suche springen
(Commits: File Overview)
(git command line - Befehle)
Zeile 51: Zeile 51:
 
|}
 
|}
 
</div>
 
</div>
 +
 +
 +
== 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 commit (= local commit (must be uploaded !)
 +
*git push (= upload)
 +
*git pull (= download)
 +
*git sync (= upload/download)

Version vom 5. August 2013, 16:34 Uhr

click here for other languages Russland-Symbol.gif

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

Commits: File Overview

<img>http://bote2.square7.ch/images/GitHubCommits1.jpg</img>

leads to -->

<img>http://bote2.square7.ch/images/GitHubCommits2.jpg</img>

Blame

(Verantwortung)

shows who has done what e.g. line 1 ("0.9") did SirP, line 13 did bote-reginald

Git-Blame(Verantwortung).jpg


TortoiseGit

commit

push progress (normal commit)

<img>http://bote2.square7.ch/images/GIT-Commit.jpg</img>

<img>http://bote2.square7.ch/images/GIT-Commit2.jpg</img>

<img>http://bote2.square7.ch/images/GIT-Commit3.jpg</img>

<img>http://bote2.square7.ch/images/GIT-Commit4.jpg</img>

<img>http://bote2.square7.ch/images/GIT-Commit5ready.jpg</img>


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 commit (= local commit (must be uploaded !)
*git push (= upload)
*git pull (= download)
*git sync (= upload/download)