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



Allan Duncan <amd2345 fastmail com au> writes:

> If I want to get any changes made to the original repo, what is the
> command needed? I tried a few likely ones, but can't crack it. My
> current workaround is to rename the local repo and do the clone again,
> then try and find the changes.

I use the following commands to fetch+review+merge changes:

    git fetch
    git log -p --stat HEAD..origin
    git merge origin




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