Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to run a kernel module on a Nexus 7 emulator on Ubuntu.

I ran this command in the terminal: git clone

Then I want to checkout this: git checkout remotes/origin/android-msm-flo-3.4-jb-mr2

Once I entered that line above I got this error:

HEAD is now at 9e52a21... 
qseecom: Fix issue with incomplete command exiting prematurely

I tried it with sudo, I tried adding things like -p, -3 at the end of the command, but nothing works. How do I fix this?

share|improve this question
When there is an error in git, normally it is louder than that. Nevertheless, it is a fair question ;) – J. C. Leitão Mar 27 '14 at 18:38
For sudo you could use the -E option or env_keep to keep all the environment variables in place. – trysis Mar 27 '14 at 18:39
Close-voter(s): This is about Ubuntu; the question is about git (which is running directly on Ubuntu), not Android. – Eliah Kagan Mar 27 '14 at 19:19
up vote 19 down vote accepted

That is a commit message, and not an error. Your command succeeded.

share|improve this answer
thank you, was freakin out – katrina Mar 27 '14 at 7:03
The whole thing is git telling you what's been checked out: HEAD is git's term for 'the currently selected version', 9e52a21 identifies the particular version, and the following line is the commit message describing the most recent change. – deltab Mar 27 '14 at 15:51
@deltab +1 But, I believe it was specifically the commit message (qseecom: Fix issue with incomplete command exiting prematurely) that looked like an error to OP. – Elliott Frisch Mar 27 '14 at 15:56
That is a consistent problem with Git: the output gives a lot of information, but you need a thorough understanding of Git to figure out whether it succeeded or failed. This is a good example: after the checkout, it printed out the hash and the message of the latest commit. Of course, the hash is unintelligible and many commit-message contain error messages (since they are typically fixing errors). – Malvolio Mar 27 '14 at 18:30
I like this idea. – MathCubes Apr 11 '14 at 3:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.