Asked by:
Visual Studio 2015 - Git repo on shared drive getting error updating code

Question
-
I am the LAN Administrator and we have some developers on another team here that are getting an error saying "failed to rename lockfile to "<location/file>" and if you try to navigate to the file in the git repo, there is no file.
Our developers are using TFS 2018 Express and they have copied the project files to a git repo on their personal Home directory on our file server. I am not sure if that is a bad thing or not given my zero knowledge on visual studio and TFS. This happens with any changes on any project and it started about 2 or more weeks ago. Everything works fine if the repo is on the local C: drive and it also works if someone uses VS 2017, just not 2015 version. I have not been able to get much more diagnostic data from the machines to help troubleshoot this.
What is the common or best practice when using git repositories when developers have there own projects on the TFS server? Does Visual Studio not work well with shared drives? Each person with a Home directory has Modify permissions to the folder.
Thanks.
David Hood
- Moved by Jack Zhai-MSFTMicrosoft contingent staff Friday, March 8, 2019 2:21 AM
Thursday, March 7, 2019 6:20 PM
All replies
-
Hi David,
Thank you for posting here.
According to your description, this issue is more related to TFS. Since this is VS IDE forum, we discuss about usage of tools in vs IDE here, I suggest that you could open an new thread on
the stackoverflow or DeveloperCommunity with TFS tag. More community members on that forum may further look at your issue and provide more suggestions.
If you have issues about VS IDE, please feel free to contact us. We will try our best to give you a solution.
Thanks for your understanding and cooperation.
Best Regards
Lance
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.- Edited by Lance Li-MSFTMicrosoft contingent staff Friday, March 8, 2019 2:10 AM
Friday, March 8, 2019 2:08 AM -
Thanks. I had posted the question in another area an it never got any response for 2 weeks. I didn't know where to post it.
Also, the issue is not exactly with TFS, it is happening with the VS2015 client when working with a repository that has been copied to a users home directory, which is just a folder on a shared drive from our file server. Would that still need to go to the TFS forum or the places that you mentioned?
David Hood
Friday, March 8, 2019 5:22 PM -
Hi friend,
Do you use git in a way like this issue? You can find the category of the doc:Azure devops and it applies for Azure Repos | TFS 2018 | TFS 2017 | TFS 2015. Since this is vs IDE forum. You can open a new thread on this forum to get more professional support.
BTW, we can find some Git tutorials like this: https://docs.microsoft.com/en-us/vsts/git/index?view=vsts to help us understanding Git setup and usages. Do hope you can understand.
Best Regards
Lance
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.Monday, March 11, 2019 5:40 AM