Git Bash

:wq

Explanation

  • : ( colon symbol ) is the beginning character in the execution sequence.
  • w stands for write, as you would like the system to overwrite the former state of your file with this newer state.
  • q is for quit, as after the system has done overwriting your file, proceed to exit out of the editor.

Result

Your window will revert back to the terminal/command prompt screen for further commands.

Back To TIL