'How to only output branch versions and do not really start the build

When run:

green@green13:~/green/build$bitbake core-image-minimal

I can see the branch versions as below and it will start the build but I only need these info outputs and do not really need to start the build, how can I do it?


Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "qemuarm64"
DISTRO               = "poky"
DISTRO_VERSION       = "3.1.14"
TUNE_FEATURES        = "aarch64 armv8a crc"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       = "HEAD:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
meta-oe              
meta-python          
meta-filesystems     
meta-networking      = "HEAD:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
meta-virtualization  = "HEAD:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source