Re: GIT: how do I update my local copy?



Nathan Froyd wrote:
On Mon, Apr 27, 2009 at 11:53 PM, Allan Duncan <amd2345 fastmail com au> wrote:
git clone git://git.gnome.org/librep
Initialized empty Git repository in /home/alland/Sawfish/librep/.git/
remote: Counting objects: 15678, done.
remote: Compressing objects: 100% (3728/3728), done.
remote: Total 15678 (delta 11845), reused 15678 (delta 11845)
Receiving objects: 100% (15678/15678), 2.84 MiB | 159 KiB/s, done.
Resolving deltas: 100% (11845/11845), done.
git pull librep
fatal: Not a git repository

You need to cd into the librep directory first and then say 'git pull'.

Thankyou.

Interesting.
    git pull <options> <repository> <refspec>...
is really
    git pull [<options>] [<repository>] [<refspec>...]
or maybe
    git pull [<options>] [<repository> <refspec>...]


Back to the other part of the question, how do you preserve timestamps?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]