Package: expmonkey
🐒 ExpMonkey: Unleash Your Experiments with Git Magic! 🍌Welcome to ExpMonkey, the nimble experiment management tool that transforms the way you handle your research and development projects. By harnessing the power of git worktrees, ExpMonkey offers a command-line sanctuary for your branches, treating each one as a unique adventure in the jungle of innovation. Ready to swing from experiment to experiment with the grace of a seasoned primate? 🌿 Let's dive in!🌟 Spotlight FeaturesEmbark on a journey with ExpMonkey and discover a world where managing multiple experiments feels like a walk in the park:🍌Parallel Universe Workflow: Each git branch becomes an alternate reality, with its own directory to tinker in. Work on multiple fronts without ever tangling your vines.🍌Jungle Gym Navigation: Leap between branches with a simple command. It's like having a map of the entire jungle at your fingertips.🍌Git Sorcery Enhanced: ExpMonkey casts a spell on the standard git rituals, streamlining branch antics and conjuring up tools specifically for the experimental alchemist.🍌Branch Alchemy: Transmute, clone, and compare experiments with the dexterity of a monkey's tail, all thanks to ExpMonkey's clever branch wizardry.🍌Chant Autocompletion: Invoke the spirits of speed and precision with our autocompletion incantations, banishing typos to the shadow realm.🍌Fuzzy Oracle Integration: Consult thefzforacle for visions of branches and commits, selecting your path with the clarity of a shaman's trance.📜 PrerequisitesBefore you embark on this quest, ensure you have the following relics:Python 3.xGitOptional:fzffor an enhanced soothsaying interface🛠 Installation: Summoning ExpMonkeyInvoke ExpMonkey into your realm with these ancient incantations:Conjure the Python package:pip3installexpmonkey(Optional) Weaveem-init-scriptinto your shell's tapestry for autocompletion and arcane abilities:echo'source <(em-init-script)'>>~/.bashrc(Optional) Summonfzffor a mystical user experience:gitclone--depth1https://github.com/junegunn/fzf.git~/.fzf
~/.fzf/installConsult thefzf grimoirefor more details.📗 Grimoire of UsageHarness the power of ExpMonkey as you navigate the treacherous terrain of experiments:🌱 Sprout a New Repositoryemclonegit@github.com:megvii-research/RevCol.git📜 Parchment of Experimentsemls-as🌿 Branch Out with Forksemcp<base-branch-name><new-branch-name>🚀 Propel Your New Creationemcd<new-branch-name># Enchant with your changesempush🧙‍♂️ Command IncantationsThe Dot Trick 🐒🐒🐒ExpMonkey's eyes gleam when spotting a.. Behold the magic:🕳️ Conjure from the VoidCreate an empty experiment:emempty<branch-name>🔍 Scrying ListPeer into the branches:emls# unveil local branchesemls<filter-regex># filter through local branchesemls-as# reveal remote branches with statusem ls -asilluminates branches with enchanted hues:ColorMeaningRedDistant Lands (Remote)WhiteUncharted (Not Checked out)BlueWhispering Winds (Not Pushed)YellowAltered Realms (Modified)NormalHarmony (Clean)em lsis a swift spell, whileem ls -asconsults distant spirits, requiring more time.🌟 Starry CopyCraft a new branch from existing strands of fate:emcp<Tab><target-branch-name># divine local branchesemcp.r<Tab><target-branch-name># divine all branchesemcp<base-branch-name>.<Tab># scribe as base-branch-nameemcp.<Tab><target-branch-name># scribe as current-branch-nameemcp.<target-branch-name># duplicate current branch🌀 Portal to Another BranchStep into another experiment:emco<Tab># divine local branchesemco.r<Tab># divine all branchesemco<branch-name># step through the portal🗑️ Banish an ExperimentCast away an unwanted branch:emrm<branch-name># banish branchemrm.# banish current branch🌌 Push to the CosmosSend your experiment into the vast unknown:empush# launch it skyward📛 Rename Your DestinyAlter the name of your journey:emmv<current-branch-name><target-branch-name>🔮 Gaze into DifferencesWitness the divergence between realms:emdiff<branch1><branch2>📜 LicenseThis project is a tome of knowledge, open to all seekers under theMIT License.