Skip to Content
Linux Shell Scripting Cookbook - Third Edition
book

Linux Shell Scripting Cookbook - Third Edition

by Clif Flynt, Sarath Lakshman, Shantanu Tushar
May 2017
Beginner
552 pages
28h 47m
English
Packt Publishing
Content preview from Linux Shell Scripting Cookbook - Third Edition

How to do it...

  1. To create a temporary fork and merge it back into an existing branch, you must first check out the branch you intend to work on:
        $ fossil checkout trunk
  1. Now you can edit and test. When you're satisfied with the new code, commit the new code onto a new branch. The --branch option creates a new branch if necessary and sets your current branch to the new branch:
        $ fossil commit --branch new_logic
  1. After the code has been tested and verified, you can merge it back into the appropriate branch by performing a checkout of the branch you want to merge into, then invoke the fossil merge command to schedule the merge, and finally commit the merge:
        $ fossil checkout trunk
        $ fossil merge new_logic
        $ fossil commit
  1. Fossil ...
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

Mastering Linux Shell Scripting - Second Edition

Mastering Linux Shell Scripting - Second Edition

Mokhtar Ebrahim, Andrew Mallett

Publisher Resources

ISBN: 9781785881985