Skip to content

How to remove Windows GUI Commit ? #24895

Discussion options

You must be logged in to vote

@gz1968 we are in the process of shipping a feature to warn about committing files over 100MB in GitHub Desktop, which should hopefully prevent these types of issues from occurring in the future. Currently it isn’t possible to remove a large file in GitHub Desktop, but we do have a help article that walks through some of the available options for removing files from your repository’s history. You will need to use the command line for these steps.

If you follow the steps that @wabri shared please note that the --hard flag is destructive in nature – it will delete all of the files in the commit where you committed the large file. I would recommend using the --mixed flag since that will leav…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants