Patrick Lamber
Patrick Lamber Microsoft Office Development MVP

How do I reset my forked GitHub repository?

The CLI for Microsoft 365 is a cross-platform command-line interface used to manage or automate Microsoft 365 resources. It is a PnP and community-driven initiative that is growing rapidly over time.

I am an active contributor for the CLI. Whenever I am starting a new contribution I want to have a clean forked repository to avoid unnecessary conflicts when pushing my solution.

Therefore, before starting new contributions I am executing following git commands:

And after a couple of days before pushing the solution to the remote repository I am executing these commands:

comments powered by Disqus