How to handle Git-attached files on Linux with invalid Windows file names?

I made several files with a name containing the characters ":" and "", which are not valid on Windows. When I try to execute git pull from a Windows computer, it gives me an error message.

Is there a way to rename these files in a repo from a windows machine? Or is there any other workaround?

+8
git linux windows
source share
2 answers

If you have access to a Linux machine, you can rename it, make the appropriate changes to the code and click on the repository (with the corresponding comment)

+3
source share

You can try โ€œsparse controlโ€ so that you do not check these files on Windows.

stack overflow

Of course, this only works for you if you should not have these files in Windows.

0
source share

Source: https://habr.com/ru/post/649862/


All Articles