首页 > 技术文章 > git upstream - 猿码设计师

ppju 2019-11-28 19:35 原文

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

 

推荐阅读