Welcome Guest, Not a member yet? Register   Sign In
Managing Git and .gitignore for a CI library..??
#4

(This post was last modified: 01-29-2016, 03:40 PM by skunkbad.)

Code:
application/cache/
application/config/file_to_ignore.php
application/config/another_file_to_ignore.php
application/core/
application/helpers/
application/hooks/
application/language/
application/logs/
application/models/
application/.htaccess
application/index.html
application/third_party/
system/
tests/
user_guide/
user_guide_src/
/index.php
/.htaccess
/DCO.txt
/composer.json
/contributing.md
/license.txt
/readme.rst


If it's just a gitignore you need, something like what I've showed above should work. Notice that each config file needs to be listed (except for yours).

When you run "git status", you'll be able to see the files that would be added. If you see ones you don't want to add, just add them to the gitignore file.
Reply


Messages In This Thread
RE: Managing Git and .gitignore for a CI library..?? - by skunkbad - 01-29-2016, 03:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB