Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Recent git commands
  • Show changes in stash

    git stash show -p stash@{0}
  • Save stash with message

    git stash save "MESSAGE"
  • Authetication GitHub using 2FA(two-factor authentication)

    • create a file ~/.git-credentials with following content
    • Store token
      git config --global credential.helper store

    Where GITHUB_TOKEN can be generated by visiting

    git var -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment