diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fc1dbb93ac..08e23094ec 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -116,10 +116,10 @@ Alternatively you can Consider examining the file before running random code from a public Git repo. ```shell -# Ensure the file is executable -chmod +x .git/hooks/pre-commit # Create a link, alternatively use 'cp' instead of 'ln' to copy ln ./pre-commit.sh .git/hooks/pre-commit +# Ensure the file is executable +chmod +x .git/hooks/pre-commit # Lets see how long execution takes time .git/hooks/pre-commit ``` diff --git a/CONTRIBUTING_DE.md b/CONTRIBUTING_DE.md index 5a14b0197c..90d702487e 100644 --- a/CONTRIBUTING_DE.md +++ b/CONTRIBUTING_DE.md @@ -116,10 +116,10 @@ Alternativ kannst du Beachte, du gibst nun einer Datei aus dem Internet die Berechtigung auf deinem Computer ausgeführt zu werden. Es ist Empfehlenswert in solchen Fällen sicherzustellen das du dem Code und Author vertraust. (Oder noch besser: verstehst, was der Code macht) ```shell -# Datei ausführbar machen -chmod +x .git/hooks/pre-commit # Einen Verweiss auf die Datei erstellen, alternativ kannst du 'cp' anstelle von 'ln' verwenden um die Datei zu kopieren ln ./pre-commit.sh .git/hooks/pre-commit +# Datei ausführbar machen +chmod +x .git/hooks/pre-commit # Sieh dir an wie Lange die ausführung dauert und stelle sicher, dass alles funktioniert time .git/hooks/pre-commit ```