Changes not reflected on github after push (with visual studio code)

This may have been asked before; and, it it has, I’m sorry. I’m really new to using all of these tools in combination like this. I’ve been attempting to learn how to do everything from visual studio code. It has a “push with tags” command that can be used and it gives me an update / popup telling me the push was successful. When I navigate to my repo on github after that I see that no changes are showing up. Below I pasted what seems to be the relevant output from git log. I see a n error in the output but at the same time I’m being given a confirmation message (with the popup) that the push was a success. What can I do to resolve this problem and get on with pushing to github from my editor and seeing it work?

Output from git log:

> git push --tags
To https://github.com/jfines/PyPlace.git
* [new tag] Initial-Commit -> Initial-Commit
* [new tag] License -> License
> git status -z -u
> git symbolic-ref --short HEAD
> git rev-parse master
> git rev-parse --symbolic-full-name master@{u}
fatal: ambiguous argument ‘master@{u}’: unknown revision or path not in the working tree.
Use ‘–’ to separate paths from revisions, like this:
‘git <command> [<revision>…] – [<file>…]’
> git for-each-ref --format %(refname) %(objectname) --sort -committerdate
> git remote --verbose

Hi @jfines ,

When using the  –tags option, you just push tags to the remote (no code changes). Try a regular push without tags (in VSCode just the “refresh” icon in the bottom left) and see if that works.

More information about pushing tags: https://stackoverflow.com/questions/5195859/how-do-you-push-a-tag-to-a-remote-repository-using-git

1 Like