Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,812
Community Members
 
Community Events
176
Community Groups

How do I remove LFS from a repository?

Edited

I am using a Bitbucket repo (containing a Visual Studio Solution) that has LFS enabled, but I don't believe it needs LFS.

I've checked in Repository Settings > Git LFS and it lists a single entry - the 'bin' folder. As I believe is normal in a Visual Studio project, the bin folder is not part of the repo

How do I remove the LFS please?

2 answers

1 accepted

0 votes
Answer accepted
Syahrul Atlassian Team Jul 03, 2022

Hey @Michael Holmes 

G'Day!

If you wish to delete the LFS file in your repository, navigate to the Repository settings > Git LFS and click the "..." drop-down on the right side of the files, then click Delete files.

This will delete the LFS files from your repositories, but if you have the features enabled locally and track, it may re-upload the files in the future. So please ensure the files are not tracked in your .gitattributes

You can also untrack the files with the following git commands:

git lfs untrack "<pattern>"

I hope this helps.

Cheers,
Syahrul

Many thanks Syahrul!

Like Syahrul likes this

how to delete multiple files though? it is unpractical to click on each file and delete it manually from the settings

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS

Atlassian Community Events