Git
A Git client in a tab.
Shell reads the repository itself: loose objects, packfiles, the index, the commit-graph, the reflog. Every change to it is made by your own git, and each command Shell runs is shown in a log.
Commit
- Stage
- By file, by hunk or by line, and unstage the same way.
- Edit
- The diff of uncommitted changes is the files' own text: fix a line where you read it.
- Commit
- Commit and amend. Fetch, pull (fast-forward, merge or rebase) and push, with
--force-with-leasewhen a push must be forced. - Pull check
- Shell works out which of your uncommitted files a pull would conflict with, and holds the pull until you confirm.
- Fetch
- An open repository is fetched in the background every five minutes. The Fetch in Background setting changes the interval or turns it off.
History
- Graph
- Commits in lanes, with branches, tags, stashes and worktrees.
- Search
- By author, date, path, or content a commit added or removed, combined with AND, OR and NOT.
- Blame
- In the editor's gutter, following renames. A line leads to its commit.
- Reflog
- Where HEAD has been.
- Diffs
- Side by side or unified, with changes marked to the word and the syntax highlighted. Images compare side by side, overlaid, or as a difference.
Rewrite
- Rebase
- Interactive rebase as a list: drag to reorder, and pick, reword, squash, fixup or drop each commit.
- Conflicts
- A three-way merge view. Take ours, theirs or both for each conflict, with the base to consult.
- Also
- Cherry-pick, revert, merge, reset; branches, tags, stashes, worktrees, remotes and submodules.
- Undo
- For a minute after a branch or tag is deleted, a stash dropped, or a reset or rebase run, a notice offers to put it back.
How it works
- Reading
- Shell's own reader, with no libgit2 and no
git log. Walking the 12,700 commits of Shell's own repository takes 178 ms, against 169 ms forgit rev-list. - Writing
- Your
git, found on yourPATH, with your configuration, hooks and credentials. - Log
- Every command Shell runs to change the repository is listed, as blocks in a read-only terminal.
- Remote
- A repository on an SSH host needs only
gitandshthere. - Accounts
- None. Shell has no service of its own between you and your remotes.
Limits
- Git only. SHA-256 repositories are not supported.
- Interactive rebase has no
editorexecsteps, and does not reorder across merges.git rebase -iin the terminal has them. - The merge view resolves a conflict by choosing sides. To write a resolution by hand, edit the file.
- Changing a repository needs
gitinstalled.
The Git client is a tab beside the terminal and the editor, in the same window.
Download Shell
Free to evaluate, with every feature and no time limit.