It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
Highlighted

Git in 1And1 web hosting server

Stiven Ochoa Jan 13, 2018

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

Amanda Deol Jan 15, 2018

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?

Stiven Ochoa Jan 16, 2018 • edited

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

Billy Poggi Community Leader Jan 16, 2018

Hello, 

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

-Billy

Jonathan BAILLEUL Aug 29, 2018

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

Disney Live Action Reboots: Are you for or against?

Happy Friday Everyone! Today marks the international release of Disney's live action version of the animated classic Aladdin. I know that this movie was met with some controversy of over cast...

192 views 21 10
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you