All Projects → ldez → Go Git Cmd Wrapper

ldez / Go Git Cmd Wrapper

Licence: apache-2.0
A simple wrapper around git command in Go.

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Go Git Cmd Wrapper

Xonotic Map Manager
A command line package manager for Xonotic community maps
Stars: ✭ 5 (-77.27%)
Mutual labels:  command-line
Cli Prompts Test
Write e2e tests for CLI apps with ease
Stars: ✭ 17 (-22.73%)
Mutual labels:  command-line
Homebridge Garagedoor Command
Homebridge plugin to control a garage door using command line functions
Stars: ✭ 18 (-18.18%)
Mutual labels:  command-line
Tensorflow.jl
A Julia wrapper for TensorFlow
Stars: ✭ 822 (+3636.36%)
Mutual labels:  wrapper
Trakt Tools
Command-line tools for Trakt.tv.
Stars: ✭ 16 (-27.27%)
Mutual labels:  command-line
Laravel Bigbluebutton
A BigBlueButton API wrapper for Laravel 5
Stars: ✭ 17 (-22.73%)
Mutual labels:  wrapper
Dotdrop
Save your dotfiles once, deploy them everywhere
Stars: ✭ 813 (+3595.45%)
Mutual labels:  command-line
Aruba
Test command-line applications with Cucumber-Ruby, RSpec or Minitest. The most up to date documentation can be found on Cucumber.Pro (https://app.cucumber.pro/projects/aruba)
Stars: ✭ 900 (+3990.91%)
Mutual labels:  command-line
Macports Ports
The MacPorts ports tree
Stars: ✭ 891 (+3950%)
Mutual labels:  command-line
Wykop Es6
Wykop.pl API library
Stars: ✭ 17 (-22.73%)
Mutual labels:  wrapper
Ultralist
Simple task management for tech folks.
Stars: ✭ 823 (+3640.91%)
Mutual labels:  command-line
F32 For Android
Android library for temperature conversions and weather forecasts. Includes wrapper for OpenWeatherMap API
Stars: ✭ 16 (-27.27%)
Mutual labels:  wrapper
Sandal2
SDL2 wrapper in C
Stars: ✭ 17 (-22.73%)
Mutual labels:  wrapper
Kodirpc
Kodi JSON-RPC API/v6 Wrapper in C#
Stars: ✭ 5 (-77.27%)
Mutual labels:  wrapper
Mockup
Perspective app screens and isometric mock-up tool. Automated high quality, high resolution, marketing art designer for mockups. Written in minimalist Bash using ImageMagick and Love! [Application, Art]
Stars: ✭ 18 (-18.18%)
Mutual labels:  command-line
Moyasar Php
Moyasar PHP client library
Stars: ✭ 5 (-77.27%)
Mutual labels:  wrapper
Przm
🎨 A simple, yet feature rich color picker and manipulator
Stars: ✭ 17 (-22.73%)
Mutual labels:  command-line
Clifx
Declarative framework for building command line interfaces
Stars: ✭ 900 (+3990.91%)
Mutual labels:  command-line
Farmanager
File and Archive Manager
Stars: ✭ 898 (+3981.82%)
Mutual labels:  command-line
Andhow
Strongly typed, validated, easy to use Java configuration
Stars: ✭ 17 (-22.73%)
Mutual labels:  command-line

= Go Git Cmd Wrapper

image:https://github.com/ldez/go-git-cmd-wrapper/workflows/Main/badge.svg?branch=master["Build Status", link="https://github.com/ldez/go-git-cmd-wrapper/actions"] image:https://pkg.go.dev/badge/github.com/ldez/go-git-cmd-wrapper["PkgGoDev", link="https://pkg.go.dev/github.com/ldez/go-git-cmd-wrapper"] image:https://goreportcard.com/badge/github.com/ldez/go-git-cmd-wrapper["Go Report Card", link="https://goreportcard.com/report/github.com/ldez/go-git-cmd-wrapper"]

image:https://img.shields.io/badge/Sponsor%20me-%E2%9D%A4%EF%B8%8F-pink.svg["Sponsor", link="https://github.com/sponsors/ldez"]

It's a simple wrapper around git command.

Import github.com/ldez/go-git-cmd-wrapper/v2/git.

[source, golang]

// clone output, err := git.Clone(clone.Repository("https://github.com/ldez/prm")) // with debug option output, err := git.Clone(clone.Repository("https://github.com/ldez/prm"), git.Debug) output, err := git.Clone(clone.Repository("https://github.com/ldez/prm"), git.Debugger(true))

// fetch output, err = git.Fetch(fetch.NoTags, fetch.Remote("upstream")) output, err = git.Fetch(fetch.NoTags, fetch.Remote("upstream"), fetch.RefSpec("master"))

// add a remote output, err = git.Remote(remote.Add, remote.Name("upstream"), remote.URL("https://github.com/ldez/prm"))

More examples: link:https://pkg.go.dev/github.com/ldez/go-git-cmd-wrapper/v2/git?tab=doc[Documentation]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].