git安装后修改默认的路径:每次打开git bash后都会进入这个目录

https://blog.csdn.net/weixin_39634961/article/details/79881140

在默认路径之外建立仓库的两种方法:

1.通过windows资源管理器,进入工程目录,右键点击Git Bash Here--->进入git bash后,输入git init,即在当前目录创建了一个仓库

git本地仓库目录问题

2.通过cd切换目录,然后使用git init 【截图来自网上,图中序号可忽略】

git本地仓库目录问题

相关文章:

  • 2021-07-09
  • 2021-05-31
  • 2021-11-28
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2021-07-11
  • 2021-04-16
猜你喜欢
  • 2021-09-26
  • 2021-10-14
  • 2021-11-29
  • 2021-08-20
  • 2021-05-06
  • 2021-07-23
相关资源
相似解决方案