Toggle navigation
Toggle navigation
This project
Loading...
Sign in
graykode
/
commit-autosuggestions
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
graykode
2020-12-04 18:16:30 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9ef6431b1a6b79446239f49c8f64d7a3295478e0
9ef6431b
1 parent
368b902c
(fixed) git diff example
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
README.md
README.md
View file @
9ef6431
...
...
@@ -18,10 +18,13 @@ Have you ever hesitated to write a commit message? Now get a commit message from
```
text
diff --git a/test.py b/test.py
new file mode 100644
index 0000000..
1b1b82a
index 0000000..
d13f441
--- /dev/null
+++ b/test.py
@@ -0,0 +1,3 @@
@@ -0,0 +1,6 @@
+
+import torch
+import argparse
+
+def add(a, b):
+ return a + b
...
...
@@ -32,13 +35,14 @@ Recommended Commit Message : Add two arguments .
We can use CodeBERT to create a model that generates a commit message when code is added. However, most code changes are not made only by add of the code, and some parts of the code are deleted.
```
text
diff --git a/test.py b/test.py
index
1b1b82a..32a93f1
100644
index
d13f441..1b1b82a
100644
--- a/test.py
+++ b/test.py
@@ -1,3 +1,5 @@
+import torch
+import arguments
@@ -1,6 +1,3 @@
-import torch
-import argparse
-
def add(a, b):
return a + b
```
...
...
Please
register
or
login
to post a comment