git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch Library' --prune-empty --tag-name-filter cat -- --all WARNING: git-filter-branch has a glut of gotchas generating mangled history rewrites. Hit Ctrl-C before proceeding to abort, then use an alternative filtering tool such as 'git filter-repo' (https://github.com/newren/git-filter-repo/) instead. See the filter-branch manual page for more details; to squelch this warning, set FILTER_BRANCH_SQUELCH_WARNING=1. Proceeding with filter-branch...
Cannot rewrite branches: You have unstaged changes.
# This .gitignore file should be placed at the root of your Unity project directory # # Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore # /[Ll]ibrary/ /[Tt]emp/ /[Oo]bj/ /[Bb]uild/ /[Bb]uilds/ /[Ll]ogs/ /[Uu]ser[Ss]ettings/
# MemoryCaptures can get excessive in size. # They also could contain extremely sensitive data /[Mm]emoryCaptures/
# Recordings can get excessive in size /[Rr]ecordings/
# Uncomment this line if you wish to ignore the asset store tools plugin # /[Aa]ssets/AssetStoreTools*