Azure / mlops-v2

Azure MLOps (v2) solution accelerators. Enterprise ready templates to deploy your machine learning models on the Azure Platform.
https://learn.microsoft.com/en-us/azure/machine-learning/concept-model-management-and-deployment
MIT License
480 stars 225 forks source link

[repo] sparse_checkout.sh not working on wsl (ubuntu 20.04 focal) #19

Closed chrey-gh closed 2 years ago

chrey-gh commented 2 years ago

Why?

when trying to run the bash script sparse_checkout.sh on wsl linux ubuntu 20.04

  1. 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

  2. the line git init -b main throws error unknown switch -b

chrey-gh commented 2 years ago

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.