Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ git-lib Public

A bash script to expose some shortcut git helper of my choice

Notifications You must be signed in to change notification settings

1ik/git-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

10 Commits

Repository files navigation

git-lib

A bash script to expose some shortcut git helper of my choice.

Currently Supported commands:

  • g p -> git push -u origin {currentBranchName}
  • g c "my commit messages" -> git add --all && git commit -m "my commit messages"
  • g l -> git pull origin {currentBranchName}
  • g sync -> syncs and resets current Branch with remote.
  • g wip -> creates a new WIP commit on current changes and pushes to current branch
  • g update -> ammends current commit and pushes to remote repository (hard push)

Installation

Clone the repository and put the line . /path/to/git-lib/g.sh anywhere in your .bashrc (or .zshrc if you are using oh-my-zsh)

Supported OS

  • macos
  • linux

About

A bash script to expose some shortcut git helper of my choice

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /