一、前言
本篇博客主要记录git时发生的一些异常以及解决方式,持续更新。
二、异常
1、fatal: No configured push destination.
详细异常信息:
Either specify the URL from the command-line or configure a remote repository using
解决方式:
// 添加远程仓库 name:仓库名;url:仓库url
git remote add <name> <url>
// 应用远程分支push,此时会让你选择分支
git push -u python
// 同步更新分支
git push --set-upstream python dev