Results for “create folder”
Small, practical examples. Search by task or narrow things down below.
List files by extension
Enumerate regular files and return their names in order.
Get-ChildItem✓ Tested
List files changed by the current commit
Git: diff-tree exposes the paths changed between a commit and its parent.
Git✓ Tested
List files containing a match
Linux Commands: Use grep -l when only the matching filenames are needed.
Linux Commands✓ Tested
List ignored untracked files
Git: Combine ignored with others so the result is specifically ignored working files.
Git✓ Tested
List local branches
Print branch names in sorted order.
branch✓ Tested
List modified tracked files
Git: List modified tracked files inside the disposable repository created by the input setup.
Git✓ Tested
List newly added staged files only
Git: Filter the cached diff by added status while leaving modified files out.
Git✓ Tested
List only staged filenames
Git: The cached diff compares the index with HEAD rather than comparing working files with the index.
Git✓ Tested
List paths changed on a feature branch since its merge base
Git: A three-dot diff compares the branch tip with the common ancestor.
Git✓ Tested
List paths saved in the latest commit
Git: List paths saved in the latest commit inside the disposable repository created by the input setup.
Git✓ Tested
List regular files
List immediate regular files in sorted order and close the Java directory stream.
Java✓ Tested
List regular files recursively in sorted order
C++: Collect relative paths before sorting because directory iteration order is unspecified.
C++✓ Tested