Greetings all wonderful people, If you are anyone like me who lazy-outs on `git pull` before running `git push` then you might be familiar with the following infamous git warning message.
``` 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. ``` I have written a FISH PLUGIN named git-refresh <https://github.com/avimehenwal/git-refresh> which automates the workflow and pulls automatically as soon as you CD into the git managed directory. From now on, no need to bother about pulling before pushing, [git-refresh plugin <https://github.com/avimehenwal/git-refresh> got your back and will perform actions automatically. In other words, just install this plugin on FISH shell and hopefully, you will never see the above git warning ever again :) Let me know what do you think /* Mit freundlichen Grüßen */ { "Name" : "Avi Mehenwal", }
_______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users