{"id":26956400,"url":"https://github.com/darrensem/gh-pages-merge","last_synced_at":"2026-05-01T13:32:53.826Z","repository":{"id":190000343,"uuid":"681748282","full_name":"DarrenSem/gh-pages-merge","owner":"DarrenSem","description":"gh-pages merge from master branch.BAT (Usage: make a Windows shortcut to this (with empty \"Start in:\" field) and VOILA you can drag-and-drop your git repo folder! Even easier if you copy the shortcut into SendTo.)","archived":false,"fork":false,"pushed_at":"2023-08-22T17:17:47.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T03:31:36.496Z","etag":null,"topics":["bat-file","dos","dos-batch","drag-and-drop","drag-drop","drag-n-drop","gh-pages","git","git-repo","git-repository","github-pages","master","master-branch","merge","merge-branch","send-to","sendto","shortcut","windows","windows-shortcut"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DarrenSem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-22T17:12:16.000Z","updated_at":"2023-08-22T17:16:22.000Z","dependencies_parsed_at":"2023-08-22T21:24:05.115Z","dependency_job_id":null,"html_url":"https://github.com/DarrenSem/gh-pages-merge","commit_stats":null,"previous_names":["darrensem/gh-pages-merge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DarrenSem/gh-pages-merge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarrenSem%2Fgh-pages-merge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarrenSem%2Fgh-pages-merge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarrenSem%2Fgh-pages-merge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarrenSem%2Fgh-pages-merge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DarrenSem","download_url":"https://codeload.github.com/DarrenSem/gh-pages-merge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarrenSem%2Fgh-pages-merge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32499681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["bat-file","dos","dos-batch","drag-and-drop","drag-drop","drag-n-drop","gh-pages","git","git-repo","git-repository","github-pages","master","master-branch","merge","merge-branch","send-to","sendto","shortcut","windows","windows-shortcut"],"created_at":"2025-04-03T03:29:52.082Z","updated_at":"2026-05-01T13:32:53.810Z","avatar_url":"https://github.com/DarrenSem.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gh-pages-merge\ngh-pages merge from master branch.BAT (Usage: make a Windows shortcut to this (with empty \"Start in:\" field) and VOILA you can drag-and-drop your git repo folder! Even easier if you copy the shortcut into SendTo.)\n\n```bat\n@echo off\n\nCLS\n\nSET \"CD_OLD=%CD%\"\n\necho.\necho +++ gh-pages merge from master branch\n\nIF \"%~1\"==\"\" (\n  echo.\n  echo.Folder with git repo MUST be provided as 1st arg!\n  goto aborted\n)\n\necho.\necho.Launched from path:\n\necho.\necho.%CD_OLD%\n\nrem Navigate to directory provided as argument\necho.\necho.cd \"%~1\"\ncd \"%~1\"\n\nIF ERRORLEVEL 1 (\n  goto aborted\n)\n\necho.\necho.Switched to path:\n\necho.\necho.%CD%\n\nrem Ensure Git commands are accessible from cmd\nrem set PATH=%PATH%;C:/Program Files/Git/cmd\n\nrem Fetch all branches and commit information from remote repository\necho.\necho.git fetch origin\ngit fetch origin\n\nIF ERRORLEVEL 1 (\n  goto aborted\n)\n\nrem Display current branches and highlight the current branch\necho.\necho.git branch\ngit branch\n\necho.\necho +++ LAST CHANCE TO ABORT!\n\necho.\necho.Press CTRL+C to exit now, or any other key to proceed . . .\npause\u003eNUL\n\nrem Switch to gh-pages branch\necho.\necho.git checkout gh-pages\ngit checkout gh-pages\n\nIF ERRORLEVEL 1 (\n  goto aborted\n)\n\nrem Merge changes from the master branch\necho.\necho.git merge master\ngit merge master\n\nIF ERRORLEVEL 1 (\n  goto aborted\n)\n\nrem Push merged changes to remote repository\necho.\necho.git push origin gh-pages\ngit push origin gh-pages\n\nIF ERRORLEVEL 1 (\n  goto aborted\n)\n\nrem Switch back to master\necho.\necho.git checkout master\ngit checkout master\n\nIF ERRORLEVEL 1 (\n  goto aborted\n)\n\necho.\necho.DONE. Press any key to exit . . .\ngoto pausequit\n\n\n\n:aborted\n  echo.\n  echo.ABORTED. Press any key to exit . . .\n\n\n\n:pausequit\n  cd \"%CD_OLD%\"\n  pause\u003eNUL\n  exit /b\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarrensem%2Fgh-pages-merge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarrensem%2Fgh-pages-merge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarrensem%2Fgh-pages-merge/lists"}