[git-users] Delete only explicitly files

2011-03-07 Thread tombert
Hi all, currently evaluating the use of git: one point that doesn' t fit me is that when I delete a folder in my repository, the commit automatically commits the deleted files. This I dont want! It should behave in the same way as adding files - only those files marked with "git add" are commited

Re: [git-users] Delete only explicitly files

2011-03-07 Thread Konstantin Khomoutov
On Mon, Mar 07, 2011 at 01:22:30AM -0800, tombert wrote: > currently evaluating the use of git: one point that doesn' t fit me is > that when I delete a folder in my repository, the commit automatically > commits the deleted files. > This I dont want! > > It should behave in the same way as addin

[git-users] Using existing .gitmodules file?

2011-03-07 Thread cootcraig
I'm fairly new to git and struggling with submodules. I want set up a git project for my dotfiles, using examples found on github. In particular I want to start with a populated .gitmodules file. I tried copying it into top level of my git project and running git submodule init git submodule u

[git-users] Re: Delete only explicitly files

2011-03-07 Thread tombert
Sorry for the bad description. So this are all folders: root folder - generic modules1 - generic modules2 - sub-projects -- sub-project1 -- sub-project2 in the root folder I say: git init git add . git commit then delete e.g. sub-project1 folder rm -r sub-project1 then commiting git commi