OSTREE REFS - Online Linux Manual PageSection : 1
Updated :
Source : OSTree
Note : ostree refs

NAMEostree-refs − List refs

SYNOPSISostree refs [OPTIONS...] [PREFIX] ostree refs {EXISTING} {−−create=NEWREF}

DESCRIPTIONLists all refs available on the host​. If specified, PREFIX assigns the refspec prefix; default prefix is null, which lists all refs​. This command can also be used to create or delete refs​.

OPTIONS−−list For historical reasons, refs without this option will strip the specified prefix from the output​. Normally, one wants to see the full ref, so providing this option ensures the refs are printed in full, rather than truncated​. −−create=NEWREF Create a ref pointing to the commit EXISTING​. NEWREF must not already exist, and EXISTING must be an existing commit​. More than one ref can point to the same commit​. −−delete Delete refs which match PREFIX, rather than listing them​. If you are trying to reclaim space, you will then need to ostree prune or ostree admin cleanup​. −−revision, −r When listing refs, also print their revisions​. The revisions will be separated by a tab character​. −−alias, −A If used with −−create, create an alias​. Otherwise just list aliases​. −−collections, −c Enable interactions with refs using the combination of their collection IDs and ref names​. When listing refs, this changes the output format to include collection IDs, and enables listing remote mirrored refs​. When creating refs, the refspec value passed to the −−create option is treated as COLLECTION−ID:REF−NAME and a mirrored ref is created​. (This is an abuse of the refspec syntax​.) When deleting refs, all refs whose collection ID equals PREFIX are deleted​. −−force When creating NEWREF with −−create, allow an existing ref to be updated instead of erroring​.

EXAMPLE$ ostree refs my−branch gnome−ostree/buildmain/x86_64−runtime
0
Johanes Gumabo
Data Size   :   8,192 byte
man-ostree-refs.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 238,373
Visitor ID   :     :  
Visitor IP   :   3.135.247.237   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.