Py学习  »  Sercan  »  全部回复
回复总数  1
3 年前
回复了 Sercan 创建的主题 » Github的贡献没有出现,但邮件匹配

你需要使用 git push 命令将更改推送到GitHub上的存储库。否则,更改将在本地存储库中生效。

# After making changes to the local repository, use the command below to monitor all those changes.
git add .

# Use the command below to commit all changes.
git commit -m "Message"

# Run the following command for the changes to take effect in the repository on GitHub:
git push -u origin feature
# If your branch name is "main" use it like this:
git push -u origin main