[cmake-developers] Git fun

James Bigler jamesbigler at gmail.com
Mon Dec 5 17:41:43 EST 2011


I used to be able to push directly to next, because I'm a Module
maintainer.  Now I get this:

$ git push origin next
Enter passphrase for key '/Users/jbigler/.ssh/id_rsa':
Counting objects: 12, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 1001 bytes, done.
Total 7 (delta 5), reused 0 (delta 0)
----------------------------------------------------------------------
James Bigler <jamesbigler at gmail.com> may not push directly to this
repository.
Use the CMake Topic Stage to merge your topic:
  http://www.cmake.org/Wiki/CMake/Git#Topic_Stage
----------------------------------------------------------------------
error: hook declined to update refs/heads/next
To git at cmake.org:cmake.git
 ! [remote rejected] next -> next (hook declined)
error: failed to push some refs to 'git at cmake.org:cmake.git'


OK..... So I tried to do a stage merge:

$ git checkout CUDAv3.2PathChanges
Switched to branch 'CUDAv3.2PathChanges'

$ git push stage HEAD
fatal: 'stage' does not appear to be a git repository
fatal: The remote end hung up unexpectedly


$ git branch
* CUDAv3.2PathChanges
  master
  next
  topics/CudaRTEmuLibraryForCUDA30
  topics/FindCUDA-allow-g3
  topics/FixCudaVersionAfterFirstRun

Can anyone help with with my ignorance of Git?  The only thing I used Git
for is CMake and I just don't use it enough to learn all the nooks and
crannies of this tool.

Thanks,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20111205/14105a96/attachment.html>


More information about the cmake-developers mailing list