Update a File in Your Git Repository and Send Your Changes to the Remote Repository

Once your Git connection is set up, you can work in a file located in your application directory and then send (or push) the changes to the remote repository, using the following steps:

    Procedure
  1. Edit a file in the application directory where you created a repository, click Save, and close the file.
  2. To move your file into the staging area in your local Git repository, right-click the file, point to Git, and then click Stage.
  3. To commit your changes, right-click the file, point to Git, and then click Commit.

    The Commit dialog opens.

    Enter any desired commit comments and click Commit.

  4. To send your changed file to the remote repository, right-click the application directory, point to Git, and then click Push.