Navigation


pmwiki-2.2.116 edit SideBar

Git


Start local repositiory:

git clone --bare ssh://<me>@cvs-dev/daten/git/tps.git ~/hacon/tps.git
git fetch --all

Working in head:

git clone ~/hacon/tps.git <workdir>

Working in branch:

got clone -b <branch> ~/hacon/tps.git <workdir>

Build my own branch:

cd <base branch dir>
git branch <myb>
git push origin <myb>
cd ~/hacon/tps.git
git push origin <myb>
cd <my>

git checkout -b origin origign/<branch>

cat .git/config
[core]
	repositoryformatversion = 0
	filemode = true
	bare = false
	logallrefupdates = true
[gui]
	wmstate = normal
	geometry = 1892x990+0+0 338 188
[remote "cvsdev"]
	url = ssh://cvs-dev/daten/git/tps.git
	fetch = +refs/heads/*:refs/remotes/cvsdev/*
[remote "wsvme"]
	url = ssh://vme@ws-vme/home/vme/hacon.git
	fetch = +refs/heads/*:refs/remotes/wsvme/*
[branch "master"]
	remote = cvsdev
	merge = refs/heads/master
[branch "vme_mef"]
	remote = wsvme
	merge = refs/heads/vme_mef