This post is nothing more than a reminder to myself on how to add a newly generated meanjs application to a new GitHub repository.Â Â Â This is something I do a couple of times a year, but I can never remember how to do it. It is actually simple, but it’s something my brain can just never remember!
I have previously blogged about how you would go about generating a new application using the MeanJS framework , so this post will only briefly document the steps you need to take to create a new repository on Github to add your application too. After all if you’re a serious developer you would never consider starting a development project without sorting out your source control.
- Create a new repo at github.
- Clone the existingÂ MeanJS repo to your local machine.
git remote rename origin [NAME_OF_APPLICATION]
git remote add origin [URL_TO_GITHUB_REPO]
- git remote rm [PROJECT_NAME]
git push origin master
I may pad this post out a bit over the next couple of days, but for now it is just a reminder to myself