![]() ![]() The Sublime Forums will likely get you quicker responses than this issue tracker if you run into issues related to Sublime Merge or SM+git.Therefore, it is useful to either already know some of git or to know how to investigate git related issues and (potentially) fix them. Sublime Merge strives to be a thin UI layer on top of git, with the same (in general) commands & behaviors see the Real Git section of the homepage.the clickable icon will be if the most recent command is successful.any git action you perform will be added to that history, you may have to find the correct historical item.This will show the command history, the first item is usually what you want & the right side is copyable. The warning is ephemeral - how do I select the text and copy-paste it?Ĭlick the to the left of the orange failed: text.I'm not 100% sure about this, but it appears to be specific to git support for repos in WSL: What does %(prefix) mean? Do I write that literally or is it a stand-in for a prefix?.Where am I supposed to run this command? in WSL? On Windows? In Sublime?īest guess: in the WSL terminal (maybe Git Bash, but I think that is non-WSL?) If you know: wherever you have run git commands prior to Sublime Merge.I think the warning isn't an immediate problem, but I think you'll see it for all commands or this repo's commands until taken care of, see below. The required fix is the fatal part, you can read Dylan's first comment for details as to why & below for possible help on fixing it. Not knowing which (if either) is the current repo, I can't know for sure. This has to do with the warning vs fatal lines. It talks about two different git repo's even though I am only doing an operation on 1 repo (and to my knowledge I only have one repo open in Sublime Merge).Based on what I see, git is giving you two items to look at: the warning line (next answer below) & the fatal lines (this issue's topic). The text you see in the yellow box is the output from git itself. The Sublime Merge aspect of the failed git command is the orange failed: text and anything outside the yellow box. Since the operation fails, shouldn't it be an error, and not a warning?.I would expect git commands to work I'm going to try to answer these without being a Windows or WSL user: Attempt to interact with the remote repo (pull, checkout, etc).Have a working Sublime Merge installation on Windows 10 with repositories on WSL.I don't see how to add that config setting to the bundled git.Ĭhanging the git version to "wsl git" returns the error message: "CreateProcess failed: The system cannot find the file specified"Ĭhanging the git version to "\wsl$\Ubuntu\usr\bin\git" changes the error message to "CreateProcess failed: $1 is not a valid Win32 application" Then I noticed Sublime Merge is using the bundled git. ![]() I tried running that on both the Windows and Linux versions of git that are installed with no change. ![]() To add an exception for this directory, call: git config -global -add safe.directory. "fatal: unsafe repository ('//wsl$/Ubuntu/home/.) Everything worked fine yesterday and after installing the update to Sublime Merge this morning I get an error This installation is Sublime Merge installed on the Windows system with the git repositories living on the WSL. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |