Tag: Git
-
Post Views: 18 Seamlessly migrate from Windows WSL2 to Ubuntu bare metal, build Go development environments based on existing MySQL/Redis containers, and access custom networks. 📌 Preface I have been learning in Windows 10 + WSL2 before go-gin-learning Project, now to brand new Ubuntu 26.04 system. I hope to continue to use Docker to isolate the sending environment, and at…
-
Post Views: 42 1. Reference: Build a RESTful API (go.dev) with Go and Ginhttps://go.dev/doc/tutorial/web-service-gin— Go official tutorial for building simple web services with GIN. 2. Install Go. Docker Compose One-click startup (refer to Hyperf project). I want to ‘write a good configuration, a command starts the entire development environment’, which is most convenient to use docker-compose.yml, which is almost the…
-
Post Views: 21 1. Reference:Atomicals-JS code to play new tutorial. 2. Node.js has been installed, the current Node version is already the latest LTS version 3. Git has been installed. 4. Enter the D drive, create a new atomicals folder, and double-click to enter this folder. Enter cmd where the path is displayed above and press the Enter key. To…
-
Post Views: 36 1. Reference:Install Shopify CLI 3.0 (based on Node.js) in Windows 10 Professional, check in advance whether the corresponding requirements are met . 2. Reference:The requirements in Linux are as follows 3. Node.js is not installed, refer to:Installation . Installation failed. 4. Execute the command: sudo apt-get update 5. Execute the command again: sudo apt-get install -y nodejs,…
-
Post Views: 21 1. TortoiseGit detects that the file does not exist, but has been temporarily stored as “Add” or “Modify” in “Index”. The Submit dialog box cannot be handled. Do you want to recover or delete it from the index? Recover this file from the index (E) Remove this file (R) from the index and ignore it. as shown…
-
Post Views: 17 1. View the directory structure in GitLab, there are directories: ThemeStoreDB, TheMeStoreDB, this is because the directory ThemeStoreDB is renamed to ThemeStoreDb, and the old-based The code of ThemeStoreDB is caused by the code. as shown in Figure 1 2. On the disk of the local Windows 10, only the directory ThemeStoreDB exists. After the code is…
-
Post Views: 17 1. Now you need to apply some commits on branch A to branch B. 2. Switch to branch: B, execute the command: git cherry-pick fbf19e86. Error: Conflict (Content): merge Conflict in platform/app/services/themeservice.php . Error: could not apply fbf19e86f4… . as shown in Figure 1 3. The reason was found. The reason is that there are still some…
-
Post Views: 16 1. In the Git-based operation, branch A is behind B, and A will advance to B quickly. Click the button to start (fast forward). as shown in Figure 1 2. When changing the base again, it prompts: no need to change the base, A is equivalent to B. as shown in Figure 2 3. Check the git…
-
Post Views: 16 1. After the Git branch – after transformation, there are 2 submissions that are duplicated. as shown in Figure 1 2. Reset the version to the last submission today, as shown in Figure 2 3. Reset type: hard reset. 4. The local repository has been reset to the last commit today. 2 submissions will not be repeated.…