VCS Management life-cycle on (one of) major tools (clone, commit, update, revert, merge, resolve, et

GIT

General workflow is as follows

1. You clone the Git repository as a working copy (or create a new one if it doesn’t exist)

2. You modify the working copy by adding/editing files.

3. If necessary, you also update the working copy by taking other developer's changes and if necessary, resolve conflicts.

4. You review the changes before commit.

5. You commit changes. If everything is fine, then you push the changes to the repository.

6. After committing, if you realize something is wrong, then you correct the last commit and push the changes to the repository.

Shown below is the pictorial representation of the workflow.

Last updated