Results for “Finding & selecting files”
Small, practical examples. Search by task or narrow things down below.
Read an annotated tag’s message
Git: for-each-ref can inspect annotation contents without including a commit diff.
Git✓ Tested
Read an image’s default command
Docker / Compose: Config.Cmd contains the command arguments stored in the image.
Docker / Compose✓ Tested
Read commit subjects affecting one file
Git: Place the path after -- so Git limits history to the selected file.
Git✓ Tested
Read commit subjects from oldest to newest
Git: Reverse the normal newest-first history order.
Git✓ Tested
Read history for one path
Git: Read history for one path inside the disposable repository created by the input setup.
Git✓ Tested
Read one archived file to standard output
Linux Commands: Use tar -O with an explicit member name instead of writing files to disk.
Linux Commands✓ Tested
Read output from a completed container
Retrieve the stdout captured by Docker.
logs✓ Tested
Read recent commit messages
View a compact history in newest-first order.
log✓ Tested
Read repository-local configuration
Git: Read repository-local configuration inside the disposable repository created by the input setup.
Git✓ Tested
Read stash labels without commit hashes
Git: A custom format provides predictable stash subjects.
Git✓ Tested
Read text in bounded chunks
Read a C text file with fgets and a fixed buffer.
C✓ Tested
Read the current branch name
Git: show-current returns an empty string when HEAD is detached.
Git✓ Tested