Newbie problem
- From
- Insitu <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