使用Github 今天是2012年12月1日,但我希望它看起来像我在两天前提交/编写了一个git提交(11/29/2012,任何时间)(最后一次提交/同步是11/27/2012)。 (从那时起没有其他的git提交,我是唯一使用这个特定git存储库的人。我正在使用Github及其命令行shell。
我知道这与GIT_COMMITER_DATE和GIT_AUTHOR_DATE有关
然而,我对手动git命令并不是很熟悉,无法做到这样的事情
谢谢!
对于Benjamin,我尝试了setenv,但setenv不是一个有效的命令? 我正在使用github git命令行
setenv GIT_COMMITER_DATE="11/28/2013 12:30"
Error:
setenv : The term 'setenv' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ setenv GIT_COMMITER_DATE="11/28/2013 12:30"
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (setenv:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
此外,我尝试使用Cmd、GitBash和Powershell作为shell客户端,但都没有成功。(我的操作系统是Windows)