LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Managing git checkouts... (https://www.linuxquestions.org/questions/linux-newbie-8/managing-git-checkouts-758170/)

manwithaplan 09-28-2009 12:51 AM

Managing git checkouts...
 
I'm not much of developer, but I do like too use git to sometimes get the latest revisions of certain software i.e. bug fixes.

I usually manually git clone the repository in my ~/builds folder. Then I browse the source and then configure and install.

Is there a git management tool that will help me see each cloned git repository in my builds directory..? And if so, allow me to checkout, reset & or update the repositories when there are newer revisions available?

I thought about just writing a cron script that updates all of my git repositories manually, but a gui would be nice.

I use git for: git-sources, xen-sources, geany, and many other programs I use, and track. I'd like having a dedicated git folder to manage all my git-clones, i.e. builds.

I am very new with git and I am having a hard time wrapping my mind on how to use revision control, whenever a new update is released with bug fixes and staying current. I'm new to Linux and my programming skills are novice at best, and I dont plan on adding or contributing any source, and or patches as of yet, just want to manage my git-clones to keep current. I have tried gitg, and the app freezes, and I dont know if this tool can manage multiple git repositories at once like I want.

Any suggestions. or advice .. or clarification?

CoderMan 10-01-2009 12:07 AM

Quote:

Originally Posted by manwithaplan (Post 3699108)
I'm not much of developer, but I do like too use git to sometimes get the latest revisions of certain software i.e. bug fixes.

I usually manually git clone the repository in my ~/builds folder. Then I browse the source and then configure and install.

Is there a git management tool that will help me see each cloned git repository in my builds directory..? And if so, allow me to checkout, reset & or update the repositories when there are newer revisions available?

I thought about just writing a cron script that updates all of my git repositories manually, but a gui would be nice.

I use git for: git-sources, xen-sources, geany, and many other programs I use, and track. I'd like having a dedicated git folder to manage all my git-clones, i.e. builds.

I am very new with git and I am having a hard time wrapping my mind on how to use revision control, whenever a new update is released with bug fixes and staying current. I'm new to Linux and my programming skills are novice at best, and I dont plan on adding or contributing any source, and or patches as of yet, just want to manage my git-clones to keep current. I have tried gitg, and the app freezes, and I dont know if this tool can manage multiple git repositories at once like I want.

Any suggestions. or advice .. or clarification?

I'll admit that I've only being using GIT for about 6 months or so (and loving it), but I've never heard of a graphical tool to manage multiple git repositories. But if all you want to do is just keep your git repositories up to date, you don't need one. All you need to do is put all your git repositories in one folder, then write a little script that 'cd's into each directory in that directory, and runs 'git pull'. Attach that to cron, and you're set for life.

You could probably do it in Perl or bash in under 10 lines.

manwithaplan 10-01-2009 01:31 AM

Thx for the reply ... I figured that... I was looking for something similar to RapidSVN. Where I can manage all my local SVN repositories, and then checkout any updates, and monitor any revisions.

A cron'd script is the way to go with git... thx


All times are GMT -5. The time now is 06:56 PM.