Hard reset programatically
Is it possible to trigger a git reset --hard programatically?I'm running a platform service where, as part of CI/CD, repos get deployed into the Databricks workspace. Normally, our developers work with upstream repos both from their local IDEs and fr...
- 1094 Views
- 2 replies
- 1 kudos
- 1 kudos
Hi @camilo_s, When dealing with Git repositories programmatically, you can indeed trigger a git reset --hard to revert to a specific commit. Let’s break down the process: Understanding git reset --hard: The git reset --hard command discards all c...
- 1 kudos