hello, How to add multiple folders in GIT.
something like this, I have git repo as below projectFolder --> .git --> folder1 -->subfolder1 --> files -->folder2 --> subfolder2 subfolder21 --> files(1--n) and I want add multiple new folders --> .git --> folder1 -->subfolder1 --> files -->folder2 --> subfolder2 subfolder21 --> files(1--n) -->newfolder1 -->newSubFolder1 --> files(1...N) -->newFolder2 -->newSubFolder2 -->newSubFolder21 --> files(1...N) The ones shaded in yellow are similar folder structure need to be added it will have multiple folders with multiple files in it. When I copy the folder the 'git status' doesn't show any new folders added. git add -A doesn't help. Please let me how to add folders and subfolders with files within it. Thanks, On Wednesday, December 7, 2011 at 6:47:10 AM UTC-8, Thomas Ferris Nicolaisen wrote: > > From git add --help > > -A, --all > Like -u, but match <filepattern> against files in the working > tree in addition to the index. That means that it will find new files as > well as staging modified content and > removing files that are no longer in the working tree. > > In other words, "git add ." will only add new files and modified files to > the index to be committed. It will not schedule removed files for deletion. > > If I've done a lot of restructuring, and moved a lot files around, I try > to always use add -A so I don't forget committing file deletions. > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.