1、安装brew
安装命令:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2、Installing on Mac using Homebrew or on Linux using Linuxbrew (recommended)
(1)、Update the Homebrew/Linuxbrew formulae to make sure you have the latest versions:
brew update
(2)、Install the GCM4ML formula:
brew cask install --no-quarantine java
brew install git-credential-manager
(3)、Run the GCM4ML in install mode, which will check its requirements and then update the "global" Git configuration file (the one in your home folder):
git-credential-manager install
3、Installing on Mac or Linux without a package manager
(1)、java -jar /usr/local/Cellar/git-credential-manager/2.0.3/libexec/git-credential-manager-2.0.3.jar install
(2)、config --global credential.helper '!java --add-modules java.xml.bind -Ddebug=false -Djava.net.useSystemProxies=true -jar /usr/local/Cellar/git-credential-manager/2.0.3/libexec/git-credential-manager-2.0.3.jar'
4、git clone
git clone https://smartdevframework.visualstudio.com/Fly/_git/Fly
按照提示操作,打开下面url,输入git clone 中生成的code后即可。
https://microsoft.com/devicelogin