0% found this document useful (0 votes)
290 views2 pages

Git - Life Cycle - Tutorialspoint

The general Git lifecycle involves cloning a Git repository as a working copy, modifying and updating the working copy by adding/editing files and incorporating other developers' changes. Changes are reviewed and committed locally before being pushed to the repository. If errors are found after committing, the last commit can be corrected and pushed to the repository.

Uploaded by

shiva
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
290 views2 pages

Git - Life Cycle - Tutorialspoint

The general Git lifecycle involves cloning a Git repository as a working copy, modifying and updating the working copy by adding/editing files and incorporating other developers' changes. Changes are reviewed and committed locally before being pushed to the repository. If errors are found after committing, the last commit can be corrected and pushed to the repository.

Uploaded by

shiva
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Git - Life Cycle - Tutorialspoint https://www.tutorialspoint.com/git/git_life_cycle.

htm

Git - Life Cycle

In this chapter, we will discuss the life cycle of Git. In later chapters, we will cover the Git
commands for each operation.

General workflow is as follows −

You clone the Git repository as a working copy.

You modify the working copy by adding/editing files.

If necessary, you also update the working copy by taking other developer's changes.

You review the changes before commit.

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

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 work-flow.

1 of 2 29/04/21, 12:32
Git - Life Cycle - Tutorialspoint https://www.tutorialspoint.com/git/git_life_cycle.htm

2 of 2 29/04/21, 12:32

You might also like