You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hey
I am having a lot of trouble with source tree LFS on one machine.
We have a gitlab account with lfs enabled by default on the repository.
The problem is that eaven though we have a file that has the LFS rules set up, my computers version of Sourcetree does not read that file at all. If I try to commit an mp3 file to the repository it prompts me that the file should be tracked with lfs. On my friends machine that I setup at the same time everything works as it should.
This is what the .gitatributes file has inside of it.
This is what the Sourcetree LFS tracking window shows. It is empty, on the other machine I setup it shows the rules and everything works.
I have tried from Options -> Git > Embedded and System, neither does nothing.
I also tried to make a competely new Repository, initialised LFS, added rules and everything works like it should. Then I can see the LFS file types tracked in the window. As soon as I cloned the existing Repository from the GitLab it again lost the connection to the .gitatributes file and the LFS stopped working.
Is there a way to somehow disable LFS from the Sourcetree once and reinitialize it again? Or somehow to asosiate the .gitatributes file back in to the sourcetree since it seems it does not read it correctly for some reason. As said it works completely normal on the other machine with the same clone of the project.
I have reinstalled sourcetree from scratch using this but no help:
Solved this partially allready. The problem was with the .gitignore file. Deleted the .gitignore file and now everything works like it should. Now to actually solve the problem...
ensure that files you want track are in root. Then only it is tracking.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.