Git Tutorial
Git Useful Resources
Selected Reading
- Git - Online Repositories
- Git - Different Platforms
- Git - Handling Conflicts
- Git - Managing Branches
- Git - Patch Operation
- Git - Tag Operation
- Git - Fix Mistakes
- Git - Delete Operation
- Git - Rename Operation
- Git - Move Operation
- Git - Stash Operation
- Git - Update Operation
- Git - Push Operation
- Git - Commit Changes
- Git - Review Changes
- Git - Perform Changes
- Git - Clone Operation
- Git - Create Operation
- Git - Life Cycle
- Git - Environment Setup
- Git - Basic Concepts
- Git - Home
Git Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Git - Life Cycle
Git - Life Cycle
In this chapter, we will discuss the pfe 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 reapze 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