Skip to content

How to Keep Your Code Up-to-Date

If you are developing based on this project and wish to continuously sync updates from the open-source repository, it is recommended to configure and operate as follows:

  1. Clone the source code
bash
git clone https://github.com/Daymychen/art-design-pro
  1. Add your own git repository as a remote source
bash
# Add remote source ('up' is a custom name, you can change it as needed)

git remote add up <your-git-url>
  1. Push code to your own repository
bash
# Push the code to your own Git repository

# Note: 'main' is the branch name, please replace it according to your actual branch

git push up main
  1. Sync the latest code from your own repository (optional)
bash
# Pull updates from your own remote repository

git pull up main
  1. Sync the latest code from the open-source project (recommended to do regularly)
bash
# Pull the latest code from the open-source repository ('main' is the default main branch, please modify as needed)

git pull origin main

Note: Before syncing updates, it is recommended to first use git pull to pull the code and handle conflicts, ensuring that local changes will not be overwritten. After merging, push to your remote repository.

Released under the MIT License