Last active
August 23, 2019 08:30
-
-
Save markatom/47e21b940e42cece0cec449112ed8fdc to your computer and use it in GitHub Desktop.
Base git config suitable for beginners
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = John Doe | |
email = [email protected] | |
[core] | |
editor = nano # use what you like | |
[status] | |
showUntrackedFiles = all # show also individual files in untracked directories | |
[push] | |
default = current # push the current branch to update a branch with the same name on the receiving end | |
[pull] | |
rebase = true # rebase branches on top of the fetched branch, instead of merging | |
[pretty] | |
compact = %Cblue%h %Cgreen%an %C(yellow)%ar%Cred%d%n%Creset%s # custom log format | |
[alias] | |
graph = log --graph --pretty=compact |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment