Skip to content

Commit

Permalink
New Feat dummy() create a dummy commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalandy committed May 6, 2022
1 parent 3205966 commit 56b1b43
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
21 changes: 10 additions & 11 deletions bashlava.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,10 @@
PR Title: 0o0o
Impact on: #4, #8, #9 #10, #11
# TODO New Feat dummy() create a dummy commit
# TODO mrg() Ensure to checkout to main_branch
The user maybe did not deleted the PR branch in the previous step (via cli gh pr merge)
Impact on: #4, #9, #10
# TODO dummy commits
create a dummy commit as test quickly the whole workflow
branch out dummy
commit dummy message
commit dummy message again
sq 2 "dummy message"
prompt : do you want to delete dummy branch ?
- to quickly test bashlava in a dummy projet
- Impact on: #4, #8
# TODO Core_Load_Vars_General
Expand Down Expand Up @@ -397,6 +389,13 @@ function ci { # User_
esac
}

function dummy { # User_
write_dummy_commit_here="README.md"
echo "Dummy Commit ${date_sec}" >> "${write_dummy_commit_here}"
git add -A && git commit -m "Dummy Commit ${date_sec}" && git push
pr
}

function show { # User_
Show_Prompt_All
}
Expand Down
1 change: 1 addition & 0 deletions components/alias.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ oe() { "git checkout edge" ; }
l() { "log" ; }
sq() { "squash" ; }
s() { "show" ; }
d() { "dummy" ; }
hash() { "git rev-parse HEAD && git rev-parse --short HEAD" ; }
Print_Yellow() { "Print_Warning" ; }

Expand Down
1 change: 1 addition & 0 deletions docs/help.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- `v` ....... |`version`code .......................... | _standalone_ or usage: v 1.4.2
- `t` ....... |`tag` .................................. | _standalone_
- `r` ....... |`release` and open GUI on GitHub ....... | _standalone_
- `d` ....... |`dummy` commits ........................ | _standalone_

**more commands**

Expand Down

0 comments on commit 56b1b43

Please sign in to comment.