Clone: git clone https://git.spwbk.site:3000/swatson/simply-git.git/
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 --config-file Default is ~/.sg/sg.config, can use this opt to use another file * See example.config --knock Will try and knock the defined git server at the defined ports before any operation * See example.config * Can pass this by itself to perform a knock and exit --knock-clone Will try and knock the defined git server and clone the provided repo * Will not check if you're in a git dir --knock-pull Will try and knock the defined git server and git pull | File | Commit | Raw |
| .gitignore | 4921dcbb5dfcad52c456609e23379c60fc5f20b6 | raw |
| LICENSE | efa3eda464744406deebb626f68448007dee3541 | raw |
| README.md | 0553676a18d5756dadcded350b347efb60a0f712 | raw |
| example.config | 2548bc4272ed13385c6a0e3615c117a70b6f0c91 | raw |
| install.sh | 09e89ed181d3c27b7e374f43b5e29be06e07558d | raw |
| lib/SimplyGit/Git.pm | 9b252783e597adbb9da39469357b7945af6b1912 | raw |
| sg | 99a38e46fb21db2829f0875ace59d1afd632e485 | raw |