Return to index
Clone: git clone https://git.spwbk.site:3000/swatson/simply-git.git/

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

--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

Deps


Installation

Can use provided install.sh to install

TODO - Features:


TODO - Stuff to fix:


Files for simply-git.git/

FileCommitRaw
.gitignore4921dcbb5dfcad52c456609e23379c60fc5f20b6raw
LICENSEefa3eda464744406deebb626f68448007dee3541raw
README.md0553676a18d5756dadcded350b347efb60a0f712raw
example.config2548bc4272ed13385c6a0e3615c117a70b6f0c91raw
install.sh09e89ed181d3c27b7e374f43b5e29be06e07558draw
lib/SimplyGit/Git.pm9b252783e597adbb9da39469357b7945af6b1912raw
sg99a38e46fb21db2829f0875ace59d1afd632e485raw

Logs for simply-git.git/

9f042ce7865228df702d4ba33cbf021a7fde84dd.html
7a6fb7d58a69ad8f1bfd29df3590bbf2bf35c352.html
bcf3f0bd94074356fd6c5d7ae54a27f34cb47f8d.html
f15ddc52cbde462e9e57743033c5d1409c616a68.html
c678864f27eacfd090eeb81484bc3b14c3e32232.html
17e640f990250982e12f6df9fbb32d7dd79f0822.html
57e290e65783a5b6709285c63161533db878b2fb.html
875cd12be9e73b622c305d782e1fc9353e0ca947.html
27c8eea536bf24ce1ba3eaca02eb33c01a1d03cf.html
b09cbbbf6a36bf8fc7f50e52ccf2bcb5be5c084e.html
2c46a5ccdd62aa04233fd50ebc8f6600ea394a88.html
e572394f8eb1e30020530feef31bb40366bcaf62.html
68883bd92e7804cae8b5c9e1343b956ef80f35e5.html
425622871c41889e680333cd0a287b29e2f71e0d.html
14cb1f2a021524b0e3e2b20a65bf631291c9fccc.html
62d64d68f6b959ae87d3d313345ada53f2023234.html
d2ab1660c12f045f2865943e440c0be38cab797e.html
57f196f0e8f73dcf5439150bb6f35ac4fab67b7d.html
af3be8cc7ffaf88dc1200c5e605d6db24b377c72.html
4db794c42463fb2bcbad3ac1e3daf7491cc85ed8.html
a0422864f75a17cf2f80b5ff003164aa4c93da93.html
0409c8c7d0be72d20d8c396c64e9fea73788ca0b.html
6592601d8f24c22a591a32d92f0bd8e036911559.html
2062ec3c13c848739853d68264590cf049a01e90.html
2eb4277f87c8862e3f44fb8edbfb1b82b83fa221.html
20bd74fcfcb85e7e0db24f3e8a5322448861f321.html
5c98fd3deb05e0cde4c86a829ffd62adeadd5387.html
4c3a5ab560ffc6ee7b072b33895c703dbb4aed49.html
2a5196fc4e1cff9628518a6a8dba9b79f56bd54d.html
0166612ec1f0d5ee0a02e0346f744515d5f6d7ca.html
c0c671442a12c8ba30755a1e7db5e7c5756186cd.html
312ab500f7b7345d52e56af4c1cb7e2c21b3435e.html
55da5018b7838aaf45581ddf6352a490d50b7185.html
4e4f21ae83cf596045f0c3285954c097c46f481b.html
ac8479bf9d7b0ba761d5222e68bdbe8ec39606be.html
7fa1666426c579a3a73088dc7e70856c5a9e2f4e.html
5445bd382214fba0d61c50a673a988018d7616c4.html
37153a6a6591e963d77d9fde7b681343636aa620.html
e00b3e9bb230c80df342761d5e15c567b5e46e6b.html
8d4223e6a0c9266f5a5d3d64c716088f983ecac6.html
8b806913a09bc9b48758bf01d952547845e5e339.html
2fc461e4cb054cffdef4f2c6fcb41bca2f3ffcd9.html
6220d9670dcc67d02056a276f68b4fc2e41399ae.html
e9964d18eb23b7a12f5d077feef5933b345cf35f.html
80d73af376d79e3ff10947ffff9a948714767b9e.html
82689837bdbae1f6b6b41a7a519326334c183587.html
0b05c202a28faf95ee8426050744afb148eb11cd.html
1679f92b8231bfdb6b0ffebac792b9078a1d5cc0.html
7b4bfe849b92f57e083087a2c6e6281d65258c0a.html
07d892d0abd42356efcf99d8c98042563b31cb34.html
b9cd0c94b0815c8b72e4350cbe29d0e59e2354f1.html
34ddd8e524fe3d3c88203dd7ccd8958ab5747b3e.html
023bc0bf41e59a5bf28bd2f3bc30c5403a6dc71c.html