Git Product home page Git Product logo

git-meta's Introduction

git-meta

Wanna git preserve your file dates?

git-meta stores all files' metadata into '.gitmeta'!

Based on a gist: https://gist.github.com/andris9/1978266 Also includes this fork gist: https://gist.github.com/Cojad/9205547/revisions

Instructions

Initializing

Copy git-meta.sh and init.sh into your repo, then type the following command:

bash init.sh

And done, it will be initiated!

Updating

Copy an up-to-date version of git-meta.sh and update.sh into your repo, then type the following command:

bash update.sh

Done!

Others

source:

git-meta --store      Cache all meta include numeric uid/gid/permission in .gitmeta
git-meta -f           Alias of --store

git-meta --stdout     Same as --store but output in console
git-meta -c           Alias of --stdout

destination:

git-meta --apply      Apply/Restore meta saved in .gitmeta
git-meta -r           Alias of --apply

Announcement

@DaniellMesquita:

It is wonderful the collaboration level the humans can naturally organize ๐Ÿฅฐ

andris9 have started this and y'all started appending into it, respecting/including the previous contributions

All of that not on a git repository, but providing a frugal way into a gist!

In case of any interest/need (and personally this script've helped me as I have a compulsion for preserving dates), here is a unified repository with all of your contributions! ๐ŸŽ‰๐Ÿฅณ (๐ŸŽŠ look like a beach bikini)

https://github.com/Floflis/git-meta

AntonioMeireles brayrobert201 stefanbj Explorer09 Cojad the-mars mkortleven-emg danny0838 bizonix

Sorry arno01 for not including yours, as it seemed very incomplete and cmw reported it didn't worked.

https://gist.github.com/andris9/1978266#gistcomment-3929036

git-meta's People

Contributors

danimesq avatar andris9 avatar antoniomeireles avatar danny0838 avatar explorer09 avatar cojad avatar brayrobert201 avatar bizonix avatar stefanbj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.