Jump to content

Typical Git workflow: Difference between revisions

m
no edit summary
mNo edit summary
Line 3: Line 3:
Normal workflow is to develop and check in on a branch, then once everything is happy, merge the branch back into the master.   
Normal workflow is to develop and check in on a branch, then once everything is happy, merge the branch back into the master.   


Local repository consists of three '''"trees"''' maintained by git. the first one is your '''Working Directory''' which holds the actual files.The second one is the '''Index''' which acts as a staging area and finally the '''HEAD''' which points to the last commit you've made. You typically only see the working directory, but as you issue git commands, it is helpful to understand the information used by git.
Local repository consists of three '''"trees"''' maintained by git. The first one is your '''Working Directory''' which holds the actual files.The second one is the '''Index''' which acts as a staging area and finally the '''HEAD''' which points to the last commit you've made. You typically only see the working directory, but as you issue git commands, it is helpful to understand the information used by git.


== Workflow Diagram  ==
== Workflow Diagram  ==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.