Hosting Service

04 Oct 2018 | MAK Azad

How to Push a new local  repository to an existing GitHub repository

Category : Github | Tag : Push-Pull |

 

$ git init
$ git add --all .
$ git commit -m '02102018'
$ git remote add origin https://github.com/azadbd/azad.space.flask.git
$ git config --global user.email "azad.ocp@gmail.com"
$ git push -f https://github.com/azadbd/azad.space.flask.git master

All post under category Github


1. Github command
2. How to Push a new local  repository to an existing GitHub repository
3. How to force git pull to overwrite local files