1
2
3
4
5
6
7
8
9
10
11
//! Remote

use crate::{error::Error, GitRepository};

/// Performs a push
pub fn push_branch(_repo: &GitRepository) -> Result<(), Error> {
    // find the remote => git2::Remote
    // push the branch => remote.push(refspecs)
    // refspecs mop a branch in the local repo to the remote repo
    todo!()
}