Hide Forgot
Description of problem: you cannot git push a commit to a cloned etckeeper repository because git refuses to push to a checked out branch per default. Obviously, the master tree of /etc on the remote is checked out :) This can be fixed by running: git config --add receive.denyCurrentBranch ignore in the "etckeeper init" command.
Forwarding to upstream.
Quoting upstream (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659160#10) : Pushing into a checked out git repository is unsafe. /etc is the most important thing on your system. This combination seems very unwise to me, and certianly not a good default. Especially since many etckeeper users are probably not expert git users. Those who think they know how to handle pushes into checked out branches also know where the config is.