Skip to content

Instantly share code, notes, and snippets.

@demoriz
Last active October 26, 2022 07:47
Show Gist options
  • Save demoriz/3af437bfe2645fec13742a6396e8fcee to your computer and use it in GitHub Desktop.
Save demoriz/3af437bfe2645fec13742a6396e8fcee to your computer and use it in GitHub Desktop.
[git] commands #git
git checkout -b dev origin/dev
git pull --recurse-submodules
git reset --hard HEAD
git rm --cached bla
git push --force
git clean -fd
git push --set-upstream origin dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment