An interactive shell for git
BSD-3-CLAUSE License
Bot releases are visible (Hide)
This version of gitsh requires:
$if gitsh … $endif
block in your .inputrc
.$branch
and $tag
variables.branch -D <tab>
will now complete branch names, but not other revisions like tags, etc.fallback::
modifier.git rebase
, e.g. rebase master <tab>
will complete revision names.$opt
in the definition of an option.Published by georgebrock almost 6 years ago
~
in the gitsh.historyFile
setting (Cedric Staniewski)%g
and %G
in the prompt format to show the current Git command (Ben Knoble)push --force-<tab>
expands to push --force-with-lease
)commit && pus --force-<tab>
)~/.gitsh_completions
filePublished by georgebrock over 7 years ago
(foo || bar) && baz
(George Brocklehurst):cd
with no arguments to change to the repository's root directory (George Brocklehurst)$_root
magic variable, which evaluates to the repository's root directory (George Brocklehurst)--version
to see the version of Git you're using (George Brocklehurst)$(:echo ")")
now works as expected (George Brocklehurst & Adam Sharp)Published by georgebrock over 7 years ago
This release addresses issues with the install process that were introduced in v0.11, and by recent Homebrew changes.
ereadline
on OpenBSD (Mike Burns & George Brocklehurst)ruby22
, ruby23
, and ruby24
, e.g. for OpenBSD (George Brocklehurst)lib/gitsh
that need to be installed in a more portable way (Mike Burns & George Brocklehurst)Published by georgebrock almost 8 years ago
This release addresses issues with the install process that were introduced in v0.11.
DESTDIR
during make install
(Tommaso Sardelli)Published by georgebrock almost 8 years ago
This version of gitsh requires:
/bin/sh
to gain support for shell features like globbing, e.g. !ls *
will now behave as expected (George Brocklehurst & Mike Burns)~
when it's shown in the prompt (Scott Stevenson)Published by georgebrock about 9 years ago
:source file
command to run the Git and gitsh commands in the given file
(George Brocklehurst, Craig Kochis):set directory $(!pwd)
(George Brocklehurst)~/.gitshrc
file is run at the start of each interactive session, if it exists (George Brocklehurst)git log
(George Brocklehurst)Published by georgebrock almost 10 years ago
git
at the start of commands when git's help.autocorrect
setting is enabled (Rob Warner, George Brocklehurst)git config
variables (George Brocklehurst)ruby21
, for improved compatibility with BSD (Mike Burns)%B
(Saron Yitbarek, George Brocklehurst):echo $foo
will fail with a helpful error message if $foo
isn't set (George Brocklehurst, Harry Schwartz):set foo 1 && :echo $foo
(George Brocklehurst)Published by georgebrock about 10 years ago
gitsh
as a sh-bang line (George Brocklehurst)$_prior
, $_rebase_base
and $_merge_base
(George Brocklehurst, Mike Burns):q
(Jeff Mueller)add . # add all files
(George Brocklehurst):help
command to get help on internal commands (Sarah Mei, George Brocklehurst)Published by georgebrock over 10 years ago
gh
with the new gitsh.gitCommand
setting (Calle Erlandsson, Magan Adam)#
are treated as comments and ignored (George Brocklehurst, Anatoli Makarevich)--version
outputs which line editing library is being used: GNU Readline or libedit (Calle Erlandsson)gitsh
binary written in C instead of Ruby, to prepare for gitsh scripts in a future release (George Brocklehurst, Calle Erlandsson)gitsh
instead of ruby
in more contexts (George Brocklehurst, Calle Erlandsson)!
no longer causes a parse error (Magan Adam, Calle Erlandsson)Published by georgebrock over 10 years ago
:echo
command (Mike Burns, Calle Erlandsson)make check
target (Mike Burns)ctrl-c
while running a Git command with a pager no longer leaves gitsh in an ambiguous state (George Brocklehurst)version.rb
file (George Brocklehurst)Published by georgebrock over 10 years ago
!
(Magan Adam, George Brocklehurst)&&
, ||
, and ;
(Blaine Schmeisser)gitsh
for programs like ps
(Alex Sunderland)gh
or hub
Published by georgebrock over 10 years ago
git
(George Brocklehurst, Mike Burns)status
(George Brocklehurst)Published by georgebrock over 10 years ago
:set
command for setting environment variables (George Brocklehurst):exit
command to close gitsh, replaces exit
(George Brocklehurst):cd
command to change directory (George Brocklehurst)git config
variables with a $
prefix, e.g. $user.name
(Georgegitsh.prompt
setting (George Brocklehurst)Published by georgebrock over 10 years ago
--version
command line option (George Brocklehurst)--git
command line option (George Brocklehurst)--help
command line option (George Brocklehurst)Published by georgebrock over 10 years ago
gitsh.defaultCommand
setting to override the default command (George