gitgpt
Automated Git Commit Messages using OpenAI's GPT Model
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.7%) to scientific vocabulary
Repository
Automated Git Commit Messages using OpenAI's GPT Model
Basic Info
- Host: GitHub
- Owner: stevecondylios
- License: other
- Language: R
- Default Branch: main
- Size: 25.4 KB
Statistics
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 2
- Releases: 0
Metadata Files
README.md
Installation
r
install.packages("gitGPT")
library(gitGPT)
Quick Start Guide
Get an OpenAI API key from here.
Set the key as an environment variable inside your R session:
```R Sys.setenv(OPENAIAPIKEY="sk-xxxxxxxxxxxxxxxxxxxxxxxxx")
Windows users must also set these two environment variables:
Sys.setenv(GITAUTHORNAME = "Your Name") Sys.setenv(GITAUTHOREMAIL = "Your Email") ```
- From inside RStudio, run this single command
commit()to add, commit and push with a GPT-generated commit message.
```r library(gitGPT)
Ensure getwd() is in your git repo
Make some changes to files
Add all changes, commit and push to GitHub with a single command
commit() ```
If you prefer to see some sample output of what your commit message may look like, you can try:
r
suggest_commit_message()
You can also see what GPT provides based on your own input:
```r suggestcommitmessage("Tidied headings in plots, optimised matrix multiplication in hpc.R")
Updated headings and improved matrix multiplication performance.
```
Note: ChatGPT is non-deterministic, so the same inputs can produce different outputs each time the function is run.
Owner
- Name: Steve Condylios
- Login: stevecondylios
- Kind: user
- Location: Melbourne
- Repositories: 14
- Profile: https://github.com/stevecondylios
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 3
- Total pull requests: 0
- Average time to close issues: about 2 hours
- Average time to close pull requests: N/A
- Total issue authors: 2
- Total pull request authors: 0
- Average comments per issue: 0.33
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- stevecondylios (2)
- statunizaga (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 182 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 1
- Total maintainers: 1
cran.r-project.org: gitGPT
Automated Git Commit Messages using the 'OpenAI' 'GPT' Model
- Homepage: https://github.com/stevecondylios/gitGPT
- Documentation: http://cran.r-project.org/web/packages/gitGPT/gitGPT.pdf
- License: MIT + file LICENSE
-
Latest release: 0.1.3
published over 3 years ago
Rankings
Maintainers (1)
Dependencies
- httr * imports
- jsonlite * imports