Friday, 27 January 2017

How to Include Unstage Files to Previous Commit in Git

Source : How to Include Unstage Files to Previous Commit in Git
Published On : January 27, 2017 at 09:14PM
By : Collins Agbonghama

While working today, i forgot to stage some unstaged files before creating a commit. After staging with git add -A, I wanted the staged files to be included to the previous commit.

git commit --amend --no-edit to the rescue.…



For More Go to : W3Guy

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home