How can I accept all current changes in VSCode at once?

Solution 1:

Its very easy just go to vs code and press Ctrl+shift+p (command palette) or go to view and open command palette manually and type "merge" in your command palette, now you can see the Accept all current changes.

you can see image here

Solution 2:

select the list of files to resolve from the MERGE-CHANGES section, then right-click your mouse and select Accept all incoming. That should do the trick for all files.

Select list of files

Right click and choose *Accept all incoming*

Solution 3:

Select target file, right click and choose 'Accept All Incoming'.

Screenshot of described step.

Solution 4:

  1. Select all files in Merge Changes section.
  2. Choose Open File from right click menu. It opens all files.
  3. Select all files again.
  4. Choose appropriate menu from right click. eg. Accept All Current.
  5. Choose Save All from File menu.