Home

Version Control File Operations

Simply Fortran allows file-specific operations either via the “File”../interface.html menu’s “Version Control” submenu or via right-clicking a file in the Project Outline and selecting the “Version Control” submenu. If a file is not currently under version control, these menus may appear disabled. A limited subset of Git functionality is available through these menus.

Reset to Head

Selecting this item will revert any outstanding changes to the selected file or the file in the current editor, depending on how the option was invoked. Any changes will be lost, and the file will revert to the last commit.

View Changes

When activated, this item will open a new tab showing the changes to the current file from the last commit in a diff format.

Stage Changes

This item will flag the current file and its changes for commit. The staging simply adds the file to the list of files to be included in the next commit.

Simply Fortran’s commit procedures allow flagging files for commit that are not currently staged, so this step is not strictly necessary. However, it can be useful in ensuring a given file is committed at the next oportunity regardless.

Commit Changes

Selecting to commit changes of a given file will simply open the commit window for the current project. This item does not commit just the single file.

View History

This item will open a new editor tab showing up to 200 of the last commits pertaining to the selected file.

Refresh Display

Occasionally, the Project Outline display may not reflect the current status of the Git repository. This state may occur if, for example, a project file was modified outside of Simply Fortran. Selecting Refresh Display simply updates the entire Project Outline’s version control statuses.

See Also

Overview
Commits
Project Operations