IntelliJ IDEA 版本控制器 - Git

时间:2025-02-11 09:35:26

1、下载Git

2、测试Git是否安装成功

IntelliJ IDEA 版本控制器 - Git

3、设置 本机 Git 标识,同时解决未设置标识产生的错误

Successfully created project 'demo' on GitHub, but initial commit failed: *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: unable to auto-detect email address (got 'TQ@DESKTOP-J7RBODR.(none)') during executing git git.exe -c core.quotepath=false -c log.showSignature=false commit -m "Initial commit" --

git config --global user.email "you@example.com"

git config --global user.name "Your Name"

4、设置 IDEA Git

IntelliJ IDEA 版本控制器 - Git

5、设置 GitHub

IntelliJ IDEA 版本控制器 - Git

6、分享到 GitHub

IntelliJ IDEA 版本控制器 - Git