Skip to content

Doesn't work properly with git-lfs enabled repositories #24705

@ntwrkguru

Description

@ntwrkguru
  • VSCode Version: Code 1.11.2 (6eaebe3, 2017-04-13T07:56:42.517Z)
  • OS Version: Darwin x64 16.5.0
  • Extensions:
Extension Author Version
markdown-toc AlanWalk 1.5.1
vscode-markdownlint DavidAnson 0.7.1
format-php Kasik96 1.1.2
vscode-docker PeterJausovec 0.0.13
vscode-wakatime WakaTime 1.1.3
vscode-instant-markdown dbankier 1.1.0
vscode-yaml-validation djabraham 0.0.1
python donjayamanne 0.6.1
php-debug felixfbecker 1.10.0
ansible haaaad 0.2.5
phpcs ikappas 0.7.0
MagicPython magicstack 1.0.9
Theme-MarkdownKit ms-vscode 0.1.4
python tht13 0.2.3
ansible-autocomplete timonwong 0.0.2
jinja wholroyd 0.0.7

Steps to Reproduce:

  1. Commit to a git-lfs enabled repository
  2. Attempt to push
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 .git/hooks/pre-push.

error: failed to push some refs to 'git@server:user/repo.git'

However, git-lfs is, in fact, installed and working fine from the CLI:

$ git push
Authorized uses only. All activity may be monitored and reported.Counting objects: 9, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (9/9), 1.01 KiB | 0 bytes/s, done.
Total 9 (delta 4), reused 0 (delta 0)
To server:user/repo.git
   0ba3fb8..3a055ec  master -> master

Note that this happens even when not pushing LFS objects.

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions