Skip to content

Commit 3e67ea2

Browse files
committed
med-height screenshot
1 parent f6c78fa commit 3e67ea2

2 files changed

Lines changed: 6 additions & 18 deletions

File tree

9.89 KB
Loading

microsoft-edge/webview2/samples/webview2apissample.md

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This sample uses C++ and HTML/CSS/JavaScript in the WebView2 environment.
2323

2424
**WebView2APISample** showcases a selection of WebView2's event handlers and API methods that allow a native Win32 application to directly interact with a WebView2 control and vice versa.
2525

26-
![WebView2APISample app window showing WebView2 SDK version and WebView2 Runtime version and path](./webview2apissample-images/webview2apisample-app-window.png)
26+
![WebView2APISample app running](./webview2apissample-images/webview2apisample-app-window.png)
2727

2828
This sample and its solution file are unique: it contains a copy of other samples, in Solution Explorer.
2929

@@ -101,7 +101,7 @@ If you want to open this sample by using Visual Studio 2017:
101101
1. If not opened already, open a git bash command prompt: Press the **Windows** key, and then type **git bash**.
102102

103103

104-
**Fetch and pull commits**
104+
**Pull commits**
105105

106106
1. Switch to the cloned repo directory:
107107

@@ -111,36 +111,24 @@ If you want to open this sample by using Visual Studio 2017:
111111

112112
Substitute the path where you cloned the **WebView2Samples** repo to.
113113

114-
1. Fetch the latest repo information:
115-
116-
```
117-
git fetch
118-
```
119-
120114
1. Pull the latest commits to your local copy of the repo:
121115

122116
```
123117
git pull
124118
```
125119

126120

127-
**Create a working branch and switch to it**
128-
129-
1. Create a working branch:
130-
131-
```
132-
git branch test
133-
```
121+
**Create a working branch**
134122

135-
1. Switch to the working branch:
123+
1. Create a working branch and switch to it:
136124

137125
```
138-
git checkout test
126+
git checkout -b test
139127
```
140128

141129
Returns: `Switched to branch 'test'`
142130

143-
You are now free to modify the code in your working branch, without altering the code that's in the "main" branch of the repo. Later you might want to switch back to the "main" branch, or create a different branch based off the "main" branch.
131+
You are now free to modify the code in your working branch, without altering the code that's in the "main" branch of the repo. Later you might want to switch back to the "main" branch, for example to pull new commits, or create a different branch based off the "main" branch.
144132

145133

146134
<!-- ====================================================================== -->

0 commit comments

Comments
 (0)