FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.
MIT License
10.44k stars 637 forks source link

Can't change to repo-dir #113

Closed Zasch closed 11 years ago

Zasch commented 11 years ago

When I start ungit there's no error in the log. So I try to create a new repo and all I get is "Whooops Something went wrong, reload the page to start over." Nothing in the logs.

When I clone a repo everything seems to work fine for the cloning process itself (all files in the folder etc.) but ungit just says "Whooops Something went wrong, reload the page to start over." again. Nothing in the logs either.

So, switching to a repo-folder seems to break something, but I can't figure out what that is.

Running on Windows 7 x86_64, node.js 0.10.16 (installed with installer), git 1.8.3 (installed with installer). Browser is Chrome 30.0.1599.14 dev-m.

You need something else? Let me know...

Zasch commented 11 years ago

I reinstalled and enabled debugging. Creating a repo now works as expected and new files are recognized and added

BUT: as soon as I set a title for the commit and press "Commit" I see the "Whooops Something went wrong, ..." again. Still nothing in the logs.

Also tried Opera and IE, but no luck either...

PS: keep up the good work, you're doing an awesome job. I finally want to use git instead of svn.

Zasch commented 11 years ago

Got it figured out.You need to set

git config --global user.name "your name" AND git config --global user.email "your@email.com"

FredrikNoren commented 11 years ago

Thanks for the report! I'm not sure what the earlier errors you had were due to, but I've made a fix for the "not having configured name and email" problem, so that it's at least a little easier to know what's going on. If you find any more details on the other problems please open an issue for that, thanks!

ghost commented 11 years ago

user error does not appear. still see "Whooops. Something went wrong, reload the page to start over. " error on fresh install when trying to commit. will configure name/email but it would be better to have a hint for git novices instead of this uninformative error.