Skip to content

Instantly share code, notes, and snippets.

@wilcorrea
Created May 11, 2023 11:05

Revisions

  1. wilcorrea created this gist May 11, 2023.
    17 changes: 17 additions & 0 deletions reset.bat
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    @echo off

    git config --system --unset credential.helper

    git config --global --unset credential.helper
    git config --global credential.modalprompt false
    git config --global init.defaultbranch main
    git config --global pull.rebase true
    set /p "email=Enter Email: "
    git config --global user.email "%email%"
    set /p "name=Enter Name: "
    git config --global user.name "%name%"

    @echo on

    git config --system --list
    git config --global --list