Just take a note.
This will force update a local repository from a remote, and keep only 1 commit history.
git fetch {{remote}} {{branch}} --depth=1
git reset --hard FETCH_HEAD
git clean -df
Just take a note.
This will force update a local repository from a remote, and keep only 1 commit history.
git fetch {{remote}} {{branch}} --depth=1
git reset --hard FETCH_HEAD
git clean -df