Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Hooks and lfs folders are created on project root instead of inside .git folder when using git-lfs Edited

Having this problem I decided to make a fresh clone.

Using git 2.26.0.windows.1 

GitLFS 2.10.0

SourceTree 3.3.8

When using sourcetree my folder structure ends up looking like this:

.git/
    hooks/
        pre-push
        post-checkout
        post-merge
        post-commit
lfs/
cache
incomplete
objects
tmp hooks/ pre-push post-checkout post-merge post-commit
lfs/
objects
tmp ourFilesAndStuff

core.hooksPath are not currently set.

git lfs env looks ok to me as well:

LocalWorkingDir=C:\Users\Axel\Desktop\TacGalac
LocalGitDir=C:\Users\Axel\Desktop\TacGalac\.git
LocalGitStorageDir=C:\Users\Axel\Desktop\TacGalac\.git
LocalMediaDir=C:\Users\Axel\Desktop\TacGalac\.git\lfs\objects
LocalReferenceDirs=
TempDir=C:\Users\Axel\Desktop\TacGalac\.git\lfs\tmp
ConcurrentTransfers=8
TusTransfers=false
BasicTransfersOnly=false
SkipDownloadErrors=false
FetchRecentAlways=false
FetchRecentRefsDays=7
FetchRecentCommitsDays=0
FetchRecentRefsIncludeRemotes=true
PruneOffsetDays=3
PruneVerifyRemoteAlways=false
PruneRemoteName=origin
LfsStorageDir=C:\Users\Axel\Desktop\TacGalac\.git\lfs
AccessDownload=basic
AccessUpload=basic
DownloadTransfers=basic,lfs-standalone-file
UploadTransfers=basic,lfs-standalone-file
GIT_EXEC_PATH=C:/Program Files (x86)/Git/mingw32/libexec/git-core
GIT_LFS_PATH=C:\Program Files\Git LFS
git config filter.lfs.process = "git-lfs filter-process"
git config filter.lfs.smudge = "git-lfs smudge -- %f"
git config filter.lfs.clean = "git-lfs clean -- %f"

Any ideas or help would be much appreciated.

Thanks in advance

 

1 answer

I have the same problem. Did you find any solution?

Unfortunately not really, it seems to be a bug with git lfs. You can read more about it here:
https://github.com/git-lfs/git-lfs/issues/4050#issuecomment-611004257

I ended up formating my PC and things work now but god knows why. Good luck.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

3,334 views 4 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you