Jump to content

Typical Git workflow: Difference between revisions

mNo edit summary
Line 17: Line 17:
== Typical Workflow are as follows  ==
== Typical Workflow are as follows  ==


# get local copy of code
# Get local copy of code
# create a branch
# Create a branch
# edit files
# Edit files
# add andcommit changes to local machine
# Add and commit changes to local machine
# get back in sync with changes commited by others
# Get back in sync with changes commited by others
# push branch to remote git repository
# Push branch to remote git repository
# merge local branch into local master
# Merge local branch into local master
# push local master to remote git repostiory  
# Push local master to remote git repostiory  


The cut-and-paste commands assume you have set '''REPO''' and '''BRANCH''' shell variables.  An example setting would be:
The cut-and-paste commands assume you have set '''REPO''' and '''BRANCH''' shell variables.  An example setting would be:
6

edits

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