how to update folder in github

less than 1 minute read

Published:

如果需要更新文件,则右键原来上传到github的文件夹,”Git Bash Here”,在本地对应远程的文件夹名称, 输入以下文本即可更新仓库:

git status

git add -A

git commit -a -m “update”,提交对应文件夹内已经修改的文件,即增加的

git push origin master -f

finished.