22👍
Download and Install git in your windows from here:
https://git-scm.com/download/win
Then add its installation bin path to your windows’s environment path. Then you will find the git command at the command prompt globally.
This may solve you problem.
How to change environment variables : Git: Installing Git in PATH with GitHub client for Windows
For Visual studio code restart after adding the environment variables
- [Django]-Django, global template variables
- [Django]-Difference between User.objects.create_user() vs User.objects.create() vs User().save() in django
- [Django]-Modifying Dictionary in Django Session Does Not Modify Session
2👍
Add the path of git.exe to your windows environment variable called ‘path’.
My git.exe is in the path of ‘C:\Users\LW\AppData\Local\GitHub\PortableGit_c2ba306e536fdf878271f7fe636a147ff37326ad\bin\git.exe’. Your can find your exe file in the similar folder path.
- [Django]-Getting Site Matching Query Does Not Exist Error after creating django admin
- [Django]-Last element in django template list variable
- [Django]-Multiple many-to-many relations to the same model in Django
0👍
You can install git and configure the path with the git directory in System variables path.
- [Django]-Cannot resolve 'django.utils.log.NullHandler' in Django 1.9+
- [Django]-Django Form File Field disappears on form error
- [Django]-How do you perform Django database migrations when using Docker-Compose?