Project details
Git-2 is a playful command-line tool that reimagines the standard Git workflow with a twist. Designed for the brave, it introduces outrageous push and pull operations that risk your precious data. Perfect as a prank, it serves as a reminder of the importance of safe coding practices. Use at your own risk!
git-2 is an innovative command-line tool designed to challenge and reshape the conventional Git workflow. Built using Go, it aims to enhance the efficiency of developer collaboration in projects while introducing a whimsical, albeit risky, approach to Git operations.
git-2 push: Streamlines the process of pushing code changes. This command initializes the current folder as a Git repository, stages all changes, and creates a new public repository on GitHub before pushing the current branch to this new repository. However, it comes with a significant twist: it permanently deletes the entire local directory after the push operation.
git-2 push
git-2 pull: A straightforward command that clones a specified repository from GitHub, but with an unusual consequence— it deletes the corresponding repository from the user's GitHub account after cloning it locally.
git-2 pull <repo-name>
git-2 operations make this tool highly risky. Use at your own discretion.Before adopting git-2, ensure the following dependencies are installed and configured:
gh): Must be logged in and have permissions to delete repositories. Get GitHub CLIgit-2 stands as a playful take on the traditional version control experience, serving as a cautionary reminder of the consequences of merging speed with perilous shortcuts. Perfect for pranks or discussions around software development practices.
Comments
0Start the conversation
Share the first comment.