# Update Project dialog (Perforce)

> **TL;DR**
> `VCS | Update Project` or `VCS | Perforce | Update File/Directory`
>
>
>
> `Context menu of a file or directory | Perforce | Update File/Directory`
>
>
>
> `Ctrl+T` (Windows), `⌘ T` (macOS), `⌘ T` (IntelliJ IDEA Classic (macOS)), `⌘ T` (macOS System Shortcuts), `Ctrl+T` (XWin), `Ctrl+T` (GNOME), `Ctrl+T` (KDE), `Ctrl+T` (Emacs), `Ctrl+T` (Sublime Text), `Ctrl+T` (Sublime Text (macOS)), `⌘ ⌥ X` (Xcode), `Ctrl+Alt+W` (Visual Studio), `⌘ ⌥ W` (Visual Studio (macOS)), `Ctrl+Alt+W` (ReSharper), `⌘ ⌥ W` (ReSharper (macOS)), `Ctrl+T` (QtCreator), `Ctrl+T` (QtCreator (macOS)), `Ctrl+T` (NetBeans), `Ctrl+T` (Eclipse), `Ctrl+T` (Eclipse (macOS))

Use this dialog to update the local working copy of a file, directory, or project with a revision from the repository.

| Item | Description |
| --- | --- |
| Revert unchanged files before sync (p4 revert -a) | Select this checkbox to discard changes made to open files. This option corresponds to the Perforce `revert` command. For more information, refer to [p4 revert](http://maillist.perforce.com/perforce/doc.091/manuals/cmdref/revert.html#1040665) reference. |
| Force sync (-f) | Select this checkbox to forcibly copy files from the depot into the workspace. This option corresponds to the Perforce `sync` command. For more information, refer to [p4 sync](http://maillist.perforce.com/perforce/doc.091/manuals/cmdref/sync.html#1040665) reference.  |
| Run resolve automatically after the sync (p4 resolve -am) | Select this checkbox to resolve conflicts between file revisions. This option corresponds to the Perforce `resolve` command. For more information, refer to [p4 resolve](http://maillist.perforce.com/perforce/doc.091/manuals/cmdref/resolve.html#1040665) reference.  |
| Do not show this dialog in the future | If this checkbox is selected, the specified actions will be performed silently in future. |

## See also

### Procedures

[Perforce](using-perforce-integration.html)

### Reference

[Check file status](adding-files-to-version-control.html#file_status)  [Update info tab](version-control-tool-window-update-info-tab.html)

