Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是一个项目中唯一的开发人员,我在多台计算机上工作,其中一些在 VM 上。在 gitHub 上对我的 repo 进行 git 克隆后,对 reflog 的调用仅在克隆后显示项目。如何更新这个新的克隆仓库以显示完整的历史记录?
reflog 仅显示您对存储库所做的事情的历史记录。这有点像当地的历史。这意味着您所做的第一件事是克隆存储库,这就是它开始的地方。我不相信你所问的在技术上是可行的。
不过,在 Git 中有很多方法可以完成任务。也许您可以使用 reflog 以外的方式来实现您的根本目标。
我在应用程序中使用 p:gmap 组件,但是当我尝试使用绑定属性来引用 bean 中的 GMap 时,它不起作用并且地图不显示。
JSF 代码:
<p:gmap binding="#{mapBean.map}" center=" -26.9995, -49.68