Git Product home page Git Product logo

decentvcs-cli's Introduction

DecentVCS CLI

CLI for DecentVCS.

Requirements

Dependency Version
go 1.19+
git 2.35+

Install

./install.sh

Usage

dvcs [global options] command [command options] [arguments...]

Commands

Command Description
login Log in (required to use other commands)
logout Log out
init [--patch?] [slug] Initialize a new project in the current directory. Slug must be in the format <team_name>/<project_name>
clone [slug] [path?] Clone a project
changes Print local changes
push [-y] [message?] Push local changes to remote
sync [-y] [commit_index?] Sync local project to the specified commit (or latest commit if not specified). Retains all local changes unless prompted to override.
reset [-y] Reset all local changes to be in sync with remote
revert [-y] Revert to the previous commit. Note: This will also reset all local changes.
branches List all branches in the project
branch new [name] Create a new branch
branch use [name] Switch to the specified branch for local project
branch delete [-y] [name] Delete a branch. No associated commits or stored project files will be deleted.
branch set-default [name] Set the default branch for the project
history [-l=10] Print commit history
status Print project config
invite [emails...] Invite one or many users to the project
locks [-b | --branch?] List locked files for a branch
lock [paths...] Lock files or directories from being modified by others
unlock [-f | --force?] [paths...] Unlock files or directories, allowing them to be modified again by others

Common flags

Flag Description
-y or --yes Skip confirmation
-l or --limit Limit returned results

Usage

Ignoring files in projects

Create a .decentignore file in your project. Each line will be read as a regular expression (regex), with all leading and trailing whitespace being ignored. You can also comment out any line with the # prefix.

Example:

# Hey look, a comment!
file_name
entire_dir/.*

decentvcs-cli's People

Contributors

joshnies avatar dependabot[bot] 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.