-
Notifications
You must be signed in to change notification settings - Fork 0
Git commands
lpaulger edited this page Dec 20, 2012
·
7 revisions
$ git revert 234242343423423
Remember you must be within the correct branch you are trying to revert. Terminal wont track project switches!!!
###How to remove a file/folders history from git git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch {file or folder name}' -f
the -f at the end is to force if a backup already exists {file or folder name} represents the folder or file you want to remove from git history (sensitive password or build folder)