Git-Credential-Manager-for-Mac-and-Linux


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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM