New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitIgnore #364
Comments
Looks like we need to run the following command for each of the 5 deleted files git update-index --assume-unchanged filename That stops them being tracked. |
Isnt there just a gitignore file we can add to repo |
I've added a .gitignore file to the repo. But that doesn't cover the files that are deleted as part of setup. So if you fork, and install your local copy those files are deleted from the repo. So i;ve run the command git update-index --assume-unchanged filename for the first 5 filenames and issued a commit. If you do a clone and run setup and do a 'git status' it should show up as now files. |
Why would someone run setup in their local repo ? Or use it live ? |
|
Hi All,
Here is my initial .gitignore file
Anyone know how to prevent the deleted files as the top from being staged to commit.
*** ignore these files as they will be deleted on your local copy when you run setup
admin/install.php
admin/setup.php
admin/update.php
temp.gsconfig.php
temp.htaccess
*** ignore the following as they are created by setup
.htaccess
backups/other/website.xml.bak
backups/users/
data/cache/
data/other/
data/pages/
data/users/
gsconfig.php
sitemap.xml
The text was updated successfully, but these errors were encountered: