Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Git in 1And1 web hosting server

disenosos
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 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 January 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?

disenosos
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 16, 2018

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

BillyP
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 16, 2018

Hello, 

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

-Billy

Jonathan BAILLEUL August 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
TAGS
AUG Leaders

Atlassian Community Events