Create a repo To put your project up on GitHub, you’ll need to create a repository for it to live in.



Know are taking about how to code push in the live code in gihub

Setp 1: Creat The github Account Like this

  1. Create gmil , are Microsoft account


In the upper-right corner of any page, click , and then click New repository.

setp3: Type a short, memorable name for your repository. For example, “hello world”.


Optionally, add a description of your repository. For example, “My first repository on GitHub.”

5: Choose to make the repository either public or private. Public repositories are visible to the public, while private repositories are only accessible to you, and people you share them with. For more information, see “Setting repository visibility.”

6: Select Initialize this repository with a README.


And the next step is very imported please follow it

Open cmd or terminal  go to Your project Insert Like

example : code/naik/mydemo>

run this command

git init
git add
git commit -m "first commit"
git remote add origin
exples: in this time asking the your user name and password
please endter your github username and password
git push -u origin master
coding of the run this commades 

second time use this commands
git remote add origin
git push -u origin master

check it your coding in github 
her tow type is there one is
public and private 
public is free 
and private is coste 

if any errorr please commands of let me 

thank you





Spread the Code

Leave a Reply


This site uses Akismet to reduce spam. Learn how your comment data is processed.

Notify of