On 2011-05-15 02:07, Michel Fortin wrote: > Le 2011-05-15 à 4:06, Jonathan M Davis a écrit : > > On 2011-05-15 00:39, Russel Winder wrote: > >> On Sun, 2011-05-15 at 00:31 -0700, Jonathan M Davis wrote: > >> [ . . . ] > >> > >>> I believe that git-push --tags will push the tags, so you probably need > >>> to run something like > >> > >> Isn't git-push somewhat out of date, shouldn't that be git push? ;-) > > > > Both are valid. There's nothing out-of-date about either. > > $ git-push > -bash: git-push: command not found > > $ git push > fatal: Not a git repository (or any of the parent directories): .git > > $ git --version > git version 1.7.2.2 > > Clearly one works and the other doesn't for me. It used to work with > earlier versions. Which version of git do you have?
It's probably a PATH issue. I have git version 1.7.5.1. Depending on your distro, it may or may not have the git-* files in your PATH. On Arch, they're in /usr/lib/git-core, and I had to add that to my PATH. If you're on Windows, I don't know what you need to do to get them to work. The git bash shell doesn't have them by default, and I haven't spent enough time in Windows to make it worth figuring out how to make them available. I prefer the git-* commands though, since you get command completion with them. Also, the man pages use those names. But it is true that your distro may not have set it up so that they're on the PATH. But you should be able to get them to work but just figuring out which directory they're in on your system and adding them to your PATH. - Jonathan M Davis _______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
