SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


vscode
Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vscode [2019/08/14 06:51]
sjoerd [Extension Installation]
vscode [2019/09/27 11:17] (current)
sjoerd [Edit a File And Commit]
Line 52: Line 52:
 * Right click the folder as it shows in the explorer section and select Open in Terminal * Right click the folder as it shows in the explorer section and select Open in Terminal
 * Issue the command {{{git clone https://​tfs.getshifting.local/​tfs/​GetShifting/​DevOps/​_git/​DevOps-Maintenance }}} * Issue the command {{{git clone https://​tfs.getshifting.local/​tfs/​GetShifting/​DevOps/​_git/​DevOps-Maintenance }}}
 +
 +== Error: fatal: Authentication failed for ==
 +
 +If you get the error {{{fatal: Authentication failed for <name repo>}}} you have either no authentication for the TFS server in your Credential Manager or the wrong one. 
 +
 +* Go to Control Panel 
 +* Credential Manager ​
 +* Manage Windows Credentials
 +* Add a Windows credential
 +** Enter the server name without protocol: servername.domain.ext
 +** Enter your username with domain: domain\username
 +** Enter your password
 +* Click OK
  
 == Edit a File And Commit == == Edit a File And Commit ==
Line 58: Line 71:
 * Go to Source Control, click the check icon.  * Go to Source Control, click the check icon. 
 * A message shows that a changed file is unsaved yet, Click "Save All & Commit" ​ * A message shows that a changed file is unsaved yet, Click "Save All & Commit" ​
-* Provide a commit message (Use ***NO_CI*** to not trigger Continuous Integration)+* Provide a commit message (Use {{{***NO_CI***}}} to not trigger Continuous Integration)
 * Click the three dots for more action, select sync. A message shows that this action will push and pull commits to and from origin/​master. ​ * Click the three dots for more action, select sync. A message shows that this action will push and pull commits to and from origin/​master. ​
 * Click OK * Click OK
  
-> To stay up to date with remote repository, enable git.autofetch+> To stay up to date with remote repository, enable git.autofetch, which will be asked after your first commit -> sync. 
  
 == Changed Passwords == == Changed Passwords ==
Line 76: Line 89:
 Fron the Azure DevOps website, follow these steps: Fron the Azure DevOps website, follow these steps:
 * Go to your project * Go to your project
-* Click on Code+* Click on Repos
 * Click on Clone * Click on Clone
 * Select and then click "Clone in VS Code" * Select and then click "Clone in VS Code"
vscode.1565758293.txt.gz ยท Last modified: 2019/08/14 06:51 by sjoerd