Skip to content

Instantly share code, notes, and snippets.

View MtMath's full-sized avatar
🏠
Working from home

Matheus Costa MtMath

🏠
Working from home
View GitHub Profile

Converting End of Line Sequence from CRLF to LF in a Git Project

Important Warning

Before proceeding, commit all your changes. The following steps will clear the Git cache, which will remove any uncommitted changes from your project.

Steps to Convert CRLF to LF

1. Disable Git Auto CRLF

By default, Git may automatically convert line endings. Disable this behavior by running:

@MtMath
MtMath / readme.md
Created May 4, 2023 14:02
Git and Unity Private Packages

Unity Packages don`t access private repositories

Generating a new SSH key

  • Open Git Bash.
  • Paste the text below, substituting in your GitHub AE email address.
ssh-keygen -t rsa -b 4096 -C "[email protected]"

Adding your SSH key to the ssh-agent

@MtMath
MtMath / SeniaAnimationEventEditor.cs
Created April 18, 2023 16:41 — forked from yujen/SeniaAnimationEventEditor.cs
Unity animation event editing tool.
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
using UnityEngine;
using UnityEditor;