git在Rails中将更改存储在哪里? [英] Where does git store changes in Rails?

查看:50
本文介绍了git在Rails中将更改存储在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

阅读该问题的答案 ,我们了解到git中的更改存储在.git驻留在项目的根目录中.但是在普通的Rails应用中,我看不到任何地方的.git.

Reading answers to this question, we learn that changes in git are stored in .git that resides in the project's root directory. But in a normal Rails app I cannot see .git anywhere.

推荐答案

在Windows上,我们有一个名为/.git->的文件夹,该文件夹是在使用git add .& git commit命令.这是给你的照片:

On Windows, we have a folder called /.git -> this is built when we use the git add . & git commit commands. Here's a picture of it for you:

这篇关于git在Rails中将更改存储在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆