I have something weird since we started using sub modules for git. I'm on Windows 10 and use either Tortoise git or Powershell or cmd or the Linux command interpreter.
Whenever I try to pull a sub module, I get something like this:
PS D:\repositories\git\ProjectAlice\ProjectAliceSkills\PublishedSkills\AliceCore> git pull error: cannot lock ref 'refs/tags/1.0.35>=1.0.0-a4': Unable to create 'D:/repositories/git/ProjectAlice/ProjectAliceSkills/.git/modules/PublishedSkills/skill_AliceCore/refs/tags/1.0.35>=1.0.0-a4.lock': Invalid argument From https://github.com/project-alice-assistant/skill_AliceCore ! [new tag] 1.0.35>=1.0.0-a4 -> 1.0.35>=1.0.0-a4 (unable to update local ref) error: cannot lock ref 'refs/tags/1.0.36>=1.0.0-a5': Unable to create 'D:/repositories/git/ProjectAlice/ProjectAliceSkills/.git/modules/PublishedSkills/skill_AliceCore/refs/tags/1.0.36>=1.0.0-a5.lock': Invalid argument ! [new tag] 1.0.36>=1.0.0-a5 -> 1.0.36>=1.0.0-a5 (unable to update local ref) error: cannot lock ref 'refs/tags/1.0.37>=1.0.0-a5': Unable to create 'D:/repositories/git/ProjectAlice/ProjectAliceSkills/.git/modules/PublishedSkills/skill_AliceCore/refs/tags/1.0.37>=1.0.0-a5.lock': Invalid argument ! [new tag] 1.0.37>=1.0.0-a5 -> 1.0.37>=1.0.0-a5 (unable to update local ref) error: cannot lock ref 'refs/tags/1.0.38>=1.0.0-a5': Unable to create 'D:/repositories/git/ProjectAlice/ProjectAliceSkills/.git/modules/PublishedSkills/skill_AliceCore/refs/tags/1.0.38>=1.0.0-a5.lock': Invalid argument ! [new tag] 1.0.38>=1.0.0-a5 -> 1.0.38>=1.0.0-a5 (unable to update local ref) error: cannot lock ref 'refs/tags/1.0.39>=1.0.0-a5': Unable to create 'D:/repositories/git/ProjectAlice/ProjectAliceSkills/.git/modules/PublishedSkills/skill_AliceCore/refs/tags/1.0.39>=1.0.0-a5.lock': Invalid argument ! [new tag] 1.0.39>=1.0.0-a5 -> 1.0.39>=1.0.0-a5 (unable to update local ref) error: cannot lock ref 'refs/tags/1.0.40>=1.0.0-a5': Unable to create 'D:/repositories/git/ProjectAlice/ProjectAliceSkills/.git/modules/PublishedSkills/skill_AliceCore/refs/tags/1.0.40>=1.0.0-a5.lock': Invalid argument ! [new tag] 1.0.40>=1.0.0-a5 -> 1.0.40>=1.0.0-a5 (unable to update local ref) error: cannot lock ref 'refs/tags/1.0.42>=1.0.0-a5': Unable to create 'D:/repositories/git/ProjectAlice/ProjectAliceSkills/.git/modules/PublishedSkills/skill_AliceCore/refs/tags/1.0.42>=1.0.0-a5.lock': Invalid argument ! [new tag] 1.0.42>=1.0.0-a5 -> 1.0.42>=1.0.0-a5 (unable to update local ref) PS D:\repositories\git\ProjectAlice\ProjectAliceSkills\PublishedSkills\AliceCore> git pull error: cannot lock ref 'refs/tags/1.0.35>=1.0.0-a4': Unable to create 'D:/repositories/git/ProjectAlice/ProjectAliceSkills/.git/modules/PublishedSkills/skill_AliceCore/refs/tags/1.0.35>=1.0.0-a4.lock': Invalid argument From https://github.com/project-alice-assistant/skill_AliceCore ! [new tag] 1.0.35>=1.0.0-a4 -> 1.0.35>=1.0.0-a4 (unable to update local ref) error: cannot lock ref 'refs/tags/1.0.36>=1.0.0-a5': Unable to create 'D:/repositories/git/ProjectAlice/ProjectAliceSkills/.git/modules/PublishedSkills/skill_AliceCore/refs/tags/1.0.36>=1.0.0-a5.lock': Invalid argument ! [new tag] 1.0.36>=1.0.0-a5 -> 1.0.36>=1.0.0-a5 (unable to update local ref) error: cannot lock ref 'refs/tags/1.0.37>=1.0.0-a5': Unable to create 'D:/repositories/git/ProjectAlice/ProjectAliceSkills/.git/modules/PublishedSkills/skill_AliceCore/refs/tags/1.0.37>=1.0.0-a5.lock': Invalid argument ! [new tag] 1.0.37>=1.0.0-a5 -> 1.0.37>=1.0.0-a5 (unable to update local ref) error: cannot lock ref 'refs/tags/1.0.38>=1.0.0-a5': Unable to create 'D:/repositories/git/ProjectAlice/ProjectAliceSkills/.git/modules/PublishedSkills/skill_AliceCore/refs/tags/1.0.38>=1.0.0-a5.lock': Invalid argument ! [new tag] 1.0.38>=1.0.0-a5 -> 1.0.38>=1.0.0-a5 (unable to update local ref) error: cannot lock ref 'refs/tags/1.0.39>=1.0.0-a5': Unable to create 'D:/repositories/git/ProjectAlice/ProjectAliceSkills/.git/modules/PublishedSkills/skill_AliceCore/refs/tags/1.0.39>=1.0.0-a5.lock': Invalid argument ! [new tag] 1.0.39>=1.0.0-a5 -> 1.0.39>=1.0.0-a5 (unable to update local ref) error: cannot lock ref 'refs/tags/1.0.40>=1.0.0-a5': Unable to create 'D:/repositories/git/ProjectAlice/ProjectAliceSkills/.git/modules/PublishedSkills/skill_AliceCore/refs/tags/1.0.40>=1.0.0-a5.lock': Invalid argument ! [new tag] 1.0.40>=1.0.0-a5 -> 1.0.40>=1.0.0-a5 (unable to update local ref) error: cannot lock ref 'refs/tags/1.0.42>=1.0.0-a5': Unable to create 'D:/repositories/git/ProjectAlice/ProjectAliceSkills/.git/modules/PublishedSkills/skill_AliceCore/refs/tags/1.0.42>=1.0.0-a5.lock': Invalid argument ! [new tag] 1.0.42>=1.0.0-a5 -> 1.0.42>=1.0.0-a5 (unable to update local ref)
So, something to do with locked references. The annoying bit is that when I do the same git pull through the Linux command interpreter, well, it just works...... Where Tortoise git, cmd or Powershell fails with the mentioned error.
I did update git today to be sure, I did try all the prune suggestions I found on that problem, nothing solves it. Well, use the Linux Command Interpreter then they say! Well, unfortunately, there's a ton of sub modules....