Git Basic

2020-05-15
1 min read

Problem Solving

Authentication

  • Clear saved account & password

    Error: fatal:Authentication failed for 'remote-url'

    git config --system --unset credential.helper

  • Save account & password

    git config --global credential.helper store

Remote

  • Check remote url

    git remote -v

  • Update remote url

    git remote set-url origin newRepoUrl