Jump to content

Typical Git workflow: Difference between revisions

m
no edit summary
mNo edit summary
Line 11: Line 11:
[http://robert-reiz.com/2011/10/01/git-add-commit-push-pull/ http://robert-reiz.com/2011/10/01/git-add-commit-push-pull/]
[http://robert-reiz.com/2011/10/01/git-add-commit-push-pull/ http://robert-reiz.com/2011/10/01/git-add-commit-push-pull/]


== Typical Workflow are as follows ==
== Typical Workflow are as follows ==


1) get local copy of code<br>2) create a branch<br>3) edit files<br>4) add/commit changes to local machine<br>5) get back in sync with changes commited by others<br>6) push branch to remote git repository<br>7) merge local branch into local master<br>8) push local master to remote git repostiory
1) get local copy of code<br>2) create a branch<br>3) edit files<br>4) add/commit changes to local machine<br>5) get back in sync with changes commited by others<br>6) push branch to remote git repository<br>7) merge local branch into local master<br>8) push local master to remote git repostiory


== 1) Get a local copy of the code  ==
== 1) Get a local copy of the code  ==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.