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
This milestone we have continued to polish the incoming/outgoing changes feature in the "Source Control" view and we have added the first set of actions. To enable these actions, we have also made changes so that the "Incoming" changes node is only shown when the local branch has an upstream.
Prerequisites
Download and install the latest version of VS Code Insiders
Ensure that the following settings have their default values:
git.autofetch- false
scm.showIncomingChanges - auto
scm.showOutgoingChanges - auto
scm.showChangesSummary - true
View Changes/View Commit
Launch VS Code Insiders
Open a folder/workspace that contains a git repository
Switch to a branch that has an upstream (ex: main)
If the branch has any incoming/outgoing changes click the "Sync Changes" button to clear the state
Make a change to a file and commit the change
Confirm that the local branch appears with 1 outgoing change
Confirm that the separator title says "Outgoing" only
Expand the outgoing changes node to see the one outgoing commit
Make another change to a file and commit the change
Confirm that the local branch now has "All Changes", and the two commits
Hover over the "All Changes" node and click on the "View All Changes" action
Confirm that a multi-file diff editor is opened with all the changed files
Confirm that the title of the editor is "All Changes" along with the commit range
Hover over a commit node and click on the "View Commit" action
Confirm that a multi-file diff editor is opened with all the changes from the commit
Confirm that the title of the editor is the short ref and the commit message
Fetch/Pull
Launch VS Code Insiders
Open a folder/workspace that contains a git repository
Switch to a branch that has an upstream (ex: main)
Make a change upstream (ex: use GitHub.com to update a file)
Switch back to VS code and run the Run the "Git: Fetch" command
Confirm that the upstream appears, with one incoming change
Make another change upstream (ex: use GitHub.com to update a file)
Switch back to VS Code, hover over the incoming change node and run the "Fetch" action
Confirm that the "All Changes" node appears
Confirm that the second change appears
Hover over the incoming change node and run the "Pull" action
Confirm that the changes are merged/rebased as configured
Confirm that the incoming changes node is gone
Publish
Launch VS Code Insiders
Open a folder/workspace that contains a git repository
Switch to a branch that has an upstream (ex: main)
Use the checkout command and create a new topic branch
Confirm that there are no incoming/outgoing nodes shown
Make a change to a file and commit the change
Confirm that the outgoing node appears with one commit
Hover over the outgoing changes node and click the "Push" action
Confirm that you are going through the publish branch flow (ex: you might have to pick a remote if you have more than one, you might see a modal dialog asking for confirmation to publish the branch depending on your settings)
Confirm that the branch has been pushed to the remote
Push
Launch VS Code Insiders
Open a folder/workspace that contains a git repository
Switch to a branch that has an upstream (ex: main)
Make changes to files, and create several commits
Hover over the outgoing changes node and click the "Push" action
Confirm that the commits have been pushed to the remote
The text was updated successfully, but these errors were encountered:
Refs: #199318
Complexity: 5
Create Issue
This milestone we have continued to polish the incoming/outgoing changes feature in the "Source Control" view and we have added the first set of actions. To enable these actions, we have also made changes so that the "Incoming" changes node is only shown when the local branch has an upstream.
Prerequisites
git.autofetch
- falsescm.showIncomingChanges
- autoscm.showOutgoingChanges
- autoscm.showChangesSummary
- trueView Changes/View Commit
Fetch/Pull
Publish
Push
The text was updated successfully, but these errors were encountered: