Installing Git Bash for Windows
Git Bash is a simple and efficient client on Windows for users who are familiar with Git commands. If you are unfamiliar with Git commands, you can use TortoiseGit by referring to Installing TortoiseGit for Windows.
- Install the Git Bash client.
- Go to the Git Bash website and download the installation package for 32-bit or 64-bit Windows.
- Double-click the installation package. In the installation window displayed, click Next for several times and then click Install.
- Open the Git Bash client.
Click the Windows Start icon, enter Git Bash in the search box, and press Enter to open Git Bash. You are advised to pin Git Bash to the Windows taskbar.
- Configure the Git Bash client.
Enter the following commands in Git Bash to configure your username and email address:
git config --global user.name "your username" git config --global user.email "your email address"
Run the following command to view the configurations.
git config -l
- A username can contain letters, digits, and special characters. You are advised to set the same username as that in CodeHub.
- The email address should be written in the standard format.
- The –global parameter in the commands indicates that the configurations apply to all Git repositories on your computer. You can also set a different username and email address for a specific repository.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot