Compare commits
2 Commits
a14ea8c75d
...
2d2958a31a
Author | SHA1 | Date |
---|---|---|
Simon Bruder | 2d2958a31a | |
Simon Bruder | e9f79b7288 |
13
README.md
13
README.md
|
@ -8,6 +8,19 @@ Each exercise includes a separate `readme.txt`
|
||||||
that describes things specific to how I implemented the task.
|
that describes things specific to how I implemented the task.
|
||||||
However, those documents are in German, which is a requirement.
|
However, those documents are in German, which is a requirement.
|
||||||
|
|
||||||
|
**Note**:
|
||||||
|
Due to copyright restrictions,
|
||||||
|
I am not allowed to publish many of my solutions.
|
||||||
|
The repository `ecg-prog-filtered` only includes files solely written by me.
|
||||||
|
It is filtered with the `./filter.sh` script.
|
||||||
|
Please **don’t** rely on the history of this repository,
|
||||||
|
as rewriting is part of how it can exist.
|
||||||
|
See [Licence](#Licence) for more information on the licencing.
|
||||||
|
|
||||||
|
If you want access to all of my solutions,
|
||||||
|
please write me an email (or contact me in another way),
|
||||||
|
I’ll see what I can do.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### Build
|
### Build
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
set -euo pipefail
|
||||||
|
export FILTER_BRANCH_SQUELCH_WARNING=1
|
||||||
|
git branch -D filtered
|
||||||
|
git switch -c 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 push -f -u filtered filtered
|
||||||
|
git switch -
|
Reference in New Issue