Git push takes forever

前端 未结 6 1325
小蘑菇
小蘑菇 2020-12-25 11:36

When I am trying to push to my remote git repository, but it is taking forever and nothing happens. I waited for so long, but push is never getting finished. My OS is Ubuntu

6条回答
  •  难免孤独
    2020-12-25 12:16

    Please check the permission rights on the remote dir. In my case, after setting the correct permissions by chown -R user.group /dir, the commit is correctly finished:

    $ git push --verbose
    Pushing to ssh://user@domain.zone:port/dir
    user@domain.zone's password:
    Counting objects: ...
    ...
    Total 123 (delta 21), reused 16 (delta 12)
    To ssh://domain.zone:port/dir
     * [new branch]      master -> master
    updating local tracking ref 'refs/remotes/origin/master'
    

提交回复
热议问题