Csq Contribution Workflow
-
Fork the Repository:
- Click "Fork" on the Csq repository on GitHub.
-
Clone Your Fork:
- Clone your fork locally.
$ git clone https://github.com/YourUsername/csq $ cd csq
- Clone your fork locally.
-
Set Up Remote References:
- Add a reference to the original repository.
$ git remote add upstream https://github.com/CsqLang/Csq.git $ git fetch upstream
- Add a reference to the original repository.
-
Create a Feature Branch:
- Create and switch to a new branch for your feature.
$ git checkout -b my-feature
- Create and switch to a new branch for your feature.
-
Make Changes and Commit:
- Implement changes, stage, and commit.
$ git add . $ git commit -m "Description of changes"
- Implement changes, stage, and commit.
-
Update Your Fork:
- Fetch changes from the original repository.
$ git pull upstream master
- Fetch changes from the original repository.
-
Push Changes to Your Fork:
- Push your changes to your GitHub fork.
$ git push origin my-feature
- Push your changes to your GitHub fork.
-
Create a Pull Request:
- Visit your fork on GitHub and create a pull request.