I am building my first Symfony2 project and I may be confused on the purpose of the web/bundles folder. According to Symfony2 documentation they say this is where static data goes like js libraries, css and images. This all makes sense but while you are still building that base layout isn’t it a little annoying […]
I have the .gitignore file with this code: /app/cache/* /app/logs/* /app/bootstrap* /vendor/* /web/bundles/ /app/config/parameters.yml but when I do : $ git status in any situation (before and after add and commit), I get a long text output like this: … # deleted: vendor/doctrine/orm/tools/sandbox/cli-config.php # deleted: vendor/doctrine/orm/tools/sandbox/doctrine # deleted: vendor/doctrine/orm/tools/sandbox/doctrine.php # deleted: vendor/doctrine/orm/tools/sandbox/index.php # deleted: vendor/doctrine/orm/tools/sandbox/xml/Entities.Address.dcm.xml […]
I have the following directory structure: test/a test/b/c test/a/b/Ouput test/c/d/e/Output test/f/Output I want to ignore all the “Output” directories under “test”. I tried test/**/Output, but it didn’t work. What am I doing wrong?
I have a project with the following structure: /. /src /project1 /bin /obj /project2 /bin /obj /tools /tool1 /bin What can I add to my .git/info/exclude to ignore all bin/obj directories under “src”? I don’t want to explicitly specify each project name.
I’m working in a Xcode project, and I’m trying to configure the .gitignore to not get anything inside the xcuserdata folder. I have the following .gitignore: # Xcode .DS_Store */build/* *.pbxuser !default.pbxuser *.mode1v3 !default.mode1v3 *.mode2v3 !default.mode2v3 *.perspectivev3 !default.perspectivev3 xcuserdata profile *.moved-aside DerivedData .idea/ *.hmap xcuserdata/* but every time that I build/run the project and execute […]
I want to automatically exclude 2 files from committing, that are part of the git repository but have some changes, that shouldn’t be part of the github repo, because they have some changes that are only meaningful to my local system and not the other developers. I added them to .git/info/exclude in the hopes git […]
This is mostly a git question. I want to commit my ipython notebooks but gitignore the checkpoints. The repo has multiple folders which each have ipython notebooks, therefore just ignoring a single directory does not solve it. I want to keep adding new folders with notebooks inside without worrying about it. My hunch is that […]
So, after little thinking I have wrote the following: # In repository we don’t need to have: # Compiled object files *.o # Generated MOC, resource and UI files moc_*.cpp qrc_*.cpp ui_*.h # Debug and Release directories (created under Windows, not Linux) Debug/ Release/ # .log files (usually created by QtTest – thanks to VestniK) […]
I have a C# Visual Studio project in a git repository. I want to ignore the contents bin/Debug directory but not the contents of the bin/Release‘ directory. I’ve added bin/Debug to my .gitignore file, but it doesn’t seem to work – it is including the entire contents of the bin directory. What would the correct […]
I’m just starting to use hg-git to push some mercurial repositories to github, and I’m realizing that if people check them out using git, they’ll need a .gitignore file in the repository. Is there any automated way to convert hgignore to gitignore or vice versa?