I'm after some advice from folk that use #Git . I have my own self hosted Git server and I have one repository that I'd like to empty of all content and history. I know I can just delete the remote repository and recreate it again starting a fresh. But would using
I should also say that I am the only person that pushes to this remote repo too. Any help or advice is very much appreciated and thank you.
git push --force <remote> <branch> not just do the same by overwriting the remote repository with the locals contents ? Or could I end up with files in the remote that are not in my local ???I should also say that I am the only person that pushes to this remote repo too. Any help or advice is very much appreciated and thank you.