Vállalati Információs Rendszerek |
![]() |
Verzió követő rendszerek |
Belső GitLab szerver: http://vir.inf.u-szeged.hu:8181
Publikus teszt repository: http://vir.inf.u-szeged.hu:8181/hpeter/test-project-public.git
Privát teszt repository: http://vir.inf.u-szeged.hu:8181/hpeter/test-project.git
Feladatok:
git clone http://vir.inf.u-szeged.hu:8181/hpeter/test-project-public.git
ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa
rm -rf test-project-public
git clone git@vir.inf.u-szeged.hu:hpeter/test-project-public.git
ls -d -l */
ls -l test-project-public
cd test-project-public
echo "Peter Hegedus (B4Q6OL)" > hpeter.txt
ls -l .
git status
git add hpeter.txt
git commit -m "hpeter.txt is added to repository."
git push origin master
git pull origin master
git log -n 3
git diff README.md
git checkout -b hpeter
git push origin hpeter
git branch
git add README.md
git commit -m "Readme is modified."
git push origin hpeter
git checkout master
git pull origin master
git merge hpeter
git push origin master
Repository list URL: http://vir.inf.u-szeged.hu/svn/
Teszt repository: http://vir.inf.u-szeged.hu/svn/myproject/
Feladatok:
svn co http://vir.inf.u-szeged.hu/svn/myproject/
További lépések:
cd myproject
echo "Peter Hegedus (B4Q6OL)" > hpeter_test.txt
ls -l .
svn add hpeter_test.txt
svn commit -m "New file is added"
svn update
svn log
Egyéb feladatok:
Technikai információ:
A vir.inf.u-szeged.hu szerver csak belső hálózatról elérhető.
Kintről SSH tunnel segítségével orvosolható a probléma, pl. GitLab elérése.
Linuxon parancssori ssh kliens, Windows-on szükséges program pl. a Putty - http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe