Initialized empty Git repository in /kernel/linux-3.16.7-ckt11/.git/ *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: empty ident name (for ) not allowed stg init: master: no such branch Checking for changes in the working directory ... fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' Traceback (most recent call last): File "/usr/bin/stg", line 43, in main() File "/usr/lib/python2.7/dist-packages/stgit/main.py", line 208, in main _main() File "/usr/lib/python2.7/dist-packages/stgit/main.py", line 187, in _main directory.write_log(cmd) File "/usr/lib/python2.7/dist-packages/stgit/commands/common.py", line 547, in write_log log.compat_log_entry(msg) File "/usr/lib/python2.7/dist-packages/stgit/lib/log.py", line 364, in compat_log_entry stack = repo.get_stack(repo.current_branch_name) File "/usr/lib/python2.7/dist-packages/stgit/lib/stack.py", line 264, in get_stack self.__stacks[name] = Stack(self, name) File "/usr/lib/python2.7/dist-packages/stgit/lib/stack.py", line 171, in __init__ git.Branch.__init__(self, repository, name) File "/usr/lib/python2.7/dist-packages/stgit/lib/git.py", line 1020, in __init__ raise BranchException('%s: no such branch' % name) stgit.lib.git.BranchException: master: no such branch