简体   繁体   English

如何重构克隆的Rails回购?

[英]How to refactoring a cloned rails repo?

Being new to Rails, git and terminal. 是Rails,git和Terminal的新手。 What is the best method of renaming a local version of a cloned repo from github. 从github重命名克隆存储库的本地版本的最佳方法是什么。

eg 例如

angular+rails+yeoman I think will be a great bootstrap for a project. 我认为angular + rails + yeoman对于项目来说是一个很好的引导程序。 The problem being after clone, I would want to give my app its own name. 问题出在克隆之后,我想给自己的应用命名。 What is the best method in accomplishing this? 什么是实现这一目标的最佳方法?

yeoman-rails-angular becomes clients-app yeoman-rails-angular成为客户应用

I found this resource? 我找到了这个资源? But it just doesnt seems very "rails-y" 但这似乎并不十分“合理”

我可能会误会,但是如果您要克隆存储库,则可以使用以下方法重命名它:

$ git clone https://github.com/vlad/yeoman-rails-angular.git clients-app

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM