Skip to content

Instantly share code, notes, and snippets.

@hdev14
Last active August 17, 2023 18:00
Show Gist options
  • Save hdev14/001fbf031969ab604a84b99da4192787 to your computer and use it in GitHub Desktop.
Save hdev14/001fbf031969ab604a84b99da4192787 to your computer and use it in GitHub Desktop.
Git configs.
[user]
email = <email>
name = <name>
[alias]
hlog = log --oneline --graph
s = status -s
b = branch -l
cm = commit -m
ca = commit --amend --no-edit
[core]
sshCommand = ssh -i ~/.ssh/<personal>
[init]
defaultBranch = main
[includeIf "gitdir:~/<project>/"]
path = ./<project>/.gitconfig
[pull]
rebase = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment