Closed gabrielfougeron closed 10 years ago
Remove the files from your directory.
Commit and push to remote.
Ignore the files (add output/*
to .gitignore
for folder output
or *.txt
for all .txt files for example).
Commit and push to remote.
Restore your files.
Check with git status
that your files are ignored.
Solved by untracking files (removed them from the index with git rm --cached <file>
).
Title is rather self explanatory.