在配置git账户和用户名时:

$ git config --global user.name "名字"

$ git config --global user.email 邮箱

出现如下错误。

配置git 账户密码时bash:$:command not found

这是因为操作的位置不对,要在命令行中到达git安装的位置:

我的路径是: D:\javaTools\Git

cd d

cd javaTools

cd Git

一步步到达了git安装位置,然后运行;

出现如下,就是成功了。

配置git 账户密码时bash:$:command not found

 

相关文章:

  • 2021-07-05
  • 2021-08-11
  • 2021-10-11
  • 2021-05-15
  • 2021-07-09
  • 2021-08-23
  • 2021-04-06
猜你喜欢
  • 2022-03-06
  • 2022-12-23
  • 2021-08-19
  • 2021-09-05
  • 2021-07-17
  • 2021-07-22
  • 2021-05-18
相关资源
相似解决方案