Last active
November 17, 2016 18:17
-
-
Save santi020k/b29708e09f535c969e92ca2219a1e9c8 to your computer and use it in GitHub Desktop.
Basic git configuration for my
This file contains 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
Options: | |
--local //only available into git project | |
--global // actually users | |
--system // all users | |
Commands: | |
Basic user config information: | |
$ git config --global user.email youremail@example.com // Configure email | |
$ git config --global user.name "YourName" // Configure user name | |
Best log show see branch and HEAD position | |
$ git config --global alias.lg "log --oneline --decorate --all --graph" // Use with git lg, git log continue normality | |
Simplicity git status | |
$ git config --global alias.s "status -s" // use with git s, git status continue normality | |
Git pull use ribase ever | |
$ git config --global pull.ribase true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment