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??

3 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

What worked for me:

log in to your 1&1 server using ssh, then:

  • mkdir project.git
  • cd project.git
  • git init --bare

disconnect, then type from the client side:

The encryption keys went very smoothly.

Comment

Log in or Sign up to comment
Community showcase
Published Monday in Teamwork

The tools we make for teams? We use them every day at Atlassian to get shit done (and it works).

I’m Jess, a Product Marketer for Jira Software Server and Data Center, and now a huge fan of our products. Read on for a 90 day, new-hire perspective on what it’s like to standardize on the Atlassian...

43 views 0 3
Read article

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