Git – How to unfuck by Melanie G. A. PATRICK

A nice handbook for “unfucking” git commits with command line when things get ugly by Melanie G. A. PATRICK from Trivago

One I’d like to add myself, experimented today on my skin, is about fetching.

Let’s say you created some new tags on BitBucket/Stash/YourGitRepositoryOfChoice and now you want to checkout locally one of these new tags. You might assume that firing a “git fetch” will update everything, you proceed to checkout the tag but your command fails.

Turns out that if you want the tags to be updated, you’ll have to ask for them explicitly :

git fetch --tags

Before version 2 of git, the fetch command alone would update branches heads and with --tags option would update only tags, after version 2 when the option is included it will update tags and branches heads, aligning local workspace with remote repository.


How to enable for free HTTPS for a site on shared hosting

Let’s start with a right and proper premise : when it comes to security there’s no silver bullet in this specific case the “s” that is affixed to the end of the HTTP protocol does, indeed, stand for “secure” but it should read “more secure“. Probably you’ve heard about the infamous Heartbleed bug that became notorious … Continue reading How to enable for free HTTPS for a site on shared hosting

Spell updated with support for greek alphabet

With the release of Spell 1.4.0 today on Google PlayStore I introduced support for spelling characters of the Greek alphabet, widely used in mathematic and scientific notations. The reference guide was as usuale the official Unicode table for Greek characters, within the unicode ranges of u0391-u03a9 for upper case letters, u03b1-u03c9 for lower case letters, u0375-u03ce for accented letters and special characters. For the pronunciation … Continue reading Spell updated with support for greek alphabet