Trouble pushing to Github, cannot spawn sh: No such file or directory

后端 未结 6 1394
陌清茗
陌清茗 2021-01-19 01:59

I\'m having a difficult time pushing to Github..I have a repository that I had cloned, and I have made changes to it that I\'d like to push back to github.

While in

6条回答
  •  轮回少年
    2021-01-19 02:40

    I did the following steps and it worked:

    I deleted the .git folder I uninstalled the git from c:/program files I Uninstalled git bash too Installed the git and git bash now Initialized git I checked using the following commands and it worked:

    git checkout -b vettal // created a new branch 
    git push origin vettal // and then made a push
    

    Thanks for all the help made through various questions in stackoverflow!

提交回复
热议问题