Git Stash and Squash

 https://www.youtube.com/watch?v=viY1BbKZhSI


GIT Tutorial - How to Squash Commits


git log --graph --decorate --pretty=oneline --abbrev-commit

git rebase -i HEAD~9

git rebase --continue

git rebase --abort

git push origin feature/MSA-1278-Mexico-Changes -f



https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History



Git Tutorial: Using the Stash Command

git diff
git stash save "My changes"
git diff
git status

git stash list

git stash apply stash@{0}
git stash list

git stash pop

git stash drop stash@{0}
git stash clear



https://www.youtube.com/watch?v=KLEDKgMmbBI

Comments

Popular Posts