revert the whole repository to the status of the last commit.
git reset --hard
== Migrate a project from GitLab to Gitea ==
Create your project on Gitea here: https://gitea.zom.bi/repo/create
# Clone using the --mirror flag (It will clone all branches into a bare repo)
git clone --mirror https://git.zom.bi/username/project.git
# Add new remote
git remove add gitea "https://gitea.zom.bi/username/project.git"
# Push to Gitea
git push -u gitea
[[Category:Documentation]]