Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/werdl/hgit
A git wrapper making some things easier
https://github.com/werdl/hgit
Last synced: about 7 hours ago
JSON representation
A git wrapper making some things easier
- Host: GitHub
- URL: https://github.com/werdl/hgit
- Owner: werdl
- License: apache-2.0
- Created: 2023-12-26T16:30:23.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2023-12-30T15:20:44.000Z (11 months ago)
- Last Synced: 2023-12-31T10:27:43.880Z (11 months ago)
- Language: Rust
- Size: 5.36 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HGit
## Git, simpler
- HGit is a wrapper for Git that can be used as a drop in replacement. It has many useful tricks.
## Commands
- By default, your arguments are sent straight to the `git` executable (which must be installed on your system)
- There are also of course some HGit only commands
## `get [provider] repo`
- clones repo from provider
- supports github (`--github | -g`) and gitlab (`--gitlab | -l`)
### Examples
`hgit get werdl/hgit` - default pulls from github`hgit get -l inkscape/inkscape` - from gitlab
`hgit get -g -l --github spartanproj/os` - last flag takes priority
## `go [commit message]`
- performs these operations, after concatenating all future arguments to one for `commit -m`
```bash
add .
commit -m
push
```
### Examples
`hgit go my first commit` - creates and pushes commit by name of `my first commit`## `template [options] `
- creates a new repo, after cloning template_addr (does that in the same way `get` does, with provider flags)
- options must include `--name=`
### Examples
`hgit start --name=cc werdl/c_project`## `info`
- provides a much shorter output of all commits to main## `data`
- shows the current status of the repository## `update`
- grabs from remote## `web`
- opens in web browser## `activity`
- shows recent activity on all branches## `contrib`
- gives a breakdown of all repo contributors