Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions book/08-customizing-git/sections/attributes.asc
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,12 @@ You can set up an attribute like this:
database.xml merge=ours
----

[source,console]
----
And then define a dummy `ours` merge strategy with:
----

[source,console]
----
$ git config --global merge.ours.driver true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also drop the leading space here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any leading space in the source file.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woops, you're right, it's just in the diff.

----

If you merge in the other branch, instead of having merge conflicts with the `database.xml` file, you see something like this:

Expand Down