Disable warning about detached HEAD

Shamelessly copying mjs’s comment to post it as an answer on its own:

git -c advice.detachedHead=false checkout <refspec>

The -c advice.detachedHead=false parameter will allow you to suppress the warning without having to change the global config. It will only apply to the executed command. Here’s the list of all advice that can be suppressed.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)