Closed chrey-gh closed 2 years ago
when trying to run the bash script sparse_checkout.sh on wsl linux ubuntu 20.04
line git clone ... throws an error : fatal: cannot change to 'https://github.com/Azure/mlops-project-template': No such file or directory error: failed to initialize sparse-checkout
the line git init -b main throws error unknown switch -b
make sure your version of git is 2.36 and higher (check with git --version, update info here https://git-scm.com/download/linux#:~:text=The%20latest%20version%20is%202.36,1.
Why?
when trying to run the bash script sparse_checkout.sh on wsl linux ubuntu 20.04
line git clone ... throws an error : fatal: cannot change to 'https://github.com/Azure/mlops-project-template': No such file or directory error: failed to initialize sparse-checkout
the line git init -b main throws error unknown switch -b