diff options
author | Joey Hess <joey@kitenet.net> | 2011-06-29 15:01:00 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-06-29 15:01:00 -0400 |
commit | e46e5c6564cf76ab7be1e0b669d5e666f04f7802 (patch) | |
tree | 7fa1276797d4948619c9bfc7eac8fd5e602c5a8e /doc/rcs/git | |
parent | 2cefe813fa2004f7a8ec488bc4420e047a58034f (diff) | |
download | ikiwiki-e46e5c6564cf76ab7be1e0b669d5e666f04f7802.tar ikiwiki-e46e5c6564cf76ab7be1e0b669d5e666f04f7802.tar.gz |
trimmed git page
This page is a mess; tried to control the rampant growth by trimming stuff
that should be obvious from the new diagram.
Diffstat (limited to 'doc/rcs/git')
-rw-r--r-- | doc/rcs/git/discussion.mdwn | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/rcs/git/discussion.mdwn b/doc/rcs/git/discussion.mdwn index 92f630fc7..7d39c6107 100644 --- a/doc/rcs/git/discussion.mdwn +++ b/doc/rcs/git/discussion.mdwn @@ -101,3 +101,29 @@ Does that mean that apache:apache should just own everything, and I should only I have read the hints about using a local wiki to preview changes, but I haven't understood: is it assumed that I should also have a separate "srcdir" for this local preview-wiki (as it is done for the main wiki site), or I could point the local ikiwiki's "srcdir" to the working dir? Can something bad happen if I do this? I guess no, because--as I see it--the reason to have 2 repos for the main site was only enabling pushing to it, so it's a peculiarity of git, and not a requirement for a clean functioning of ikiwiki. Ok, probably, I have answered my question myself, but I'll let this comment stay here, if someone else will be tinking about the same issue. --Ivan Z. + +## Fix for error on git pull origin + +Error message when running git pull origin: + + You asked me to pull without telling me which branch you + want to merge with, and 'branch.master.merge' in + your configuration file does not tell me either. Please + name which branch you want to merge on the command line and + try again (e.g. 'git pull <repository> <refspec>'). + See git-pull(1) for details on the refspec. + + If you often merge with the same branch, you may want to + configure the following variables in your configuration + file: + + branch.master.remote = <nickname> + branch.master.merge = <remote-ref> + remote.<nickname>.url = <url> + remote.<nickname>.fetch = <refspec> + + See git-config(1) for details. + +The solution is to run this command in your srcdir: + + git config branch.master.remote origin |