[Qgis-developer] GIT Cleanup Completed
Tim Sutton
lists at linfiniti.com
Tue Jun 7 02:30:40 EDT 2011
Hi
On Mon, Jun 6, 2011 at 10:23 PM, Charlie Sharpsteen
<chuck at sharpsteen.net> wrote:
> On Mon, Jun 6, 2011 at 6:46 AM, Tim Sutton <lists at linfiniti.com> wrote:
>>
>> Hi All
>>
>> Ok I have finished the cleanup of tags and branches in the GitHub main
>> repository for QGIS. If you have a clone, you may want to perform a
>> similar cleanup to your local repo. I strongly suggest making a backup
>> before doing this and checking that the script below does not trash
>> any of your valuable work. That said if you want a hint about how to
>> remove the pruned branches and tags from your github or other clone
>> you can use a variation of this bash script:
>
> If you shoot yourself in the foot with git (i.e. deleting a branch or
> resetting a commit), git still has the "deleted" content. Content that has
> been committed but then disconnected from a branch isn't destroyed unless an
> aggressive garbage collection takes place or it is really, really old (like
> a month or more). You can use tools like `git reflog` and `git fsck` to
> find the SHAs of "lost" content and then unshoot yourself in the foot using
> `git checkout`, `git cherry-pick`, `git branch`, etc.
> Of course, mounting a scratch monkey by copying the repo is more efficient
> in terms of time than digging around in the reflog. But in case you ever
> find yourself with a toe missing...
>
Oh good to know....everyday I find out just how much I don't know about get yet!
Thanks for the tips!
Regards
Tim
> -Charlie
--
Tim Sutton - QGIS Project Steering Committee Member (Release Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.
Visit http://linfiniti.com to find out about:
* QGIS programming and support services
* Mapserver and PostGIS based hosting plans
* FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================
More information about the Qgis-developer
mailing list