FIND YOUR NEXT FEW LINES

Results for “Tags & repository configuration”

Small, practical examples. Search by task or narrow things down below.

148 snippets foundClear filters
GitMerging & replaying changes

Resolve a merge by writing the intended final file

Git: After a conflict, edit the result, stage it, and finish the merge commit.

Git✓ Tested
GitRestoring & revising local work

Restore a file’s content from an older commit

Git: Specify a source revision when the desired contents are not in the current index.

Git✓ Tested
PowerShellCommands & execution context

Restore an environment value after temporary use

PowerShell: Use finally so temporary process configuration does not leak to subsequent work; remove the entry when it was originally absent.

PowerShell✓ Tested
GitStashing selected work

Restore the index state recorded in a stash

Git: Apply with index restores which changes were staged as well as their file contents.

Git✓ Tested
GitInspecting the working tree

Restrict a diff to one chosen path

Git: Use the double dash separator to distinguish a filename from revisions or options.

Git✓ Tested
GitGetting Started

Return to the original branch

Git: Return to the original branch inside the disposable repository created by the input setup.

Git✓ Tested
GitBranches & ancestry

Return to the previously checked-out branch

Git: The dash shorthand selects the previous branch in the checkout history.

Git✓ Tested
Docker / ComposeImage management

Save and reload an image archive

Docker / Compose: save preserves image metadata and tags for later loading.

Docker / Compose✓ Tested
GitWorking tree & staging

See changed files

Show a concise working-tree status.

status✓ Tested
Docker / ComposeStorage & isolation

Set and inspect a memory limit

Apply a per-container limit when creating a container.

memory✓ Tested
Docker / ComposeCompose applications

Set service environment values

Pass configuration through the Compose environment section.

Compose✓ Tested
GitGetting Started

Stage a new file

Git: Stage a new file inside the disposable repository created by the input setup.

Git✓ Tested