Git

Forgot To Add Some New Files Before Commiting

Posted by Weston Ganger on November 15, 2015

Accidentally made a commit without adding new files?

Been there, done that. Heres how to add those files without making a new commit.


git commit --amend -C HEAD

Now your good to go and ready to push.


Related External Links:


Posted in Web Development and Tagged with git 


Need help on your next project or application?

I specialize in Ruby-on-Rails, AngularJS, Javascript, Bootstrap, and Hybrid Mobile Apps with Cordova & Ionic.

Contact Me

Recommended Posts