DEV Community

Discussion on: Advanced git tips

Collapse
 
xexyl profile image
xexzy

Re 'There will a ~/.gitconfig file where you can specify them. (If you don't find the file, I think you can create it at HOME path).'

Unless I’m parsing what you're saying wrong: $HOME will be the same value as ~ (except that with ~ you can do ~luser and it'll translate to the $HOME variable of the user luser). Or are you saying something else?

But it should also be pointed out that that's a global config file; you can also have it per repo i.e. at .git/config