Datasets:

Modalities:
Image
Text
Formats:
parquet
Languages:
Danish
ArXiv:
DOI:
Libraries:
Datasets
Dask
License:
Kenneth Enevoldsen commited on
Commit
b8558e6
·
unverified ·
1 Parent(s): 368299f

Simplified contribution guidelines

Browse files
Files changed (1) hide show
  1. CONTRIBUTING.md +16 -4
CONTRIBUTING.md CHANGED
@@ -57,17 +57,29 @@ Creating a PR on Huggingface is a bit different from creating one on Github.
57
  1) Go to the community tab on huggingface press *new pull request* and choose *on your machine*. Specify the title of the your PR. Then you can simply:
58
 
59
  ```bash
60
- git fetch origin refs/pr/{PR NUMBER}:pr/{PR NUMBER}
61
- git checkout pr/{PR NUMBER}
62
  # make your changes here
63
 
64
  # push to hub
65
  # you might need to first login:
66
  # huggingface-cli login
67
- git push origin pr/{PR NUMBER}:refs/pr/{PR NUMBER}
68
  ```
 
 
 
69
 
70
- Before you make the PR do be sure to make sure that you have completed the following checklist.
 
 
 
 
 
 
 
 
 
 
71
 
72
  ### Checklist
73
 
 
57
  1) Go to the community tab on huggingface press *new pull request* and choose *on your machine*. Specify the title of the your PR. Then you can simply:
58
 
59
  ```bash
60
+ git checkout -b {new branch name}
 
61
  # make your changes here
62
 
63
  # push to hub
64
  # you might need to first login:
65
  # huggingface-cli login
66
+ git push origin HEAD:refs/pr/{PR NUMBER}
67
  ```
68
+ Where HEAD refers to the current branch.
69
+
70
+ Before you make the PR do be sure to make sure that you have completed the checklist below.
71
 
72
+ ### Making changes to an existing PR
73
+
74
+ As a contributor you might need to develop on an existing branch. To do so you you
75
+ ```bash
76
+ # fetch and checkout existing branch:
77
+ git fetch origin refs/pr/{PR NUMBER}:pr/{PR NUMBER}
78
+ git checkout pr/{PR NUMBER}
79
+ # make your changes here
80
+
81
+ # push changes
82
+ ```
83
 
84
  ### Checklist
85