Set up GIT server in local



If you want to learn GIT, so you can create GIT server in you local system only!!

  1. Just download GIT 
  2. Install GIT
  3. download Tortoise GIT for command GUI & Install it
  4. Create folder say GIT_SERVER in your drive
  5. Inside that create server repository by > right click > create repository here..

  6.  Select check box "Make it bare" as this is server repository where user can't commit directly
    Make it Bare
  7.  Click on OK it will initialise your repository
  8.  Git Clone for local repository, Right click > Git Clone

  9. Set GIT_Server full path & give local repository name say "GIT_Client"

  10. Now add your work/file inside this local/client repository
  11. Now it's time to commit your work and move it to server
  12. Right click on GIT_Client repository






  13. As first time it will prompt you for set user name, email

  14.  Set required Information as per blow

  15. Click OK, it will prompt the commit window


  16. On success commit it will prompt for push!

  17. Push your changes to server. Now you can see the commit log on server/client



Comments

Popular posts from this blog

Git Auto Increment tag

Log rotate (catalina.out) of Tomcat

Bypass SSL certificate check for Apache Axis2 client