Git in 1And1 web hosting server

I have a web hosting with 1and1 and i have acces to SSH and my plan include a git, i traied to use with sourcetree but i cant to conect with my user of SSH, the terminal says "fatal: pathspec 'remote' did not match any files"
Previusly i used pwd inside the repo directory to know the real path

I already create a directory for a live webpage and repo directory.
Inside the repo directory i run git --bare and created a hook

some one can help my??

2 comments

Another Option - source tree has the option to install git when you install source tree

I would recommend to uninstall source tree and Install source tree again and this select option to install git and connect it with source tree. 

 

Just wondering why are you going with git-bare option?

I did the git -bare, becouse that its what they said :S
I use the client of sourcetree in windows 10
Now i tray to conect to me hosting adding a new remote, but sourcetree just ask the user name. How or where i can make by SSH ??
Its one of the options what i have in me hosting and its were i can enter to me hosting remotly.

P.D: In that hosting i have more than one site

Hello, 

Does ssh'ing directly to the 1and1 system function correctly?

-Billy

Comment

Log in or Join to comment
Community showcase
Season Hughes
Posted Thursday in Off-topic

Friday Fun: What's your go-to for cheering up?

When you need a quick pick-me-up, what do you turn to? It could be as simple as a piece of chocolate, a cup of tea, a funny YouTube video. Share your go-tos below!

284 views 24 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot