search

Home  >  Q&A  >  body text

github - What other configurations are needed to use git?

I have restricted the ability to use git to submit projects to github
But my command line cannot operate it
My system is win7
I type git on the command line and press Enter
The display

'git' is not recognized as an internal or external command,
operable program or batch file.

I configured my bin directory and git-core directory in environment variables

bin 
C:\Program Files (x86)\Git\bin
git-core
C:\Program Files (x86)\Git\libexec\git-core

Still useless

//My git version number is 1.9.2

曾经蜡笔没有小新曾经蜡笔没有小新2791 days ago613

reply all(3)I'll reply

  • 巴扎黑

    巴扎黑2017-05-02 09:47:11

    There is an option during installation, just choose to run it in cmd and bash at the same time. By default, it can only be run in bash.

    reply
    0
  • 阿神

    阿神2017-05-02 09:47:11

    Git does not need to be configured. Just install the client and go to next. What are you installing?

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-02 09:47:11

    Just install Baidu’s git, and then use its own git bash, which is very convenient

    reply
    0
  • Cancelreply