Sharan Basappa <sharan.basa...@gmail.com> writes: > I have created a local branch, added few files and pushed them onto remote. > When > I pushed my changes for the first time, I used: > > #git push origin test1 - where test1 is the name of my branch > > Hereafter, I have made additional changes and just doing #git push. > > Do, I need to do specify remote name every time I push or that is set-up > after the first time I do push? > > > Also, when I do #git branch -vv, I see the following: > > master 6727062 [origin/master] .. > > test c745cca .. > > * test1 4bd622d .. > > testx 2fbfdfc .. > > I was expecting test1 branch to track remote test1 but I don't see that > here. > > What Am I missing?
Take a look at the file `.git/config` and see how the branch is configured. I suspect the keys `remote`[1] and `pusRemote`[2] may shed some light on the situation. /M [1]: https://git-scm.com/docs/git-config#git-config-branchltnamegtremote [2]: https://git-scm.com/docs/git-config#git-config-branchltnamegtpushRemote -- Magnus Therning OpenPGP: 0x927912051716CE39 email: mag...@therning.org jabber: mag...@therning.org twitter: magthe http://therning.org/magnus As far as the laws of mathematics refer to reality, they are not certain, and as far as they are certain, they do not refer to reality. — Albert Einstein -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: PGP signature