Report branch URL.
This commit is contained in:
parent
9025e77cb2
commit
09e31b676c
|
@ -69,11 +69,14 @@ int main()
|
||||||
git_libgit2_init();
|
git_libgit2_init();
|
||||||
|
|
||||||
git::clone();
|
git::clone();
|
||||||
cout << "Branch ID: " << git::get_last_id() + 1 << "\r\n";
|
|
||||||
git::create_branch();
|
git::create_branch();
|
||||||
git::commit(entry);
|
git::commit(entry);
|
||||||
git::push();
|
git::push();
|
||||||
|
|
||||||
|
cout << "Created branch: "
|
||||||
|
<< "<https://schlomp.space/FediBlock/data/src/branch/web-"
|
||||||
|
<< git::get_last_id() << ">\r\n";
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
files::remove_tmpdir();
|
files::remove_tmpdir();
|
||||||
|
|
Reference in New Issue