I’ve found a weird problem in Git. I have a folder called cache under my Git structure that in the past (by mistake) wasn’t gitignored. The problem is that some commits ago I added this folder to the .gitignore file and now due to some cache changes I have noted that some files in this […]
I’ve noticed that GitHub does not have a .gitignore template for Lua projects. Are there any specific files/file extensions which should be excluded by default from source control for a Lua project? I don’t know enough about the Lua build/test/deploy cycle to know for myself yet.
Basically I accidentally added the ‘files’ folder to my commits, so I have four old branches of development that have the ‘files’ folder listed, with all the files. I don’t want to make any other changes to these branches, I just want to remove the files folder, and leave everything else exactly as it is. […]
I am trying to use .gitignore file for my Joomla repo. I have noticed that the official joomla .gitignore file is much shorter as compared to the .gitignore provided by Github, which has an exhaustive list. Not sure why they are different. This is joomla’s .gitignore file: https://github.com/joomla/joomla-cms/blob/master/.gitignore This is from github: https://github.com/github/gitignore/blob/master/Joomla.gitignore Was that […]
Consider the following scenario: I have the following in my .gitignore: files/dependency/config.lua But since the file used to exist before adding it to gitignore, it was being tracked. I updated my index and removed the file manually following this question. Now, one of my colleague updated this file on remote server. When I try to […]
I have a gitignore file ~\.gitignore_global with several patterns. I added a directory to my source, and run git add . Then when I run git status it does show me that the old ignored files are still untracked, but the new files with the ignored extensions would be committed? this is my gitignore file: […]
My question is should you ignore the debugger folder and the Breakpoints_v2.xcbkptlist file. Or should the files be committed as well. Is there a standard Xcode 5 git ignore file like the one listed here but for Xcode 5. I like this one because its comments explains every ignore file in detail for people who […]
I am using the .gitignore file from here but I still am still finding that CalFoo.xcodeproj/project.xcworkspace/xcuserdata/wcochran.xcuserdatad/UserInterfaceState.xcuserstate is staged for a commit? Why isn’t the folder xcuserdata excluded?
I’am authoring a PHP CMS, that needs an installation to work. The installation generate a config file. At localhost i work on an installed version (with a specific config file), But the users who download the CMS from github would have an empty config file (= uninstalled version). What I want : -a specific config […]
What regex do I use to add org.eclipse.core.resources.prefs to my .gitignore, so that it ignores all occurrences of this file? Adding each occurrence separately or any regex like //org.eclipse.core.resources.prefs or /./org.eclipse.core.resources.prefs does not seem to help.