GitEasy

« All commands

Set-Vault Choose where saved logins are stored, and optionally write a starter ignore list.

Read / Write GitEasy v1.5.3

Description

Set-Vault tells the system which credential storage to use for saved logins. The default (manager) is appropriate for most modern Windows installs. Use this when first setting up GitEasy on a new machine, or when moving between credential storage backends.

With -WriteIgnoreList, Set-Vault also writes a starter .gitignore file in the active project folder, populated with patterns common to PowerShell, .NET, and SQL/SSIS projects (build artifacts, IDE leftovers, log files, secret files, etc.). Existing .gitignore content is preserved; the starter patterns are appended only if missing.

Recipes

Recipe 1
EXAMPLE 1
Set-Vault
Recipe 2
EXAMPLE 2
Set-Vault -Helper wincred
Recipe 3
EXAMPLE 3
Set-Vault -Helper manager -WriteIgnoreList

Notes

Safety:

Parameters

-Helper optional String
The credential storage name. One of: manager, manager-core, wincred, cache.
-WriteIgnoreList optional SwitchParameter
Also write a starter .gitignore in the active project folder. Adds common junk patterns; preserves anything already in the file.
-LogPath optional String
Override the directory where the diagnostic log for this run is written.
-WhatIf optional SwitchParameter
-Confirm optional SwitchParameter

Was this page helpful? Report an issue or suggest an improvement →