Skip to main content

Posts

Showing posts with the label how to commit code to local repository

How to push your project to github repository

These days everyone is using github as source code repository. Below is the list of commands to push your changes to github repository from local for the first time  Check out list of commands Idea behind this is to create local git repository & then push it to github repository 1. How to  initialize the local git repository.         git init 2. To a dd all the files to the local git repository      git add . 3. C heck the status of local repository.            git status 4. How to commit change to the local git repository.      git commit -m 'your message' 5. Connect local git repository to github.      git remote add origin 'github_repository_url' 6. Push your changes to github      git push -u origin master . Checkout the below video for complete understanding Thankyou for watching