private static void RemoveSelected() { string[] paths = Selection.assetGUIDs.Select(AssetDatabase.GUIDToAssetPath).SelectMany(GitManager.GetPathWithMeta).ToArray(); gitManager.AutoUnstage(paths); }