From 427911afd364f7b9bb6c63a602f1c18881272bd9 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Fri, 11 Jun 2021 15:19:21 +0100 Subject: [PATCH] git-obliterate: add page (#6099) --- pages/common/git-obliterate.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 pages/common/git-obliterate.md diff --git a/pages/common/git-obliterate.md b/pages/common/git-obliterate.md new file mode 100644 index 000000000..5a232aa65 --- /dev/null +++ b/pages/common/git-obliterate.md @@ -0,0 +1,13 @@ +# git obliterate + +> Delete specific files and erase their history from a Git repository. +> Part of `git-extras`. +> More information: . + +- Erase the existence of specific files: + +`git obliterate {{file_1 file_2 ...}}` + +- Erase the existence of specific files between 2 commits: + +`git obliterate {{file_1 file_2 ...}} -- {{commit_hash_1}}..{{commit_hash_2}}`