Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments inside of code blocks don't format correctly after first code block. #41

Open
fleck opened this issue Jul 6, 2017 · 0 comments

Comments

@fleck
Copy link

fleck commented Jul 6, 2017

git Cheat Sheet

The Rules

To maintain the integrity of the branches and ensure we can deploy features independently we follow these rules:

  1. NEVER commit directly to an ENV branch (master, stage or develop)
  2. NEVER merge one ENV branch into another
  3. Feature branches should be autonomously deployable

Step 1

Create your feature branch

# switch to the master branch
git checkout master
# grab the latest from origin/master
git merge origin master
# create your feature branch (example name 34320-AutoShipImportError)
git checkout -b 34320-AutoShipImportError

Step 2

Commit your changes

# stage and commit your changes to feature branch
git add -A
git commit -m "34320-AutoShipImportError - adding validations to form"

Step 3

Deploy changes to dev for internal review

# merge from origin/master and resolve any conflicts
git merge origin master
# create dev feature branch
git checkout -b 34320-AutoShipImportError-develop 34320-AutoShipImportError
# merge from develop (and resolve conflicts)
git merge origin develop # push develop branch
git push origin 34320-AutoShipImportError-develop

Go to TFS and open a Pull Request with squashing to merge feature branch into develop.

Step 4

Deploy changes to production

# checkout your feature branch and merge from master
git checkout 34320-AutoShipImportError git merge origin master
# push your branch to origin
git push origin 34320-AutoShipImportError

Open a Pull Request to merge feature branch into master
screen shot 2017-07-06 at 4 15 11 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant