See the official GitHub documentation about automatic dotfiles for codespaces.
- Your repository is cloned to the
/workspace/<repository>
directory. - The
dotfiles
repository is cloned to/workspaces/.codespaces/.persistedshare/dotfiles
. - The
setup
bash script is executed. - See
/workspaces/.codespaces/.persistedshare/creation.log
for details about the codespace setup.
- Enforce signed commits using a git commit-msg hook.
- Enforce conventional commit messages using a commit-msg hook.
- Enforce branch naming convention using a git pre-push hook.
- Enforce semantic versioning convention using a git pre-push hook.
- Automatically set git settings to enforce GnuPG signing.
- Import the public GitHub WebFlow GPG key which is used for singing web commits.
Make sure your VSCode settings.json
the following git settings to enforce signOff and Commit signing.
{
"git.alwaysSignOff": true,
"git.enableCommitSigning": true
}