Star this repository by clicking on the star button on the top right of this page. This will help us in promoting this repository.
You can get your own fork/copy of JavaScript-Basic-Projects by using the Fork button.
You need to clone (download) it to local machine using
$ git clone
This makes a local copy of repository in your machine.
Once you have cloned the JavaScript-Basic-Projects
repository in Github, move to that folder first using change directory command.
# This will change directory to a folder JavaScript-Basic-Projects
$ cd JavaScript-Basic-Projects
Move to this folder for all other commands.
Whenever you are going to make contribution. Please create separate branch using command and keep your main
branch clean (i.e. synced with remote branch).
# It will create a new branch with name Branch_Name and switch to branch Folder_Name
$ git checkout -b Branch_Name
Create a separate branch for contribution and try to use same name of branch as of folder.
To switch to desired branch
# To switch from one folder to other
$ git checkout Branch_Name
To add the changes to the branch. Use
# To add all files to branch Folder_Name
$ git add .
Type in a message relevant for the code reviewer using
# This message get associated with all files you have changed
$ git commit -m 'relevant message'
Now, Push your awesome work to your remote repository using
# To push your work to your remote repository
$ git push -u origin Branch_Name
Finally, go to your repository in browser and click on compare and pull requests
. Then add a title and description to your pull request that explains your precious effort.
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
- Use a clear and descriptive title for the pull request and commits
- Write a good description explaining the purpose of the pull request
- Link the pull request to an existing issue (please do not open a new issue for small changes like typos, punctuation or grammar fixes)
- If you are contributing to a project for the first time, please add yourself to the contributors list
Here are a few things you can do that will increase the likelihood of your issue being accepted:
- Use a clear and descriptive title for the issue
- Write a good description explaining the purpose of the issue
- Add relevant labels to the issue
- Link the issue to an existing pull request (if applicable)