Visual Studio Online GIT Repository - Exception on Push

I currently have a GIT repo setup on visualstudio.com using TFS as my source control solution. Whenever I try to push my changes to the server I get the following exception. Any help would be greatly appreciated:

NGit.Api.Errors.JGitInternalException: Exception caught during execution of push command ---> System.IO.IOException: Source ref refs/heads/master doesn't resolve to any object.

at NGit.Transport.RemoteRefUpdate..ctor (NGit.Repository localDb, System.String srcRef, NGit.ObjectId srcId, System.String remoteName, Boolean forceUpdate, System.String localName, NGit.ObjectId expectedOldObjectId) [0x0016e] in /Users/builder/data/lanes/monodevelop-lion-license-sync/c5f82958/source/monodevelop/main/external/ngit/NGit/NGit.Transport/RemoteRefUpdate.cs:329

at NGit.Transport.RemoteRefUpdate..ctor (NGit.Repository localDb, System.String srcRef, System.String remoteName, Boolean forceUpdate, System.String localName, NGit.ObjectId expectedOldObjectId) [0x00015] in /Users/builder/data/lanes/monodevelop-lion-license-sync/c5f82958/source/monodevelop/main/external/ngit/NGit/NGit.Transport/RemoteRefUpdate.cs:167

at NGit.Transport.Transport.FindRemoteRefUpdatesFor (NGit.Repository db, ICollection1 specs, ICollection1 fetchSpecs) [0x000d5] in /Users/builder/data/lanes/monodevelop-lion-license-sync/c5f82958/source/monodevelop/main/external/ngit/NGit/NGit.Transport/Transport.cs:718

at NGit.Transport.Transport.FindRemoteRefUpdatesFor (ICollection`1 specs) [0x0000e] in /Users/builder/data/lanes/monodevelop-lion-license-sync/c5f82958/source/monodevelop/main/external/ngit/NGit/NGit.Transport/Transport.cs:1390

at NGit.Api.PushCommand.Call () [0x00158] in /Users/builder/data/lanes/monodevelop-lion-license-sync/c5f82958/source/monodevelop/main/external/ngit/NGit/NGit.Api/PushCommand.cs:150

--- End of inner exception stack trace ---

at NGit.Api.PushCommand.Call () [0x0020d] in /Users/builder/data/lanes/monodevelop-lion-license-sync/c5f82958/source/monodevelop/main/external/ngit/NGit/NGit.Api/PushCommand.cs:178

at MonoDevelop.VersionControl.Git.GitRepository.Push (IProgressMonitor monitor, System.String remote, System.String remoteBranch) [0x0004b] in /Users/builder/data/lanes/monodevelop-lion-license-sync/c5f82958/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitRepository.cs:1277

at MonoDevelop.VersionControl.Git.GitService+c__AnonStorey12.<>m__1A (System.Object ) [0x0001f] in /Users/builder/data/lanes/monodevelop-lion-license-sync/c5f82958/source/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitService.cs:69

Posts

Sign In or Register to comment.