Setup Menus in Admin Panel

How to install tortoisegit and access the Openshift git server code for check-in/check-out?

continued..

IX.Download the Tortoisegit or SourceTree to access the webapp folder of Openshift tomcat server. Refer the “” for sourcetree git client, Now in this blog we check-in/push the file using tortoisegit. Follow below steps.

Go to Link https://tortoisegit.org/download/ and download “Download TortoiseGit 1.8.16.0 – 64-bit (~19 MB)” based on operating system 32/64 bit.

X.Go to Cloud_Trail Folder and create new folder “Tomcat_OpenShift” and right click on folder choose the GIt Clone.

Note: In case git.exe is not installed in your machine; in case if you get an error as “Git for Windows not found”.

GIT_EXE_ERROR

You need to install git scm i.e https://git-scm.com/download/win and choose 64-bit Git for Windows Setup and click on next and next and don’t change the default setting while installing.

XI.Provide the URL generated in openshift, In my case it is “ssh://[email protected]/~/git/beta.git/”

Note: Provide the private key by browsing “Load Putty Key” or else we are not able to access git.

Step_12_Pub

 

XII.Click on Ok, and you will get one more error as we not provided the private key while checkout the code. This private key is saved while we generating the public key.

Step_13_Pub

 

XIII.We need to provide the URL as “ssh://[email protected]/~/git/beta.git/” and provide the Private Key as displayed below screen.

Step_14_Pub

XIV.After successful clone an application you see the folder structure where “webapp” is tomcat folder and src is for your maven project.

Step_15_1_Pub

XV.Now we copy the webportfolio.war war created during maven project creation at GIT Trail and right click and choose TortoiseGit and add

Step_15_Pub

XVI. And click on commit and provide the comments as initial draft or whatever you would like to give in comment section.

Note: In case you get an error message for Name and Email; provide the name and email as given in below screen.

Step_17_Pub

Click on Yes and provide name and email of your openshift.

Step_19_Pub

After this it will allow you to commit the war and provide the comment.

Step_20_Pub

XVII.After local commit push the code to server to master branch of git.

Step_21_Pub

XVIII.After successful war check-in you can access the war using URL : http://beta-pradeepit.rhcloud.com/webportfolio/

January 8, 2016

0 responses on "How to install tortoisegit and access the Openshift git server code for check-in/check-out?"

Leave a Message

Your email address will not be published. Required fields are marked *

About Us

Pradeep Academy is an online & Training institute To make learning easy, interesting, affordable and accessible to millions of learners across the Globe. To create an alternative learning platform, using a unique learning methodology of live online interactive courses along with 24x7 support. We aim to empower our customers with skills which will help them get an edge in their careers and improve their lives.

Contact Us

Address :

PradeepIT Consulting Services Pvt Ltd

205,Brigade gardens, No.19 Church Street , Bangalore – 560001, Karnataka, India

Email : [email protected]
Ph No: 08047363377
Web: https://academy.pradeepit.com
top
© Pradeep Academy.  Design & Developed by