#git
Read more stories on Hashnode
Articles with this tag
# create git diff > mypatch.patch # apply git apply mypatch.patch Ref: https://stackoverflow.com/a/28193089
git rm -r --cached . git add --all . git status ##Review that **only** changes staged are renames ## Commit your changes after reviewing: git commit...
git reset --merge Note: stashed change will NOT be lost Ref: https://stackoverflow.com/a/60444590
Using Merge: (Notice the M - merge commit) Using Rebase -> Linear history: TL;DR: Use rebase as an alternative to git merge master, when your...
Why you need it? A feature is broken, but was working fine before. There has been a long history of commits and you need to find which commit...