Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Sometimes people forget the '-r' parameter in 'git pull -r' so it is
suggested to create an alias,

git config --global alias.up "pull --rebase"


(you run this command and the alias is added to your ~/.gitconfig
configuration file).
Then, you run

git up

whenever you want to updated your local repository with changes from the
main LibreOffice Git repository.

Without the '-r' or '--rebase' you may get into a situation when you create
a branch at the main LibreOffice Git repository, which in most cases is not
what you want. Hence, the '--rebase' parameter.

Is there a Wiki page somewhere at
http://wiki.documentfoundation.org/Development that would be recommended to
add in some basic Git commands? Point to an existing page or recommend a
URL to add new content inside.

Simos

On Mon, Nov 14, 2011 at 1:05 PM, Chr. Rossmanith <ChrRossmanith@gmx.de>wrote:

**
You need to "git pull -r" but if you have your translations already done
you need to commit them prior to pulling: git commit -m "<your commit
message>" <your modified file>

Christina

Am 14.11.2011 11:54, schrieb Winfried Donkers:

 How do I update my local sources to the current (latest) master with git?
****

I am not familiar with git, have used 'git clone' and 'git diff', but I
don't want to do 'git clone' again, of course.****

Is 'git checkout' the proper way (run from the directory where .git is)?**
**

** **

I have some more german-english translations for sc/source/ui/view, but I
want to make sure that I use the latest source files before I commit my
lines.****

** **

Thanks a lot for your help.****

** **

Winfried****






Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.