Table of Contents

Git on MS Windows

I'm no fan of that OS but still some people are working with it - so here is a short installation tutorial for working with git on a ms windows machine.

Software

You have to install three software packages:

Video Tutorials

PuTTY Installation and Key Generation




msysGit Installation


TortoiseGit Installation


TortoiseGit Configuration




Clone a Git Repository

clone a git repository and add a file to the local repository...



Commit, Push and Pull

commit local changes to the local repository and push the changes to the iis server.
check for update with git pull.



Generating a ssh key-pair

Create a empty git repository

Create a local repository - open Windows Explorer:

Repository Settings (right click and go to repository settings)

  1. Git → Config
    • set your username
    • set your email
    • set your full name
  1. Git → Remote (and click on “Add new”)
    • insert url: ssh:/ /username@iis.uibk.ac.at/projects/git/REPONAME
    • PuTTy Key: select the private key you generated

Pulling a Repository

right click on the directory (git repository)