{"id":16472015,"url":"https://github.com/stewid/test-06","last_synced_at":"2026-03-06T04:03:53.020Z","repository":{"id":36512480,"uuid":"40818189","full_name":"stewid/test-06","owner":"stewid","description":"Test to add an existing project to GitHub using https and git2r on Solaris","archived":false,"fork":false,"pushed_at":"2015-08-16T13:11:58.000Z","size":100,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T10:10:25.801Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stewid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-16T13:11:05.000Z","updated_at":"2015-08-16T13:11:05.000Z","dependencies_parsed_at":"2022-09-01T04:30:35.914Z","dependency_job_id":null,"html_url":"https://github.com/stewid/test-06","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stewid/test-06","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stewid%2Ftest-06","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stewid%2Ftest-06/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stewid%2Ftest-06/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stewid%2Ftest-06/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stewid","download_url":"https://codeload.github.com/stewid/test-06/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stewid%2Ftest-06/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30161345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T22:39:40.138Z","status":"online","status_checked_at":"2026-03-06T02:00:08.268Z","response_time":250,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T12:15:55.280Z","updated_at":"2026-03-06T04:03:52.975Z","avatar_url":"https://github.com/stewid.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Add an existing project to GitHub using https and git2r\n\nCreate a new repository on GitHub before running the following R code.\n\n```r\nlibrary(git2r)\n\n# 1) Create a new repository\nrepo \u003c- init(\"test-06\")\n\n# 2) Add 'README.md' to local repository\nadd(repo, \"README.md\")\n\n# 3) Commit staged 'README.md'. Add sessionInfo to commit message\ncommit(repo, message = \"Initial commit\", session = TRUE)\n\n# 4) Add URL for the remote repository\nremote_add(repo, \"origin\", \"https://github.com/stewid/test-06.git\")\n\n## 5) Create credentials from environmental variables\ncred \u003c- cred_env(\"GITHUB_USER\", \"GITHUB_PAT\")\n\n# 6) Push changes in local repository to GitHub\npush(repo, \"origin\", \"refs/heads/master\", credentials = cred)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstewid%2Ftest-06","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstewid%2Ftest-06","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstewid%2Ftest-06/lists"}