Especially, if you are developing apps based on new Visual Studio 2015 templates like MVC. Regardless of whether AppHarbor provides a decent service, new developers might still face some difficulty in deploying their applications to AppHarbor. If you are interested in knowing how AppHarbor works you can see their page here. AppHarbor runs over Amazon AWS and has some nice features that I won’t go into the details of. The good news for ASP.Net developers is that there is a PaaS platform available that you might already know. If you’ve been developing ASP.Net MVC apps lately you might be thinking of some online or cloud-based app hosting platform available as PaaS for Microsoft technologies especially for hosting ASP.Net MVC apps just like OpenShift, Heroku and other platforms are available for technologies like Ruby, Python, PHP, Node.js and even supporting CMS like WordPress. Git commit -m "add some work while in detached head state" The answer, unsurprisingly, is to use the “ checkout” command again and you can use the same branch again: git checkout #now you're in detached head state But what if you do want to keep those commits? While you can commit changes in this state, those commits don’t belong to any branch and will become inaccessible as soon as you check out another branch. Anyway, this is a special state called “detached HEAD”. But in my case, I was checking out a branch. Otherwise, it usually happens when you checkout a commit with its hash. I guess this happened because the branch that I was checking out was rebased. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. Recently, I came across a situation where I checked out a git branch and it showed me this message related to detached HEAD state: You are in 'detached HEAD' state.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |