git config core.trustctime false
git core.filemode false
git config user.name "Alice Bob"
git config user.email [email protected]
setup name and email
for a specific repository, navigate into it and type
git config user.name "your username"
git config user.email "[email protected]"
note add --global to make it global for new repositories
change your editor for commits
git config --global core.editor "pico"
get the remote repository url
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
> the installed direction of my git | |
$ which git | |
> version of git | |
$ git --version | |
> Ignore list is a file in the base folder | |
.gitignore |
OlderNewer