Gitblit Setup
Gitblit Setup
Downlaod JDK from below link and extract at root location (/root/jdk1.7)
http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-i586.tar.gz
7. Create the users from dashboard by clicking on admin user link -> users option
create a user harry and password harry, then under permisisons tab provide
access to the respective repo and respectvie access
ex:
gitrepo --> RW ( push and pull access)
3. open git bash from start program and create a dir at your home location on
gitbash
C:\Users\harry>mkdir .ssh
cd .ssh
Enter below command and just enter 3 times
ssh-keygen -t rsa
This will create three files under .ssh diretory, open id_rsa.pub file and copy
the public key then add the sam through gitblit web UI under your profile sections
4. Click on harry user name on gitblit dashboard, select ssh keys option then add
above copied public key there.
5. Now clone the repo to your machine by running below command to create local
repo/workspace