克隆开发人员朋友正在处理的回购时,我的行为非常奇怪。在git clone
后,我立即在检查modified
时收到15个不同git status
个文件的列表。
当我执行git diff
时,我看到代码的实际更改。
-$this->title = 'Create Itemtype';
+$this->title = 'Create item type';
- <h1><?= Html::encode($this->title) ?></h1>
-
<?= $this->render('_form', [
git status
的结果如下:
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: backend/models/FeaturegroupItem.php
modified: backend/models/FeaturegroupItemSearch.php
modified: backend/models/VendorItemquestionansweroption.php
modified: backend/models/VendorItemquestionansweroptionSearch.php
modified: backend/modules/admin/views/Itemtype/_form.php
modified: backend/modules/admin/views/Itemtype/create.php
modified: backend/modules/admin/views/Itemtype/index.php
modified: backend/modules/admin/views/Itemtype/update.php
modified: backend/modules/admin/views/vendorItemquestionansweroption/_form.php
modified: backend/modules/admin/views/vendorItemquestionansweroption/_search.php
modified: backend/modules/admin/views/vendorItemquestionansweroption/create.php
modified: backend/modules/admin/views/vendorItemquestionansweroption/index.php
modified: backend/modules/admin/views/vendorItemquestionansweroption/update.php
modified: backend/modules/admin/views/vendorItemquestionansweroption/view.php
no changes added to commit (use "git add" and/or "git commit -a")