A
A
Anton2016-07-28 02:00:59
git
Anton, 2016-07-28 02:00:59

How to hide files from a Bitbucket repository?

There were no problems with this on GitHub. In the GitHub client, I wrote down what needs to be hidden (including the .gitignore file itself) and that's it. Everything worked.
Now in the Bitbucket client I'm trying to do similar actions. The .gitignore file opens and I write the same thing there as in the GitHub client:

.gitignore
.idea/

But the file and directory is not hidden.
What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
display: block, 2016-07-28
@qork

git rm --cached [file]
Cancel file indexing

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question