git init ve git add * dedikten sonra şu hatayı alıyorum . Ne yapmam gerekir?
The following paths are ignored by one of your .gitignore files: vendor Use -f if you really want to add them.
git init ve git add * dedikten sonra şu hatayı alıyorum . Ne yapmam gerekir?
The following paths are ignored by one of your .gitignore files: vendor Use -f if you really want to add them.
// Comments are closed.
commit yapmaya çalışırken directory ye dikkat etmemişim. .git klasörü var mı altında yok mu emin olmak gerekiyor.
diyelim ki .git dosyan program adındaki projen var “program” dosyasının altında bir tane de antivirus programı adlı dosya var. sen commit yapmaya calıştığın directory program değil de program/antivirüs deyken yaparsan hata alırsın. Çünkü bulunduğun konumun içinde .git dosyası yok bir klasör dıştadır . commit ederken bulunduğum path ‘e dikkat etmem gerekiyor yani.
Şu linkler de yararlı olabilir.
http://stackoverflow.com/questions/15288712/gitignore-whitelist-on-directory-and-its-contents
http://stackoverflow.com/questions/9436405/git-is-ignoring-files-that-arent-in-gitignore