Git push takes forever

前端 未结 6 1301
小蘑菇
小蘑菇 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 11:57

    Try using the --verbose option to see what actually happens. Even if you did small changes, some internal things might cause git to push a lot more data.

    Have a look at git gc. It cleans up your local repository and might speed up things, depending on you issue. Backup strongly advised.

提交回复
热议问题