You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'Cherrypick a file deleted from the given commit between branches using Git.'
3
+
mode: 'agent'
4
+
---
5
+
6
+
# Cherry-picking a File Between Branches Using Git
7
+
8
+
Your goal is to cherry-pick a specific file deleted from a given commit between branches in a Git repository. Use the Git command line interface to accomplish this task.
9
+
10
+
## Inputs
11
+
12
+
-**Commit Hash**: $COMMIT - The hash of the commit from which to cherry-pick the file.
13
+
-**File Path**: $FILE_PATH - The path of the file to be cherry-picked.
14
+
15
+
If you don't have the commit hash or file path, please ask the user for these details.
16
+
17
+
## Instructions
18
+
19
+
1.**Identify the Commit**: Determine the commit hash from which you want to cherry-pick the file.
20
+
2.**Cherry-pick the File**: Use the `git checkout` command to cherry-pick the specific file from the identified commit. If the file doesn't exist in the given commit, find the closest commit where the file exists.
21
+
3.**Commit the Changes**: Ask the user to stage and commit the changes to finalize the cherry-pick.
Copy file name to clipboardExpand all lines: 01-intro-to-ai-agents/README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,11 +101,14 @@ Agentic Frameworks allow developers to implement agentic patterns through code.
101
101
102
102
In this course, we will explore the research-driven AutoGen framework and the production-ready Agent framework from Semantic Kernel.
103
103
104
-
### Got More Questions about AI Agents?
104
+
##Sample Codes
105
105
106
-
Join the [Azure AI Foundry Discord](https://aka.ms/ai-agents/discord) to meet with other learners, attend office hours and get your AI Agents questions answered.
Join the [Azure AI Foundry Discord](https://aka.ms/ai-agents/discord) to meet with other learners, attend office hours and get your AI Agents questions answered.
Copy file name to clipboardExpand all lines: 01-intro-to-ai-agents/code_samples/01-dotnet-agent-framework.md
+74-23Lines changed: 74 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,8 @@
4
4
5
5
This notebook demonstrates how to build an intelligent travel planning agent using the Microsoft Agent Framework for .NET. The agent can automatically generate personalized day-trip itineraries for random destinations around the world.
6
6
7
-
**Key Capabilities:**
7
+
### Key Capabilities:
8
+
8
9
- 🎲 **Random Destination Selection**: Uses a custom tool to pick vacation spots
0 commit comments