Skip to content

Newbyes/Flame_Of_OpenSource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flame_Of_OpenSource

Are you keen to contribute in open source.Here we are to support and tell you the process of it.

Prerequisites:

  • Git Bash installed
  • Basic html knowledge

Step 1: Fork

Fork this repo by clicking on the right corner.

Step 2: Clone

To Clone the repo

git clone https://github.com/{username}/Flame_Of_OpenSource.git

Step 3: cd

Change the directory

cd Flame_of_OpenSource/

Step 4: Command testing

You can test out various commands like

git status
ls
git branch

Step 5: Branching

Make a branch of your own.

git branch {branch name}
git checkout {branch name}

Step 6: Contribution

See the template.html make amends as you see fit or could do it from scratch. Change the folder to CONTRIBUTIONS and make folder of your name to push all your contribution in that folder.
A basic contibution example will be given in the end.

Step 7: To push

How to push your code to your github repository

git add CONTRIBUTIONS/{folder with your name}
git commit -m "{Commit message}"
git push -u origin {branch name}

BASIC EXAMPLE:

Copy paste template.html and style.css files in your folder and a photo of yours too. Change

  • title in line number 8 from Template to {name}'s Template.
  • image in line number 15 from "pic.png" to your photo name.
  • name in line number 19 from "name" to your name.