Git
Git Tips You Didn't Know
· β˜• 3 min read
1. Pages GitHub, GitLab, Bitbucket and others all offer a free static page hosting service called Pages. With the Pages service you can publish documentation, blogs, and more. Taking GitHub as an example, using Pages usually takes just a few simple steps: Create a new project: [username].github.io Commit static html

Git and Development Environment Setup
· β˜• 2 min read
Compiled from the “Development Tips” series, gathering practices around Git collaboration and development environment setup. 1. warning: LF will be replaced by CRLF Windows, Linux, and Mac are inconsistent in how they mark line endings in files. Windows uses CRLF as the terminator, while Linux and Mac use LF. Git

How to Synchronize and Back Up a Git Repository
· β˜• 1 min read
Because the Git repository currently in use is about to become unavailable, the repository code needs to be migrated to a new Git repository. The specific procedure is as follows: Log in to the new repository and create a repository. After creation, the new repository address is: http://gitlab.your-new-domain.com/project.git Clone the old repository as a mirror locally: 1 2 3 git clone --mirror http://gitlab.

How to Use Docker to Develop Personal Projects
· β˜• 2 min read
1. About Personal Projects Why emphasize that they are personal projects? Commercial projects have lengthy processes around code hosting, development, operations, and deployment. For an individual developer, such processes are too expensive and work against rapid project iteration. A personal project might be a Demo for learning. Building a Demo

A Git-Based Frontend and Backend Development Workflow
· β˜• 5 min read
Recently I took part in a project developed collaboratively by several people, and ran into quite a few problems along the way. For example: a frontend commit overwrote backend code, conflicts were left unresolved and turned into rework, someone committed to branch B, or committed straight to the Master branch.