Answers for "how to add commit particular files in git"

15

git add file to last commit

git add the_left_out_file
git commit --amend --no-edit
Posted by: Guest on May-15-2020
1

added changes to a specific commit

git add <my fixed files>
git commit --fixup=OLDCOMMIT
git rebase --interactive --autosquash OLDCOMMIT^
Posted by: Guest on June-29-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language