git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Newbie problem

From
IInsitu <abailly@oqube.com>
Date
Jul 28, 2007, 07:20 UTC
Message-ID
<87vec5vvt5.fsf@osquare.oqube.com>
Hello, 
I am new to git and gave it a try to version my home dir and
synchronize it between two machines. It works but I think I did some
mistakes in my setup which make its usability non optimal: 
 - push/pull operations need remote address
 - I didn't set up any branch

Here is what I did (lap is for operations on laptop, pc on desktop): lap> git init lap> git add ... lap> git commit ... lap> scp .git pc: lap> mv .git git-init pc> git checkout . pc> git commit ... lap> git clone -n --bare --reference git-init/ ssh://pc/~/.git lap> git checkout . lap> git add ... lap> git commit

Now, I want to be able to do: lap> git push or lap> git pull

instead of lap> git push ssh://pc/~/.git

I think I need to reconfigure my remote branches/origin on laptop but don't want ot break everything.

Help appreciated,
-- 
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com
Next: Junio C Hamano
Message 1 of 3 in “Newbie problem”
  1. InsituJul 28, 2007
  2. Junio C HamanoJul 28, 2007
  3. InsituJul 28, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.