Skip to content

Instantly share code, notes, and snippets.

@prabh-62
Created July 10, 2021 21:32
Show Gist options
  • Select an option

  • Save prabh-62/12cd2b1a64c565a79c00d7aa194d8ef1 to your computer and use it in GitHub Desktop.

Select an option

Save prabh-62/12cd2b1a64c565a79c00d7aa194d8ef1 to your computer and use it in GitHub Desktop.
[user]
email = abc@gmail.com
name = ABC
[merge]
tool = vscode
[mergetool "vscode"]
cmd = code --wait $MERGED
[init]
defaultBranch = main
[fetch]
prune = true
[pull]
rebase = true
[rebase]
autoStash = true
[alias]
undo = reset HEAD~
wip = for-each-ref --sort='authordate:iso8601' --format=' %(color:green)%(authordate:relative)%09%(color:white)%(refname:short)' refs/heads
last = log -1 HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment