How to fix git error when refreshing changes
dsbert
Posts: 14 Bronze 2
I linked a database to source control which seemed to work without error. However, when I attempt to refresh the list of changes, I receive a git error.
Failed to execute git command 'clean -f -d' warning: failed to remove ./: Permission denied<br>
Tagged:
Answers
Do you have full access to the filesystem where your git repo is located?
DevOps Mentor and Coach
Director of DLM Consultants
Creator of Speaking Mentors
Microsoft Data Platform MVP
Friend of Redgate
Twitter / LinkedIn
(Obviously commit and push or otherwise save any local updates/commits before deleting the local repo to avoid losing work.)
DevOps Mentor and Coach
Director of DLM Consultants
Creator of Speaking Mentors
Microsoft Data Platform MVP
Friend of Redgate
Twitter / LinkedIn
Does the code in the repo match the code in the DB?
DevOps Mentor and Coach
Director of DLM Consultants
Creator of Speaking Mentors
Microsoft Data Platform MVP
Friend of Redgate
Twitter / LinkedIn
I'm assuming you were expecting them to be in sync?
DevOps Mentor and Coach
Director of DLM Consultants
Creator of Speaking Mentors
Microsoft Data Platform MVP
Friend of Redgate
Twitter / LinkedIn
Have you tried opening a command prompt to the DB directory and running a git status and a git clean?
Does that give you any more feedback or provide any unexpected surprises?
DevOps Mentor and Coach
Director of DLM Consultants
Creator of Speaking Mentors
Microsoft Data Platform MVP
Friend of Redgate
Twitter / LinkedIn
At this point I think I'm out of suggestions. I suspect it's one for Redgate tech support. Good luck!
DevOps Mentor and Coach
Director of DLM Consultants
Creator of Speaking Mentors
Microsoft Data Platform MVP
Friend of Redgate
Twitter / LinkedIn