# 检出插件的特定版本？

**URL:** <https://meta.discourse.org/t/checkout-specific-version-of-plugin/167919>\
**Category:** Development\
**Created:** [2020年十月21日 22:18 UTC](https://meta.discourse.org/t/checkout-specific-version-of-plugin/167919 "2020-10-21T22:18:30Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![codechef](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codechef/32/90261_2.png) [@codechef](https://meta.discourse.org/u/codechef)\
**Post date:** [2020年十月22日 01:07 UTC](https://meta.discourse.org/t/checkout-specific-version-of-plugin/167919/4 "2020-10-22T01:07:29Z")

</div>

好的，@Falco 的解决方案奏效了，但我不得不绕了点弯路。

1. 我 fork 了原始仓库
2. 在本地开发机器上克隆了它
3. 从目标提交创建了我的分支
  - `git branch foo ec64ae8`

4. 将该分支推送到我的 GitHub
  - `git push -u origin foo`

5. 更新了 app.yml，使用
  - `git clone -b foo git@github.com:my-repo.git`

感觉应该有更简单的方法，但这确实解决了问题。感谢 @Falco 的指引！

---

_[View the full topic](https://meta.discourse.org/t/checkout-specific-version-of-plugin/167919)._
