リモート git リポジトリとローカル リポジトリ (SmartGit を使用) に問題があります。
サーバー上に ssh 経由でリモート リポジトリを作成しています。
> cd ~
> git init repo.git
> cd repo.git
> touch readme
> git add .
> git commit -m "Initial commit"
ここから、すべてが完璧に見えます。今、コマンドで Smartgit を使用してレポのクローンを作成しようとしています
ssh://user@server:22/~/repo.git
すべてがうまくクローン化されています。readme ファイルに変更を加えて保存し、コミットしてプッシュしようとするとエラーが発生します。
The remote end hang up unexpectedly
git: '~/repo.git' is not a git command. See 'git --help'
私は何を間違っていますか?ありがとうございました。