I develop my local repo with Eclipse. The repo therefore contains files and directories created by Eclipse, e.g. .settings, .buildpath, .project and such. I do not want these folders and files to be pushed to Bitbucket. I added them to .gitignore and also to .git/info/exclude. I ran the git command:
git ls-files --others --exclude-from=.git/info/exclude
But whenever I recreate the Bitbucket repo, these are pushed up and I see them in the source list. How can I avoid that?
/.buildpath /.settings /.project /.gitignore
# git ls-files --others --exclude-from=.git/info/exclude # Lines that start with '#' are comments. # For a project mostly in C, the following would be a good set of # exclude patterns (uncomment them if you want to use them): # *.[oa] # *~ /.buildpath /.settings /.project /.gitignore
As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot