Skip to content

codesocbitd/Hacktoberfest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BIT Deoghar Hacktoberfest Contributions 🏢

It's always hard the first time you do something. Especially when you are collaborating, making mistakes isn't a comfortable thing. We wanted to simplify the way new open-source contributors learn & contribute for the first time. This repo will take you from the very scratch to fianlly contributing to the open source.

Steps to follow ⏩

1. Fork it 🍴

You can get your own fork/copy of Hacktoberfest by using the Fork button or clicking this at top-right of your screen.

Fork Button

2. Clone it 👥

NOTE: commands are to be exceuted on Linux, Mac and Windows(using Git Bash)

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

$ git clone https://github.com/codesocbitd/Hacktoberfest.git

This makes a local copy of repository in your machine.

Once you have cloned the codesocbitd 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 Hacktoberfest
$ cd Hacktoberfest

Move to this folder for all other commands.

3. Set it up ⬆️

Run the following commands to see that your local copy has a reference to your forked remote repository in Github :octocat:

$ git remote -v
origin  https://github.com/Your_Username/BITMcontributions.git (fetch)
origin  https://github.com/Your_Username/BITMcontributions.git (push)

Now, lets add a reference to the original BITMcontributions](https://github.com/greyhatlinux/BITMcontributions/) repository using

$ git remote add upstream https://github.com/greyhatlinux/BITMcontributions.git

This adds a new remote named upstream.

See the changes using

$ git remote -v
origin    https://github.com/Your_Username/BITMcontributions.git(fetch)
origin    https://github.com/Your_Username/BITMcontributions.git (push)

In your ase you will see

$ git remote -V
upstream  https://github.com/greyhatlinux/BITMcontributions.git (fetch)
upstream  https://github.com/greyhatlinux/BITMcontributions.git (push)

5. Ready Steady Go... 🐢 🐇

Once you have completed these steps, you are ready to start contributing by checking our Help Wanted Issues and creating pull requests.

6. Create a new branch ‼️

Whenever you are going to make contribution. Please create seperate 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 contributor

Create a seperate branch for contibution and try to use same name of branch as of folder.

Add your contribution and save in the editor.

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 reveiwer 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 contributor

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 efforts.

What to contribute ❓

After making a branch with your username, checkout your branch.

Open the file called index.html and add the following changes after following the instructions in class.

Format :

<tr>
<td>Swapnil Sinha</td>  //Name
<td>BTECH/60014/18</td>  //Roll
<td>CSE</td>             //Branch
<td>reach_swapnil@outlook.com</td>  //Email
</tr>

About

Official Github Repository for Hacktoberfest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published