Re: git push from client is not updating files on server
- From
- Jerome Yanga <jerome.yanga@gmail.com>
- Date
- Mar 6, 2012, 23:07 UTC
- Message-ID
- <CAC0z1F87ORZQmrZeMGo2suV1fAt-5mAwwpkkV3ZTx0US3AjM8Q@mail.gmail.com>
- In-Reply-To
- <CAC0z1F_LYRkReO1qqcjkWy6Vb3E0_oNo-0kSf15nGfQFAtXpdg@mail.gmail.com>
Is there a way to make git write to the working directory of the central public server?
Please be nice to the newbee. I am merely learning Git.
Regards, j
On Tue, Mar 6, 2012 at 3:05 PM, Jerome Yanga <jerome.yanga@gmail.com> wrote:
Show 35 quoted lines
> Please be nice to the newbee. I am merely learning Git. > > Regards, > j > > On Tue, Mar 6, 2012 at 3:02 PM, Jerome Yanga <jerome.yanga@gmail.com> wrote: >> Is there a way to make git write to the working directory of the >> central public server? >> >> Regards, >> j >> >> On Tue, Mar 6, 2012 at 1:21 PM, Neal Kreitzinger <nkreitzinger@gmail.com> wrote: >>> On 3/6/2012 3:12 PM, Neal Kreitzinger wrote: >>>> >>>> On 3/6/2012 10:52 AM, Jerome Yanga wrote: >>>>> >>>>> >>>>> However, when I log into the central public Git server and look at >>>>> the files in the project, none of them have change. I can only see >>>>> the changes from the client via Gitweb. >>>>> >>>> Gitweb and gitk know how to look at .git (bare) repo and display the >>>> contents. (I use gitk to verify that a push did what I wanted.) There is >>>> no work-tree for a .git repo to do linux "ls" on. If you really want to >>>> use commandline you would have to use git commands like git-show, >>>> git-ls-files, git-cat-file, git-log, etc., to display and interrogate >>>> the contents of git objects (tags, commits, trees, blobs) in a .git repo. >>> >>> >>> scratch git-ls-files from that list. Its not much use for bare repos, >>> either. >>> >>> v/r, >>> neal