Skip to content

codebiet/githubExercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 

Repository files navigation

GitHub Exercise

Check CONTRIBUTING.md for contributing guidelines

Steps to follow to start Contributing πŸ“œ

0. Star The Repo 🌟

Star the repo by pressing the topmost-right button to start your wonderful journey.

1. Fork the repo 🍴

You can get your own fork/copy of Linear Search Visualisation by using the Fork button at top-right of your screen.

2. Clone it to your local machine πŸ‘₯

NOTE: commands are to be executed on Linux, Mac, and Windows(using Powershell)

You need to clone (download) it to local machine using

$ git clone https://github.com/iamrishirb/githubExercise.git

This makes a local copy of the repository in your machine.

Once you have cloned the gitHubExercise repository in Github, move to that folder first using change directory command on Linux, Mac, and Windows(PowerShell to be used).

# This will change directory to a folder gitHubExercise
$ cd gitHubExercise

Move to this folder for all other commands.

Now Make your contribution on the project and commit your changes to a new branch

3. Create a new branch ‼️

Whenever you are going to contribute. Please create a separate branch using command and keep your master 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 BranchName

Create a separate branch for contribution and try to use the same name of the branch as of folder.

To switch to the desired branch

# To switch from one folder to other
$ git checkout BranchName

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 BranchName

Finally, go to your repository in the browser and click on compare and pull requests. Then add a title and description to your pull request that explains your precious effort.

Always feel free to drop a comment or create an issue if you find something missing. Our excellent contributors will always get it done.

Happy Coding πŸŽ‰πŸŽ‰

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages