Top "Git-rewrite-history" questions

Rewriting the history of a Git repository, for example to edit old commits, remove unwanted data (e.g. private data or large files), rearrange file structure, fix commit metadata, etc.

How do I remove a big file wrongly committed in git

Possible Duplicate: How to purge a huge file from commits history in Git? I did a stupid thing. Imagine that …

git git-rewrite-history
How to amend several commits in Git to change author

I have made a series of commits in Git and I realise now that I forgot to set my user …

git git-commit git-rewrite-history
Combine the first two commits of a Git repository?

Suppose you have a history containing the three commits A, B and C: A-B-C I would like to combine the …

git rebase git-rebase git-rewrite-history
Purging file from Git repo failed, unable to create new backup

I tried to remove a file from my remote repo by running: git filter-branch --index-filter 'git rm --cached --ignore-unmatch Rakefile' …

git git-commit git-filter-branch git-rewrite-history
Edit the root commit in Git?

There's ways to change the message from later commits: git commit --amend # for the most recent commit git rebase --interactive …

git git-rebase git-commit git-rewrite-history amend
Remove refs/original/heads/master from git repo after filter-branch --tree-filter?

I had the same question as asked here: New git repository in root directory to subsume an exist repository in …

git git-rewrite-history git-plumbing
Remove file from git repository (history)

(solved, see bottom of the question body) Looking for this for a long time now, what I have till now …

git version-control git-rewrite-history
git, filter-branch on all branches

I'm using the following sources to expunge some large files and directories from my repository: http://dound.com/2009/04/git-forever-remove-files-or-folders-from-history/ Why …

git git-filter-branch git-rewrite-history
How to remove old versions of media files from a git repository

I have a Git repository with several huge media files (images and audio files). Several versions of these media files …

git git-rewrite-history
How to delete the old git history?

I have git repository with many, many (2000+) commits, for example: l-- m -- n / a -- b -- c -- …

git git-rewrite-history