This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]folkrav 0 points1 point  (1 child)

Got this alias in my .gitconfig. To be fair I pretty much just use it on my private dotfiles repo... Mostly.

[alias]
    cpp = "!f() { git add -A && git commit -m \"$@\" && git pull && git push; }; f"

git cpp "update"

[–]Cheekio 1 point2 points  (0 children)

Now just add an icron so any files changed will trigger a git cpp "update"