Getting Git installed in lots of places for a team can be a irksome.  Part of your team is running windows, maybe with Cygwin, others with various flavours on unix and osx.  Layered on top of that are the applications that we use with git services embedded in them.  This should serve as a sample page to show where we can get access to the clients and how we set them up for ssh which is our default.



Installing git

Overview of install at https://git-scm.com/book/en/v2/Getting-Started-Installing-Git.  Theres lots of different versions, but boiled up to basics are these below.

Unix 

  • sudo yum install git-all
  • sudo dnf install git-all (RH)
  • sudo apt install git-all (debian)

windows

mac

  1. brew install git
  2. or download and install from http://git-scm.com/download/mac 

Connections to GitHub

We are specifically only looking at SSH connections so, heres some ways to get your keys sorted

  • generate an ssh key
  • add the public key to Orahub
  • Clone your repository

SSH Key Generation

Unix

ssh-keygen -t rsa

Windows

Use Putty-gen . This is installed as part of the putty installation available here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Add your keys to GitHub or your Enterprise Git Repo

In order to do this, its pretty specific.  You need to go to the your user settings page and click on ssh keys,  There, you can paste in your public key.  This will then let you clone your repositories with SSH as below.

Clone Repository to local Repository

unix terminal / cygwin 

git clone git@orahub.oraclecorp.com/restofyourrepo.git destination

tortoisegit




sqldeveloper

team → Connect to git



view → files

eclipse

window → perspective → open perspective → git repositories
click clone git repository

github desktop

Download it from https://desktop.github.com/

1

View comments

About Me
About Me
My Blog List
My Blog List
Page Views
Page Views
9 3 5 6 6 8
Subscribe
Subscribe
Blog Archive
Interesting Links
Loading
Dynamic Views theme. Theme images by Jason Morrow. Powered by Blogger.