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
Posted Friday in Off-topic

Friday Fun: Dry T-Shirt Competition - What's your BEST (Atlassian) T-Shirt!?

[Note: So it was my turn for Friday Fun and sadly I was sick thanks to rubbish sinus infection... so apologies to most of Europe and Asia for the delayed post. However, I finally got out of bed for t...

145 views 9 3
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