Commiting
rapid status
This command is used to display all staged, unstaged and untracked files as well as all unmerged files. In contrast to git status
it places an index in front of each displayed file. These indexes can be used together with other commiting commands to work with the files.
Does not display current state as merging, rebasing, reverting and so on
No committing command works with indexes of unmerged files yet
whoami
directory
branch
±
rapid status
Index - staged files
modified:
(1)
file_B.dat
new file:
(2)
file_C.dat
deleted:
(3)
file_Q.dat
renamed:
(4)
file_R.dat -> file_S.dat
copied:
(5)
file_X.dat
Work tree - unstaged files
modified:
(1)
file_C.dat
deleted:
(2)
file_D.dat
Untracked files
untracked file:
(1)
file_A.dat
Unmerged files
both modified:
(1)
file_G.dat
both added:
(2)
file_H.dat
added by them:
(3)
file_I.dat
added by us:
(4)
file_J.dat
both deleted:
(5)
file_K.dat
deleted by them:
(6)
file_L.dat
deleted by us:
(7)
file_M.dat
whoami
directory
branch
±
▋
rapid track
- Track one or multiple files by index or range
-
Equivalent to
git add
- Allows passing arbitrary options
-
Indexes are based on untracked files and folders of
rapid status
whoami
directory
branch
±
rapid track 2 3
>
file_B.dat
>
file_Q.dat
whoami
directory
branch
±
▋
rapid stage
- Stage one or multiple files by index or range
-
Equivalent to
git add
-
Allows passing arbitrary options (e.g.
--patch
) -
Indexes are based on unstaged files of
rapid status
whoami
directory
branch
±
rapid stage ..
+
file_C.dat
+
file_D.dat
whoami
directory
branch
±
▋
rapid unstage
- Unstage one or multiple files by index or range
-
Equivalent to
git reset HEAD
-
Allows passing arbitrary options (e.g.
--patch
) -
Indexes are based on staged files of
rapid status
whoami
directory
branch
±
rapid unstage 2 3
<
file_C.dat
-
file_R.dat
-
file_S.dat
whoami
directory
branch
±
▋
rapid drop
- Drop unstaged changes of one or multiple files by index or range
-
Equivalent to
git checkout
- Allows passing arbitrary options
-
Indexes are based on unstaged files of
rapid status
whoami
directory
branch
±
rapid drop ..
~
file_C.dat
~
file_D.dat
whoami
directory
branch
±
▋
rapid remove
- Remove one or multiple files by index or range
-
Equivalent to
rm -rf
-
Indexes are based on untracked files and folders of
rapid status
When removing a directory, this command tries to remove sub-level files and directories too
whoami
directory
branch
±
rapid remove 2..
-
file_B.dat
-
file_Q.dat
whoami
directory
branch
±
▋
rapid diff
- Show the diff of one or multiple files by index or range
-
Equivalent to
git diff
-
Allows passing arbitrary options options (e.g.
--word-diff
) -
Indexes are based on unstaged files of
rapid status
when using no additional option -
Indexes are based on staged files of
rapid status
when using--cached
or--staged
as the first option
whoami
directory
branch
±
rapid diff ?
diff --git a/file-name b/file-name
index 1695e93..2572c02 100644
--- a/file-name
+++ b/file-name
@@ -1,? +1,? @@
some important message:
-(or not?)
- something happened
- also
+ - nothing happened
whoami
directory
branch
±
▋