วันอาทิตย์ที่ 24 ตุลาคม พ.ศ. 2553

[ AIT CSIM Students ] How to host your own git respository on bazooka

I found that there is 'git' installed on bazooka, so we can host our git on bazooka. no more SVN !! yeah !
Setting it up,
$ ssh a108025@bazooka.cs.ait.ac.th
banyan<a108025>: mkdir dsin.git
banyan<a108025>: cd dsin.git
banyan<a108025>: git --bare init
Initialized empty Git repository in /home/corse/a108025/dsin.git/
banyan<a108025>: exit
From the client side,
$ git push a108025@bazooka.cs.ait.ac.th:/home/corse/a108025/dsin.git master -f
Counting objects: 3, done.
Writing objects: 100% (3/3), 198 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
To a108025@bazooka.cs.ait.ac.th:/home/corse/a108025/dsin.git
* [new branch] master -> master
I also found that, there is SVN installed on that server as well. ON is so kind that he provides a lot of software for us to use :)

I tested above code following instruction from here.

ไม่มีความคิดเห็น:

LinkWithin

Related Posts Plugin for WordPress, Blogger...