Question
Sameera B K · Mar 10, 2017

SourceControl - Git

Hello,

I am trying to integrate the Git with Studio. I have followed the below process to achiche Git tab in my Studio for Namespace

https://github.com/intersystems-ib/cache-git-studio

But I am getting the below error when I trying to Add the file. GitCodecache is my git repository.

fatal: c:/GitCodecache/cls/User/Testing.xml: 'c:/GitCodecache/cls/User/Testing.xml' is outside repository

class '%Studio.SourceControl.Interface', method 'GetStatus': 78 zStatus+8^Studio.SourceControl.Command.GITClient.1

0
0 1,409
Discussion (3)0
Log in or sign up to continue

As it is opened project, you can fill an issue directly on that repository. So, developer may get notification about it quite quickly to respond.

Hi Sameera,

Make sure that workdir is configured in ^GITConfig with a trailing slash.

set ^GITConfig($username,"workdir")="c:\GitCode\"

Also make sure that your workdir c:\GitCode\ is a proper initilized git repository.