Help Center/ CodeArts Repo/ User Guide/ More About Git/ Use Cases on the Git Client/ Pushing a File That Has Been Changed on the Server
Updated on 2024-07-05 GMT+08:00

Pushing a File That Has Been Changed on the Server

Background

A file push on the Git client will fail if the file is modified on the server, and the following information is displayed.

Procedure

  1. Pull the latest code from the server.
    git pull origin XXX (branch name)
  2. Modify and push the code.
    git push origin XXX (branch name)