[Pkg-ime-devel] how to set up git repo for pkg-ime in alioth

Asias He asias.hejun at gmail.com
Tue Mar 22 14:39:01 UTC 2011


Hi, all

F.Y.I

--------------------------------
set up local git repo
--------------------------------
prj=ibus-anthy
user=asias-guest
git import-dsc xxx.dsc
mv xxx.dir ${prj}.git
cd  ${prj}.git
git remote add alioth ssh://${user}@git.debian.org/git/pkg-ime/${prj}.git
git push alioth upstream
git push alioth master
git push alioth --tags

--------------------------------
set up remote git repo in alioth
--------------------------------
user=asias-guest
ssh $user at alioth.debian.org
prj=ibus-anthy
cd /git/pkg-ime
umask 002
mkdir ${prj}.git
cd ${prj}.git
git --bare init --shared
echo "${prj} for debian" >  description
mv hooks/post-update.sample hooks/post-update
chmod +x hooks/post-update


-- 
Best Regards
Asias He



More information about the Pkg-ime-devel mailing list