Skip to contentSkip to conversation

Initial setup question

DISCUSSION Noah Silverman 2 participants 2 messages Jun 15, 2016 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

So I've decided to start using git for a few projects.

I've created an initial repository on my laptop, but want to create a "master" repo on a remote server via SSH.

Using Gitx as a gui client.

I have ssh setup, keys, etc.

Can someone help me with the next step of pushing my initial repo up to the server as version 1?

Thanks!

-N

#2 lore raw
In reply to a message not in the archive

Hi Noah,

Quoted 6 lines · Noah Silverman

Using Gitx as a gui client.

I have ssh setup, keys, etc.

Can someone help me with the next step of pushing my initial repo up to the server as version 1?

  ssh some.host git init --bare /path/to/repo.git
  git remote add myrepo some.host:/path/to/repo.git
  git push myrepo master

I don’t know if Gitx has a button for this.

Hope that helps,
Jonathan