22 September 2023

GIT - commit changes

Here's how to commit changes to GIT from Windows Explorer when the IDE doesn't have built-in support for GIT. This assumes GIT is installed on the computer.

  • In Explorer, navigate to the root folder of the project and choose File > Open command prompt.
  • Alternatively, run the command prompt; enter {drive letter}: unless the project is on the C drive; then enter cd "{full path to project root}".
  • Enter git add . to add new files.
  • Enter git commit -m "{description of the commit}".
  • Enter git push.

No comments:

Post a Comment