5

I'm trying to start learning git and use it. I've downloaded a training video about git and am currently watching it.

I've downloaded and installed git on my computer. I use Windows 8 OS (32 bit version). But I don't know why I don't have a Git Init Here option when I right-click:

enter image description here

As you see, the box that comes up when I right-click has 2 options about git:

  • Git GUI Here
  • Git Bash Here

But the one in the tutorial video has one more option named Git Init Here. Well, why mine doesn't have that option? Did I install the git wrongly?

max630
  • 8,762
  • 3
  • 30
  • 55
Martin AJ
  • 6,261
  • 8
  • 53
  • 111
  • Downvoter please leave a comment and explain what's wrong with my question? – Martin AJ Dec 27 '16 at 18:40
  • What video are you watching? Are you sure it refers to your particular OS version? How did you install Git? What version? – Ben Bolker Dec 27 '16 at 18:50
  • Do you have write permissions in the current directory? – Ben Bolker Dec 27 '16 at 18:52
  • I use `git version 2.11.0.windows.1` ..! And no, I'm not sure my OS and the one on the video are exactly the same, is it important? Also I've installed Git by downloading it from [here](https://git-scm.com/download/) *(windows)* and pressing some *next*s. – Martin AJ Dec 27 '16 at 18:52
  • Can you edit your question to add this information? I don't know if it matters: I don't know enough to answer your question, I just came here because it had the [r] tag. But providing this information will help you get upvoted and help people with the relevant expertise answer your question ... – Ben Bolker Dec 27 '16 at 18:54
  • @BenBolker Honestly I'm pretty much newbie in Git and I don't know what's *permissions* ..! All I want to know, is that option *(which I don't have it)* a vital option? – Martin AJ Dec 27 '16 at 18:54
  • @BenBolker Ah I see. ok thank you – Martin AJ Dec 27 '16 at 18:57
  • by "permissions" I mean permission (from the OS) to create files in that directory -- not specifically anything having to do with Git. – Ben Bolker Dec 27 '16 at 18:59
  • FYI, if you are using Windows 11, there's a post created for that. You can track that availability there: https://stackoverflow.com/questions/70237709/how-to-add-a-git-bash-here-context-menu-option-to-the-windows-explorer-in-wind – David Oganov Apr 13 '22 at 13:19

4 Answers4

3

This menu item (and more) used to be in git-cheetah plugin which was included in the older "msysgit" git build. Its successor Git For Windows does not have it. If you miss the command you can set it up yourself as described here or install additional product which provides them, for example TortoiseGit or GitExtensions.

Community
  • 1
  • 1
max630
  • 8,762
  • 3
  • 30
  • 55
1

First, you have to clear that Git Init Here just creates a hidden file named .git. Second, Git GUI Here opens the Git GUI and then you can create a new repository, choose your file and create a file named .git. So there is no difference between using Git Init Here and Git GUI Here.

Nathan Tuggy
  • 2,237
  • 27
  • 30
  • 38
Aragami
  • 21
  • 2
1

The git-cheetah plugin was installed based on older git installation options. Select the "Git Bash Here" option from the context menu and at the prompt type "git init".

Wiley
  • 506
  • 5
  • 4
-1

It should not give issue, please confirm whether git is installed properly or not by echoing the PATH;

If yes then please try once by restarting your system, sometimes it doesn't take effect until we restart our system.

For better understanding of git you may refer here, a very interactive session where you can track your progress.

beingmanish
  • 1,040
  • 8
  • 21