Re: A few suggestions for http://live.gnome.org/TranslationProject/GitHowTo



Le lundi 29 mars 2010 à 11:36 +0200, Kenneth Nielsen a écrit :
> Hello
> 
> I was wondering if someone, someone more knowledgeable about git than
> me, would add information to:
> http://live.gnome.org/TranslationProject/GitHowTo about what to do
> when you encounter this message:
> 
> warning: You did not specify any refspecs to push, and the current remote
> warning: has not configured any push refspecs. The default action in this
> warning: case is to push all matching refspecs, that is, all branches
> warning: that exist both locally and remotely will be updated.  This may
> warning: not necessarily be what you want to happen.
> warning:
> warning: You can specify what action you want to take in this case, and
> warning: avoid seeing this message again, by configuring 'push.default' to:
> warning:   'nothing'  : Do not push anything
> warning:   'matching' : Push all matching branches (default)
> warning:   'tracking' : Push the current branch to whatever it is tracking
> warning:   'current'  : Push the current branch
> 
> Or possible show how to set it up right in the setup part of the guide.

I suggest to add an entry in the troubleshooting section, suggesting the
following:
With recent versions of git, you have to indicate the default push
method for your local branches. You will probably want to configure it
this way:
$ git config --global push.default tracking

Does this sound correct to git gurus?

> On another note, I assume there has been a ruling on this issue from
> the same guide
> 
> >Commit your changes
> >
> >... We probably will not have to update the ChangeLog file with Git. Watch this space for a final announcement.
> >The issue is whether it would be sufficient to simply to use the commit message (the message you type with '-m').
> >For translations, it would make sense to simply use the commit message.
> 
> If someone knows about it, would they update that as well.

Updated (no more ChangeLogs...).

Claude
-- 
www.2xlibre.net



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]