Pushing from local repository to GitHub hosted remote

前端 未结 5 477
我在风中等你
我在风中等你 2020-11-28 17:57

I created a local repository of my Visual Studio 2010 solution folder using Git GUI on my dev machine. I then created a remote repository in my GitHub account. Now, I am loo

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-28 18:07

    This worked for my GIT version 1.8.4:

    1. From the local repository folder, right click and select 'Git Commit Tool'.
    2. There, select the files you want to upload, under 'Unstaged Changes' and click 'Stage Changed' button. (You can initially click on 'Rescan' button to check what files are modified and not uploaded yet.)
    3. Write a Commit Message and click 'Commit' button.
    4. Now right click in the folder again and select 'Git Bash'.
    5. Type: git push origin master and enter your credentials. Done.

提交回复
热议问题