Locally If you realized you added an unnecessary file to a commit and you have not yet pushed this commit… It is best practice to do this on a temporary branch git checkout -b file-remove Say the file you want to remove is called Sample.class git...

Markdown supported · ⌘↵ to post
No responses yet.