Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add 'Quick git primer section' and info to use 'Git at Apache' link to set up their repository.

...

Setting up Your Repository

If you are a new committer, please see Git at Apache how to personalise git for easy committing.  If you are new to git, see the 'Quick git primer' section below.

Clone the canonical ASF repo using this command. The --origin option tells git to name the remote apache instead of the default, origin; this will reduce ambiguity when we later add a second remote upstream:

...

git am pull-request-9876.patch

 

Quick git primer

Start with getting the repository and setting up:

Additional information

cd incubator-corinthia
git pull

Applying one change:

git apply ../your.patch
git add -u
git commit -F ../your.logmessage
git push

Working on a batch of small changes as one commit:

git pull
git branch -b work
<do all your work, including several small commits>
git co master
git merge --squash work
git commit -a -F ../your.logmessage
git push

Additional Information

  Particularly for new committers, you may find the following information useful:

...