Skip to Content
Working with Linux ??? Quick Hacks for the Command Line
book

Working with Linux ??? Quick Hacks for the Command Line

by Petru I»ôfan, Bogdan Vaida
May 2017
Beginner
222 pages
3h 50m
English
Packt Publishing
Content preview from Working with Linux ??? Quick Hacks for the Command Line

Merging Git conflicts with ease

Now let's look at another improvement that we can bring to git. Most tasks are easy to execute from the command line, but some tasks, such as merging, require a specialist's eye for understanding the different format.

Let's open the feature file from our previous chapter, edit it, add a new line, and save it:

git diff
Merging Git conflicts with ease

The git diff command will show us colored text explaining the differences between the git file and the modified file, but some people find this format hard to understand:

Merging Git conflicts with ease

Luckily, we can tell git to use ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Basic Linux Terminal Tips and Tricks: Learn to Work Quickly on the Command Line

Basic Linux Terminal Tips and Tricks: Learn to Work Quickly on the Command Line

Philip Kirkbride
Windows Registry Troubleshooting

Windows Registry Troubleshooting

MVP Mike Halsey, MVP Andrew Bettany

Publisher Resources

ISBN: 9781787129184