Email: Password:       Forgot Password 
    .netCodeSG
A Saarsha Group Online Community for dot net codes group like C#, Asp.NET, VB.NET, Sharepoint, JavaScript, JQuery, Ajax, SQL, WCF, WPF.
 
TECHNOLOGIES:
 

Git - Commit Your Code

Article:
Viewed:  46 
Posted On:  30/09/2019 10:36:36 
How we can commit our code in remote repository from our local repository using git? 

 

In this article, I am going to show, how you can push your all code into a code repository.

Go to the local code repository and in address bar execute cmd.exe

Command window will open. Now execute below code



        > git init

>  it add .

> git commit -am "Add your app"

> git remote add origin <git Repo Url>

> git push -u origin -all

 

It will push all your code into your git repository.

Commit your changes

> git commit -m "Made Changes"


Push your changes to GitHub

$ git push origin BranchName

 

  Comment:
         HOME   |   Submit Article   |   Contact Us   |   About Us   |   Terms & Condition   |   Advertise With us