简体   繁体   中英

The project disappear from gitweb after a git push

I use gitolite to host my source code, and setup a website using gitweb to display all my projects. At the beginning, all projects are shown correctly via gitweb, however, after I modified one project and do a git push, it disappeared immediately from the project list.

Every project, whenever I do a git push on it, it will disappear from the project list of the gitweb. Then if I do a "git clone --bare" of that project and replace the original one, it will be back in the project again...

Anyone encounter the same problem?

ps I make a "git clone --bare" and do a "git push", then diff it with the original one, what I get is:

Only in test.git/objects: 86 Only in test.git/objects: af Only in test.git/objects: f4 Only in test.git/refs/heads: master

a new file with master's commit id is created.

It depends:

"disappear" means the authentication you did enter at the Apache level isn't one of the authorized reader.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM