13.12 prepareGitRepository.sh

Go To Top

Return to Build and Run Scripts

The prepareGitRepository.sh script should prepare Repository-level Git settings and Baseline files needed for Phase 0 collaboration. It should help the team establish repeatable version-control behavior without overriding personal Git identity settings unnecessarily.

The script may:

  1. Verify that Git is installed.
  2. Verify that the current directory belongs to the expected Repository.
  3. Create or update .gitignore patterns.
  4. Create Baseline documentation stubs.
  5. Create placeholder directories that require tracked marker files.
  6. Validate line-ending policy where applicable.
  7. Report current branch and Repository status.
  8. Check whether required remote Configuration exists.
  9. Warn about untracked files that should not enter the Baseline.
  10. Prepare hooks only if the team explicitly approves Repository hooks.

The script should not commit files, push branches, rewrite history, change remotes, or modify developer identity settings unless the user explicitly requests that action and the handbook documents the behavior.


© 2026 Dido Solutions, Inc. and Jackrabbit Consulting, Inc.

  • fxdemo/05-part/13-build-and-run-scripts/13-12-preparegitrepository-sh/start.txt
  • Last modified: 2026/08/10 15:09
  • by owen