How existing local git repository, pushed to the remote new warehouse (github private) and remote development;

Until recently because of the epidemic, work at home, not connected gitlab server; so shall the existing code to migrate to private github repository for development; migration process following summary records;

First, make sure you have configured all permissions to access the remote private local repository; this tutorial, using ssh for push all of the resources;

If you do not configure ssh-public key can refer to: gitlab github and configure SSH Keys  to configure;

If you own github slower access can reference: set the proxy under linux command line  to set the proxy;

The main steps:

  • Create a private github repository;

Guess you like

Origin www.cnblogs.com/xuyaowen/p/how-to-push-local-git-repo-to-remote-private-repo.html