Skip to content

Instantly share code, notes, and snippets.

@scaomath
Created April 14, 2021 03:58
Show Gist options
  • Select an option

  • Save scaomath/5dbf41a1f0afcfced0e1e39f88331f5b to your computer and use it in GitHub Desktop.

Select an option

Save scaomath/5dbf41a1f0afcfced0e1e39f88331f5b to your computer and use it in GitHub Desktop.

Revisions

  1. scaomath created this gist Apr 14, 2021.
    7 changes: 7 additions & 0 deletions git-rinse.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    ```bash
    git clean -xfd
    git submodule foreach --recursive git clean -xfd
    git reset --hard
    git submodule foreach --recursive git reset --hard
    git submodule update --init --recursive
    ```