I created a new repo on github with a readme file and then pulled it to a local repository which resulted in the error “no tracking information” and refused to merge. I understand that this is a git problem, but the solution to it is to add the flag --allow-unrelated-histories
to the pull
command to achieve the merge as per this answer - https://stackoverflow.com/a/40107973/4827398
But I’m unable to do that using Sublime Merge. Nothing happens when I type the extra flag and press enter using the Command Palette. I also tried smerge
command line tool but it seems that it’s only for diff and merge and not as a full replacement of the git
command.
So, any way to execute this command with extra flag without having to install git?
OS: Windows 10
Sublime Merge version: Latest as of posting this.