# Quick question about updating extensions with git

**URL:** <https://www.ruby-forum.com/t/quick-question-about-updating-extensions-with-git/197756>\
**Category:** Radiant CMS\
**Created:** [October 19, 2010, 9:57pm UTC](https://www.ruby-forum.com/t/quick-question-about-updating-extensions-with-git/197756 "2010-10-19T21:57:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![okkezSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/85f322/32.png) [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Post date:** [October 19, 2010, 9:57pm UTC](https://www.ruby-forum.com/t/quick-question-about-updating-extensions-with-git/197756/1 "2010-10-19T21:57:26Z")

</div>

Hey all,

It’s been a while since I’ve worked with Radiant and Git, and I now need  
to  
update a couple of apps to, at least, 0.8.2.

So I was wondering if somebody could help me out by listing the command  
used  
to update an extension that was added as a git submodule?

Also, how can I specify which branch/tag to use?

Any help would be greatly appreciated.

Thanks,

Nate

---

<div class="post-metadata">

**Author:** ![nateless](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/96bed5/32.png) [@nateless](https://www.ruby-forum.com/u/nateless)\
**Post date:** [October 22, 2010, 5:21pm UTC](https://www.ruby-forum.com/t/quick-question-about-updating-extensions-with-git/197756/2 "2010-10-22T17:21:48Z")

</div>

On Tue, Oct 19, 2010 at 2:56 PM, Nate T. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Hey all,
> 
> It’s been a while since I’ve worked with Radiant and Git, and I now need to  
> update a couple of apps to, at least, 0.8.2.
> 
> So I was wondering if somebody could help me out by listing the command used  
> to update an extension that was added as a git submodule?
> 
> Also, how can I specify which branch/tag to use?

off the top of my head (but hopefully close)

cd vendor/extension/ext  
git fetch  
git checkout -b new\_branch repo\_branch\_name  
cd ../..  
rake radiant:extensions:ext:update  
rake radiant:extensions:ext:migrate  
git add vendor/extension/ext [other files]  
git commit -m ‘update ext’
