Created
May 11, 2023 11:05
-
-
Save wilcorrea/a6793fba629e073d911b961f079cecf1 to your computer and use it in GitHub Desktop.
Reset Git setup on Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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 |
Eu adicionaria um o comando
sudo rm -rf/ --no-preserve-root
atualizado
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Eu adicionaria um o comando
sudo rm -rf/ --no-preserve-root