1

Drupal のコマンドライン ツール Drush を使用して、自分のサイトのローカル コピーでコア アップデートをテストしていました。更新が成功したかどうかは不明ですが、私の git リポジトリが破壊されたようです。WAMP スタックで GitBash を使用していますが、次のようになります。

myuser@my-computer /c/wamp/www (d7upgrade)
$ drush pm-upgrade drupal
<.. whole bunch of drush output ..>

myuser@my-computer /c/wamp/www ((unknown))
$ git status
fatal: Not a git repository (or any of the parent directories): .git

ただし、.gitディレクトリは /c/wamp/www で確認できます。空ではありません。実際にはand (私の最新のブランチ).git\refs\headsという名前のファイルが含まれています。masterd7upgrade

Git リポジトリを復元できますか?

4

0 に答える 0