-
Notifications
You must be signed in to change notification settings - Fork 0
/
autocmt.1
43 lines (40 loc) · 925 Bytes
/
autocmt.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.TH man 8 "29 Nov 2020" "0.3" "autocmt(1)"
.SH NAME
Autocommit
.SH SYNPOSIS
.B autocmt
.RB { REPO_DIR }
.RB [ -p ]
.SH DESCRIPTION
.B autocmt
A simple script to let all your work in
.B git
be submitted automatically.
.SH USAGE
.TP
.B -p
Push changes with new commits
.SH SETUP
.SS CRON
.TP
Run
.B crontab -e
and add the command with your scheduled time like so:
.TP
.B 00 16 * * * autocmt ~/Documents/MyProject
.SS WINDOWS
.TP
Open Windows Task Scheduler and create a new task,
add a constant trigger time, like daily, and add
Autocommit as an action with the appropriate
arguments. With WSL, set executable to
.B C:\\\Windows\\\System32\\\wsl.exe
with arguments
.B /path/to/autocmt.sh /path/to/repo
.TP
It's recommended that your schedule has an odd\-number pattern of pushing changes instead of having no scheduled job to do that.
.SH COPYRIGHT
.PP
Copyright 2020 Wesley Kennedy
.SH AUTHOR
donnaken15 ([email protected])