Executing Git Commands from Unity's C I recently had the opportunity to execute Git commands from a C# editor extension script in Unity. Here, I'll summarize the process so I won't forget. Sample Command As an example, let's execute the following command from Unity's C#: git config core.autocrlf This command checks if the feature to automatically convert line endings is enabled. Sample Code Below is the sample code. By calling GetAutocrlf externally, the command will be executed. using System ;
Comment
Sign in to join the discussion.
Loading comments…