Answers for "git save staged changes to file"

0

git save staged changes to file

git diff --patch --staged > changes.patch; git commit -m 'temp'; git reset --hard HEAD^
Posted by: Guest on October-26-2021
0

git patch staged to file

git diff --staged > mypatch.patch
Posted by: Guest on October-12-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language