Welcome🙏🏼 to the Website repo of devXsphere.
Follow these simple steps to make your first contribution:
First, fork this repository. Once done, you'll be redirected to your GitHub account where you'll have your own copy of the repo.
In your terminal, clone the repository to your local machine:
git clone https://github.com/<your-username>/Website-devxsphere.git
Move into the cloned directory:
cd Website-devxsphere
Before making any changes, set the upstream URL:
git remote add upstream https://github.com/DevXsphere/Website-devxsphere.git
# As a best practice, pull the latest changes before creating a new branch:
git pull upstream main --rebase
To avoid conflicts and follow best practices, create a new branch for your contribution:
# Replace <branch_name> with a meaningful name, e.g., add-feature, fix-issue.
git branch <branch_name>
git checkout <branch_name>
For more details on upstream, origin, and GitHub best practices, check out these helpful resources:
main
branch clean is a great practice.
- Step 1: Make a directory with a meaningful name:
mkdir <Dir_name>
- Step 2: Add your code, scripts, or project to the newly created directory.
Once you've made changes, follow these steps to create a PR:
-
Stage your changes:
git add .
-
Commit your changes with a meaningful message:
git commit -m "Add: <description of changes>"
-
Push your branch to your GitHub repository:
git push origin <branch_name>
-
Open a Pull Request:
- Navigate to your GitHub fork.
- Click on the "Compare and Pull Request" button.
- Provide a detailed description of your changes and submit your PR!
🎉 That's it! You’ve successfully created a pull request! 🥳
Once your PR is reviewed and merged, your contribution will be added to the repository. We're looking forward to your PR!
Thanks to all the wonderful contributors who have helped make this repository better! 🙌