【发布时间】:2021-10-04 01:08:38
【问题描述】:
当我尝试将我的代码上传到 github 时。以下是我在 Git Bash 终端中执行的步骤。当我尝试使用 $ git push -u origin main 将代码推送到 github 时,光标移动到下一行并一直闪烁但什么也不做。
git remote add origin "https://github.com/TarunRajinikanth/Trifacta.git"
git add -A
git config --global -user.name "username"
git config --global -user.email "useremail@gmail.com"
git commit -m "this is my first commit"
git branch -m main
git push -u origin main
【问题讨论】:
-
与cygwin无关。让我们在结束问题之前等待 OP 的反馈。
-
不,问题出在 mingw64 上。
-
@matt 显然是最新的 Git 加上最新的 GCM(Git Credential Manager)。我已经使用相关问题参考编辑了答案。
-
太好了,谢谢!我会将此作为我的规范链接。