Installs GitKraken CLI (gk) and GitLens VS Code extension for enhanced git operations
"features": {
"ghcr.io/duplocloud/devcontainers/gitkraken:1": {}
}| Options Id | Description | Type | Default Value |
|---|---|---|---|
| version | GitKraken CLI version to install | string | 3.1.51 |
eamodio.gitlens
This feature installs the GitKraken CLI and GitLens VS Code extension for enhanced git operations in your devcontainer.
The GitKraken feature automatically includes the git feature as a dependency, so you get all git configuration capabilities plus GitKraken-specific tools.
Note: While the git feature is automatically installed via
dependsOn, you must explicitly include it in your devcontainer.json if you want to configure git-specific options (likeuserNameoruserEmail). ThedependsOnrelationship only ensures the git feature is installed—it does not pass options between features.
Add this feature to your devcontainer configuration:
{
"features": {
"ghcr.io/duplocloud/devcontainers/gitkraken:1": {}
}
}Specify a specific GitKraken CLI version:
{
"features": {
"ghcr.io/duplocloud/devcontainers/gitkraken:1": {
"version": "3.1.51"
}
}
}To configure git options, explicitly include the git feature:
{
"features": {
"ghcr.io/duplocloud/devcontainers/gitkraken:1": {},
"ghcr.io/duplocloud/devcontainers/git:1": {
"userName": "Your Name",
"userEmail": "you@example.com"
}
}
}To use a specific GitKraken CLI version:
{
"features": {
"ghcr.io/duplocloud/devcontainers/gitkraken:1": {
"version": "3.2.0"
}
}
}The GitKraken CLI (gk) provides enhanced git commands and integrations:
# View GitKraken CLI version
gk --version
# See available commands
gk --helpGitLens supercharges Git inside VS Code, providing:
- Inline blame annotations
- Rich commit search
- File and line history
- Visual commit graph
- And much more
The extension is automatically installed in VS Code when using this feature.
The GitKraken CLI supports:
- Architectures: amd64, arm64, 386
- Operating Systems: Linux, macOS
Note: This file was auto-generated from the devcontainer-feature.json. Add additional notes to a NOTES.md.