最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

git - Retain only initial & latest commit - Stack Overflow

programmeradmin4浏览0评论

I need to retain only the initial & latest commit in both the master and release branches of my Gerrit repository.

So how do i remove all previous commits and keep only the initial(repository created) & latest (most recent)?

Note - If suppose, both not possible then Initial commit is not important but latest commit is must.

发布评论

评论列表(0)

  1. 暂无评论