wip
This commit is contained in:
parent
8d795ad707
commit
ac22bdb067
1 changed files with 2 additions and 2 deletions
|
@ -531,11 +531,11 @@ __git__() {
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -n "$commit_files" ] || [ -n "$commit_message" ]; then
|
if [ -n "$commit_files" ] || [ -n "$commit_message" ]; then
|
||||||
echo "${CYAN}No changes on the remote branch. Adding changes and pushing with ${RED}${BOLD}'$commit_message'${NC}${CYAN} commit.${NC}"
|
|
||||||
|
|
||||||
[[ -z "$commit_files" ]] && commit_files=.
|
[[ -z "$commit_files" ]] && commit_files=.
|
||||||
[[ -z "$commit_message" ]] && commit_message=wip
|
[[ -z "$commit_message" ]] && commit_message=wip
|
||||||
|
|
||||||
|
echo "${CYAN}No changes on the remote branch. Adding changes and pushing with ${RED}${BOLD}'$commit_message'${NC}${CYAN} commit.${NC}"
|
||||||
|
|
||||||
if (("${#commit_files}" <= 1)); then
|
if (("${#commit_files}" <= 1)); then
|
||||||
git add $commit_files
|
git add $commit_files
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue