Git: Resolving a detached HEAD

https://stackoverflow.com/questions/5772192/how-can-i-reconcile-detached-head-with-master-origin First, let’s clarify what HEAD is and what it means when it is detached. HEAD is the symbolic name for the currently checked out commit. When HEAD is not detached (the “normal”1 situation: you have a branch checked out), HEAD actually points to a branch’s “ref” and the branch points to the[…]

Read More »

Auto select default options for attributes

When you would select a color on the “color” drop down, the image wouldn’t change to that color unless the Size attribute was set. By default both dropdowns had the option “Choose option” as Default. So I needed the default to be anything so when the user selects a color[…]

Read More »

Git: Resolving a detached HEAD after making changes

I was in a situation where the branch I was working on was reading as a detached HEAD I had never seen this before. I checked out “cherryfans-prototype” and then saw that my detached head was no longer showing when executing “git branch” I had done alot of work on[…]

Read More »

Upgrading npm package, Major version upgrades:

When you have a package installed that has a new version available and that new version is a Major version, you can’t just simply install the latest using if you execute the above command, it will only install the latest of the current version you have installed. So if you[…]

Read More »