【发布时间】:2012-11-01 03:16:54
【问题描述】:
我正在使用git 来部署我的站点,但是,我试图弄清楚为什么使用以下script,文件不断累积在我的working copy 列表中。这意味着,我提交并推送到我的裸存储库的每个不同文件都被列为:M filename.php
另外,我想知道以下警告是什么意思?以及如何避免它们?
To mike@server10:/home/www/site1/.git
07155f1..e80c2db master -> master
Push to checked out branch refs/heads/master
W:unstaged changes found in working copy
W:stashing dirty working copy - see git-stash(1)
Saved working directory and index state "On (no branch): dirty working copy before update to e80c2db3212a7eb33da2e218001122e0decae640"
Checking out files: 100% (6362/6362), done.
HEAD is now at 07155f1 updated file path
trapped 22921
Updating working copy
M image.php
M ask.php
M basic.php
HEAD is now at e80c2db updated text style
谢谢
【问题讨论】:
标签: git deployment push