From: Insitu <abailly@oqube.com>
To: git@vger.kernel.org
Subject: Newbie problem
Date: Sat, 28 Jul 2007 09:20:22 +0200 [thread overview]
Message-ID: <87vec5vvt5.fsf@osquare.oqube.com> (raw)
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 reply other threads:[~2007-07-28 7:30 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-28 7:20 Insitu [this message]
2007-07-28 8:01 ` Newbie problem Junio C Hamano
2007-07-28 8:50 ` Insitu
-- strict thread matches above, loose matches on Subject: below --
2003-02-17 8:49 newbie problem Eugene Joubert
2003-02-17 10:48 ` Chris Barnes
2003-02-17 7:43 Chris Barnes
2003-02-17 8:09 ` Joel Newkirk
2003-02-17 10:31 ` Chris Barnes
2003-02-17 8:25 ` Ralf Spenneberg
2003-02-20 11:39 ` Eric Constantineau
2003-02-17 9:00 ` Ralf Spenneberg
[not found] ` <1045470029.2231.54.camel@kermit.spenneberg.de>
[not found] ` <1045477595.21053.2.camel@billybob.back2front.homelinux.org>
2003-02-17 10:27 ` Ralf Spenneberg
2002-04-25 17:19 Newbie problem Ed Vance
2002-04-25 17:37 ` Bahadir Karuv
2002-04-25 16:53 Ed Vance
2002-04-25 17:12 ` Bahadir Karuv
2002-04-25 15:58 Bahadir Karuv
2001-07-24 21:17 Frank Akujobi
2001-07-24 21:34 ` Joel Jaeggli
2001-07-24 21:36 ` Stephen M. Williams
2001-07-24 21:36 ` Paul G. Allen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vec5vvt5.fsf@osquare.oqube.com \
--to=abailly@oqube.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.