Answer the question
In order to leave comments, you need to log in
GIT - '~/repo.git/' is not a git command
Problem when pushing from local repository to remote (SmartGit GUI).
On the server, I create a repository via ssh:
I clean via SmartGit
Everything is pulled out without any problems. I change the readme file, add, commit and push throws out an error:
Command:
Issues:
What am I doing wrong? Where to dig?
cd ~
git init repo.git
cd repo.git
touch readme
git add .
git commit -m "Initial commit"
ssh://[email protected]:22/~/repo.git
The remote end hang up unexpectedly
git: '~/repo.git' is not a git command. See 'git --help'
GIT_TRACE=2 git push origin master
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question