Merge or Cherry-Pick?
Stefan Majewsky
stefan.majewsky at googlemail.com
Thu Feb 3 09:10:42 GMT 2011
On Thu, Feb 3, 2011 at 6:21 AM, Dawit A <adawit at kde.org> wrote:
> git config --global push.default tracking
>
> and use the -t or --track option when creating your branches (branch
> or checkout -b). This way you can 'git push' (no arguments) in the
> current tracked branch without accidentally pushing your changes in
> other branches.
I think this is the default. When I do "git checkout -b somework
origin/somework" here, it automatically sets up somework to track
origin/somework. Push by default only operates on the tracking branch,
i.e. push --all needs to be specified manually.
Greetings
Stefan
More information about the kde-core-devel
mailing list