使用 GitHub 托管自己的项目
安装 Ubuntu 系统 123sudo apt-add-repository ppa:git-core/ppasudo apt-get updatesudo apt-get install git 如果出现 apt-add-repository: command not found 错误,要先执行以下: 12sudo apt-get install python-software-propertiessudo apt-get install software-properties-common Windows 系统 下载 Git for Windows,建议下载安装版根据提示安装。 Windows 系统中,以下操作均在 Git Bash 命令窗口中执行。 配置 设置全局用户 12git config --global user.name "Your Name"git config --global user.email "youremail@gmail.com" 设置密钥 生成 ssh 密钥: 12345678$ ssh-keygen -...
