You can try moving the .git/hooks directory aside to disable all git hooks,
including the LFS ones.

On Wed, Apr 27, 2016 at 9:39 AM, Changhyun Kwon <[email protected]> wrote:

> That’s pretty interesting. I’m actually surprised to find out what LFS is…
> No, I didn’t enable anything… I believe…
>
> My github account is “Micro”, individual. I have once installed `hub` from
> github, but nothing else. I want to blame homebrew-cask’s Julia, but not
> even sure with that…
>
>
>
>
>
>
> On Apr 27, 2016, at 1:37 AM, Tony Kelman <[email protected]> wrote:
>
> Git LFS is https://git-lfs.github.com/ - you didn't enable anything? What
> kind of github account do you have? I wonder if you may have installed some
> git extension, or if homebrew-cask's version of Julia is using its own
> customized git rather than the bundled one?
>
>
> On Tuesday, April 26, 2016 at 8:13:47 PM UTC-7, Chang Kwon wrote:
>>
>> "VariationalInequality.jl" is a new name.
>>
>> When I did Pkg.publish(), I obtained this error:
>>
>> 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 '
>> https://github.com/chkwon/VariationalInequality.jl.git'
>>
>> ERROR: failed process: Process(`git
>> --work-tree=/Users/chkwon/.julia/v0.4/VariationalInequality
>> --git-dir=/Users/chkwon/.julia/v0.4/VariationalInequality/.git push -q
>> origin refs/tags/v0.0.1:refs/tags/v0.0.1`, ProcessExited(1)) [1]
>>
>>  in pipeline_error at process.jl:555
>>
>>  in run at process.jl:531
>>
>>  [inlined code] from pkg/entry.jl:389
>>
>>  in anonymous at task.jl:447
>>
>>  in sync_end at
>> /opt/homebrew-cask/Caskroom/julia/0.4.5/Julia-0.4.5.app/Contents/Resources/julia/lib/julia/sys.dylib
>>
>>  [inlined code] from task.jl:422
>>
>>  in publish at pkg/entry.jl:374
>>
>>  in anonymous at pkg/dir.jl:31
>>
>>  in cd at file.jl:22
>>
>>  in cd at pkg/dir.jl:31
>>
>>  in publish at pkg.jl:61
>>
>> As suggested, after removing .git/hooks/pre-push, I retried
>> Pkg.publish(), and it went well. I don't know what Git LFS is.
>>
>>
>>
>>
> --
>
>
>
>

Reply via email to