[英]Will the commits can be deleted (in any case) if they are pushed in git in remote repo
Suppose i have the git repo 假设我有git repo
Now one of the user has merged with master and message i see is the squashed commit of the following
现在,用户之一已与master合并,我看到的消息是
squashed commit of the following
的squashed commit of the following
Now when i click on that commit in bitbucket
then i see 15 different commits
with their message and hash 现在,当我单击
bitbucket
中的提交时,我会看到15 different commits
及其消息和哈希
Now i can click on them individually and see individual commits
现在,我可以单独单击它们,并查看
individual commits
Now i want to know that does those grouped commits be there on repo forever or they will be deleted with time 现在我想知道这些分组的提交是否会永久存在于回购中,否则它们将随着时间的流逝而被删除。
They will be there forever. 他们将永远在那里。 That's how git has been designed.
这就是git的设计方式。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.