Moving the current branch back to a commit with soft, mixed, or hard mode
Right-click → Reset branch to here… to move the current branch back to that commit.
The default mode is Mixed.
Mode
Behavior
Soft
Undoes the commit only, keeps changes staged
Mixed
Undoes the commit, leaves changes unstaged
Hard
Discards the commit and all working tree changes
Choosing Hard adds a warning and turns the run button red.
Uncommitted changes disappear, and this cannot be undone.
⌘I
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"ParalleLane","description":"The user guide for ParalleLane, a fast and friendly desktop Git client","colors":{"primary":"#3ea668","light":"#5cc47e","dark":"#348a58"},"logo":{"light":"https://mintcdn.com/railgit/3HMKl5CTybzILoqF/logo/parallelane-light.png?fit=max\u0026auto=format\u0026n=3HMKl5CTybzILoqF\u0026q=85\u0026s=6d2795acc234b4579922595045b8dd49","dark":"https://mintcdn.com/railgit/3HMKl5CTybzILoqF/logo/parallelane-dark.png?fit=max\u0026auto=format\u0026n=3HMKl5CTybzILoqF\u0026q=85\u0026s=9c619a676cd95d6dde5249bf918a9b06"},"favicon":"https://mintcdn.com/railgit/1HhHpeGsA-i8McQ3/favicon.png?fit=max\u0026auto=format\u0026n=1HhHpeGsA-i8McQ3\u0026q=85\u0026s=6b169818897c34acc47d72de207c55e2","appearance":{"default":"dark"},"navbar":{"links":[]},"seo":{"metatags":{"canonical":"https://docs.parallelane.com","google-site-verification":"wuB_pXXgr1A_RRyK8rd0wtiqP1Ykxxh_wLKhLi-Dnig"}},"icons":{"library":"lucide"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":""},{"language":"ko","href":"ko"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"railgit","hasAudioNarration":false,"actualSubdomain":"railgit","customDomains":["docs.parallelane.com"],"gitSource":{"type":"github","owner":"yeosu0107","repo":"parallelane-docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aed8c5907df4bd3291ba9bc","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"en","tag":"Docs","count":41},{"language":"ko","tag":"Docs","count":41},{"language":"en","tag":"Branches \u0026 history","count":9},{"language":"ko","tag":"브랜치 \u0026 히스토리","count":9},{"language":"en","tag":"Remotes \u0026 syncing","count":7},{"language":"ko","tag":"원격 협업","count":7},{"language":"en","tag":"Accounts \u0026 settings","count":6},{"language":"ko","tag":"계정 \u0026 설정","count":6},{"language":"en","tag":"Basics","count":5},{"language":"en","tag":"Conflicts \u0026 comparing","count":5},{"language":"ko","tag":"기본 작업","count":5},{"language":"ko","tag":"충돌 해결 \u0026 비교","count":5},{"language":"en","tag":"Rebase \u0026 merge","count":4},{"language":"en","tag":"Getting started","count":4},{"language":"en","tag":"Worktrees","count":4},{"language":"ko","tag":"리베이스 \u0026 머지","count":4},{"language":"ko","tag":"시작하기","count":4},{"language":"ko","tag":"워크트리","count":4},{"language":"en","tag":"Branches \u0026 tags","count":3},{"language":"ko","tag":"브랜치 \u0026 태그","count":3}],"searchSettings":{"isFiltersEnabled":false}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@parallelane.com"}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"history/rebase-merge/reset","slug":"/history/rebase-merge/reset","pageMetadata":{"title":"Reset","sidebarTitle":"Reset","description":"Moving the current branch back to a commit with soft, mixed, or hard mode","icon":"rotate-ccw","href":"/history/rebase-merge/reset"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Moving the current branch back to a commit with soft, mixed, or hard mode\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Frame,OptimizedImage,Table,Warning}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Right-click → `,_jsxs(_components.strong,{children:[`Reset `,`{`,`branch`,`}`,` to here…`]}),` to move the current branch back to that commit.\nThe default mode is `,_jsx(_components.strong,{children:`Mixed`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Mode`}),_jsx(_components.th,{children:`Behavior`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Soft`})}),_jsx(_components.td,{children:`Undoes the commit only, keeps changes staged`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Mixed`})}),_jsx(_components.td,{children:`Undoes the commit, leaves changes unstaged`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Hard`})}),_jsx(_components.td,{children:`Discards the commit and all working tree changes`})]})]})]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/railgit/Youoqr4OEBTwrnAk/images/history-reset-dialog.png?fit=max\u0026auto=format\u0026n=Youoqr4OEBTwrnAk\u0026q=85\u0026s=ef52f32c00009ec47e1125aa78b10a1c`,alt:`The Reset dialog reading 'Reset main to fdab969.', with Hard selected among the Soft, Mixed, and Hard options under MODE, the line 'Discard commit and all working tree changes. Uncommitted changes will be lost.' below them, and the footer warning 'All working tree changes will be discarded' beside the Cancel button and a red Reset button`,\"data-og-width\":`886`,width:`886`,\"data-og-height\":`616`,height:`616`,\"data-path\":`images/history-reset-dialog.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/railgit/Youoqr4OEBTwrnAk/images/history-reset-dialog.png?w=280\u0026fit=max\u0026auto=format\u0026n=Youoqr4OEBTwrnAk\u0026q=85\u0026s=ab6b8090f75ef59c5d8843190fa67dd8 280w, https://mintcdn.com/railgit/Youoqr4OEBTwrnAk/images/history-reset-dialog.png?w=560\u0026fit=max\u0026auto=format\u0026n=Youoqr4OEBTwrnAk\u0026q=85\u0026s=e933fd38781ab4e419047745de5c10e2 560w, https://mintcdn.com/railgit/Youoqr4OEBTwrnAk/images/history-reset-dialog.png?w=840\u0026fit=max\u0026auto=format\u0026n=Youoqr4OEBTwrnAk\u0026q=85\u0026s=ca060008d3b97e8d7f61a626e1bf347a 840w, https://mintcdn.com/railgit/Youoqr4OEBTwrnAk/images/history-reset-dialog.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Youoqr4OEBTwrnAk\u0026q=85\u0026s=ab0c35108486aca1d21738d6f1495e08 1100w, https://mintcdn.com/railgit/Youoqr4OEBTwrnAk/images/history-reset-dialog.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Youoqr4OEBTwrnAk\u0026q=85\u0026s=457e0b3d18d40c2dd1ed81346619ae71 1650w, https://mintcdn.com/railgit/Youoqr4OEBTwrnAk/images/history-reset-dialog.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Youoqr4OEBTwrnAk\u0026q=85\u0026s=be5df48571174c0b1284eaf46d992bb9 2500w`})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Choosing `,_jsx(_components.strong,{children:`Hard`}),` adds a warning and turns the run button red.\nUncommitted changes disappear, and this cannot be undone.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Reset","sidebarTitle":"Reset","description":"Moving the current branch back to a commit with soft, mixed, or hard mode","icon":"rotate-ccw","href":"/history/rebase-merge/reset"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[679,707,"branch`,` to here…`]"]]},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"subdomain":"railgit","siteName":"ParalleLane","title":"Reset - ParalleLane","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/history/rebase-merge/reset","matchLevel":0},"ko":{"href":"/ko/history/rebase-merge/reset","matchLevel":1}}},"lastModified":"2026-09-21T07:21:24.917Z","originalFileLocation":"history/rebase-merge/reset.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Moving the current branch back to a commit with soft, mixed, or hard mode\">\u003cmeta data-mint-head name=\"application-name\" content=\"ParalleLane\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/railgit/oQfLYCRysCpkk6Cq/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/railgit/oQfLYCRysCpkk6Cq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/railgit/oQfLYCRysCpkk6Cq/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/railgit/oQfLYCRysCpkk6Cq/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/railgit/oQfLYCRysCpkk6Cq/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/railgit/oQfLYCRysCpkk6Cq/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/railgit/oQfLYCRysCpkk6Cq/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/railgit/oQfLYCRysCpkk6Cq/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/railgit/oQfLYCRysCpkk6Cq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Reset - ParalleLane\">\u003cmeta data-mint-head property=\"og:description\" content=\"Moving the current branch back to a commit with soft, mixed, or hard mode\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ParalleLane\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.parallelane.com/history/rebase-merge/reset\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://railgit.mintlify.site/_mintlify/api/og/v2?division=Rebase+%26+merge\u0026amp;title=Reset\u0026amp;description=Moving+the+current+branch+back+to+a+commit+with+soft%2C+mixed%2C+or+hard+mode\u0026amp;theme=a8dbfb9e813c35bcb579dbed\u0026amp;signature=f34ac343001083853224e50a0f22af28a7b21dde4937f24f75845badd3800659\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Reset - ParalleLane\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Moving the current branch back to a commit with soft, mixed, or hard mode\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://railgit.mintlify.site/_mintlify/api/og/v2?division=Rebase+%26+merge\u0026amp;title=Reset\u0026amp;description=Moving+the+current+branch+back+to+a+commit+with+soft%2C+mixed%2C+or+hard+mode\u0026amp;theme=a8dbfb9e813c35bcb579dbed\u0026amp;signature=f34ac343001083853224e50a0f22af28a7b21dde4937f24f75845badd3800659\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/railgit/oQfLYCRysCpkk6Cq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ParalleLane\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3ea668\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"wuB_pXXgr1A_RRyK8rd0wtiqP1Ykxxh_wLKhLi-Dnig\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.parallelane.com/history/rebase-merge/reset\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/history/rebase-merge/reset.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.parallelane.com/history/rebase-merge/reset\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.parallelane.com/ko/history/rebase-merge/reset\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.parallelane.com/history/rebase-merge/reset\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.parallelane.com/#organization\",\"name\":\"ParalleLane\",\"url\":\"https://docs.parallelane.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/railgit/3HMKl5CTybzILoqF/logo/parallelane-light.png?fit=max\u0026auto=format\u0026n=3HMKl5CTybzILoqF\u0026q=85\u0026s=6d2795acc234b4579922595045b8dd49\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.parallelane.com#website\",\"name\":\"ParalleLane\",\"url\":\"https://docs.parallelane.com\",\"publisher\":{\"@id\":\"https://docs.parallelane.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.parallelane.com/history/rebase-merge/reset#webpage\",\"url\":\"https://docs.parallelane.com/history/rebase-merge/reset\",\"name\":\"Reset\",\"description\":\"Moving the current branch back to a commit with soft, mixed, or hard mode\",\"dateModified\":\"2026-09-21T07:21:24.917Z\",\"isPartOf\":{\"@id\":\"https://docs.parallelane.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.parallelane.com/history/rebase-merge/reset#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.parallelane.com/history/rebase-merge/reset#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Branches \u0026 history\",\"item\":\"https://docs.parallelane.com/history/commit-graph\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rebase \u0026 merge\",\"item\":\"https://docs.parallelane.com/history/rebase-merge\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Reset\",\"item\":\"https://docs.parallelane.com/history/rebase-merge/reset\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.parallelane.com/history/rebase-merge/reset#article\",\"headline\":\"Reset\",\"name\":\"Reset\",\"description\":\"Moving the current branch back to a commit with soft, mixed, or hard mode\",\"url\":\"https://docs.parallelane.com/history/rebase-merge/reset\",\"mainEntityOfPage\":{\"@id\":\"https://docs.parallelane.com/history/rebase-merge/reset#webpage\"},\"dateModified\":\"2026-09-21T07:21:24.917Z\",\"publisher\":{\"@id\":\"https://docs.parallelane.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.parallelane.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ParalleLane\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"ParalleLane","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Docs","icon":"book-open","groups":[{"group":"Getting started","icon":"rocket","pages":[{"title":"Introducing ParalleLane","sidebarTitle":"Introduction","icon":"house","href":""},{"title":"Installation","sidebarTitle":"Installation","icon":"download","href":"/installation"},{"title":"Quickstart","sidebarTitle":"Quickstart","icon":"rocket","href":"/quickstart"},{"title":"Interface tour","sidebarTitle":"Interface tour","icon":"layout-dashboard","href":"/interface-overview"}]},{"group":"Basics","icon":"pencil","pages":[{"title":"Staging \u0026 committing","sidebarTitle":"Staging \u0026 committing","icon":"git-commit-horizontal","href":"/basics/staging-committing"},{"title":"Amend \u0026 Squash","sidebarTitle":"Amend \u0026 Squash","icon":"file-pen","href":"/basics/amend-squash"},{"title":"Discard \u0026 undo","sidebarTitle":"Discard \u0026 undo","icon":"undo-2","href":"/basics/discard-undo"},{"title":"Diff viewer","sidebarTitle":"Diff viewer","icon":"file-diff","href":"/basics/diff-viewer"},{"title":"Managing .gitignore","sidebarTitle":"Managing .gitignore","icon":"file-cog","href":"/basics/gitignore"}]},{"group":"Worktrees","icon":"folder-tree","pages":[{"title":"What is a worktree?","sidebarTitle":"What is a worktree?","icon":"info","href":"/worktrees/concept"},{"title":"Create, switch, and delete worktrees","sidebarTitle":"Create, switch, and delete worktrees","icon":"folder-tree","href":"/worktrees/managing"},{"title":"Per-worktree state","sidebarTitle":"Per-worktree state","icon":"activity","href":"/worktrees/status"},{"title":"Branches in use \u0026 cleanup","sidebarTitle":"Branches in use \u0026 cleanup","icon":"wrench","href":"/worktrees/advanced"}]},{"group":"Branches \u0026 history","icon":"git-branch","pages":[{"title":"Commit graph","sidebarTitle":"Commit graph","icon":"git-graph","href":"/history/commit-graph"},{"group":"Branches \u0026 tags","icon":"git-branch","root":{"title":"Branches \u0026 tags","sidebarTitle":"Branches \u0026 tags","icon":"git-branch","href":"/history/branches-tags"},"expanded":false,"pages":[{"title":"Branches","sidebarTitle":"Branches","icon":"git-branch","href":"/history/branches-tags/branches"},{"title":"Tags","sidebarTitle":"Tags","icon":"tag","href":"/history/branches-tags/tags"},{"title":"Smart groups","sidebarTitle":"Smart groups","icon":"layers","href":"/history/branches-tags/smart-groups"}]},{"title":"Checkout","sidebarTitle":"Checkout","icon":"arrow-left-right","href":"/history/checkout"},{"group":"Rebase \u0026 merge","icon":"git-merge","root":{"title":"Rebase \u0026 merge","sidebarTitle":"Rebase \u0026 merge","icon":"git-merge","href":"/history/rebase-merge"},"expanded":false,"pages":[{"title":"Merge","sidebarTitle":"Merge","icon":"git-merge","href":"/history/rebase-merge/merge"},{"title":"Rebase","sidebarTitle":"Rebase","icon":"git-graph","href":"/history/rebase-merge/rebase"},{"title":"Cherry-pick \u0026 revert","sidebarTitle":"Cherry-pick \u0026 revert","description":"Applying a commit onto the current branch, and undoing one with a new commit","icon":"git-commit-horizontal","href":"/history/rebase-merge/cherry-pick-revert"},{"title":"Reset","sidebarTitle":"Reset","icon":"rotate-ccw","href":"/history/rebase-merge/reset"}]}]},{"group":"Remotes \u0026 syncing","icon":"cloud","pages":[{"group":"Push, Pull, Fetch","icon":"arrow-down-up","root":{"title":"Push, Pull, Fetch","sidebarTitle":"Push, Pull, Fetch","description":"Syncing with remotes, and the ahead/behind badges","icon":"arrow-down-up","href":"/remote/push-pull-fetch"},"expanded":false,"pages":[{"title":"Push","sidebarTitle":"Push","icon":"arrow-up-from-line","href":"/remote/push-pull-fetch/push"},{"title":"Pull","sidebarTitle":"Pull","icon":"arrow-down-to-line","href":"/remote/push-pull-fetch/pull"},{"title":"Fetch","sidebarTitle":"Fetch","icon":"refresh-cw","href":"/remote/push-pull-fetch/fetch"}]},{"title":"Pull requests \u0026 merge requests","sidebarTitle":"Pull requests","icon":"git-pull-request-arrow","href":"/remote/pull-request"},{"title":"Managing remotes","sidebarTitle":"Managing remotes","icon":"server","href":"/remote/remotes"},{"title":"Clone","sidebarTitle":"Clone","icon":"copy","href":"/remote/clone"},{"title":"Stash","sidebarTitle":"Stash","icon":"archive","href":"/remote/stash"}]},{"group":"Conflicts \u0026 comparing","icon":"git-merge","pages":[{"title":"Resolving merge conflicts","sidebarTitle":"Resolving merge conflicts","icon":"git-pull-request-arrow","href":"/review/merge-conflicts"},{"title":"Comparing branches and commits","sidebarTitle":"Comparing branches and commits","icon":"git-compare","href":"/review/compare"},{"title":"File history","sidebarTitle":"File history","icon":"history","href":"/review/file-history"},{"title":"Browsing all files","sidebarTitle":"Browsing all files","icon":"folder-open","href":"/review/all-files"},{"title":"Blame","sidebarTitle":"Blame","icon":"user-search","href":"/review/blame"}]},{"group":"Accounts \u0026 settings","icon":"settings","pages":[{"title":"Accounts \u0026 authentication","sidebarTitle":"Accounts \u0026 authentication","icon":"users","href":"/settings/accounts"},{"title":"Commit signing","sidebarTitle":"Commit signing","icon":"badge-check","href":"/settings/commit-signing"},{"title":"Git LFS","sidebarTitle":"Git LFS","icon":"database","href":"/settings/git-lfs"},{"title":"Submodules","sidebarTitle":"Submodules","icon":"box","href":"/settings/submodules"},{"title":"Settings","sidebarTitle":"Settings","icon":"sliders-horizontal","href":"/settings/preferences"},{"title":"Open In","sidebarTitle":"Open In","icon":"external-link","href":"/settings/open-in"}]},{"group":"Shortcuts","icon":"keyboard","pages":[{"title":"Shortcuts","sidebarTitle":"Shortcuts","icon":"keyboard","href":"/shortcuts"}]}]},{"tab":"Release Notes","icon":"bookmark-check","pages":[{"title":"Release Notes","href":"/releases"}]}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/history/rebase-merge/reset"}]}]},"basePath":"","title":"Reset - ParalleLane","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-CXMGc493.js","DynamicMarkdown-D-2HDKEp.js","zoom-image-lightbox-CE4cYsJE.js","lightbox-handle-r17bVUz3.js"]}