Skip to content

miikaah/repox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repox

Make maintaining multiple repositories easier. Repox works on MacOS, Linux and Windows (Powershell 7).

Pre-built binaries

See /bin

Known issues

If the remote doesn't have a default branch set you may get an error like

fatal: ref refs/remotes/origin/HEAD is not a symbolic ref

You can set it with (run in the branch you want to be the default)

git remote set-head origin --auto

Set alias

Setting an alias lets you run repox like any other program from the command line without setting it in PATH.

POSIX

code ~/.bash_profile

.bash_profile file

alias repox='<Absolute path to repox folder>/bin/repox-<os and arch>'

Reload the .bash_profile file

source ~/.bash_profile

Test it

repox help

Windows

Open the profile file via Powershell. The file will be created to C:\Users\username\Documents\Powershell if it doesn't exist.

code $PROFILE

Microsoft.PowerShell_profile.ps1 file

function repoxZig {
    & "<Absolute path to repox folder>\bin\repox.exe" @args
}
Set-Alias repox repoxZig

Reload the Microsoft.PowerShell_profile.ps1 file

. $PROFILE

Test it

repox help

Building

Install Zig (0.13.0) from https://ziglang.org/download/. The OS libc library needs to be available. Follow the OS's instructions on how to install it. On POSIX clang and on Windows the "Windows SDK Standalone" are also needed for the build.

To build run

zig build

The compiled binary can be found in /zig-out/bin

Node

Checkout git checkout js for the Node version

About

Maintain multiple repositories at once

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages