jookia / gituuids Goto Github PK
View Code? Open in Web Editor NEWproof of concept showing git authors can be mutable
License: zlib License
proof of concept showing git authors can be mutable
License: zlib License
hi there my name's jookia and i spent too much time trying to explain that this is possible, so here it is: UUIDs AS GIT NAMES! MODIFIABLE AUTHOR NAMES! IMMUTABLE COMMITS! MAGIC! ok show me thegoods =================== ok clone this repo and check the log, like this: ``` git clone https://github.com/Jookia/gituuidnames cd gituuidnames git log ./setup.sh git log ``` the first log will show ugly UUIDs, the second will show beautiful names all with the same commit hashes so try adding a file and committing it, then cloning again: ``` echo "TEST" > file git add file git commit -m "what" cd .. git clone gituuidnames gituuidnames2 cd gituuidnames2 ./setup.sh git log ``` wow, it all works! you've committed as usual but you've decided your name or whatever needs changing, so now you do this: ``` cd ../gituuidnames ./update-uuid.sh $(git config user.name) "My New Name" "[email protected]" git log ``` next time someone fetches from your repo and syncs it will update the names: ``` cd ../gituuidnames2 git fetch ./sync-uuid.sh git log ``` what's the point ================ the only point here is to show is that abstracting author info to use UUIDs in git is fairly easy with scripts. this example is the most limited thing in the world and i made it in a few hours but i'm sure if we took our best minds we could probably nail out a solution that would auto-detect and auto-sync uuids
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.