aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-11-05 02:28:48 -0400
committerBobby <[email protected]>2022-11-05 02:28:48 -0400
commitc6370070e95e5969ab8bc80b6017e6ab9aa06777 (patch)
tree47334079acfdb039e1aad93ac9eec46ae9ad33a3
parentf1d42a625654025a112c00c82882dd59ce181165 (diff)
downloadtexty-c6370070e95e5969ab8bc80b6017e6ab9aa06777.tar.xz
texty-c6370070e95e5969ab8bc80b6017e6ab9aa06777.zip
fix: Updated Readme and fixed commit script
-rw-r--r--README.md10
-rwxr-xr-xcommit.sh6
2 files changed, 13 insertions, 3 deletions
diff --git a/README.md b/README.md
index 7f96865..02e720f 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,15 @@ Text Editor
## Contributing Guidelines
-The project is open to contributions. If you want to contribute, please follow the guidelines below:
+The project is open to contributions. All kinds of suggestions are welcome. I want to make contributing to this project as easy and transparent as possible, whether it's:
+
+- Reporting a bug (See [Issues](https://github.com/luciferreeves/texty/issues) Page)
+- Discussing the current state of the code
+- Submitting a fix
+- Proposing new features
+- Becoming a maintainer
+
+GitHub is being exclusively used to host code, to track issues and feature requests, as well as accept pull requests for this project. Following is a guideline for developing via GitHub:
### Requirements
diff --git a/commit.sh b/commit.sh
index 4d87cd6..c3dda02 100755
--- a/commit.sh
+++ b/commit.sh
@@ -57,13 +57,15 @@ commit() {
then
msg="$3: $2"
# If the branch is the current branch, commit the files
- git commit $1 -m "$msg"
+ git add $1
+ git commit -m "$msg"
git push origin $branch
else
# If the branch is not the current branch, checkout the branch and commit the files
git checkout $branch
msg="$3: $2"
- git commit $1 -m "$msg"
+ git add $1
+ git commit -m "$msg"
git push origin $branch
fi
}