# Azure & Sourcetree 帳號設定教學 ###### tags: `Azure` , `Sourcetree` ### 如果==不需要==存取所有專案... 1. 到要下載的 git 專案點擊 clone  2. 點擊 Generate Git Credentials 創造憑證,並複製到記事本  ### 如果==需要==存取所有專案... 1. 點人頭設定->個人存取令牌  2. 新增一個能夠存取所有專案也擁有所有權限的 token  3. 點擊複製 token  ---- 3. 到 sourcetree 打開設定帳號的頁面  4. 添加帳號,Host 選 Azure DevOps 並填下圖的 1 ,Username 填下圖的 2 ,Password 貼剛剛複製到記事本的token ###### **※ 如果 Fetch 或 Pull 有跳出需要密碼存取也是填這個密碼(token)**   ## 當 Fetch 或 Pull 等等行動一直失敗時... - For Mac  ## 如果要更改憑證到期時間... 1. 點人頭設定->個人存取token  2. 點擊想編輯的token  3. 可以自行設定到期時間 
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up