Skip to content

Files

Latest commit

 

History

History
29 lines (26 loc) · 948 Bytes

create_repo.md

File metadata and controls

29 lines (26 loc) · 948 Bytes

Repo creation

$ cd clones
$ git clone hg::ssh://git@forge.extranet.logilab.fr/ogiorgis/chatzilla chatzilla_cinnabar
$ cd chatzilla_cinnabar
$ # for git-cinnabar to be happier:
$ git config fetch.prune true
$ # make git status and friends faster:
$ mv .git/hooks/fsmonitor-watchman.sample .git/hooks/query-watchman
$ git config core.fsmonitor .git/hooks/query-watchman
$ # add git origin
$ git remote add git_chatzilla http://github.com/djangoliv/chatzilla.git
$ # conf
$ git config remote.origin.skipDefaultUpdate true
$ git remote set-url --push origin hg::ssh://git@forge.extranet.logilab.fr/ogiorgis/chatzilla
$ git config remote.origin.push +HEAD:refs/heads/branches/default/tip
$ git pull git_chatzilla
$ # check
$ git cinnabar fsck

example for handle a commit

$ git fetch git_chatzilla aea1d23b482030bceefb6f181cb5698ce50e3901
$ git cherry-pick aea1d23b482030bceefb6f181cb5698ce50e3901
$ git push origin