🕷️ Crawler Inspector

URL Lookup

Direct Parameter Lookup

Raw Queries and Responses

1. Shard Calculation

Query:
Response:
Calculated Shard: 11 (from laksa193)

2. Crawled Status Check

Query:
Response:

3. Robots.txt Check

Query:
Response:

4. Spam/Ban Check

Query:
Response:

5. Seen Status Check

ℹ️ Skipped - page is already crawled

đź“„
INDEXABLE
âś…
CRAWLED
1 day ago
🤖
ROBOTS ALLOWED

Page Info Filters

FilterStatusConditionDetails
HTTP statusPASSdownload_http_code = 200HTTP 200
Age cutoffPASSdownload_stamp > now() - 6 MONTH0 months ago
History dropPASSisNull(history_drop_reason)No drop reason
Spam/banPASSfh_dont_index != 1 AND ml_spam_score = 0ml_spam_score=0
CanonicalPASSmeta_canonical IS NULL OR = '' OR = src_unparsedNot set

Page Details

PropertyValue
URLhttps://stegriff.co.uk/upblog/move-last-git-commit-to-a-different-branch/
Last Crawled2026-04-07 17:11:02 (1 day ago)
First Indexed2023-02-06 22:05:17 (3 years ago)
HTTP Status Code200
Meta TitleMove last git commit to a different branch - SteGriff
Meta Descriptionnull
Meta Canonicalnull
Boilerpipe Text
06 February 2023 So you committed to main instead of your feature branch? Oops! But it’s ok. All commits in git are special little things that are easy to chip up and kick around ⚽ If you need to do any sleuthing first, use git log The Process I already created the target feature branch If you created the feature branch on remote first (in GitHub or DevOps), run: git fetch Checkout the branch where you should have put the commit: git checkout my-branch Now merge main into it (feels wrong but is right) git merge main You can git push your feature branch changes at this point, if you want. I didn’t create the feature branch yet Ok, so you’re on main which has the latest commit that should be in the branch instead. Simply: git checkout -b my-new-branch And it will be copy of main including your new commit. Use git push -u origin my-new-branch on your feature branch to push it up to the remote. Moving main back Checkout main , then move it back however many commits you want: git checkout main git reset --keep HEAD~1 And you’re done! You can use git log for your satisfaction. Commit early, commit often 🦕
Markdown
# [SteGriff](https://stegriff.co.uk/) ## [Blog](https://stegriff.co.uk/upblog) - [March 2026 Month Notes 04 April 2026](https://stegriff.co.uk/upblog/march-2026-month-notes/) - [Host a generated static site with docker or disco 30 March 2026](https://stegriff.co.uk/upblog/host-a-generated-static-site-with-docker-or-disco/) - [I made a Kotlin UDL for Notepad++ 22 March 2026](https://stegriff.co.uk/upblog/i-made-a-kotlin-udl-for-notepad/) - [Feb 2026 Month Notes 25 February 2026](https://stegriff.co.uk/upblog/feb-2026-month-notes/) - [January 2026 Month Notes 13 February 2026](https://stegriff.co.uk/upblog/jan-2026-month-notes/) Next & Previous - [Adding cache-busting chunk-hashes to Vue CLI output JS](https://stegriff.co.uk/upblog/adding-cache-busting-chunk-hashes-to-vue-cli-output-js/) (newer) - [I fixed my Yamaha PSS-A50](https://stegriff.co.uk/upblog/i-fixed-my-yamaha-pss-a50/) (older) # Move last git commit to a different branch 06 February 2023 So you committed to `main` instead of your feature branch? Oops! But it’s ok. All commits in git are special little things that are easy to chip up and kick around ⚽ If you need to do any sleuthing first, use ``` git log ``` ## The Process ### I already created the target feature branch If you created the feature branch on remote first (in GitHub or DevOps), run: ``` git fetch ``` Checkout the branch where you should have put the commit: ``` git checkout my-branch ``` Now merge `main` into it (feels wrong but is right) ``` git merge main ``` You can `git push` your feature branch changes at this point, if you want. ### I didn’t create the feature branch yet Ok, so you’re on `main` which has the latest commit that should be in the branch instead. Simply: ``` git checkout -b my-new-branch ``` And it will be copy of main including your new commit. Use `git push -u origin my-new-branch` on your feature branch to push it up to the remote. ### Moving main back Checkout `main`, then move it back however many commits you want: ``` git checkout main git reset --keep HEAD~1 ``` And you’re done\! You can use `git log` for your satisfaction. Commit early, commit often 🦕 2014–2025 SteGriff - Stephen Griffiths [Home](https://stegriff.co.uk/) [About](https://stegriff.co.uk/#about) [Upblog](https://stegriff.co.uk/upblog) [Blogroll](https://stegriff.co.uk/blogroll) [100% Human-written](https://stegriff.co.uk/upblog/my-ai-policy/) ⛅
Readable Markdown
06 February 2023 So you committed to `main` instead of your feature branch? Oops! But it’s ok. All commits in git are special little things that are easy to chip up and kick around ⚽ If you need to do any sleuthing first, use ``` git log ``` ## The Process ### I already created the target feature branch If you created the feature branch on remote first (in GitHub or DevOps), run: ``` git fetch ``` Checkout the branch where you should have put the commit: ``` git checkout my-branch ``` Now merge `main` into it (feels wrong but is right) ``` git merge main ``` You can `git push` your feature branch changes at this point, if you want. ### I didn’t create the feature branch yet Ok, so you’re on `main` which has the latest commit that should be in the branch instead. Simply: ``` git checkout -b my-new-branch ``` And it will be copy of main including your new commit. Use `git push -u origin my-new-branch` on your feature branch to push it up to the remote. ### Moving main back Checkout `main`, then move it back however many commits you want: ``` git checkout main git reset --keep HEAD~1 ``` And you’re done\! You can use `git log` for your satisfaction. Commit early, commit often 🦕
Shard11 (laksa)
Root Hash10116534853926180411
Unparsed URLuk,co,stegriff!/upblog/move-last-git-commit-to-a-different-branch/ s443