Compare commits
2 commits
881b1180d0
...
a14ea8c75d
Author | SHA1 | Date | |
---|---|---|---|
Simon Bruder | a14ea8c75d | ||
Simon Bruder | bbcf094f3e |
|
@ -15,7 +15,7 @@ The repository `ecg-prog-filtered` only includes files solely written by me.
|
||||||
It is filtered with the `./filter.sh` script.
|
It is filtered with the `./filter.sh` script.
|
||||||
Please **don’t** rely on the history of this repository,
|
Please **don’t** rely on the history of this repository,
|
||||||
as rewriting is part of how it can exist.
|
as rewriting is part of how it can exist.
|
||||||
See [Licences](#Licences) for more information on the licencing.
|
See [Licence](#Licence) for more information on the licencing.
|
||||||
|
|
||||||
If you want access to all of my solutions,
|
If you want access to all of my solutions,
|
||||||
please write me an email (or contact me in another way),
|
please write me an email (or contact me in another way),
|
||||||
|
|
|
@ -4,5 +4,6 @@ set -euo pipefail
|
||||||
export FILTER_BRANCH_SQUELCH_WARNING=1
|
export FILTER_BRANCH_SQUELCH_WARNING=1
|
||||||
git branch -D filtered
|
git branch -D filtered
|
||||||
git switch -c filtered
|
git switch -c filtered
|
||||||
|
git branch -u filtered/filtered
|
||||||
git filter-branch -f --tree-filter "rm -f $(rg --files-without-match 'SPDX-License-Identifier: (L)?GPL-3.0-or-later' -g '/u??/**/*' | tr '\n' ' ')" HEAD
|
git filter-branch -f --tree-filter "rm -f $(rg --files-without-match 'SPDX-License-Identifier: (L)?GPL-3.0-or-later' -g '/u??/**/*' | tr '\n' ' ')" HEAD
|
||||||
git switch -
|
git switch -
|
||||||
|
|
Reference in a new issue