HI Thomas -

git log -p shows the one @http://pastie.org/5679792,diff shows the change i 
made,does it mean I already commited?

Also,what are the commits at the bottom,they are the rest of the recent 

commit cd5495e1fc42a4adfe8ed4a3546470de667549da
Merge: 1b46255 acb515b
Author: Linux Build Service Account <lnxbuild@localhost>
Date:   Sat Jan 12 20:44:20 2013 -0800
    Merge "code: cs release"commit 
Merge: 00d6d0c 4e6dbff
Author: Linux Build Service Account <lnxbuild@localhost>

On Sunday, January 13, 2013 4:30:39 AM UTC-8, Thomas Ferris Nicolaisen 
> On Sunday, January 13, 2013 10:42:11 AM UTC+1, python...@gmail.com wrote:
>> I made some changes to one of files locally,I want to commit the change 
>> but when i do "git status" I get the following message,how can I commit the 
>> change I made?
>> # On branch upload_branch
>> # Your branch is ahead of 'quic/master' by 1 commit.
>> #
>> nothing to commit, working directory clean
> First thing I would do is to check if you actually did change the file.
> Then I would check that the file is not among the ignored files: "git 
> clean -nX" will show you which ignored files are present, as they would be 
> removed, but it doesn't actually clean them (-n means dry-run, -X means 
> ignored files). 
> You could also do a "git show" to check the last commit if you've 
> accidentally already committed the changes. Or "git log -p" to look through 
> the recent changesets.


Reply via email to