Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Justine Smithies
Justine Smithies
@justine@snac.smithies.me.uk  ·  activity timestamp 2 weeks ago

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 git push --force 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.

  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.7 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct