Skip to content

avimehenwal/git-refresh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-refresh

A plugin for Oh My Fish.

MIT License Fish Shell Version Oh My Fish Framework


Introduction

git-refresh automates pulling your git managed repositories as soon as you cd into them.

No command, no fuss required. Just plain old-fashioned simple automation.

Hope it saves you some time and hopefully some frustration overtime.

Project aim is that you never see the following git error warning

To https://github.com/USERNAME/REPOSITORY.git
  ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to 'https://github.com/USERNAME/REPOSITORY.git'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes (e.g. 'git pull') before pushing again.  See the
'Note about fast-forwards' section of 'git push --help' for details.

Hail Automation! :)

Demo

git-refresh-demo

Install

$ omf install git-refresh

Usage

Upon successfull installation, just relax and let the plugin take care of pulling git repo as soon as you cd to any git managed directory.

It executes automatically. ☺️

License

MIT © avimehenwal et al

About

git pull automatically wherever inside a git repository

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages