blue-sky
blue-sky

Reputation: 53876

How to have git location in one location and have code in another

I'm using git for windows : http://windows.github.com/

My 'default storage directory' is set to : 'C:\Users\Documents\GitHub' :

enter image description here

but my codebase is located at c:\workspaces\myproject

How do I link the codebase with the git repository ?

Upvotes: 1

Views: 61

Answers (1)

Ajedi32
Ajedi32

Reputation: 48418

GitHub for Windows lets you drag and drop your local repositories into the application. Navigate to the directory containing your repository and then drag the folder onto the open GitHub for Windows window. That will add the repository to GitHub for Windows without moving the folder.

Upvotes: 1

Related Questions