fletcher429 / Auto_Push

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸš€ Auto Push

Auto Push is a Python script that takes Git commits and pushes them to the next level! It's like a dance partner that automates the process of committing and pushing changes to a Git repository. It adds flavor to your workflow by prompting you to select a file, enter a commit message, and then gracefully performs the commit and push operations.

πŸ› οΈ Installation

  1. Let's start the dance by cloning the repository:

    git clone <repository_url>
    
  2. Now, let's groove into the project directory:

    cd Auto_Push
    
  3. It's time to move the push file to the executable directory. Get ready for the spotlight! πŸ’ƒ

    sudo mv push.py /usr/local/bin/
    
  4. Put on your dancing shoes! We need to make the push script executable: And make it run by just typing push

    chmod +x /usr/local/bin/push.py
    sudo mv push.py /usr/local/bin/push
    
  5. You're all set! Now, let's bring the rhythm. Feel the beat! πŸŽΆπŸ•Ί

πŸ’ƒ Usage

  1. Enter the command "push" in the terminal, and let the dance begin:

    push
    
  2. It's showtime! Select the file you want to add and bring your best commit message to the stage:

     ____________________________________
     / ____| |   |  __ \| |   | |__   __|
     | |  __| |   | |__) | |   | |  | |   
     | | |_ | |   |  _  /| |   | |  | |   
     | |__| | |___| | \ \| |___| |  | |   
     \_____|_____|_|  \_\______|  |_|   
    
     Enter the name of the file to commit:
     1) README.md
     2) test.py
     Select the file number: 1
     Enter Commit Message: Update Readme
    
     ###Pushing.......
     [main d9725c8] 
     file changed, 4 insertions(+), 3 deletions(-)
     Enumerating objects: 5, done.
     Counting objects: 100% (5/5), done.
     Delta compression using up to 2 threads
     Compressing objects: 100% (2/2), done.
     Writing objects: 100% (3/3), 297 bytes | 148.00 KiB/s, done.
     Total 3 (delta 1), reused 0 (delta 0), pack-reused 0
     remote: Resolving deltas: 100% (1/1), completed with 1 local object.
     To https://github.com/fletcher429/Auto_Push.git
    5b7723a..d9725c8  HEAD -> main
    Commit pushed successfully to GitHub.
    
  3. πŸ“ NOTES

    • ⚠️ Make sure you have Git installed on your system before using Auto Push.
    • πŸ“ The push file has been moved to a directory in your system's PATH, enabling you to use the push command from any directory in the terminal.
    • 🧩 Feel free to customize the push script or integrate it into your workflow as needed.

So, get ready to rock and roll with Auto Push! Let's make your Git commits shine on the dancefloor of version control. πŸŽ‰πŸš€

About


Languages

Language:Python 100.0%