本地push到 github,github活动点图不更新
天蓬老师
天蓬老师 2017-04-28 09:06:12
0
3
599

自己学习时记的笔记,用SSH方式推送到 github时,本地的常用操作是:

git add .
git commit -m"XXX"
git push origin 

但是发现github上相应的首页活动点图并没有显示有任何活动

请问为什么?

补充一下:
原来我是用https:方式clone下来的,这样自动origin就是https方式了.为了方便,我修改成了ssh方式,是不是和这个有关系?操作如下:

1) RM 掉原来的 origin 
2) ADD一个新的
3) 再关联一下分支 

谢谢@Kavlez的 耐心回答,确实出错在SSH上,因为SSH 很久以前生成的,忘记当时添加的账户是哪个了
这里是官方回答
PS: 查看github的的commit 信息,可以像官方回答的在commit链接后加.patch,这样就可以查看到提交用户的信息

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(3)
大家讲道理

Maybe there is no settingremote

$git remote add origin https://github.com/user/repo.git
# Set a new remote

git remote -v
# Verify new remote
# origin  https://github.com/user/repo.git (fetch)
# origin  https://github.com/user/repo.git (push)

Or whether the ssh related settings are correct

  • Forgot to add ssh key?
  • If you use windows, Pageant or something, are the settings correct?
  • Is the keypair confirmed to be a pair?
小葫芦
  • It should be successful, as long as you display as follows:

  • or push went up, but it just didn’t refresh

PHPzhong

I have also encountered this problem in the past two days. Here are two reasons:

1. Caching problem. The activity points have not been updated yet.
2. There is a bug in the display of the latest date of the activity point

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!