1. Add a remote alias for your local repository, ex:
git remote add self file:///path/to/your/repository
2. Push to the self remote, ex:
git push self dev:master
1. Add a remote alias for your local repository, ex:
git remote add self file:///path/to/your/repository
2. Push to the self remote, ex:
git push self dev:master
转载于:https://www.cnblogs.com/peija/p/3412042.html