locked
Why doesn't git and github use my files? RRS feed

  • Question

  • I created a new solution folder. Then I added existing items to it. The show up briefly with a +, I think, and then change to the lock. So when I look at the Changes, the only change in the solution file.  After a commit and sync, the GitHub repository doesn't show the files I added. Doesn't look like anything is being excluded because of .ignore. 

    Even if I modify one of the files and it shows as a check mark, after the commit and sync, it still isn't in GitHub.

    What now?

    Friday, April 21, 2017 6:34 PM

All replies

  • Hi Mark Tiede,

    Thank you for posting here.

    Did this issue also happen to the Git in TFS? Did you get some error message after you click "Sync"? Since you are using "Sync" to push the changes to Git repository. I suggest that you could try to push the changes directly like the following link:

    https://www.visualstudio.com/en-us/docs/git/tutorial/pushing

    After that, click "Pull" to get the contents in remote repository to check the result again. And you could also try to use the Git command to push the changes to Git repository.

    Best Regards

    Limitxiao Gao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, April 24, 2017 2:51 AM
    Moderator
  • Git in TFS was what I am using.

    There were no errors.  There is nothing to push.

    • Edited by Mark Tiede Monday, April 24, 2017 11:57 AM
    Monday, April 24, 2017 11:56 AM
  • Hi Mark Tiede,

    So this issue happen to both Git Repository in TFS and GitHub Repository. Could you please share a screen-shot when you commit in and sync the changes? And I suggest that you could clone the remote repository to a new path, then make some changes and push the changes again. Also you could try to use the git command to check if you could push the change.

    Best Regards

    Limitxiao Gao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, April 25, 2017 2:42 AM
    Moderator