我应该在Dropbox外部保留我的Git文件夹吗? [英] Should I keep my Git folder outside Dropbox?
问题描述
我知道这里有几十个关于Git和Dropbox之间混合的问题;这正是让我困惑的原因。有人说这是一个好主意,而另一些人则说这是一个 .git 文件夹外部移动到我的Dropbox文件夹中?
filename〜(冲突)
,它可以真正搞乱你的Git仓库并需要时间清理。 So far I've managed my code by keeping it inside my Dropbox folder and nothing more. Lately my code has been growing in size and complexity and I'm wondering if it wouldn't be better to set up a GitHub or Bitbucket account to manage it more efficiently.
I know there are already dozens of questions here regarding all kinds of mixes between Git and Dropbox; this is precisely what got me confused. Some say it's a great idea while others say it's a terrible idea.
I just want to know: if I decide to set up a git repository, using either GitHub or Bitbucket, should I move my .git
folder outside of my Dropbox folder?
Yes, it is important to keep your Git folder outside of Dropbox.
Dropbox can sometimes get confused and create a lot of duplicates of your files, such as filename~(conflict)
, which can really mess up your Git repository and require time to clean up.
这篇关于我应该在Dropbox外部保留我的Git文件夹吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!