Giter Club home page Giter Club logo

windows-bash-config's Introduction

Git Bash Config

A repo-centric bash config designed for Git BASH - git for windows

Features

1. Functions - .functions

Function name Description How to use
gig use gitignore.io to generate gitignore file and copy that to clipboard eg: gig windows,visualStudioCode,node
gh open gihub page of the repo gh
clone based on @stephenplusplus dotfile by @stephenplusplus

arg 1 - url | username | repo remote endpoint, username on github, or name of repository.

arg 2 - (optional) name of repo
eg1: clone window-bash-config

eg2: clone yeoman generator

eg3: clone [email protected]:addyosmani/dotfiles.git
glr simple git log glr
f find shorthand

arg1 - filename
eg: f README.md
gitexport take this repo and copy it to somewhere else minus the .git stuff.

arg1 - path to export
eg: gitexport '~/static/'
mkd Create a new directory and enter it eg: mkd hello-world
fs # Determine size of a file or total size of a directory eg: fs
gitio Create a git.io short URL

arg1 - code to setup your own vanity URL

arg2 - github URL
eg: gitio shabi http://github.com/shabith
o with no arguments opens the current directory, otherwise opens the given location eg1: o

eg2: o directory
v with no arguments opens the current directory in Vim, otherwise opens the given location eg1: v

eg2: v directory
a with no arguments opens the current directory in Atom, otherwise opens the given location eg1: a

eg2: a directory
c with no arguments opens the current directory in Visual Studio Code, otherwise opens the given location eg1: c

eg2: c directory

Getting Started

cd ~
git clone https://github.com/shabith/windows-bash-config config
cd config
. setup

windows-bash-config's People

Contributors

shabith avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.