Coder Social home page Coder Social logo

deeeelin / idkgit Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 3.84 MB

idkgit is a tool that allows bash users to conveniently do git actions to their projects.

License: MIT License

Shell 100.00%
autocomplete bash beginner-project git github linux-shell macos management-system shell shell-script shell-scripting small-projects terminal-based

idkgit's Introduction

idkgit

idkgit is a tool that allows users with bash shell to conveniently do git actions to thier projects.

(Correctness of this project are only tested in macos recently !)

Requirements

Before you begin, ensure you have met the following requirements:

  • You have a device (recommended using mac) that is able to execute bash scripts
  • You have read the instructions for using idkgit

How to install idkgit

To install idkgit follow these steps:

  1. Clone the repo :
git clone https://github.com/deeeelin/idkgit.git <folder path>

, or just download the zip file .

  1. Enter $SHLVL in terminal and make sure the output is 1 , else restart terminal

  2. cd to the idkgit folder and execute start.bash

  3. Restart your terminal

How to use idkgit

Please go through the following steps by doing it on your own computer~

Enter idk to execute idkgit,and you will be in "select mode session".

In select mode session , you can enter:

  • clone or cl to clone repositories

ex : cloning repository of Rust into a folder "Rust_clone" under desktop

Image

  • init or i to initialize git to your project

ex : initialize a directory "test2"

Image

  • create or cr to make idkgit track a project your working

ex : track a project "test1"

Image

  • list or l to see current project that idkgit is tracking

Image

  • setcom or s to set commit message for pushing

ex : set commit message as "little updates from deeeelin"

Image

  • push or ph to push a project , pull or pl to pull a project:

ex : pull main branch of "test1" from github to it's master branch at local

Image

ex : push master branch of "test2" at local to it's main branch on github

Image

if your "proj name" is all then it will automaitcally push/pull all projects that idkgit is tracking , by referencing the same branch that is pushed/pulled previously of each project .

Image

Image

  • jump or j to change to one of a directory that idkgit is tracking,and automatically close idkgit

ex : jump to directory of "test2"

Image

  • delete or d to cancel tracking a project

ex : cancel tracking "test1" , then cancel tracking all of the project.

Image

  • out or o to close idkgit (only works when you're in select mode session).

Image

  • inside all mode mentioned above ,enter b/ to jump back to "select mode session"

Image

Very welcome to make contributes to idkgit ,or contact me to provide recommends for this project,very appreciate

To contribute to this project:

  1. Fork this repository.
  2. Create branch
  3. Make changes and commit them
  4. Push to your github
  5. Create pull request.
  6. Send a message to me via email

List of contributors

Contact me

If you want to contact me you can reach me at [email protected]

MIT License

This project uses the following license: MIT License.

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.