Get yourself a Double flare tool from Advanced Auto ($30-$40.00).
Should look similar to this:
Keep note of what each piece is called. If you forget refer to this picture
First grab your line you want to connect up / repair. Its useful to know what size the line you are flaring is:
As you can see, there are different sizes for different applications. Most Brake lines are 3/16" and that's what I will show you in this DIY. The same steps apply for bigger flares as well:
Loosen the nuts on the line vise and push your line through the opening, and grab your 3/16" flare nipple and place it stub side up. The base of the nipple should be flush with the top of your brake line:
As you can see from the picture, the brake line shown is actually not flat. You want your brake lines to be as flat as possible so the nipple will sit flush and flare it evenly
Now tighten the nuts on the line vise with a 1/2" Box end wrench and place the stub side of the nipple inside the brake line. Grab your flare tool and slide it over the vise and secure it to the indent on the flare nipple:
Note: In this picture I am showing the indent on the flare nipple
Using the 1/2" Box end wrench you used to tighten the line vise to the line you want to flare, Tighten down your flare tool until your nipple is flush with your vise:
Note: If you don't have your vise tight enough, you will have to loosen and re-do the first steps of lining the nipple up to the brake line
Now that its flush, remove your flaring tool, pull the nipple out of your brake line and slide the Flare tool back onto the line vise.
Tighten the flare tool once again.
Note: DO NOT OVER TIGHTEN!! If you over tighten on this step, you risk splitting your brake line at the flare and you will have to cut off your messed up flare and re-try all the steps!
Remove the flare tool, Loosen your brake vise and remove. PRESTO. You have a double-flared brake line!
Note: Before flaring the other side of your line, make sure that you install your fittings that you will be attaching to your brake / fuel system. If you forget to put your fittings over the line and flare the opposite side, you will have to cut / insert fittings / re-flare the line. MAKE SURE TO INSTALL YOUR FITTINGS!
This tool can also be used for fuel lines as well
Pictures of what final should look Like:
The picture above lists a Bubble flare. You create this with the double flare tool as well, but you do not do the last step of running the flare tool back into it. You put the nipple on the brake line and run it in and thats it.