代码拉取完成,页面将自动刷新
# list remotes
git remote -v
# add named remotes
git remote add gh-allensdk https://github.com/AllenInstitute/AllenSDK.git
git remote add ai-allensdk http://timf@stash.corp.alleninstitute.org/scm/inf/allen_wrench.git
cd allen_wrench
git checkout dev
make clean
mkdir -p doc/_build
cd doc/_build
git init
git clone -b gh-pages https://github.com/AllenInstitute/AllenSDK.git html
cd ../..
make doc
cd doc/_build/html
git add --all
git commit -m 'documentation deploy'
git push github gh-pages-test
# delete a remote branch
git push origin --delete gh-pages-test
# Roll back a pushed commit:
git reset HEAD^ # remove commit locally
git push origin +HEAD # force-push the new HEAD commit
refs/heads/gh-pages:refs/remotes/github/gh-pages
refs/heads/dev:refs/remotes/origin/dev
if you get into trouble:
git reset --hard origin/dev # remote tracking branch
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。