0
我正在使用Eclipse與git遠程存儲庫。未與Git和Bitbucket同步的文件夾
出於某種原因,有一個文件夾(和所有子文件夾)不與遠程存儲庫同步。這些文件夾內的修改文件不會顯示星號(*),因此,它們不能分階段提交。
當我進入www.bitbucket.org查看我的項目時,我在該文件夾中得到的只是帶有藍色箭頭的圖標,旁邊是我的「無文件夾」名稱,而不是普通文件夾圖標,這是出現在可以到達並同步的文件夾旁邊的文件夾。
選項 - >團隊 - >添加索引不工作。 git add <folder>
既不
我做錯了什麼?任何想法?
非常感謝
佩德羅
這裏有git的狀態轉儲:
# On branch master
# Changes not staged for commit:
# (use "git add/rm <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
# (commit or discard the untracked or modified content in submodules)
#
# modified: .project
# modified: app/AppKernel.php
# modified: app/bootstrap.php.cache
# deleted: app/cache/dev/annotations/Acme-DemoBundle-Controller-DemoController #contactAction.cache.php
# deleted: app/cache/dev/annotations/Acme-DemoBundle-Controller-DemoController #helloAction.cache.php
# deleted: app/cache/dev/annotations/Acme-DemoBundle-Controller-DemoController #indexAction.cache.php
# deleted: app/cache/dev/annotations/Acme-DemoBundle-Controller-DemoController.cache.php
# deleted: app/cache/dev/annotations/Xtremapp-DemoBundle-Controller-SecuredController #loginAction.cache.php
# deleted: app/cache/dev/annotations/Xtremapp-DemoBundle-Controller-SecuredController #logoutAction.cache.php
# deleted: app/cache/dev/annotations/Xtremapp-DemoBundle-Controller-SecuredController #securityCheckAction.cache.php
# deleted: app/cache/dev/annotations/Xtremapp-DemoBundle-Controller-SecuredController.cache.php
# deleted: app/cache/dev/annotations/Xtremapp-DemoBundle-Controller-WelcomeController #indexAction.cache.php
# modified: app/cache/dev/appDevDebugProjectContainer.php
# modified: app/cache/dev/appDevDebugProjectContainer.php.meta
# modified: app/cache/dev/appDevDebugProjectContainer.xml
# modified: app/cache/dev/appDevDebugProjectContainerCompiler.log
# modified: app/cache/dev/appdevUrlGenerator.php
# modified: app/cache/dev/appdevUrlGenerator.php.meta
# modified: app/cache/dev/appdevUrlMatcher.php
# modified: app/cache/dev/appdevUrlMatcher.php.meta
# deleted: app/cache/dev/assetic/config/0/064cba00a41b006ad8ca939936416158.php
# modified: app/config/config.yml
# modified: app/config/config_dev.yml
# modified: app/config/routing.yml
# modified: app/config/routing_dev.yml
# modified: app/config/security.yml
# modified: deps
# modified: src/Acme/StoreBundle/Controller/ConfigurationController.php
# modified: src/Acme/StoreBundle/Resources/translations/messages.es.yml
# modified: src/Acme/StoreBundle/Resources/views/layout.html.twig
# modified: vendor/bundles/FOS/UserBundle (modified content, untracked content)
# modified: vendor/doctrine (modified content, untracked content)
# modified: vendor/symfony (modified content)
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# .gitignore
# .settings/
# app/AcmeStoreBundle.php
# app/Common/
# app/Resources/
# app/cache/dev/annotations/Acme-StoreBundle-Controller-ConfigurationController #confAction.cache.php
# app/cache/dev/annotations/Acme-StoreBundle-Controller-ConfigurationController #configurationAction.cache.php
# app/cache/dev/annotations/Acme-StoreBundle-Controller-ConfigurationController #saveConfigurationAction.cache.php
# app/cache/dev/twig/98/
# app/cache/dev/twig/99/
# app/cache/dev/twig/9b/
# app/cache/dev/twig/a0/
# app/cache/dev/twig/a4/
# app/cache/dev/twig/ac/
# app/cache/dev/twig/ae/
# app/cache/dev/twig/b0/
# app/cache/dev/twig/b3/
# app/cache/dev/twig/b9/
# app/cache/dev/twig/bb/
# app/cache/dev/twig/bc/
# app/cache/dev/twig/bd/
# app/cache/dev/twig/c0/3a/
# app/cache/dev/twig/c0/89/
# app/cache/dev/twig/c2/
# app/cache/dev/twig/c5/
# app/cache/dev/twig/c6/
# app/cache/dev/twig/c8/
# app/cache/dev/twig/c9/
# app/cache/dev/twig/ca/
# app/cache/dev/twig/ce/
# app/cache/dev/twig/e4/
# app/cache/dev/twig/ec/
# app/cache/dev/twig/ee/
# app/cache/dev/twig/ef/
# app/cache/dev/twig/f0/
# app/cache/dev/twig/f3/
# app/cache/dev/twig/f4/
# app/cache/dev/twig/f6/
# app/logs/
# src/Acme/StoreBundle/.DS_Store
# src/Acme/StoreBundle/Resources/.DS_Store
# src/Acme/StoreBundle/Resources/views/Configuration/
# web/bundles/fosjsrouting
重新編輯與我想要的一個文件夾的.gitignorer被列入,並不。 phpunit.xml 測試/ autoload.php nbproject的 的catalog.xml 行走/ OM/* 行走/地圖/ *
!vendor/vendors.php
!vendor/*
其實,是的,o有。但是看起來像eclipse沒有對這個選項做任何事情。沒有確認信息,也沒有行動或變化。哪個命令可以從終端嘗試它? – ElPiter 2012-08-12 22:41:43
git添加文件夾名稱 – drjd 2012-08-12 22:53:36
沒有......這麼陌生的一切...我試着用git添加文件夾名稱。它顯然是這樣做的,因爲它不會給出任何錯誤。但是,當我回到eclipse和遠程git倉庫時,它仍然沒有同步。這裏丟失的種類:/ – ElPiter 2012-08-13 14:10:31