Skip to content

(devcontainer): missing git-lfs #33461

@phuhung273

Description

@phuhung273

Describe the bug

This blocks devcontainer user from pushing commit

This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'pre-push' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').

error: failed to push some refs to 'github.com:phuhung273/aws-cdk.git'

Manually install git-lfs fix the issue. Before we didn't need to do that.

Regression Issue

  • Select this option if this issue appears to be a regression.

Last Known Working CDK Version

No response

Expected Behavior

git-lfs preinstalled in devcontainer

Current Behavior

No git-lfs in devcontainer

Reproduction Steps

Open main branch in devcontainer

Possible Solution

Preinstall git-lfs in devcontainer

Additional Information/Context

Manually install git-lfs fix the issue

CDK CLI Version

main

Framework Version

No response

Node.js Version

v20.18.1

OS

devcontainer

Language

TypeScript

Language Version

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.effort/mediumMedium work item – several days of effortp3package/toolsRelated to AWS CDK Tools or CLI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions