Created
June 12, 2020 13:14
-
-
Save Edyta2801/39ef8e627291af56b7f63cb53bf83839 to your computer and use it in GitHub Desktop.
.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Plik/folder w twojej kontroli wersji nie usuwają się tylko dlatego, że dodałeś je do .gitignore. Są już w repozytorium i musisz je usunąć. Możesz to po prostu zrobić w ten sposób: | |
(Pamiętaj, aby zatwierdzić wszystko, co zmieniłeś, zanim to zrobisz.) | |
git rm -rf --cached . | |
git add . | |
Spowoduje to usunięcie wszystkich plików z repozytorium i dodanie ich z powrotem (tym razem przestrzegając reguł w .gitignore). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment