jacogr / atom-git-control

Not maintained :(
MIT License
227 stars 70 forks source link

Git-Control package does not work #119

Open ghost opened 8 years ago

ghost commented 8 years ago

whenever I open a project that has a git repo this is what the package says: This project is not a git repository. Either open another project or create repository

jovilog commented 8 years ago

+1

What am I missing?

MarcelMue commented 8 years ago

Most likely your .git folder is not in the location that Atom assumes it should be in. This is a problem with Atom not recognising a project if this is a case. Git-Control currently relies on some functions provided by Atom. Check out PR #96 to work on fixing this issue.

jovilog commented 8 years ago

I'm unaware of what I've done to make it work, but it does now. Thanks anyway.

10SexyApples commented 8 years ago

I am experiencing this same issue ... I'm also using git-plus and it recognizes my project as a git repository as well as Sourcetree. I quit and reopen after installing to rule any issue that may have helped jovilog's system kick in, but, no luck ... still says my project isn't a git repo~

J-I-B commented 8 years ago

Same here. I am on ubuntu 15.04. git-control unable to open my git repo. BUT, it works when I do file->open folder.

It does not work by right clicking in the tree and add project folder

saltymouse commented 8 years ago

Same as @J-I-B but on Mac OS X El Capitan (10.11.6). Does not work when adding a project via File > Add Project Folder (the This project is not a git repository window/message comes up). However, if you quit Atom completely, then drag your project folder onto the Atom app icon and open it directly this way, git-control works fine after toggling it on.

trytriangles commented 8 years ago

I think @saltymouse has got it. I'm experiencing the same on Windows 10 (build 14367). If you run atom . from a command line to initialise it, git-control works; if you open Atom on its own then add a project folder, it fails.

y4my4my4m commented 7 years ago

@ryantriangles @jovilog @jacogr Anyone having issues with this on windows,

I followed this pull-request's commit changes https://github.com/jacogr/atom-git-control/pull/221

Then make sure you update the dependencies (go to git-promise's folder and do npm install from the command line)

Then install Git Portable (latest version as of today) https://github.com/git-for-windows/git/releases/download/v2.11.1.windows-prerelease.1/PortableGit-prerelease-2.11.1.windows.prerelease.1-64-bit.7z.exe

In Atom's git-control package settings, there should be a new line regarding git's executable custom path. Just write the full path of your portable git's executable for example C:\Users\\PortableGit\bin\git.exe or whatever

Cheers