Category: Git Tools
-
Post Views: 47 1. The group of the existing project and its names are: PHP, PCS-API, as shown in Figure 1 2. In settings -> general -> advanced settings, the php in the path is not allowed to be modified, as shown in Figure 2 3. In Settings -> General -> Export Project, export the project and all related data,…
-
Post Views: 17 1. When pushing based on TortoiseGit, prompt: The input source reference is not clear, as shown in Figure 1 2. Analyze the reason, it is that there are branches and labels with the same name at the same time, the name is: fixbug-1.3.26-alpha.3, as shown in Figure 2 3. According to the prompt, add refs/heads/ as the…
-
Post Views: 13 1. On the develop branch in the local environment, execute the console command and report an error: as shown in Figure 1 2. Since this bug has been fixed in a single commit (EE8290) on the feature-netease branch, as shown in Figure 2 Therefore, it is decided to merge a single commit (EE8290) on the develop branch…
-
Post Views: 16 1. View the commit on the develop branch on GitLab, as shown in Figure 1 2. View the commit on the wx-auth branch on gitlab, as shown in Figure 2 3. In the local repository, switch to the develop branch, right-click, and TortoiseGit -> Merge, as shown in Figure 3 4. From the remotes/origin/wx-auth branch (why the…
-
Post Views: 14 1. In the submission of a developer, there is a conflicting file, and the conflict is forced to submit, as shown in Figure 1 2. Decide to delete several possible conflicting files to delete, and reset the version to the latest valid submission, as shown in Figure 2 3. Select hard reset, and discard all subsequent commits…
-
Post Views: 14 1. shuijingwan/yii2-app-advanced (github), as shown in Figure 1 (1) Project maintainer: wangqiang (2) Public warehouse:https://github.com/shuijingwan/yii2-app-advanced.git (3) Visible grade of public warehouse: public (4) The maintainer clones from the public warehouse, and performs pull and push in his own local repository (github-shuijingwan-yii2-app-advanced). (5) Branch: long-term branch: master; short-term branch: function (feature) branch, pre-release (release) branch, patch bug (fixbug)…
-
Post Views: 73 1. Delete the controller \API\Controllers\SiteController.php, delete the model \api\models\contactform.php, \api\models\loginform.php, \api\models\PasswordResetRequ estform.php, \api\models\resetpasswordform.php, \api\models\signupform.php, delete the directory (view related) \api\views, \api\assets, \api\web\css 2. Delete the relevant files of the test (unit test, functional test, acceptance test), delete \api\tests\acceptance\homecest.php, delete \API\Tests\Functional\AboutCest.php, \API\Tests\Functional\ContactCest.php, \API\Tests\Functio NAL\HOMECEST.php, \API\Tests\Functional\logincest.php, \api\tests\functional\signupcest.php, delete \API\Tests\Unit\Models\ContactFormTest.php, \API\Tests\Unit\Models\PasswordResetRequestFormTest .php, \api\tests\unit\models\resetpasswordformtest.php, \api\tests\unit\models\signupformtest.php 3. Run all the sample tests,…
-
Post Views: 64 1. Create a new warehouse, shuijingwan/yii2-app-advanced, as shown in Figure 1 Yii 2 advanced project template, the template includes four layers: interface (the API to implement the RESTful style web service service), front-end, back-end and console, each of which is a separate YII application. 2. Successfully created the warehouse, as shown in Figure 2 3. Use the…