concept machine in category git

appears as: machines, machine
Git in Practice

This is an excerpt from Manning's book Git in Practice.

This ~/.gitconfig file is used to set your preferred configuration settings to be shared among all your repositories on your current machine. You could even share this file between machines to allow these settings to be used everywhere. This is detailed later, in section 7.2.

A common solution is to create a dotfiles repository on GitHub. This involves creating a Git repository; adding all your Git global configuration files such as ~/.gitconfig and ~/.gitignore; and committing, pushing, and sharing these files between machines as you would any other Git repository. This can be good practice for learning how to use Git. You can use dotfiles repositories to share many other application configuration files (such as a .bashrc file to configure the Bash shell).