Add repo
This commit is contained in:
32
README.md
32
README.md
@@ -83,4 +83,34 @@ Doing this manually requires opening every folder one by one
|
|||||||
|
|
||||||
It also removes non existent entries from recent projects and recent files
|
It also removes non existent entries from recent projects and recent files
|
||||||
|
|
||||||
##
|
## repo
|
||||||
|
**Creates repositories on gitea and assigns them as "origin" on the git repository in working directory**
|
||||||
|
|
||||||
|
The configuration of this tool is done through environmental variables:
|
||||||
|
```
|
||||||
|
GITEA_USER=dave
|
||||||
|
GITEA_PASSWORD=supersecret
|
||||||
|
GITA_URL=https://git.site.quack-lab.dev/
|
||||||
|
```
|
||||||
|
|
||||||
|
Fine grained configuration is applied through flags:
|
||||||
|
```
|
||||||
|
Usage of repo.exe:
|
||||||
|
-f Force assignment of the remote (deletes existing origin)
|
||||||
|
-n string
|
||||||
|
Name of the repository (shorthand)
|
||||||
|
-name string
|
||||||
|
Name of the repository
|
||||||
|
-ni
|
||||||
|
Do not add remote to the new repo (shorthand)
|
||||||
|
-noinit
|
||||||
|
Do not add remote to the new repo
|
||||||
|
-p Make the repository private (shorthand)
|
||||||
|
-private
|
||||||
|
Make the repository private
|
||||||
|
-r string
|
||||||
|
Name of the remote to create for the new repository (shorthand) (default "origin")
|
||||||
|
-remote string
|
||||||
|
Name of the remote to create for the new repository (default "origin")
|
||||||
|
```
|
||||||
|
|
||||||
|
1
repo.exe
Symbolic link
1
repo.exe
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
C:/Users/Administrator/Seafile/Projects-Go/GoProjects/gitea-api/main.exe
|
3
sync
3
sync
@@ -1,4 +1,5 @@
|
|||||||
"C:\Users\Administrator\Seafile\Projects-Go\GoProjects\fiter\main.exe",fiter.exe
|
"C:\Users\Administrator\Seafile\Projects-Go\GoProjects\fiter\main.exe",fiter.exe
|
||||||
"C:\Users\Administrator\Seafile\Projects-Go\GoProjects\fmoditer\main.exe",fmoditer.exe
|
"C:\Users\Administrator\Seafile\Projects-Go\GoProjects\fmoditer\main.exe",fmoditer.exe
|
||||||
"C:\Users\Administrator\Seafile\Projects-Go\GoProjects\project-scanner\main.exe",vsclean.exe
|
"C:\Users\Administrator\Seafile\Projects-Go\GoProjects\project-scanner\main.exe",vsclean.exe
|
||||||
"C:\Users\Administrator\Seafile\Projects-Go\GoProjects\synclib\main.exe",cln.exe
|
"C:\Users\Administrator\Seafile\Projects-Go\GoProjects\synclib\main.exe",cln.exe
|
||||||
|
"C:\Users\Administrator\Seafile\Projects-Go\GoProjects\gitea-api\main.exe",repo.exe
|
Reference in New Issue
Block a user