rortizmerino commited on
Commit
873e3b1
·
verified ·
1 Parent(s): 1f5f5a1

Update README.md

Browse files

Going by steps:

1. Does it make a difference whether it's created from a personal rather than an organization profile? explain license? (at least apache vs mit)

4. Made a new step splitting instructions for .gitattributes and README, a bit clearer

4.2 shall we explain what's in .gitattributes?, why did we move them?

4.3 README was empty for me, was there any need to concatenate it? just moved it instead

5. I guess it's easier with echo than explaining with a text editor?

8. I more less see the need for this step but shall we explain it?

Files changed (1) hide show
  1. README.md +9 -8
README.md CHANGED
@@ -28,24 +28,25 @@ Set the Cookiecutter-MLOps in Hugging Face
28
 
29
  rm -r /path/to/myHFrepo/Cookiecutter-MLOps/.git
30
 
31
- 4.2 - dResolve conflicts with .gitattributes and README.md
32
 
33
  cat /path/to/myHFrepo/Cookiecutter-MLOps/.gitattributes >> /path/to/myHFrepo/.gitattributes
34
  rm /path/to/myHFrepo/Cookiecutter-MLOps/.gitattributes
35
  git add .gitattributes
36
- git commit -m "Paste .gitattributes info from DagsHub/Cookiecutter-MLOps"
37
-
38
- cat /path/to/myHFrepo/Cookiecutter-MLOps/README.md >> /path/to/myHFrepo/README.md
39
- rm /path/to/myHFrepo/Cookiecutter-MLOps/README.md
 
40
  git add README.md
41
- git commit -m "Paste README info from DagsHub/Cookiecutter-MLOps"
42
 
43
- 4.3 - Move remaining files from DagsHub/Cookiecutter-MLOps to your Hugging Face repo .gitattributes and README.md
44
 
45
  cd /path/to/myHFrepo/Cookiecutter-MLOps
46
  mv * .[^.]* ..
47
  cd /path/to/myHFrepo
48
- rm -r /path/to/myHFrepo/Cookiecutter-MLOps
49
 
50
  5 - Add venv folder to.gitignore
51
 
 
28
 
29
  rm -r /path/to/myHFrepo/Cookiecutter-MLOps/.git
30
 
31
+ 4.2 - Resolve conflicts with .gitattributes (add explanation? e.g. what's in .gitattributes?)
32
 
33
  cat /path/to/myHFrepo/Cookiecutter-MLOps/.gitattributes >> /path/to/myHFrepo/.gitattributes
34
  rm /path/to/myHFrepo/Cookiecutter-MLOps/.gitattributes
35
  git add .gitattributes
36
+ git commit -m "Concatenate .gitattributes info from DagsHub/Cookiecutter-MLOps"
37
+
38
+ 4.3 - Resolve conflicts with README.md (simplified steps, do we actually need to keep it?)
39
+
40
+ mv /path/to/myHFrepo/Cookiecutter-MLOps/README.md /path/to/myHFrepo/README.md
41
  git add README.md
42
+ git commit -m "Get README info from DagsHub/Cookiecutter-MLOps"
43
 
44
+ 4.4 - Move remaining files from DagsHub/Cookiecutter-MLOps to your Hugging Face repo .gitattributes and README.md
45
 
46
  cd /path/to/myHFrepo/Cookiecutter-MLOps
47
  mv * .[^.]* ..
48
  cd /path/to/myHFrepo
49
+ rmdir /path/to/myHFrepo/Cookiecutter-MLOps
50
 
51
  5 - Add venv folder to.gitignore
52