simply-git

spesk1 14cb1f2a02 Missing newline after adding chomp to shellex 5 rokov pred
lib 62d64d68f6 Added config file fuctionality that can be expanded and warning if youre not using the local user you have configured in the config file 5 rokov pred
.gitignore 55da5018b7 Added functionality to auto ignore sg log and to append to .gitignore 5 rokov pred
LICENSE e9964d18eb Add LICENSE 5 rokov pred
README.md 62d64d68f6 Added config file fuctionality that can be expanded and warning if youre not using the local user you have configured in the config file 5 rokov pred
example.config 62d64d68f6 Added config file fuctionality that can be expanded and warning if youre not using the local user you have configured in the config file 5 rokov pred
install.sh 62d64d68f6 Added config file fuctionality that can be expanded and warning if youre not using the local user you have configured in the config file 5 rokov pred
sg 14cb1f2a02 Missing newline after adding chomp to shellex 5 rokov pred

README.md

simply-git

Project to abstract some of the weirder git operations or things that I forget. Should always be able to be used alongside git, as opposed to trying to replace it outright. Mainly writing to learn more about Git and Perl, unlikely to be widely useful.

simply-git
Usage:
        --view
        Display git status of files and other information

        --dump-config
        Dump .git/config to STDOUT. Not really useful but exposed for testing of reading config into internal data structure

        --push-all [--commit-msg]
        Push all untracked and modified files 
                * Can be used with interactive mode
                * Can provide a commit msg with --commit-msg (otherwise a generic will be provided)

        --interactive
        Enable interactive mode with supported opts

        --reset-from-master
        Reset all current changes so that the file tree matches origin master

        --reset-from-upstream [ --upstream-url ]
        If upstream is defined will reset local branch to match upstream ( does not push changes to origin )
                * Assumes you have an upstream configured
                * Pass SSH/HTTPS URL to --upstream-url to add an upstream

        --configure-local-user [--user,--email]
        Configure local git user
                * Can be used with interactive mode

TODO - Features:

  • Warn about upstream updates

TODO - Stuff to fix:

  • multipule TODO:'s in various files