cannot git commit after npm version patch

21 views
Skip to first unread message

Maxim Yefremov

unread,
Aug 9, 2013, 3:42:08 AM8/9/13
to nod...@googlegroups.com

I do npm version patch then cat package.json and see that version is changed. Then do git add package.json and then git commit -m "new version" but see

# On branch master
nothing to commit, working directory clean

When I change version in package.json by hands then I can git commit as expected. But using npm version patch is faster. So how to commit after it?

Micheil Smith

unread,
Aug 9, 2013, 5:56:30 AM8/9/13
to nod...@googlegroups.com
iirc, npm version patch auto-commits the results, check your git log.

– Micheil

--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
 
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Maxim Yefremov

unread,
Aug 9, 2013, 7:20:03 AM8/9/13
to nod...@googlegroups.com
Thank you Micheil. True.


You received this message because you are subscribed to a topic in the Google Groups "nodejs" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nodejs/yzVH4NhBoeY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nodejs+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.



--
С уважением,
Максим Ефремов

Reply all
Reply to author
Forward
0 new messages