Gitignore not working - want to ignore everything but gitignore file to keep an 'empty' directory?

Are you expecting the double-quote to act like a comment in your . Gitignore file? You've got this... * " Ignore everything in this directory!.

Gitignore " Except this file ...but that's doing what you want. If you replace it with simply: *!. Gitignore It will work just fine.

Watch: $ ls -A dir1 . Git $ ls -A dir1 . Gitignore $ cat dir1/.

Gitignore *!. Gitignore $ git status # On branch master nothing to commit (working directory clean) $ touch dir1/file{1,2,3} $ ls -A dir1 file1 file2 file3 . Gitignore $ git status # On branch master nothing to commit (working directory clean).

If you have a file that lives in the Git repository, and you want to change it locally, but don't want to push it back to the repository, you can use the git update-index --assume-unchanged command. " - juststuffreally.blogspot.com/2008/10/if-... git update-index --assume-unchanged log/ might be /log or /log.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions