system
stringclasses
1 value
command
stringlengths
1
20
response
stringlengths
101
1.77k
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
ssh-keygen
# ssh-keygen > Generate ssh keys used for authentication, password-less logins, and other > things. More information: https://man.openbsd.org/ssh-keygen. * Generate a key interactively: `ssh-keygen` * Generate an ed25519 key with 32 key derivation function rounds and save the key to a specific file: `ssh-keygen -t ...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-branch
# git branch > Main Git command for working with branches. More information: https://git- > scm.com/docs/git-branch. * List all branches (local and remote; the current branch is highlighted by `*`): `git branch --all` * List which branches include a specific Git commit in their history: `git branch --all --contains...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
ldapsearch
# ldapsearch > Query an LDAP directory. More information: https://docs.ldap.com/ldap- > sdk/docs/tool-usages/ldapsearch.html. * Query an LDAP server for all items that are a member of the given group and return the object's displayName value: `ldapsearch -D '{{admin_DN}}' -w '{{password}}' -h {{ldap_host}} -b {{base_...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-bisect
# git bisect > Use binary search to find the commit that introduced a bug. Git > automatically jumps back and forth in the commit graph to progressively > narrow down the faulty commit. More information: https://git- > scm.com/docs/git-bisect. * Start a bisect session on a commit range bounded by a known buggy commit...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-status
# git status > Show the changes to files in a Git repository. Lists changed, added and > deleted files compared to the currently checked-out commit. More > information: https://git-scm.com/docs/git-status. * Show changed files which are not yet added for commit: `git status` * Give output in [s]hort format: `git st...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
resolvectl
# resolvectl > Resolve domain names, IPv4 and IPv6 addresses, DNS resource records, and > services. Introspect and reconfigure the DNS resolver. More information: > https://www.freedesktop.org/software/systemd/man/resolvectl.html. * Show DNS settings: `resolvectl status` * Resolve the IPv4 and IPv6 addresses for on...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-bundle
# git bundle > Package objects and references into an archive. More information: > https://git-scm.com/docs/git-bundle. * Create a bundle file that contains all objects and references of a specific branch: `git bundle create {{path/to/file.bundle}} {{branch_name}}` * Create a bundle file of all branches: `git bundl...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
journalctl
# journalctl > Query the systemd journal. More information: https://manned.org/journalctl. * Show all messages with priority level 3 (errors) from this [b]oot: `journalctl -b --priority={{3}}` * Show all messages from last [b]oot: `journalctl -b -1` * Delete journal logs which are older than 2 days: `journalctl -...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-remote
# git remote > Manage set of tracked repositories ("remotes"). More information: > https://git-scm.com/docs/git-remote. * Show a list of existing remotes, their names and URL: `git remote -v` * Show information about a remote: `git remote show {{remote_name}}` * Add a remote: `git remote add {{remote_name}} {{rem...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-rebase
# git rebase > Reapply commits from one branch on top of another branch. Commonly used to > "move" an entire branch to another base, creating copies of the commits in > the new location. More information: https://git-scm.com/docs/git-rebase. * Rebase the current branch on top of another specified branch: `git rebase ...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-daemon
# git daemon > A really simple server for Git repositories. More information: https://git- > scm.com/docs/git-daemon. * Launch a Git daemon with a whitelisted set of directories: `git daemon --export-all {{path/to/directory1}} {{path/to/directory2}}` * Launch a Git daemon with a specific base directory and allow pu...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-commit
# git commit > Commit files to the repository. More information: https://git- > scm.com/docs/git-commit. * Commit staged files to the repository with a message: `git commit --message "{{message}}"` * Commit staged files with a message read from a file: `git commit --file {{path/to/commit_message_file}}` * Auto st...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
systemd-cat
# systemd-cat > Connect a pipeline or program's output streams with the systemd journal. > More information: https://www.freedesktop.org/software/systemd/man/systemd- > cat.html. * Write the output of the specified command to the journal (both output streams are captured): `systemd-cat {{command}}` * Write the outp...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-archive
# git archive > Create an archive of files from a named tree. More information: https://git- > scm.com/docs/git-archive. * Create a tar archive from the contents of the current HEAD and print it to `stdout`: `git archive --verbose HEAD` * Create a zip archive from the current HEAD and print it to `stdout`: `git arc...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-ls-tree
# git ls-tree > List the contents of a tree object. More information: https://git- > scm.com/docs/git-ls-tree. * List the contents of the tree on a branch: `git ls-tree {{branch_name}}` * List the contents of the tree on a commit, recursing into subtrees: `git ls-tree -r {{commit_hash}}` * List only the filenames...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
systemd-run
# systemd-run > Run programs in transient scope units, service units, or path-, socket-, or > timer-triggered service units. More information: > https://www.freedesktop.org/software/systemd/man/systemd-run.html. * Start a transient service: `sudo systemd-run {{command}} {{argument1 argument2 ...}}` * Start a transi...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-restore
# git restore > Restore working tree files. Requires Git version 2.23+. See also `git > checkout` and `git reset`. More information: https://git-scm.com/docs/git- > restore. * Restore an unstaged file to the version of the current commit (HEAD): `git restore {{path/to/file}}` * Restore an unstaged file to the versi...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-replace
# git replace > Create, list, and delete refs to replace objects. More information: > https://git-scm.com/docs/git-replace. * Replace any commit with a different one, leaving other commits unchanged: `git replace {{object}} {{replacement}}` * Delete existing replace refs for the given objects: `git replace --delete...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
ssh-keyscan
# ssh-keyscan > Get the public ssh keys of remote hosts. More information: > https://man.openbsd.org/ssh-keyscan. * Retrieve all public ssh keys of a remote host: `ssh-keyscan {{host}}` * Retrieve all public ssh keys of a remote host listening on a specific port: `ssh-keyscan -p {{port}} {{host}}` * Retrieve cert...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
timedatectl
# timedatectl > Control the system time and date. More information: > https://manned.org/timedatectl. * Check the current system clock time: `timedatectl` * Set the local time of the system clock directly: `timedatectl set-time "{{yyyy-MM-dd hh:mm:ss}}"` * List available timezones: `timedatectl list-timezones` ...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
coredumpctl
# coredumpctl > Retrieve and process saved core dumps and metadata. More information: > https://www.freedesktop.org/software/systemd/man/coredumpctl.html. * List all captured core dumps: `coredumpctl list` * List captured core dumps for a program: `coredumpctl list {{program}}` * Show information about the core d...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
cups-config
# cups-config > Show technical information about your CUPS print server installation. More > information: https://www.cups.org/doc/man-cups-config.html. * Show the currently installed version of CUPS: `cups-config --version` * Show where CUPS is currently installed: `cups-config --serverbin` * Show the location o...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
hostnamectl
# hostnamectl > Get or set the hostname of the computer. More information: > https://manned.org/hostnamectl. * Get the hostname of the computer: `hostnamectl` * Set the hostname of the computer: `sudo hostnamectl set-hostname "{{hostname}}"` * Set a pretty hostname for the computer: `sudo hostnamectl set-hostname...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-checkout
# git checkout > Checkout a branch or paths to the working tree. More information: > https://git-scm.com/docs/git-checkout. * Create and switch to a new branch: `git checkout -b {{branch_name}}` * Create and switch to a new branch based on a specific reference (branch, remote/branch, tag are examples of valid refer...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-annotate
# git annotate > Show commit hash and last author on each line of a file. See `git blame`, > which is preferred over `git annotate`. `git annotate` is provided for those > familiar with other version control systems. More information: https://git- > scm.com/docs/git-annotate. * Print a file with the author name and c...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
systemd-path
# systemd-path > List and query system and user paths. More information: > https://www.freedesktop.org/software/systemd/man/systemd-path.html. * Display a list of known paths and their current values: `systemd-path` * Query the specified path and display its value: `systemd-path "{{path_name}}"` * Suffix printed ...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-ls-files
# git ls-files > Show information about files in the index and the working tree. More > information: https://git-scm.com/docs/git-ls-files. * Show deleted files: `git ls-files --deleted` * Show modified and deleted files: `git ls-files --modified` * Show ignored and untracked files: `git ls-files --others` * Sh...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-difftool
# git difftool > Show file changes using external diff tools. Accepts the same options and > arguments as `git diff`. See also: `git diff`. More information: > https://git-scm.com/docs/git-difftool. * List available diff tools: `git difftool --tool-help` * Set the default diff tool to meld: `git config --global dif...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-cat-file
# git cat-file > Provide content or type and size information for Git repository objects. > More information: https://git-scm.com/docs/git-cat-file. * Get the [s]ize of the HEAD commit in bytes: `git cat-file -s HEAD` * Get the [t]ype (blob, tree, commit, tag) of a given Git object: `git cat-file -t {{8c442dc3}}` ...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-show-ref
# git show-ref > Git command for listing references. More information: https://git- > scm.com/docs/git-show-ref. * Show all refs in the repository: `git show-ref` * Show only heads references: `git show-ref --heads` * Show only tags references: `git show-ref --tags` * Verify that a given reference exists: `git ...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-rev-list
# git rev-list > List revisions (commits) in reverse chronological order. More information: > https://git-scm.com/docs/git-rev-list. * List all commits on the current branch: `git rev-list {{HEAD}}` * Print the latest commit that changed (add/edit/remove) a specific file on the current branch: `git rev-list -n 1 HE...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-shortlog
# git shortlog > Summarizes the `git log` output. More information: https://git- > scm.com/docs/git-shortlog. * View a summary of all the commits made, grouped alphabetically by author name: `git shortlog` * View a summary of all the commits made, sorted by the number of commits made: `git shortlog -n` * View a s...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-worktree
# git worktree > Manage multiple working trees attached to the same repository. More > information: https://git-scm.com/docs/git-worktree. * Create a new directory with the specified branch checked out into it: `git worktree add {{path/to/directory}} {{branch}}` * Create a new directory with a new branch checked ou...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-mailinfo
# git mailinfo > Extract patch and authorship information from a single email message. More > information: https://git-scm.com/docs/git-mailinfo. * Extract the patch and author data from an email message: `git mailinfo {{message|patch}}` * Extract but remove leading and trailing whitespace: `git mailinfo -k {{messa...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-instaweb
# git instaweb > Helper to launch a GitWeb server. More information: https://git- > scm.com/docs/git-instaweb. * Launch a GitWeb server for the current Git repository: `git instaweb --start` * Listen only on localhost: `git instaweb --start --local` * Listen on a specific port: `git instaweb --start --port {{1234...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
scriptreplay
# scriptreplay > Replay a typescript created by the `script` command to `stdout`. More > information: https://manned.org/scriptreplay. * Replay a typescript at the speed it was recorded: `scriptreplay {{path/to/timing_file}} {{path/to/typescript}}` * Replay a typescript at double the original speed: `scriptreplay {...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-describe
# git describe > Give an object a human-readable name based on an available ref. More > information: https://git-scm.com/docs/git-describe. * Create a unique name for the current commit (the name contains the most recent annotated tag, the number of additional commits, and the abbreviated commit hash): `git describe`...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
systemd-delta
# systemd-delta > Find overridden systemd-related configuration files. More information: > https://www.freedesktop.org/software/systemd/man/systemd-delta.html. * Show all overridden configuration files: `systemd-delta` * Show only files of specific types (comma-separated list): `systemd-delta --type {{masked|equiva...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-mergetool
# git mergetool > Run merge conflict resolution tools to resolve merge conflicts. More > information: https://git-scm.com/docs/git-mergetool. * Launch the default merge tool to resolve conflicts: `git mergetool` * List valid merge tools: `git mergetool --tool-help` * Launch the merge tool identified by a name: `g...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-ls-remote
# git ls-remote > Git command for listing references in a remote repository based on name or > URL. If no name or URL are given, then the configured upstream branch will > be used, or remote origin if the former is not configured. More information: > https://git-scm.com/docs/git-ls-remote. * Show all references in th...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-submodule
# git submodule > Inspects, updates and manages submodules. More information: https://git- > scm.com/docs/git-submodule. * Install a repository's specified submodules: `git submodule update --init --recursive` * Add a Git repository as a submodule: `git submodule add {{repository_url}}` * Add a Git repository as ...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
systemd-mount
# systemd-mount > Establish and destroy transient mount or auto-mount points. More > information: https://www.freedesktop.org/software/systemd/man/systemd- > mount.html. * Mount a file system (image or block device) at `/run/media/system/LABEL` where LABEL is the filesystem label or the device name if there is no lab...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-rev-parse
# git rev-parse > Display metadata related to specific revisions. More information: > https://git-scm.com/docs/git-rev-parse. * Get the commit hash of a branch: `git rev-parse {{branch_name}}` * Get the current branch name: `git rev-parse --abbrev-ref {{HEAD}}` * Get the absolute path to the root directory: `git ...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-bugreport
# git bugreport > Captures debug information from the system and user, generating a text file > to aid in the reporting of a bug in Git. More information: https://git- > scm.com/docs/git-bugreport. * Create a new bug report file in the current directory: `git bugreport` * Create a new bug report file in the specifi...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-diff-files
# git diff-files > Compare files using their sha1 hashes and modes. More information: > https://git-scm.com/docs/git-diff-files. * Compare all changed files: `git diff-files` * Compare only specified files: `git diff-files {{path/to/file}}` * Show only the names of changed files: `git diff-files --name-only` * ...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-stripspace
# git stripspace > Read text (e.g. commit messages, notes, tags, and branch descriptions) from > `stdin` and clean it into the manner used by Git. More information: > https://git-scm.com/docs/git-stripspace. * Trim whitespace from a file: `cat {{path/to/file}} | git stripspace` * Trim whitespace and Git comments fr...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-check-attr
# git check-attr > For every pathname, list if each attribute is unspecified, set, or unset as > a gitattribute on that pathname. More information: https://git- > scm.com/docs/git-check-attr. * Check the values of all attributes on a file: `git check-attr --all {{path/to/file}}` * Check the value of a specific attr...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-show-index
# git show-index > Show the packed archive index of a Git repository. More information: > https://git-scm.com/docs/git-show-index. * Read an IDX file for a Git packfile and dump its contents to `stdout`: `git show-index {{path/to/file.idx}}` * Specify the hash algorithm for the index file (experimental): `git show-...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-update-ref
# git update-ref > Git command for creating, updating, and deleting Git refs. More information: > https://git-scm.com/docs/git-update-ref. * Delete a ref, useful for soft resetting the first commit: `git update-ref -d {{HEAD}}` * Update ref with a message: `git update-ref -m {{message}} {{HEAD}} {{4e95e05}}`
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-credential
# git credential > Retrieve and store user credentials. More information: https://git- > scm.com/docs/git-credential. * Display credential information, retrieving the username and password from configuration files: `echo "{{url=http://example.com}}" | git credential fill` * Send credential information to all config...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-send-email
# git send-email > Send a collection of patches as emails. Patches can be specified as files, > directions, or a revision list. More information: https://git- > scm.com/docs/git-send-email. * Send the last commit in the current branch: `git send-email -1` * Send a given commit: `git send-email -1 {{commit}}` * Se...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-merge-base
# git merge-base > Find a common ancestor of two commits. More information: https://git- > scm.com/docs/git-merge-base. * Print the best common ancestor of two commits: `git merge-base {{commit_1}} {{commit_2}}` * Output all best common ancestors of two commits: `git merge-base --all {{commit_1}} {{commit_2}}` * ...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-verify-tag
# git verify-tag > Check for GPG verification of tags. If a tag wasn't signed, an error will > occur. More information: https://git-scm.com/docs/git-verify-tag. * Check tags for a GPG signature: `git verify-tag {{tag1 optional_tag2 ...}}` * Check tags for a GPG signature and show details for each tag: `git verify-t...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
systemd-notify
# systemd-notify > Notify the service manager about start-up completion and other daemon status > changes. This command is useless outside systemd service scripts. More > information: https://www.freedesktop.org/software/systemd/man/systemd- > notify.html. * Notify systemd that the service has completed its initializ...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-range-diff
# git range-diff > Compare two commit ranges (e.g. two versions of a branch). More information: > https://git-scm.com/docs/git-range-diff. * Diff the changes of two individual commits: `git range-diff {{commit_1}}^! {{commit_2}}^!` * Diff the changes of ours and theirs from their common ancestor, e.g. after an inte...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-hash-object
# git hash-object > Computes the unique hash key of content and optionally creates an object > with specified type. More information: https://git-scm.com/docs/git-hash- > object. * Compute the object ID without storing it: `git hash-object {{path/to/file}}` * Compute the object ID and store it in the Git database: ...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-show-branch
# git show-branch > Show branches and their commits. More information: https://git- > scm.com/docs/git-show-branch. * Show a summary of the latest commit on a branch: `git show-branch {{branch_name|ref|commit}}` * Compare commits in the history of multiple commits or branches: `git show-branch {{branch_name|ref|com...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-maintenance
# git-maintenance > Run tasks to optimize Git repository data. More information: https://git- > scm.com/docs/git-maintenance. * Register the current repository in the user's list of repositories to daily have maintenance run: `git maintenance register` * Start running maintenance on the current repository: `git mai...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-commit-tree
# git commit-tree > Low level utility to create commit objects. See also: `git commit`. More > information: https://git-scm.com/docs/git-commit-tree. * Create a commit object with the specified message: `git commit-tree {{tree}} -m "{{message}}"` * Create a commit object reading the message from a file (use `-` for...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-whatchanged
# git whatchanged > Show what has changed with recent commits or files. See also `git log`. More > information: https://git-scm.com/docs/git-whatchanged. * Display logs and changes for recent commits: `git whatchanged` * Display logs and changes for recent commits within the specified time frame: `git whatchanged -...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
systemd-analyze
# systemd-analyze > Analyze and debug system manager. Show timing details about the boot process > of units (services, mount points, devices, sockets). More information: > https://www.freedesktop.org/software/systemd/man/systemd-analyze.html. * List all running units, ordered by the time they took to initialize: `sys...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-cherry-pick
# git cherry-pick > Apply the changes introduced by existing commits to the current branch. To > apply changes to another branch, first use `git checkout` to switch to the > desired branch. More information: https://git-scm.com/docs/git-cherry-pick. * Apply a commit to the current branch: `git cherry-pick {{commit}}`...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-unpack-file
# git unpack-file > Create a temporary file with a blob's contents. More information: > https://git-scm.com/docs/git-unpack-file. * Create a file holding the contents of the blob specified by its ID then print the name of the temporary file: `git unpack-file {{blob_id}}`
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-request-pull
# git request-pull > Generate a request asking the upstream project to pull changes into its > tree. More information: https://git-scm.com/docs/git-request-pull. * Produce a request summarizing the changes between the v1.1 release and a specified branch: `git request-pull {{v1.1}} {{https://example.com/project}} {{br...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-symbolic-ref
# git symbolic-ref > Read, change, or delete files that store references. More information: > https://git-scm.com/docs/git-symbolic-ref. * Store a reference by a name: `git symbolic-ref refs/{{name}} {{ref}}` * Store a reference by name, including a message with a reason for the update: `git symbolic-ref -m "{{mess...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-commit-graph
# git commit-graph > Write and verify Git commit-graph files. More information: https://git- > scm.com/docs/git-commit-graph. * Write a commit-graph file for the packed commits in the repository's local `.git` directory: `git commit-graph write` * Write a commit-graph file containing all reachable commits: `git sho...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-check-ignore
# git check-ignore > Analyze and debug Git ignore/exclude (".gitignore") files. More information: > https://git-scm.com/docs/git-check-ignore. * Check whether a file or directory is ignored: `git check-ignore {{path/to/file_or_directory}}` * Check whether multiple files or directories are ignored: `git check-ignore...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
systemd-ac-power
# systemd-ac-power > Report whether the computer is connected to an external power source. More > information: https://www.freedesktop.org/software/systemd/man/systemd-ac- > power.html. * Silently check and return a 0 status code when running on AC power, and a non-zero code otherwise: `systemd-ac-power` * Addition...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-update-index
# git update-index > Git command for manipulating the index. More information: https://git- > scm.com/docs/git-update-index. * Pretend that a modified file is unchanged (`git status` will not show this as changed): `git update-index --skip-worktree {{path/to/modified_file}}`
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-format-patch
# git format-patch > Prepare .patch files. Useful when emailing commits elsewhere. See also `git > am`, which can apply generated .patch files. More information: https://git- > scm.com/docs/git-format-patch. * Create an auto-named `.patch` file for all the unpushed commits: `git format-patch {{origin}}` * Write a `...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
systemd-firstboot
# systemd-firstboot > Initialize basic system settings on or before the first boot-up of a system. > More information: https://www.freedesktop.org/software/systemd/man/systemd- > firstboot.html. * Operate on the specified directory instead of the root directory of the host system: `sudo systemd-firstboot --root={{pat...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-verify-commit
# git verify-commit > Check for GPG verification of commits. If no commits are verified, nothing > will be printed, regardless of options specified. More information: > https://git-scm.com/docs/git-verify-commit. * Check commits for a GPG signature: `git verify-commit {{commit_hash1 optional_commit_hash2 ...}}` * C...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-check-mailmap
# git check-mailmap > Show canonical names and email addresses of contacts. More information: > https://git-scm.com/docs/git-check-mailmap. * Look up the canonical name associated with an email address: `git check-mailmap "<{{email@example.com}}>"`
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-count-objects
# git count-objects > Count the number of unpacked objects and their disk consumption. More > information: https://git-scm.com/docs/git-count-objects. * Count all objects and display the total disk usage: `git count-objects` * Display a count of all objects and their total disk usage, displaying sizes in human-read...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-for-each-repo
# git for-each-repo > Run a Git command on a list of repositories. Note: this command is > experimental and may change. More information: https://git-scm.com/docs/git- > for-each-repo. * Run maintenance on each of a list of repositories stored in the `maintenance.repo` user configuration variable: `git for-each-repo ...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-checkout-index
# git checkout-index > Copy files from the index to the working tree. More information: > https://git-scm.com/docs/git-checkout-index. * Restore any files deleted since the last commit: `git checkout-index --all` * Restore any files deleted or changed since the last commit: `git checkout-index --all --force` * Re...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-cvsexportcommit
# git cvsexportcommit > Export a single `Git` commit to a CVS checkout. More information: > https://git-scm.com/docs/git-cvsexportcommit. * Merge a specific patch into CVS: `git cvsexportcommit -v -c -w {{path/to/project_cvs_checkout}} {{commit_sha1}}`
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
update-alternatives
# update-alternatives > A convenient tool for maintaining symbolic links to determine default > commands. More information: https://manned.org/update-alternatives. * Add a symbolic link: `sudo update-alternatives --install {{path/to/symlink}} {{command_name}} {{path/to/command_binary}} {{priority}}` * Configure a s...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-check-ref-format
# git check-ref-format > Checks if a given refname is acceptable, and exits with a non-zero status if > it is not. More information: https://git-scm.com/docs/git-check-ref-format. * Check the format of the specified refname: `git check-ref-format {{refs/head/refname}}` * Print the name of the last branch checked ou...
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-credential-cache
# git credential-cache > Git helper to temporarily store passwords in memory. More information: > https://git-scm.com/docs/git-credential-cache. * Store Git credentials for a specific amount of time: `git config credential.helper 'cache --timeout={{time_in_seconds}}'`
You are a linux expert. You understand what every Linux terminal command does and you reply with the explanation when asked.
git-credential-store
# git credential-store > `git` helper to store passwords on disk. More information: https://git- > scm.com/docs/git-credential-store. * Store Git credentials in a specific file: `git config credential.helper 'store --file={{path/to/file}}'`