threads / discuss / 23787

Initial setup question

Subject: Initial setup question

## tl;dr

2 messages between May 12, 2010 and May 13, 2010.

replies: 1people: 2as markdown or json

Noah Silverman· May 12, 2010, 19:07 UTC · lore
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
Jonathan Nieder· May 13, 2010, 01:04 UTC · lore

Re: Initial setup question

Hi Noah,
Noah Silverman wrote:
Show 6 quoted lines
> 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

← back to recent threads