git upstream - 猿码设计师

Git怎么处理upstream

 

git remote add upstream https://github.com/SchedMD/slurm

git fetch upstream

git rebase upstream/master

git push

git push --tags

 

ppju:pbspro apple$ git commit -m "rebase"
error: gpg failed to sign the data
fatal: failed to write commit object

Solution:

test -r ~/.bash_profile && echo 'export GPG_TTY=$(tty)' >> ~/.bash_profile

echo 'export GPG_TTY=$(tty)' >> ~/.profile

 

posted @ 2019-11-28 19:35  ppju  阅读(1239)  评论(0编辑  收藏  举报

加我,一起讨论技术噢