In IntelliJ 14, I saw only an action called Create Gist..
, which will create a new gist every time from a file. However, sometimes I want to reuse an existing gist and keep the commit history. Does anyone have any ideas about how to do this?
在IntelliJ 14中,我只看到了一个名为Create Gist ..的动作,它每次都会从文件中创建一个新的gist。但是,有时我想重用现有的要点并保留提交历史记录。有没有人对如何做到这一点有任何想法?
2 个解决方案
#1
A gist is just a git repository. You can clone it and push changes to it like any git repo. See https://help.github.com/articles/forking-and-cloning-gists/
要点只是一个git存储库。您可以像任何git repo一样克隆它并将更改推送到它。请参阅https://help.github.com/articles/forking-and-cloning-gists/
#2
Take a look at plugin called Get gist (Beta). Link on github. I don't use it myself, for now.
看一下名为Get gist(Beta)的插件。在github上链接。我现在不自己使用它。
#1
A gist is just a git repository. You can clone it and push changes to it like any git repo. See https://help.github.com/articles/forking-and-cloning-gists/
要点只是一个git存储库。您可以像任何git repo一样克隆它并将更改推送到它。请参阅https://help.github.com/articles/forking-and-cloning-gists/
#2
Take a look at plugin called Get gist (Beta). Link on github. I don't use it myself, for now.
看一下名为Get gist(Beta)的插件。在github上链接。我现在不自己使用它。