Git Basic Configuration of username and e-mail

User name and e-mail
$ git config --global "Eugene Chechel"
$ git config --global

any other settings can be listed with

$ git config --list

And configures same way

Fix Android HTC when battery dies

When HTC battery went off and doesn’t react on anything. Battery light is on and blinks sometimes. You should tap few times volume up, then down, and then when phone is pluged hold turn on button untill battery indicator starts blinking and press volume down and up again. Thank should help

Git pull override local changes

To set you code to the latest branch code and override you local changes  or if you see message like “Your local changes to the following files would be overwritten by merge” on pull

do following:

git fetch --all
git reset --hard origin/YourBranchName


Android Phonegap The connection to the server was unsuccessful

If you see this error go to your app directory/platforms/android/CordovaLib/src/org/apache/cordova


And find this message there.  A little bit above you should see

final int loadUrlTimeoutValue = Integer.parseInt(this.getProperty("LoadUrlTimeoutValue", "20000"));

Change 20000 to 70000 for example.