草庐IT

SIGN_CREATE

全部标签

git 请求 pull : how to create a (github) pull request on the command line?

我克隆了一个项目,并将一个只有重命名的自述文件的分支推送到自述文件。我正在尝试在命令行上创建一个pull请求,只是为了从这里而不是网站尝试PR。$gitrequest-pullorigin/masteroriginreadme:readmeThefollowingchangessincecommit51320a3a42f82ba83cd7919d24ac4aa5c4c99ac6:firstcommitmessageareavailableinthegitrepositoryat:git@github.com:example/com:example.gitreadmeforyoutofe

git 请求 pull : how to create a (github) pull request on the command line?

我克隆了一个项目,并将一个只有重命名的自述文件的分支推送到自述文件。我正在尝试在命令行上创建一个pull请求,只是为了从这里而不是网站尝试PR。$gitrequest-pullorigin/masteroriginreadme:readmeThefollowingchangessincecommit51320a3a42f82ba83cd7919d24ac4aa5c4c99ac6:firstcommitmessageareavailableinthegitrepositoryat:git@github.com:example/com:example.gitreadmeforyoutofe

git - 当你 `git commit --gpg-sign=<key-id>` 时正在签署什么数据?

我试图弄清楚如何手动签署/验证提交,但我无法弄清楚要签署哪些数据来创建签名。换句话说,我不知道是什么在gpg--verify需要。这是git源代码的相关部分:https://github.com/git/git/blob/master/commit.c#L1047-L1231但我也是C的新手。这是一些示例数据:在一个新的git仓库中,我创建了一个文件ledger.txt并通过签名提交提交:gitconfig--globaluser.signingkey7E482429gitinitecho"EAC5-531F-38E8-9670-81AE-4E77-C7AA-5FC3-7E48-242

git - 当你 `git commit --gpg-sign=<key-id>` 时正在签署什么数据?

我试图弄清楚如何手动签署/验证提交,但我无法弄清楚要签署哪些数据来创建签名。换句话说,我不知道是什么在gpg--verify需要。这是git源代码的相关部分:https://github.com/git/git/blob/master/commit.c#L1047-L1231但我也是C的新手。这是一些示例数据:在一个新的git仓库中,我创建了一个文件ledger.txt并通过签名提交提交:gitconfig--globaluser.signingkey7E482429gitinitecho"EAC5-531F-38E8-9670-81AE-4E77-C7AA-5FC3-7E48-242

git - git stash create 和 git stash store 的目的是什么?

来自git-scm处的文档,有两个gitstash命令提到与脚本相关,但不是一般用途:createCreateastash(whichisaregularcommitobject)andreturnitsobjectname,withoutstoringitanywhereintherefnamespace.Thisisintendedtobeusefulforscripts.Itisprobablynotthecommandyouwanttouse;see"save"above.storeStoreagivenstashcreatedviagitstashcreate(whichis

git - git stash create 和 git stash store 的目的是什么?

来自git-scm处的文档,有两个gitstash命令提到与脚本相关,但不是一般用途:createCreateastash(whichisaregularcommitobject)andreturnitsobjectname,withoutstoringitanywhereintherefnamespace.Thisisintendedtobeusefulforscripts.Itisprobablynotthecommandyouwanttouse;see"save"above.storeStoreagivenstashcreatedviagitstashcreate(whichis

git-mac os x : error: gpg failed to sign the data 上的 gpg

我从brew安装了GPG。brewinstallgpg它是gnupg2-2.0.30_2。当我提交时,我确实收到一条错误消息:Youneedapassphrasetounlockthesecretkeyforuser:"MaxMustermann(mycomment)"2048-bitRSAkey,ID1111AAAA,created2017-01-05error:gpgfailedtosignthedatafatal:failedtowritecommitobject我使用了命令:gpg--list-secret-keys|grep^sec它给了我返回:sec2048R/1111AA

git-mac os x : error: gpg failed to sign the data 上的 gpg

我从brew安装了GPG。brewinstallgpg它是gnupg2-2.0.30_2。当我提交时,我确实收到一条错误消息:Youneedapassphrasetounlockthesecretkeyforuser:"MaxMustermann(mycomment)"2048-bitRSAkey,ID1111AAAA,created2017-01-05error:gpgfailedtosignthedatafatal:failedtowritecommitobject我使用了命令:gpg--list-secret-keys|grep^sec它给了我返回:sec2048R/1111AA

git - "at"@ sign/symbol/character 在 Git 中是什么意思?

at符号@在git中经常使用到specifyrevisions在不同的方法。例如,@{}在上指定其状态的引用.示例:gitdiffmaster@{yesterday}master.@{}在第nth个先验状态下指定引用。示例:gitdiffmaster@{1}master.@{-}指定之前checkout的第nth个分支当前的。示例:gitcheckout@{-5}.@{upstream}指定引用的上游分支。示例:gitdiffmaster@{upstream}master.但是,@在git命令中也以其他方式使用,比如gitrebase-i@~4gitlog@^^..@at符号@是什么意

git - "at"@ sign/symbol/character 在 Git 中是什么意思?

at符号@在git中经常使用到specifyrevisions在不同的方法。例如,@{}在上指定其状态的引用.示例:gitdiffmaster@{yesterday}master.@{}在第nth个先验状态下指定引用。示例:gitdiffmaster@{1}master.@{-}指定之前checkout的第nth个分支当前的。示例:gitcheckout@{-5}.@{upstream}指定引用的上游分支。示例:gitdiffmaster@{upstream}master.但是,@在git命令中也以其他方式使用,比如gitrebase-i@~4gitlog@^^..@at符号@是什么意