1. Create a new project on git, check "Initialize repository with a README"
2. Create a new directory locally, copy the project to the new directory, in this directory, right-click git bash here
Execute the following command
cd existing_folder
git init
git remote add origin [email protected]:op/test-team-projects/bosstest_django.git
git add .
git commit -m "Initial commit"
If an error occurs and it already exists, delete the .git file in the directory
3. Submit the code, execute git push (for example: git push origin feature/20210105), if there is no permission to create a branch, you need to find an administrator to add permissions
4. The code is successfully synchronized to gitlab