Gitbucket Part 10 | Private Git-Server | Devops Tutorial for beginners

Published: 20 August 2019
on channel: Tech Farm
2,644
11

git is a distributed version control system. to store versions of files/dir in remotely we use scm servers such as gitbucket, bitbucket, gitlab, github.
here i am gonna teach about gitbucket
git bucket:
-----------
it is a private git server.

pre-requisites
----------------
java
sudo yum -y install java-1.8.0-openjdk

how to download git bucket?
wget (url of git bucket)

start gitbucket:
----------------

java -jar gitbucket.war

server side
-----------
how to login to git bucket interface?
default
user :root
password :root

how to change user password?

goto user profile and change password if you want

how to create user ?
under administration create users

client side
-----------
setup remote in the client side

-)git remote add (alias name) (url)

-)git remote add origin http://192.168.43.139:8080/git/ramu/techadda.git


how to see remote server name?
git remote

git remote -v (to see the url of remote)

how to push the data into remote server?

-)git push -u (alias name) (branch name)
-)git push -u origin master


master(local)-------------)master(server)
extra(local)---------------)extra(server)


how to pull the data from the server?

method 1
---------
fetch and merge
-)git fetch

-)git merge origin/master

method 2
--------

-)git pull (alias name) (branch name)

-)git pull origin master

clone
-----
-)git clone http://192.168.43.139:8080/git/ramu/techadda.git
clone the server data to the local machine


how to remove a remote server?

git remote rm (alias name)


On this page of the site you can watch the video online Gitbucket Part 10 | Private Git-Server | Devops Tutorial for beginners with a duration of hours minute second in good quality, which was uploaded by the user Tech Farm 20 August 2019, share the link with friends and acquaintances, this video has already been watched 2,644 times on youtube and it was liked by 11 viewers. Enjoy your viewing!