#!/bin/bash git fetch origin git reset --hard origin/main # remplace main par ta branche réelle git clean -fd