Changes between Version 12 and Version 13 of GitForDarcsUsers


Ignore:
Timestamp:
Aug 13, 2008 10:49:57 PM (6 years ago)
Author:
nominolo
Comment:

describe darcs put emulation

Legend:

Unmodified
Added
Removed
Modified
  • GitForDarcsUsers

    v12 v13  
    3737git clone [username@]darcs.haskell.org:ghc.git  # via SSH 
    3838}}} 
     39 
     40== darcs put == 
     41 
     42There's no default command to do that, but the following should work: 
     43{{{ 
     44ssh me@remote 
     45cd /some/directory 
     46git init 
     47exit 
     48cd my/local/repo 
     49git push me@remote:/some/directory 
     50}}} 
     51 
     52'''Note''': If the repository is supposed to be shared by several users, it's best to init it with either of these commands: 
     53{{{ 
     54git init --shared=group   # everyone in the same group can read and write 
     55git init --shared=all     # same group can read/write, others can read 
     56}}} 
     57You can also set this after the fact, by setting the configuration variable {{{core.sharedRepository}}}.  See {{{git config --help}}} for more information. 
    3958 
    4059== darcs add ==