Detecting Jujutsu (jj)
This repository uses Jujutsu (jj) as its version control if confirmed by the authoritative detection script built for this project.
Detection Procedure
To verify if this is a Jujutsu repository, you MUST run the following script using the Bash tool:
bash
bash skills/detect-jujutsu/scripts/detect-jj.sh
This works from the repository root directory.
Interpreting the Result
- •Exit Code 0 (Success): This is a Jujutsu repository.
- •Action: Use
jjcommands exclusively. - •Next Step: Invoke the
use-jujutsuskill for detailed command reference and workflows.
- •Action: Use
- •Exit Code 1 (Not JJ): This is a standard Git repository.
- •Action: Use standard
gitworkflows.
- •Action: Use standard
- •Exit Code 2 (Indeterminate): An error occurred (e.g.,
jjnot installed or not in a git repo).- •Action: Follow the "Next steps" printed by the script.
Outcome
Always respect the detection result. If Jujutsu is confirmed, do not use git commands unless explicitly requested by the user for remote synchronization tasks.