每当我推送提交时,它都会转到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.
答案 0 :(得分:0)
键入git remote -v
时,您的BitBucket存储库是否显示?
推送时,请尝试:git push origin master
,其中origin
是遥控器的名称,master
是分支的名称。