{"thread":{"id":"24993","subject":"direct ref manipulation","startedAt":"2010-09-05T23:25:25Z","lastAt":"2010-09-06T00:23:32Z","messageCount":3,"participants":["Enrico Weigelt","Jonathan Nieder","Nicolas Pitre"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"150008","messageId":"20100905232525.GA494@nibiru.local","threadId":"24993","inReplyTo":null,"subject":"direct ref manipulation","fromName":"Enrico Weigelt","fromEmail":"weigelt@metux.de","sentAt":"2010-09-05T23:25:25Z","receivedAt":"2010-09-05T23:25:25Z","isPatch":false,"sender":{"key":"weigelt@metux.de","avatar":null},"body":"\nHi folks,\n\n\nis there already an command for directly manipulating refs\n(eg. set a specific to given object id) ?\n\n\ncu\n-- \n----------------------------------------------------------------------\n Enrico Weigelt, metux IT service -- http://www.metux.de/\n\n phone:  +49 36207 519931  email: weigelt@metux.de\n mobile: +49 151 27565287  icq:   210169427         skype: nekrad666\n----------------------------------------------------------------------\n Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme\n----------------------------------------------------------------------\n"},{"id":"150009","messageId":"20100905233639.GB18103@burratino","threadId":"24993","inReplyTo":"20100905232525.GA494@nibiru.local","subject":"Re: direct ref manipulation","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2010-09-05T23:36:39Z","receivedAt":"2010-09-05T23:36:39Z","isPatch":false,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"Hi Enrico,\n\nEnrico Weigelt wrote:\n\n> is there already an command for directly manipulating refs\n> (eg. set a specific to given object id) ?\n\n$ man git |grep ref\n    Do not use replacement refs to replace git objects. See git-replace(1) for more information.\nSee the references above to get started using git. The following is probably more detail than necessary\n    Move objects and refs by archive.\n    Download objects and refs from another repository.\n    Update remote refs along with associated objects.\n    (deprecated) Recover lost refs that luckily have not yet been pruned.\ngit-pack-refs(1)\ngit-reflog(1)\n    Manage reflog information.\n    Create, list, delete refs to replace objects.\nmove objects and references between repositories.\ngit-symbolic-ref(1)\n    Read and modify symbolic refs.\ngit-update-ref(1)\n    Update the object name stored in a ref safely.\ngit-for-each-ref(1)\n    Output information on each ref.\n    List references in a remote repository.\ngit-show-ref(1)\n    List references in a local repository.\ngit-check-ref-format(1)\n    Ensures that a reference name is well formed.\n...\n\nPerhaps you are looking for git-update-ref.\n\nHope that helps,\nJonathan\n"},{"id":"150018","messageId":"alpine.LFD.2.00.1009052021210.19366@xanadu.home","threadId":"24993","inReplyTo":"20100905232525.GA494@nibiru.local","subject":"Re: direct ref manipulation","fromName":"Nicolas Pitre","fromEmail":"nico@fluxnic.net","sentAt":"2010-09-06T00:23:32Z","receivedAt":"2010-09-06T00:23:32Z","isPatch":false,"sender":{"key":"nico@fluxnic.net","avatar":"https://avatars.githubusercontent.com/u/702790?v=4"},"body":"On Mon, 6 Sep 2010, Enrico Weigelt wrote:\n\n> \n> Hi folks,\n> \n> \n> is there already an command for directly manipulating refs\n> (eg. set a specific to given object id) ?\n\nhttp://www.kernel.org/pub/software/scm/git/docs/git-update-ref.html\n\n\nNicolas\n"}]}