PromucFlow_constructor/app/server/appsmith-server
Manish Kumar 813279bfc2
chore: Added changes for discard (#38152)
## Description
- Added implementation for discard

Fixes #37438

## Automation

/ok-to-test tags="@tag.Git"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/12314835405>
> Commit: 0db248a0c8f5b83fc2a33f574680ab59de51c52d
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12314835405&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Git`
> Spec:
> <hr>Fri, 13 Dec 2024 12:18:45 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a method to discard changes associated with a specified
branched artifact.
  - Added functionality to recreate artifact JSON from the last commit.

- **Bug Fixes**
- Enhanced handling of lock requirements in Git operations, allowing for
null values.

- **Documentation**
- Updated method signatures and added descriptions for new
functionalities.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-13 22:51:40 +06:00
..
src chore: Added changes for discard (#38152) 2024-12-13 22:51:40 +06:00
auth-notes
pom.xml chore(deps): Remove commons-io from /app/server/appsmith-server (#37403) 2024-11-15 15:12:54 +05:30