---
name: "hub-alias"
section: "1"
platform: "linux"
package: "hub"
version: "2.14.2-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/hub-alias"
---

# hub-alias(1)

Show shell instructions for wrapping git.

## NAME

hub-alias - Show shell instructions for wrapping git.

## SYNOPSIS

`hub alias` \[-s\] \[*SHELL*\]

## OPTIONS

- \-s

  Output shell script suitable for `eval`.

*SHELL*

Specify the type of shell (default: "$SHELL" environment variable).

## SEE ALSO

[hub(1)](/hub/1.md)
