Created
June 21, 2017 20:34
-
-
Save esden/696b953025998bdcfd5959c42facf33b to your computer and use it in GitHub Desktop.
Setting up a new project based on 1bitsy-locm3-template
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
# Clone the original template repository | |
git clone https://github.com/1Bitsy/1bitsy-locm3-template.git | |
# enter the newly cloned template | |
cd 1bitsy-locm3-template | |
# Clone and test compile the template repository | |
git submodule init | |
git submodule update | |
make | |
# Edit readme file and source code to reflect that it is your new project, you can use that time to remove the references to the template repository | |
subl/atom/vi README.md | |
# Commit your new changes | |
git add README.md | |
git ci | |
# Remove the template remote from the git repository | |
git remote remove origin | |
# Go on github and create a new repository using the + button in the right upper corner of your github profile, when asked reply that the repository should stay empty and not pre initialized | |
# After creating the new github repository you can cut and paste the commands in the "…or push an existing repository from the command line" section. | |
git remote add origin https://github.com/youruser/yournewgithubrepo.git | |
git push -u origin master | |
# Now you can continue with your project and make any adjustments you need and continue having a consistent history of the new project based on the template. | |
# Good luck and happy hacking! :D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment