When you checkout a specific commit and are now in detached HEAD state, you are by default given the message
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
That technique doesn't work (as well) when you want a single "else" block that is used when either of the conditions is false, which I think is pretty common for this sort of conditional
> Whats the difference between having sex and being a sexual predator?
I don't think it's necessary to answer this because "sexual predator" was literally Noah's description of himself and his behavior (in those words) in the apology post that led to Wizards no longer wanting to work with him.
If I CMD+R on Hacker News, it reloads the page. If I do it on outlook.office.com, it starts drafting a reply to the email I have selected. Reload button does the same thing everywhere.
This is one thing I'm grateful for as a Firefox user, I can disallow websites from overriding built-in shortcuts both globally or on a site-by-site basis. I don't believe Safari offers this unfortunately.
Microsoft's compiler did not support C99 for a long time because they did not really think of it as a C compiler or a C/ C++ compiler; it is a C++ compiler. Its support for C90 was explained as being maintained "for historical reasons" ( https://herbsutter.com/2012/05/03/reader-qa-what-about-vc-an... ), but they had no reason to add support for new standards of a language that was outside the scope of the project.
It's odd for the author to complain about the commingling of C and C++ in compilers and then complain about Microsoft specifically not doing that.
The MSVC compiler actually has distinct C and C++ compilers (or at least compilation modes). In C++ mode, no C99 is accepted. What's different from clang and gcc is that the MSVC C++ compiler doesn't accept any "modern C" code, while clang and gcc have C++ language extensions for this (for instance clang accepts the full C99 designated initialization feature set in C++).
When you checkout a specific commit and are now in detached HEAD state, you are by default given the message