【问题标题】:My commits are deploying changes only once after i clone the repo在我克隆存储库后,我的提交仅部署一次更改
【发布时间】:2014-11-13 10:48:31
【问题描述】:

每当我推送提交时,它都会转到 bitbucket,但不会在网站上进行更改。但是每当我删除 sourcetree 中的 repo 并重新克隆它时,它会在我下次提交时进行更改。 我无法每次在 sourcetree 中删除并重新克隆它,所以请帮忙。

这是日志

2014-11-11 10:45:13-08:00 --- INFO: Attempting deployment...
2014-11-11 10:45:13-08:00 --- INFO: Changing working directory... 
2014-11-11 10:45:14-08:00 --- INFO: Reseting repository... HEAD is now at a665bed no message
2014-11-11 10:45:25-08:00 --- INFO: Pulling in changes... HEAD is now at a665bed no message Updating a665bed..94cd5b5 Fast-forward  img/bg_vip.jpg |  Bin 105494 -> 285014 bytes  index.php      |    2 +-  vip/index.php  |    6 +++---  3 files changed, 4 insertions(+), 4 deletions(-)
2014-11-11 10:45:25-08:00 --- INFO: Securing .git directory... 
2014-11-11 10:45:25-08:00 --- INFO: Updating wordpress database... 
2014-11-11 10:45:25-08:00 --- INFO: Deployment successful.
2014-11-11 22:11:24-08:00 --- INFO: Attempting deployment...
2014-11-11 22:11:24-08:00 --- INFO: Changing working directory... 
2014-11-11 22:11:31-08:00 --- INFO: Reseting repository... HEAD is now at 94cd5b5 no message
2014-11-11 22:11:31-08:00 --- INFO: Pulling in changes... HEAD is now at 94cd5b5 no message
2014-11-11 22:11:31-08:00 --- INFO: Securing .git directory... 
2014-11-11 22:11:31-08:00 --- INFO: Updating wordpress database... 
2014-11-11 22:11:31-08:00 --- INFO: Deployment successful.
2014-11-11 22:14:59-08:00 --- INFO: Attempting deployment...
2014-11-11 22:15:00-08:00 --- INFO: Changing working directory... 
2014-11-11 22:15:01-08:00 --- INFO: Reseting repository... HEAD is now at 94cd5b5 no message
2014-11-11 22:15:01-08:00 --- INFO: Pulling in changes... HEAD is now at 94cd5b5 no message
2014-11-11 22:15:01-08:00 --- INFO: Securing .git directory... 
2014-11-11 22:15:03-08:00 --- INFO: Updating wordpress database... 
2014-11-11 22:15:03-08:00 --- INFO: Deployment successful.
2014-11-11 22:17:05-08:00 --- INFO: Attempting deployment...
2014-11-11 22:17:05-08:00 --- INFO: Changing working directory... 
2014-11-11 22:17:06-08:00 --- INFO: Reseting repository... HEAD is now at 94cd5b5 no message
2014-11-11 22:17:06-08:00 --- INFO: Pulling in changes... HEAD is now at 94cd5b5 no message
2014-11-11 22:17:06-08:00 --- INFO: Securing .git directory... 
2014-11-11 22:17:06-08:00 --- INFO: Updating wordpress database... 
2014-11-11 22:17:06-08:00 --- INFO: Deployment successful.

【问题讨论】:

    标签: git deployment bitbucket atlassian-sourcetree


    【解决方案1】:

    当您输入 git remote -v 时,您的 BitBucket 存储库是否会显示? 当你推送时,尝试:git push origin master,其中origin 是远程的名称,master 是你的分支的名称。

    【讨论】:

      猜你喜欢
      • 2021-01-09
      • 2012-05-03
      • 1970-01-01
      • 1970-01-01
      • 2019-03-26
      • 2010-12-17
      • 2012-01-11
      • 2018-02-18
      • 2013-11-06
      相关资源
      最近更新 更多