Giter Club home page Giter Club logo

repox's Introduction

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

repox's People

Contributors

miikaah avatar

Stargazers

vittorioPiotti avatar Juho Karenko avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.