What is going on during git's “remote processing”

旧街凉风 提交于 2019-12-20 03:36:12

问题


Every time I push to a git remote there is a line that says "remote: processing..." This usually goes really fast when I push to github or Bitbucket but when I push to an Amazon Beanstalk deployment it takes between 10 seconds and 2 minutes".

What exactly is the remote "processing"?


回答1:


I assume you refer to git aws.push that takes so long. The reason is that git push submits your changed files (commits) to the remote git repository while git aws.push issues AWS API commands to transfer your files to Elastic Beanstalk.
To see that, you can check out the script that's executed during this command. run this:
cat .git/AWSDevTools/aws.elasticbeanstalk.push

You'll see that the so called git aws.push command is actually a script that uses AWS API and has nothing to do with git repositories.



来源:https://stackoverflow.com/questions/23144160/what-is-going-on-during-gits-remote-processing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!