It is IMPORTANT to note that you MUST COMMIT ALL PREVIOUS CHANGES BEFOE CONTINUING
-
Remove everything from Local Repo
git rm -r --cached .
or if you are untracking a specific file(s)git rm -r --cached name_of_file
-
Add back all untracked files
using System.Collections.Generic; | |
using System.Reflection; | |
using UnityEditor; | |
using UnityEditor.IMGUI.Controls; | |
using UnityEditorInternal; | |
using UnityEngine.SceneManagement; | |
public static class EditorCollapseAll | |
{ | |
private const BindingFlags INSTANCE_FLAGS = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance; |