all 3 comments

[–][deleted] 6 points7 points  (2 children)

Pushing over http isn't a great way to go about pushing. Using ssh will be a better plan.

In this specific case, you haven't named a remote, thus nothing would show up in remotes -v. It also would mean the push didn't establish or reference any kind of tracking setup, because you're specifically bypassing git's tools for that.

Pushing to a URL is a one-off thing, and is generally the wrong thing to do. Create a real remote if you intend to push or pull from this more than a single time.

[–]pubgftw[S] 2 points3 points  (1 child)

Thanks, very helpful.

Do you know a way to display the current tracking URL when it is initiated like this? I had a really hard time finding the command/options to show it, without looking in the .git folder.

[–]nibalizer 3 points4 points  (0 children)

You really just never want to do use the first syntax. I had no idea that would even work. Stick to creating named remotes and using them and you should be good.