diff options
author | June McEnroe <june@causal.agency> | 2023-09-11 17:01:58 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2023-09-11 17:02:30 -0400 |
commit | 90fefcaa0b70af49061d648ae3566d65abfc2ab0 (patch) | |
tree | ad5e1ee88a8f3a4e7a437794b5c2ae2e435ea9a7 /bin/man1 | |
parent | Add A Spindle Splintered (diff) | |
download | src-90fefcaa0b70af49061d648ae3566d65abfc2ab0.tar.gz src-90fefcaa0b70af49061d648ae3566d65abfc2ab0.zip |
Add git-import
Diffstat (limited to 'bin/man1')
-rw-r--r-- | bin/man1/git-import.1 | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/bin/man1/git-import.1 b/bin/man1/git-import.1 new file mode 100644 index 00000000..31d224e1 --- /dev/null +++ b/bin/man1/git-import.1 @@ -0,0 +1,49 @@ +.Dd September 11, 2023 +.Dt GIT-IMPORT 1 +.Os +. +.Sh NAME +.Nm git-import +.Nd import a tarball into git +. +.Sh SYNOPSIS +.Nm +.Op Fl m Ar message +.Op Fl p Ar count +.Ar branch +.Ar file +. +.Sh DESCRIPTION +.Nm +imports a tarball +as a new commit on +a git branch. +If +.Ar branch +does not exist, +it will be created. +If +.Ar file +is a URL, +it will be fetched with +.Xr curl 1 . +. +.Pp +The options are as follows: +.Bl -tag -width Ds +.It Fl m Ar message , Fl \-message Ar message +Set the commit message. +.It Fl p Ar count , Fl \-strip Ar count +Remove the specified number +of leading path elements. +The default is 1. +.El +. +.Sh ENVIRONMENT +.Bl -tag -width Ds +.It Ev CURL +The path to +.Xr curl 1 , +used to fetch the tarball +from a URL. +.El |