Skip to content

Instantly share code, notes, and snippets.

$ git commit -m 'Upcase Foo#bar and Foo#baz output'
[master d237048] Upcase Foo#bar and Foo#baz output
1 files changed, 2 insertions(+), 2 deletions(-)
$ git commit -m 'Foo#bar and Foo#baz logging'
[master 8ed23be] Foo#bar and Foo#baz logging
1 files changed, 2 insertions(+), 0 deletions(-)
$ git commit -am 'Remove Foo#qux'
[master fefc536] Remove Foo#qux
1 files changed, 0 insertions(+), 4 deletions(-)

Lorem ipsum dolor sit amet...

jcarroll@jared> git show-branch ~/Sites/sampleapp
! [features/90210-sample-feature] View Styling
* [master] Initial Commit
--
+ [features/90210-sample-feature] View Styling
+ [features/90210-sample-feature^] JavaScript Highlighting
+ [features/90210-sample-feature~2] Integration Specs
+* [master] Initial Commit
jcarroll@jared> git br ~/Sites/sampleapp
Given a local repo with new untracked files **and** modifications to
tracked files. How can I remove all local changes?
$ git add .
$ git reset --hard
$ git add -A
$ git reset --hard
$ git add .
Scenario: Create a subtopic page
Given I am signed in as an admin
And the following home page exists:
| name | path |
| English | / |
And the following category exists:
| name | parent |
| Mind | name: English |
And the following topic exists:
| name | parent |
Scenario: Create a subtopic page
Given I am signed in as an admin
And a topic exists
# create a new subtopic
# verify output
Scenario: Create a slide
Given I am signed in as an admin
When I go to the admin dashboard
And I follow "Slides"
And I follow "New Slide"
And I fill in "Title" with "Slide title"
And I attach the file "features/fixtures/image.png" to "Image"
And I fill in "Url" with "http://example.com"
And I press "Save"
# verify output
Scenario: Create a slide
Given I am signed in as an admin
When I go to the admin dashboard
And I create a new slide
# verify output