User Tools

Site Tools


git_config

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
git_config [2019/02/18 09:56]
rpjday [Environment variables]
git_config [2019/02/18 09:57]
rpjday [One-time config override with -c]
Line 211: Line 211:
  
 ==== One-time config override with -c ==== ==== One-time config override with -c ====
 +
 +If you need a one-time-only override of some config setting, most Git commands support the "​-c"​ option:
  
 <​code>​ <​code>​
-$ git -c user.name="​Keyser Soze" <​command>​...+$ git -c user.name="​Keyser Soze" <some command>​...
 </​code>​ </​code>​
 ===== Configuration sections and keys ===== ===== Configuration sections and keys =====
git_config.txt ยท Last modified: 2019/02/18 09:57 by rpjday