リモート環境のサーバーからローカルにpullしたいのですが、
WinSCpなどでログインできるパスワードを入力するのですが、下記のように弾かれてしまいます。
xxxxxxxxx@xxx-xxx-xxxx.vs.sakura.ne.jp's password: Permission denied, please try again. xxxxxxxxx@xxx-xxx-xxxx.vs.sakura.ne.jp's password: fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
ローカル環境とリモート環境でgit remote -v をした時に
=======ローカル環境============================
origin xxx-xxx-xxxx.vs.sakura.ne.jp:/var/www/html/xxxxx.xyz/xxx-xxxxxxxxxxxx (fetch) origin xxx-xxx-xxxx.vs.sakura.ne.jp:/var/www/html/xxxxx.xyz/xxx-xxxxxxxxxxxx (push)
●git statusを実施
fatal: unable to read tree 27dfe9b189adbe20ff7897af5ecedccadeae8066
=======リモート環境============================
何も表示されないです。
●git statusを実施
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) deleted: .gitignore modified: .htaccess deleted: Gruntfile.js #その他大量にあるため記載省略 Untracked files: (use "git add <file>..." to include in what will be committed) .htpasswd #その他大量にあるため記載省略
これまでgitを使用せずにローカルで開発したものをWinSCPなどで上げていたので、それをgitで管理したいと思って聞いてみました。
教えていただけると幸いです。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/10/05 09:18
2018/10/05 09:19
2018/10/05 09:31
2018/10/05 09:35