Added Git push.

This commit is contained in:
Martín Lucas Golini
2024-01-23 20:42:02 -03:00
parent bdd018feec
commit 857fb48fc6
4 changed files with 18 additions and 1 deletions

View File

@@ -140,6 +140,10 @@ Git::Result Git::pull( const std::string& projectDir ) {
return gitSimple( "pull", projectDir );
}
Git::Result Git::push( const std::string& projectDir ) {
return gitSimple( "push", projectDir );
}
Git::CheckoutResult Git::checkout( const std::string& branch,
const std::string& projectDir ) const {
std::string buf;