Last active
February 19, 2024 20:57
-
-
Save sunsided/94dd71b15d6ea994f8523f1af8e049ae to your computer and use it in GitHub Desktop.
Revisions
-
sunsided renamed this gist
Feb 19, 2024 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
sunsided revised this gist
Feb 19, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,4 +5,4 @@ git merge --allow-unrelated-histories -Xtheirs $ORPHAN_BRANCH git diff-tree -r --diff-filter=D --name-only timeline $ORPHAN_BRANCH # ... and delete them git diff-tree -r --diff-filter=D --name-only timeline $ORPHAN_BRANCH | xargs -d '\n' git rm -
sunsided revised this gist
Feb 19, 2024 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,4 +2,7 @@ git merge --allow-unrelated-histories -Xtheirs $ORPHAN_BRANCH # List all files existing in branch "timeline" that do not exist in branch "$ORPHAN_BRANCH" git diff-tree -r --diff-filter=D --name-only timeline $ORPHAN_BRANCH # ... and delete them git diff-tree -r --diff-filter=D --name-only timeline $ORPHAN_BRANCH | xargs git rm -
sunsided revised this gist
Feb 19, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,4 +2,4 @@ git merge --allow-unrelated-histories -Xtheirs $ORPHAN_BRANCH # List all files existing in branch "timeline" that do not exist in branch "$ORPHAN_BRANCH" git diff-tree -r --diff-filter=D --name-only timeline $ORPHAN_BRANCH -
sunsided revised this gist
Feb 19, 2024 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # Merge an orphan branch and overwrite our changes ("take theirs"). git merge --allow-unrelated-histories -Xtheirs $ORPHAN_BRANCH # List all files existing in branch "timeline" that do not exist in branch "$ORPHAN_BRANCH" git diff-tree -r --diff-filter=D timeline $ORPHAN_BRANCH --name-only -
sunsided revised this gist
Feb 19, 2024 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # Merge an orphan branch and overwrite our changes ("take theirs"). git merge --allow-unrelated-histories -Xtheirs $ORPHAN_BRANCH # List all files existing in branch "timeline" that do not exist in branch "release/1.9.0" git diff-tree -r --diff-filter=D timeline release/1.9.0 --name-only -
sunsided revised this gist
Feb 19, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # Merge an orphan branch git merge --allow-unrelated-histories $ORPHAN_BRANCH # List all files existing in branch "timeline" that do not exist in branch "release/1.9.0" git diff-tree -r --diff-filter=D timeline release/1.9.0 --name-only -
sunsided revised this gist
Feb 19, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # Merge an orphan branch git merge --allow-unrelated-histories $orphan_branch> # List all files existing in branch "timeline" that do not exist in branch "release/1.9.0" git diff-tree -r --diff-filter=D timeline release/1.9.0 --name-only -
sunsided revised this gist
Feb 19, 2024 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ # Merge an orphan branch git merge --allow-unrelated-histories <orphan-branch> # List all files existing in branch "timeline" that do not exist in branch "release/1.9.0" git diff-tree -r --diff-filter=D timeline release/1.9.0 --name-only -
sunsided renamed this gist
Feb 19, 2024 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
sunsided created this gist
Feb 19, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ # List all files existing in branch "timeline" that do not exist in branch "release/1.9.0" git diff-tree -r --diff-filter=D timeline release/1.9.0 --name-only