Skip to content

Instantly share code, notes, and snippets.

@wilcorrea
Created May 11, 2023 11:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wilcorrea/a6793fba629e073d911b961f079cecf1 to your computer and use it in GitHub Desktop.
Save wilcorrea/a6793fba629e073d911b961f079cecf1 to your computer and use it in GitHub Desktop.
Reset Git setup on Windows
@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
@alissonsilvas
Copy link

Eu adicionaria um o comando sudo rm -rf/ --no-preserve-root

@wilcorrea
Copy link
Author

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