Error linking database to source control - git exited with code 128
Mike_Vessey77
Posts: 7 New member
Hi,
we've been using sql source control on multipleservers and workstations for a few months now.
we have one developer who cannot link any database to source control
every time he tries, we immediately get an error
git exitedwith code : 128
cloning into c:\users\xxx\appdata\local\red gate\sql source control 7\workingbases\ at5qaxey.f4j...
fatal: invalid path '/cygdrive/c/windows/system32/c:\users\xxx\appdata\local\redgate\...
any ideas? we're trying to figure out why the /cygdrive/ bit is in the path (especially as the slashes are the other way round) and has prefixed the correct path
we've checked the environment vaiables and path string - no such entry exists
we've been using sql source control on multipleservers and workstations for a few months now.
we have one developer who cannot link any database to source control
every time he tries, we immediately get an error
git exitedwith code : 128
cloning into c:\users\xxx\appdata\local\red gate\sql source control 7\workingbases\ at5qaxey.f4j...
fatal: invalid path '/cygdrive/c/windows/system32/c:\users\xxx\appdata\local\redgate\...
any ideas? we're trying to figure out why the /cygdrive/ bit is in the path (especially as the slashes are the other way round) and has prefixed the correct path
we've checked the environment vaiables and path string - no such entry exists
Tagged:
Comments
https://documentation.red-gate.com/soc/reference-information/how-sql-source-control-works-behind-the-scenes
Assuming your developer does not have any work they are afraid to lose, have you tried making a note of the working base/transient locations, unlinking everything, deleting all working base / transients, and re-linking?
DevOps Mentor and Coach
Director of DLM Consultants
Creator of Speaking Mentors
Microsoft Data Platform MVP
Friend of Redgate
Twitter / LinkedIn
MV