-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GitHub Backup: Update recommended repository settings (#394)
Update the recommended repository settings to ensure an empty repo is being created. Without this `git` will complain that the new repository on the Raspberry Pi and in GitHub don't have a common base revision as both have some content.
- Loading branch information
1 parent
e7e8a90
commit f1cfd62
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,11 @@ Experience is just a series of past mistakes we try to not make anymore. Remembe | |
1. If you plan on having more than one printer some day, use a repository name that is specific to that printer | ||
2. Description is optional, but nice to have, especially for other people that may reference your config | ||
3. Public or Private is up to you. | ||
4. License is optional too, but best to specify something. I usually do MIT for all my stuff, but your mileage may vary | ||
4. Select the following options under "Initialize this repository with": | ||
1. Make sure "Add a README file" is unchecked. | ||
2. Select "None" for .gitignore template. | ||
3. Select "None" for the license. | ||
The license is optional, but after your backup is working you should <a href="https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository" target="_blank">add one</a>. I usually do MIT for all my stuff, but your mileage may vary. | ||
|
||
![New repository details](images/backup/newRepoDetails.png) | ||
|
||
|
@@ -181,7 +185,7 @@ We can now put the pieces together we have created so far. To make this easier, | |
4. If this is your first time setting up git on your printer you may need to set your user and email details for git to use later. *if you don't do it now it will prompt you later ;)* | ||
``` | ||
```bash | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "your name" | ||
``` | ||
|
Binary file modified
BIN
+61.5 KB
(290%)
community/howto/EricZimmerman/images/backup/newRepoDetails.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.