+2 votes
1 view
in Devops and Agile by (20k points)
edited by

Something wrong is going on with one of the files in my local git repository. When I'm trying to change the branch it says:

Unlink of file 'templates/media/container.html' failed. Should I try again? (y/n)

What could that mean?

1 Answer

+2 votes
by (28.4k points)
edited by

This could mean that another program is using the same file, which is preventing git from "moving" the file into or out of the working directory when you are attempting to change branches.

In this sort of scenarios, try closing the file in any applications that might have used it. If that does not work, completely exit any applications which may have opened the file

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...