Code Monkey home page Code Monkey logo

quickie-push's Introduction

Quickie-Push

Dead-simple Bash script that commits, pushes, and time-stamps changes to GitHub with a one-word command.

Instructions

  1. Place bash script either somewhere in your project folder or, if you want to use this command globally on various projects, somewhere else (Documents, Desktop, etc.).

  2. Add the contents of the alias flie to your .bash_profile, replacing the contents of absolute-path-to-your-bash-script-goes-here with the absolute path of your bash script location. For example, if you put it in a project named BettyBoops, the absolute path would be something like, '/Users/runaway_jezzabel/Documents/BettyBoops/QuickiePush.sh'

  3. The script must be made executable. In the Terminal, cd to the folder or directory containing the script, and type chmod +x QuickiePush.sh Alternately you can use the absolute path without changing directories.

  4. Save your project like you normally would. Assuming you've already setup the basics for your project to integrate with GitHub (i.e. project has been initialized, GitHub repo is created, etc.) type push in the Terminal.

  5. Typing "push" will trigger the Bash script, which adds, commits, and pushes your changes while adding a time stamp.

When should I use this?

Quickie Push is ideal for projects where commit messages aren't important.

When shouldn't I use this?

Not recommended for collaborative projects since commit messages are ambiguous.

Notes

-You don't have to use push as the command. To change it, open your .bash_profile and change it to whatever you prefer.

quickie-push's People

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.