GitEasy

« All commands

Reset-Login Forget any saved login for the active project folder so it can be set up again.

Destructive GitEasy v1.5.3

Description

Reset-Login asks the system to forget the saved login for the host that publishes your project. Use it when the saved login has gone stale (token rotated, password changed) or when GitEasy keeps using the wrong identity.

Reset-Login tries every supported way to clear the saved login: it asks Git's credential layer to reject and erase the saved entry, and on Windows it also removes matching cmdkey entries. After Reset-Login, the next operation that needs a login will prompt for fresh credentials.

Reset-Login currently supports HTTPS published locations only.

Recipes

Recipe 1
EXAMPLE 1
Reset-Login
Recipe 2
EXAMPLE 2
Reset-Login; Test-Login

Notes

Safety:

Parameters

-RemoteName optional String
The name of the published location whose login should be forgotten. Defaults to origin.
-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 →