Skip to content

Commit

Permalink
Remove rebase command
Browse files Browse the repository at this point in the history
This command is not relevant anymore.
  • Loading branch information
extsoft committed Jul 25, 2019
1 parent 2a71623 commit 3b99078
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 32 deletions.
4 changes: 0 additions & 4 deletions docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
- `deliver-work`
- `accept-work`
- `pull`
- `rebase`
- `init`
- `acquire-repository`
- `add`
Expand Down Expand Up @@ -81,9 +80,6 @@ git push origin --delete <remote-branch-name>
# `pull`
Downloads new updates for a local branch.

# `rebase`
Reapplies commits on top of the latest `origin/master`.

# `init`
Creates an empty Git repository or reinitialize an existing one. Then runs local repository configuration.

Expand Down
1 change: 0 additions & 1 deletion libexec/git-elegant-commands
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ default() {
echo "deliver-work"
echo "accept-work"
echo "pull"
echo "rebase"
echo "init"
echo "acquire-repository"
echo "add"
Expand Down
7 changes: 0 additions & 7 deletions libexec/git-elegant-rebase

This file was deleted.

3 changes: 1 addition & 2 deletions tests/git-elegant-commands.bats
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ teardown() {
"deliver-work"
"accept-work"
"pull"
"rebase"
"init"
"acquire-repository"
"add"
Expand All @@ -26,7 +25,7 @@ teardown() {
for command in {0..12}; do
[ "${lines[$command]}" = "${COMMANDS[$command]}" ]
done
[ ${#lines[@]} -eq 12 ]
[ ${#lines[@]} -eq 11 ]
}

@test "'commands': default exit code is 0" {
Expand Down
18 changes: 0 additions & 18 deletions tests/git-elegant-rebase.bats

This file was deleted.

0 comments on commit 3b99078

Please sign in to comment.