Working with TortoiseGIT and Github

Shodipo Ayomide
Facebook Developer Circles Lagos
4 min readMar 8, 2018

--

Tortoise GIT

TortoiseGit is a Git code control client, which is based on TortoiseSVN. It is an open source software under GNU license.

Benefits of using Tortoisegit

  • Tortoisegit makes it easier to clone a repository
  • Tortoisegit makes it easier to upload your code from your laptop to your repository online easily with a single command line.
  • Extremely easy to pull from your online repository to update your local if you are working on a collaboration project with the click of a button.
  • This tool makes it easy to remove all untracked files from your local with the click of a button.
  • And a lot more that can be found on the link below:

Repository: = https://gitlab.com/tortoisegit/tortoisegit

How To connect TortoiseGit with Github

  • Go to github.com and login
  • Create a new Repository.
  • Create a remote Github repo and name it.
Mine has already been created so i will work with that, Just put in the name that’s all. Then click OK

Now lets head over to the TortoiseGit we installed earlier.

click on generate

Once you have got that all opened, click on generate then move the mouse all around the box to make it go faster

After clicking on generate, you will have a box like this below

Copy the code that starts with ssh-rsa.

THE LOOKS SOMETHING LIKE THIS BELOW

ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAq0jmbEdOeDHZBcD8o8FvUv1lCUBJJmM0DpHz+nn7SzT4CT2PHcOBken+9L2Zz9D7bopmx033DX3/kp/84m3Ea1n/bVDEDfWve2hH6MGcaMM3KVBhMB+6j9LVludG8zYAIt+vrDI/F9f2pZv27h9DznOT+0PJg4cpOkRSFJTgI3tY4cNTWr5kTZdBONEMI+QGNtpWwr774S

Once you have this, save it in a secure file.

Do not forget you copied the link from GITHUB that has your project repository link, now lets put that in use:

https://github.com/Developerayo/My-Project-testing-tortiseGIT-.git

Create a folder on the desktop and name it. Mine is named Code, then create a file in the folder, Mine is named myproject. Create a text file named hi.txt and put some text in it.

let's move on to putting the GitHub link to use

Now you see the hi.txt file we created, in the message box put in initial commit then click ok
After clicking Ok this pops up Note DO NOT CLOSE IT JUST YET.

Now let's go back to that created Repo on GITHUB

Remember the link you copied from GitHub

https://github.com/Developerayo/My-Project-testing-tortiseGIT-.git\

let us make use of that.

Right click on the folder you created inside ‘code’ mine is named ‘myproject’, then click on tortoisegit, followed by the push selection at the top of the list.

it will be followed by this dialog

How to setup the PUSH dialog with Github

  • click on the manage button it would pop up another dialog box like that below
fill in the dialog
IT then pops this backup, then click Ok

It then starts pushing it to your already created GitHub Repo

You would have to wait a few seconds….

VISIT YOUR REPO ON GITHUB.COM

If you note correctly, the hi.txt file you created on your local now its on your github repo.

Git Developmental Workflow Chart

If you have any question, feel free to post in the comment section and I would get back to you.

https://shodipoayomide.com/deploying-apps-to-github-using-tortoisegit/

--

--

Shodipo Ayomide
Shodipo Ayomide

Written by Shodipo Ayomide

Global Head of Developer Advocacy @0xPolygon🔧 • Ex: @stackoverflow • Crypto, Web3, & DAOs • @GitHub Star ⭐️ • He/Him

Responses (1)