Start by forking the SolidUI GitHub repository, make changes in a branch and then send a pull request.
There are three branches in the remote repository currently:
-
dev: the daily development branch. The daily development branch, the newly submitted code can be pulled to this branch, and the release version will be created from dev when the release is ready -
x.x.x-release: the stable release version.
So, you should fork the dev branch.
After forking the SolidUI upstream source repository to your personal repository, you can set your personal development environment.
cd <your work direcotry>
git clone <your personal forked SolidUI repo>
cd SolidUIAdd remote repository address, named upstream
git remote add upstream https://github.com/CloudOrc/SolidUI.gitView repository:
git remote -vThere will be two repositories at this time: origin (your own warehouse) and upstream (remote repository)
Get/update remote repository code (already the latest code, skip it).
git fetch upstreamSynchronize remote repository code to local repository
git checkout origin/dev
git merge --no-ff upstream/devIf remote branch has a new branch dev, you need to synchronize this branch to the local repository, then push to your own repository.
git checkout -b dev upstream/dev
git push --set-upstream origin devBefore making code changes, make sure you create a separate branch for them.
git checkout -b <your-feature-branch> devAfter modifying the code locally, submit it to your own repository:
git commit -m 'information about your feature'Push your locally committed changes to the remote origin (your fork).
git push origin <your-feature-branch>