- Git Tutorial
- Git - Home
- Git - Basic Concepts
- Git - Environment Setup
- Git - Life Cycle
- Git - Create Operation
- Git - Clone Operation
- Git - Perform Changes
- Git - Review Changes
- Git - Commit Changes
- Git - Push Operation
- Git - Update Operation
- Git - Stash Operation
- Git - Move Operation
- Git - Rename Operation
- Git - Delete Operation
- Git - Fix Mistakes
- Git - Tag Operation
- Git - Patch Operation
- Git - Managing Branches
- Git - Handling Conflicts
- Git - Different Platforms
- Git - Online Repositories
- Git Useful Resources
- Git - Quick Guide
- Git - Useful Resources
- Git - Discussion
- Git - Persian Version
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.
Advertisements