Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #5110

Closed
Open
Created Sep 17, 2013 by Administrator@rootOwner

Commit history doesn't appear after 'git push'

Created by: doubleyou

root@precise:/home/git/gitlab# sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production

System information
System:     Ubuntu 12.04
Current User:   git
Using RVM:  no
Ruby Version:   2.0.0p247
Gem Version:    2.0.3
Bundler Version:1.3.5
Rake Version:   10.1.0

GitLab information
Version:    6.1.0.rc1
Revision:   16b6040
Directory:  /home/git/gitlab
DB Adapter: postgresql
URL:        http://10.0.1.179
HTTP Clone URL: http://10.0.1.179/some-project.git
SSH Clone URL:  git@10.0.1.179:some-project.git
Using LDAP: yes
Using Omniauth: no

GitLab Shell
Version:    1.7.1
Repositories:   /home/git/repositories/
Hooks:      /home/git/gitlab-shell/hooks/
Git:        /usr/bin/git

Once I do git push, it goes through and the repository on the GitLab side is updated. However, GitLab still thinks repo is empty.

Checked permissions – they seem to be okay:

root@precise:/home/git/repositories# ls -la
total 16
drwxrws--- 4 git git 4096 Sep 17 07:21 .
drwxr-xr-x 8 git git 4096 Sep 17 07:34 ..
drwxrwx--- 4 git git 4096 Sep 17 07:55 dem
drwxrwx--- 2 git git 4096 Sep 17 00:36 root
root@precise:/home/git/repositories# cd dem/
root@precise:/home/git/repositories/dem# ls -la
total 16
drwxrwx--- 4 git git 4096 Sep 17 07:55 .
drwxrws--- 4 git git 4096 Sep 17 07:21 ..
drwxrwx--- 7 git git 4096 Sep 17 07:53 ansible-config.git
drwxrwx--- 7 git git 4096 Sep 17 07:55 ansible-config.wiki.git

No useful errors in all the logs. Tried to run post-commit hook manually, but it didn't help either.

Assignee
Assign to
Time tracking