Skip to main content
The 2024 Developer Survey results are live! See the results

Timeline for git head detached from master

Current License: CC BY-SA 4.0

18 events
when toggle format what by license comment
Oct 21, 2018 at 0:40 answer added Dheeraj Gupta timeline score: 0
Oct 20, 2018 at 20:19 vote accept Purevsuren Bathishig
Oct 20, 2018 at 20:09 answer added lucidbrot timeline score: 2
Oct 20, 2018 at 20:03 history edited Purevsuren Bathishig CC BY-SA 4.0
fixed formatting again
Oct 20, 2018 at 19:57 comment added lucidbrot I'll explain why it works in an answer, in that case. No problem :) Btw, make sure you read up on how to ask a good question so that less questions will be neccessary next time
Oct 20, 2018 at 19:56 comment added Purevsuren Bathishig @lucidbrot problem solved thanks sir you saved my day.
Oct 20, 2018 at 19:52 comment added lucidbrot What is the output when you run git branch? If your problem is what I assume it is, it will be (HEAD detached from ...), is that right?
S Oct 20, 2018 at 19:50 history edited Purevsuren Bathishig CC BY-SA 4.0
fixed formatting again
S Oct 20, 2018 at 19:50 history suggested lucidbrot CC BY-SA 4.0
fixed formatting again
Oct 20, 2018 at 19:50 review Close votes
Oct 25, 2018 at 0:00
Oct 20, 2018 at 19:48 review Suggested edits
S Oct 20, 2018 at 19:50
S Oct 20, 2018 at 19:46 history edited Purevsuren Bathishig CC BY-SA 4.0
fixed formatting (now will request clarification)
S Oct 20, 2018 at 19:46 history suggested lucidbrot CC BY-SA 4.0
fixed formatting (now will request clarification)
Oct 20, 2018 at 19:41 comment added lucidbrot You could try git branch tempbranch d06a8c7d9a && git checkout master && git merge tempbranch to get the commit onto your master branch, and then do the push to production. Git log is telling you in parantheses that production/master and master are pointing to the commit 8840f9. You want master to point to your latest commit though.
Oct 20, 2018 at 19:39 comment added Purevsuren Bathishig HI @lucidbrot i really don't know what going on here. When i commit its working and when i push its pushing 8840f9eaa0fbc8eaae592859d3e310bb91697468 this commit.
Oct 20, 2018 at 19:36 comment added lucidbrot Hi @PuresvurenBathishig ! I'm afraid, your question is not clear to me. Could you provide more information on what you tried and what happens? Based on the log, it sounds like you have been creating commits that are on no branch, is that right?
Oct 20, 2018 at 19:34 review Suggested edits
S Oct 20, 2018 at 19:46
Oct 20, 2018 at 19:30 history asked Purevsuren Bathishig CC BY-SA 4.0