Hi @Piyush, The "Error pushing changes" issue you're facing could be due to several reasons.
1. Shallow Checkout: If you're working with a shallow clone of the repository, you might face issues while pushing changes. This is because shallow clones do not have the complete history of the repository, which can cause problems during push operations.
To resolve this, you can perform a git fetch --unshallow
to convert your shallow clone into a complete clone.
However, this operation might take a while depending on the size of your repository.
2. Outdated Personal Fork: If your fork of the repository is behind your local clone, you might face issues while pushing. You can resolve this by updating your fork's master branch. The easiest way to do this is to navigate to your fork in the GitHub UI and then click the "Fetch upstream" button.
If none of these solutions works, you might need to check your access rights and permissions or investigate if any conflicts in your repository might be causing the issue.
Sources:
- [Databricks Docs: git-operations-with-repos](https://docs.databricks.com/repos/git-operations-with-repos.html)
- [Databricks Docs: errors-troubleshooting](https://docs.databricks.com/repos/errors-troubleshooting.html)