* direct ref manipulation
@ 2010-09-05 23:25 Enrico Weigelt
2010-09-05 23:36 ` Jonathan Nieder
2010-09-06 0:23 ` Nicolas Pitre
0 siblings, 2 replies; 3+ messages in thread
From: Enrico Weigelt @ 2010-09-05 23:25 UTC (permalink / raw)
To: git
Hi folks,
is there already an command for directly manipulating refs
(eg. set a specific to given object id) ?
cu
--
----------------------------------------------------------------------
Enrico Weigelt, metux IT service -- http://www.metux.de/
phone: +49 36207 519931 email: weigelt@metux.de
mobile: +49 151 27565287 icq: 210169427 skype: nekrad666
----------------------------------------------------------------------
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: direct ref manipulation
2010-09-05 23:25 direct ref manipulation Enrico Weigelt
@ 2010-09-05 23:36 ` Jonathan Nieder
2010-09-06 0:23 ` Nicolas Pitre
1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Nieder @ 2010-09-05 23:36 UTC (permalink / raw)
To: git
Hi Enrico,
Enrico Weigelt wrote:
> is there already an command for directly manipulating refs
> (eg. set a specific to given object id) ?
$ man git |grep ref
Do not use replacement refs to replace git objects. See git-replace(1) for more information.
See the references above to get started using git. The following is probably more detail than necessary
Move objects and refs by archive.
Download objects and refs from another repository.
Update remote refs along with associated objects.
(deprecated) Recover lost refs that luckily have not yet been pruned.
git-pack-refs(1)
git-reflog(1)
Manage reflog information.
Create, list, delete refs to replace objects.
move objects and references between repositories.
git-symbolic-ref(1)
Read and modify symbolic refs.
git-update-ref(1)
Update the object name stored in a ref safely.
git-for-each-ref(1)
Output information on each ref.
List references in a remote repository.
git-show-ref(1)
List references in a local repository.
git-check-ref-format(1)
Ensures that a reference name is well formed.
...
Perhaps you are looking for git-update-ref.
Hope that helps,
Jonathan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: direct ref manipulation
2010-09-05 23:25 direct ref manipulation Enrico Weigelt
2010-09-05 23:36 ` Jonathan Nieder
@ 2010-09-06 0:23 ` Nicolas Pitre
1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Pitre @ 2010-09-06 0:23 UTC (permalink / raw)
To: Enrico Weigelt; +Cc: git
On Mon, 6 Sep 2010, Enrico Weigelt wrote:
>
> Hi folks,
>
>
> is there already an command for directly manipulating refs
> (eg. set a specific to given object id) ?
http://www.kernel.org/pub/software/scm/git/docs/git-update-ref.html
Nicolas
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-09-06 0:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-05 23:25 direct ref manipulation Enrico Weigelt
2010-09-05 23:36 ` Jonathan Nieder
2010-09-06 0:23 ` Nicolas Pitre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).