Posts

Showing posts with the label GIT

How to configure Gitblit Federation

There are two ways to sync your reposittory PULL from Repository  Federation PUSH to Repository  PUSH Groovy Script Federation Steps Gitblit-Federation-Configuration You can configure federation on Gitblit instance to keep then sync.One Gitblit instance keep in sync with other instance. Requirements About Gitblit Federation Origin Gitblit Instance Requirements Configuring federation.passphrase Pulling Gitblit Instance Requirement Controlling What Gets Pulled From Origin Instance Controlling What Gets Pulled At Pulling Instance Federation Pull Registration Kyes Last Step To Sync Repository Copy Repository Using Cron Job Requirements • Two standalone Gitblit server About Gitblit Federation A Gitblit federation is a mechanism to clone repositories and keep them in sync from one Gitblit instance to another. If your Gitblit instance allows federation and it is properly registered with another Gitblit instance, each of the non-excluded repositories of...

Set up GIT server in local

Image
If you want to learn GIT, so you can create GIT server in you local system only!! Just download GIT  Install GIT download Tortoise GIT for command GUI & Install it Create folder say GIT_SERVER in your drive Inside that create server repository by > right click > create repository here..  Select check box "Make it bare" as this is server repository where user can't commit directly Make it Bare  Click on OK it will initialise your repository  Git Clone for local repository, Right click > Git Clone Set GIT_Server full path & give local repository name say "GIT_Client" Now add your work/file inside this local/client repository Now it's time to commit your work and move it to server Right click on GIT_Client repository As first time it will prompt you for set user name, email  Set required Information as per blow Click OK, it will prompt the commit window On success commit it will prompt for push! Push your chang...