Git updater shell script - Programming On Unix
Users browsing this thread: 1 Guest(s)
|
|||
I have mentioned a couple of times that I refuse to use Git for versioning my files. Yet, I sometimes need to compile something which resides in a Git repository, usually from GitHub. I keep those repositories in $HOME/github and (randomly) other folders below $HOME. Keeping them updated is relatively annoying though, so I automatized it.
You might want to modify $BLACKLIST and $GITDIRS, especially if you don’t use the bosh for scripting and/or you keep your repositories elsewhere. (On standard POSIX shells, $GITDIRS won’t work like this. Sorry. I might rewrite that line some day.) Usage: ./gitup.sh. Code: #!/opt/schily/bin/bosh Enjoy. Or modify as you need. -- <mort> choosing a terrible license just to be spiteful towards others is possibly the most tux0r thing I've ever seen |
|||
Messages In This Thread |
Git updater shell script - by jkl - 10-09-2020, 02:30 AM
RE: Git updater shell script - by venam - 10-09-2020, 02:43 AM
RE: Git updater shell script - by jkl - 10-09-2020, 02:51 AM
RE: Git updater shell script - by jkl - 13-10-2020, 06:16 AM
RE: Git updater shell script - by mcol - 14-10-2020, 03:19 PM
RE: Git updater shell script - by jkl - 14-10-2020, 07:19 PM
RE: Git updater shell script - by mcol - 15-10-2020, 09:03 AM
RE: Git updater shell script - by Halfwit - 28-11-2020, 09:00 PM
|