在GitHub Windows客户端提交后文件不会同步? [英] File will not sync after committing in GitHub Windows client?

查看:173
本文介绍了在GitHub Windows客户端提交后文件不会同步?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的一些文件经过多次尝试提交并同步后,不会同步到我的Github帐户。我没有收到错误消息,但点击同步后,这些文件从未显示在我的帐户中。

屏幕截图: stack.imgur.com/BE0dC.jpgalt =Github远程屏幕>

解决方案

调试这种行为最简单的方法是打开shell直接从GitHub for Windows:





您可以检查以下结果:

  git status 
git add -A
git commit -mnew commit
git push


Some of my files will not sync to my Github account after numerous attempts to commit and then sync. I don't get an error message, but the files never show up on my account after clicking on "sync".

Screenshots:

解决方案

The easiest way to debug that kind of behaviour is to open a shell directly from GitHub for Windows:

You can then check the result of:

git status
git add -A 
git commit -m "new commit"
git push

这篇关于在GitHub Windows客户端提交后文件不会同步?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆