Comments (1)
Hey,
Its hard to make assumptions as you haven't given any error codes or anything that hasn't worked for you.
I would imagine however that using this section from the docs might help.
Using the RepoBuilder
it seems as though you can make a Repository
object which represents your repo.
Once you have your Repository
object you can use this function to get the remote you want to push to.
From there you have a remote object which looks like it allows you to push & pull.
As for github actions, I'm not entirely sure how you would go about implementing calling those but I'm sure you can figure it out.
Cheers.
from git2-rs.
Related Issues (20)
- Unclear documatation: branch_remote_name
- Build problems with installed libgit2 1.8.0 HOT 3
- The error caused by failed `push_negotiation` is strange: `"config value 'pack.windowMemory' was not found"` HOT 4
- git clone arguments HOT 1
- Segmentation fault when cloning invalid URL HOT 1
- path matching inconsistent error
- How do you reset changed files and delete the untracked ones to bring repo to a clean state?
- Use SSH over HTTPs HOT 1
- `branch_upstream_remote` says local branch does not exist when it does HOT 3
- Segfault during fetch HOT 8
- How to execute rebase - i to merge multiple commits into one
- Question about remote clone HOT 1
- DiffFormat::PatchHeader fails to print
- Undefined symbols for architecture arm64 HOT 1
- feat: Implement the `git_commit_time()` method for the commit struct
- Question about maintainers HOT 2
- Support for filter for Repository fetch options.
- passworded ssh keys not working with Cred::ssh_key_from_agent on Mac HOT 1
- `fetch_options` in `RepoBuilder` receives immutable variable, but `remote_callbacks` of `FetchOptions` returns mutable variable HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git2-rs.