How to clone my existing rails app -


i have rails app on local development machine , want copy , have sort of starting point in case don't want start on scratch later future projects. there rails command can use "clone" or should copy , paste directory?

there no rails command clone app. can install git on system , create git repo want easily. go rails app root , execute

git init git add . git commmit -m "your commit message" 

you can continue working , commit changes needed or discard or individual changes. can clone app git clone commmand.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

python - Django-cities exits with "killed" -

python - How to get a widget position inside it's layout in Kivy? -