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...

The fossil status command will report the current status of your project, whether you have uncommitted edits and whether your working code is at the tip:

    $ fossil status
    repository:   /home/clif/myProject/../myProject.fossil
    local-root:   /home/clif/myProject/
    config-db:    /home/clif/.fossil
    checkout:     47c85d29075b25aa0d61f39d56f61f72ac2aae67 2016-12-20     
    17:35:49 UTC
    parent:       f3c579cd47d383980770341e9c079a87d92b17db 2016-12-20     
    17:33:38 UTC  
    tags:         trunk
    comment:      Ticket 1234abc workaround (user: clif) 
    EDITED     main.tcl

If there has been a commit made to the branch you're working on since your last checkout, the status will include a line resembling the following:

    child:         abcdef123456789...  YYYY-MM-DD HH:MM::SS UTC

This indicates ...

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