...automatically before commit) You can tell git to react on trailing whitespace in a pre-commit hook. By default it will cancel a commit that contains trailing whitespace (and disallow...
...in $PREFIX/share/git-core/templates/hooks (where $PREFIX is probably /usr/local or /usr). Rename the pre-commit.sample file to pre-commit to activate it. Afterwards, you'll need to re-initialize already cloned repositories with...
ActiveRecord has a feature called counter caching where the containing record in a has_many relationship caches the...
Best results in other decks
...ansible-lint. Du kannst das auch gerne in einen Editor integrieren oder Ansible linting pre-commit (Vorsicht: pre-commit über apt gibt es erst ab Ubuntu 22.04) einrichten.
...ein git Repository ähnlich zu dem aus dem vorherigen Kapitel. Am besten auch mit pre-commit hooks. Für die einzelnen Arbeitsschritte solltest du Merge Requests erstellen, die dein Mentor reviewt...