Changes

Jump to navigation Jump to search
24 bytes added ,  18:48, 4 November 2021
m
Text replacement - "tt>" to "samp>"
Line 26: Line 26:  
==Make your code open-source==
 
==Make your code open-source==
 
===If your code is already on GitHub===
 
===If your code is already on GitHub===
You're already almost done! You just need to [https://choosealicense.com/ choose an open-source license] (MIT License is a good choice if you're undecided), and [https://help.github.com/en/github/building-a-strong-community/adding-a-license-to-a-repository add a <tt>LICENSE</tt> file to the repository].
+
You're already almost done! You just need to [https://choosealicense.com/ choose an open-source license] (MIT License is a good choice if you're undecided), and [https://help.github.com/en/github/building-a-strong-community/adding-a-license-to-a-repository add a <samp>LICENSE</samp> file to the repository].
    
===If your code isn't on GitHub===
 
===If your code isn't on GitHub===
Line 44: Line 44:  
# Description: consider ''Mods for Stardew Valley.''
 
# Description: consider ''Mods for Stardew Valley.''
 
# Initialize ... with a README: enable this option.
 
# Initialize ... with a README: enable this option.
# Add <tt>.gitignore</tt>: leave this blank; we'll add our own later.
+
# Add <samp>.gitignore</samp>: leave this blank; we'll add our own later.
 
# Add a license: [https://choosealicense.com/ choose a license] (MIT License is a good choice if you're undecided), and select it here.
 
# Add a license: [https://choosealicense.com/ choose a license] (MIT License is a good choice if you're undecided), and select it here.
 
# Click 'Create repository'.
 
# Click 'Create repository'.
 
</li>
 
</li>
 
<li>On the repository page that appears, click the green "Clone or download" button and copy the URL:<br />[[File:Modding - copy GitHub repo URL.png]]</li>
 
<li>On the repository page that appears, click the green "Clone or download" button and copy the URL:<br />[[File:Modding - copy GitHub repo URL.png]]</li>
<li>In SourceTree, click ''File > Clone'' and paste the URL. Choose a destination path that's easy to access (like <tt>C:\source\StardewMods</tt>), and click 'Clone'.</li>
+
<li>In SourceTree, click ''File > Clone'' and paste the URL. Choose a destination path that's easy to access (like <samp>C:\source\StardewMods</samp>), and click 'Clone'.</li>
 
</ol>
 
</ol>
   Line 58: Line 58:     
# Open the repository folder (the destination path you entered in step 5 above).
 
# Open the repository folder (the destination path you entered in step 5 above).
# Unzip [https://github.com/StardewModders/Files/raw/master/template%20repo/gitattributes%20and%20gitignore.zip this zip file] into the folder. This will add two files to the root of your folder: <tt>.gitattributes</tt> (which normalises line endings between Linux/Mac/Windows) and <tt>.gitignore</tt> (which hides files which shouldn't be committed from Git). You just need to have them in your folder, you won't need to change them.
+
# Unzip [https://github.com/StardewModders/Files/raw/master/template%20repo/gitattributes%20and%20gitignore.zip this zip file] into the folder. This will add two files to the root of your folder: <samp>.gitattributes</samp> (which normalises line endings between Linux/Mac/Windows) and <samp>.gitignore</samp> (which hides files which shouldn't be committed from Git). You just need to have them in your folder, you won't need to change them.
# Copy your mod files (including the <tt>.sln</tt> file) into the folder.
+
# Copy your mod files (including the <samp>.sln</samp> file) into the folder.
 
# Commit your changes in SourceTree:
 
# Commit your changes in SourceTree:
 
## Click Commit at the top.
 
## Click Commit at the top.
107,395

edits

Navigation menu