过程中发生了什么

过程中发生了什么

本文介绍了git的“远程处理"过程中发生了什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次我推到git remote时,都有一行显示"remote:processing ...".当我推送到github或Bitbucket时,这通常会非常快,但是当我推送到Amazon Beanstalk部署时,它需要10秒钟到2分钟."

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".

什么是远程处理"?

推荐答案

我假设您指的是花费很长时间的git aws.push.原因是git push将更改的文件提交(提交)到远程git存储库,而git aws.push发出AWS API命令以将文件传输到Elastic Beanstalk.
为此,您可以签出在此命令期间执行的脚本.运行此命令:
cat .git/AWSDevTools/aws.elasticbeanstalk.push

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

您将看到所谓的git aws.push命令实际上是一个使用AWS API的脚本,与git存储库无关.

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.

这篇关于git的“远程处理"过程中发生了什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 13:25