description |
---|
Stage and commit changes with conventional commit message |
You are tasked with staging and committing changes in a repository using conventional commit message format.
First, detect the version control system:
!if [ -d ".git" ]; then echo "git"; elif [ -d ".jj" ]; then echo "jujutsu"; else echo "none"; fi
If git is detected: