User:Chill: Difference between revisions

From GT New Horizons
Content added Content deleted
(Initial commit)
 
m (save page WIP here)
Line 1: Line 1:
Contact me on Discord: chill#9679
Contact me on Discord: chill#9679

Below is WIP:

If you'd like to keep your real life and modding identities separate, Git and ssh let you manage different identities on a per-folder basis.

This page tells a way to do it without any actions later - you just go to the correct repo, and it uses the correct identity.

== Linux ==

=== Configuring name/email per folder ===
We will use OrderedSet as an example of a dev identity. Replace it with your own when you apply the steps.

Create a ~/.gitconfig file and populate with the paths you want to store your identities in.
When you are in the "includeIf" folder or any of the children folders, it will use the path you specify to set the user.name and user.email fields:

Revision as of 21:25, 2 February 2023

Contact me on Discord: chill#9679

Below is WIP:

If you'd like to keep your real life and modding identities separate, Git and ssh let you manage different identities on a per-folder basis.

This page tells a way to do it without any actions later - you just go to the correct repo, and it uses the correct identity.

Linux

Configuring name/email per folder

We will use OrderedSet as an example of a dev identity. Replace it with your own when you apply the steps.

Create a ~/.gitconfig file and populate with the paths you want to store your identities in. When you are in the "includeIf" folder or any of the children folders, it will use the path you specify to set the user.name and user.email fields: