All apps/Git

Git

git

Distributed version control, built for speed and cheap branching.

Runs as git|macOS, Linux, Windows|git-scm.com

Command form

ai-draft · 8 tasks · 37 fields

Common Git jobs: commit, clone, status, push and pull. Rebase, merge, stash and the rest of Git are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui git

git commit

Commit changes
Commit changesExample values, fixed in this page — nothing here reaches a terminal
Basic
Message*
string
Stage all modified and deleted files
--all
TasksEach one presets the form for one job
Commit all with message
messageall
Amend, keep message
amendno_edit
ParametersOnly these flags are editable in the form
Message
string
--message-m
Stage all modified and deleted files
boolean
--all-a
Amend previous commit
Replaces the tip of the current branch.
boolean
--amend
Add Signed-off-by
boolean
--signoff-s
Skip pre-commit and commit-msg hooks
boolean
--no-verify-n
Allow empty commit
boolean
--allow-empty
Dry run
boolean
--dry-run
Keep message without editor
boolean
--no-edit
Author override
string
--author
Paths
path · positional 0 · repeatable

git clone

Clone a repository
Clone a repositoryExample values, fixed in this page — nothing here reaches a terminal
Basic
Repository URL*
string
Directory
any
Advanced
Branch
string
TasksEach one presets the form for one job
Clone
repositorydirectorybranch
Shallow clone
repositorydirectorydepthsingle_branch
ParametersOnly these flags are editable in the form
Repository URL
string · positional 0
Directory
path · positional 1
Branch
string
--branch-b
Shallow depth
integer
--depth
Single branch only
boolean
--single-branch
Bare repository
boolean
--bare
Skip tags
boolean
--no-tags
Quiet
boolean
--quiet-q

git status

Show status
Show statusExample values, fixed in this page — nothing here reaches a terminal
Basic
Short format
--short
Show branch
--branch
TasksEach one presets the form for one job
Short status
shortbranch
ParametersOnly these flags are editable in the form
Short format
boolean
--short-s
Show branch
boolean
--branch-b
Show stash
boolean
--show-stash
Verbose
boolean
--verbose-v
Porcelain
boolean
--porcelain

git push

Push to a remote
Push to a remoteExample values, fixed in this page — nothing here reaches a terminal
Basic
Remote*
originstring
Branch*
string
Set upstream
--set-upstream
TasksEach one presets the form for one job
Push and set upstream
remotebranchset_upstream
Preview push
remotebranchdry_run
ParametersOnly these flags are editable in the form
Remote
string · positional 0
origin
Branch
string · positional 1
Set upstream
boolean
--set-upstream-u
Push tags
boolean
--tags
Dry run
boolean
--dry-run-n
Force with lease
Overwrites remote history if the remote ref is where you expect.
boolean
--force-with-lease
Force
Overwrites remote history.
boolean
--force-f
Delete remote ref
boolean
--delete-d
Skip pre-push hook
boolean
--no-verify

git pull

Pull from a remote
Pull from a remoteExample values, fixed in this page — nothing here reaches a terminal
Basic
Remote
string
Branch
string
Fast-forward only
--ff-only
TasksEach one presets the form for one job
Fast-forward pull
remotebranchff_only
ParametersOnly these flags are editable in the form
Remote
string · positional 0
origin
Branch
string · positional 1
Fast-forward only
boolean
--ff-only
Always create merge commit
boolean
--no-ff
Do not commit the merge
boolean
--no-commit
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed git against its version. A form that does not match your version is not offered.