DevObs
DocsAboutHome PageApp DevArtificial IntelligenceBit_manipulationBoilerplate For Mern ProjectClustersCompiler DesignComputer NetworksCorsData Modelling MongooseDbmsDockerEc2Engineering EconomicsFastapiFlaskFundamentals Of ManagementGdscriptGit CommandsGlorious Self HostingGodotHelpful ArticlesHimanshuHow I StudiedHtmlInternet Of ThingsMachine LearningMacos Dotfiles SetupNextjsNginx Deploy Nodejs Aws DockerNginxNodejs StreamsNumpyOperating SystemPandasPostgresqlPower Plant EngineeringPpePrisma With FastapiPrismaPydanticPygamePythonReadmeRedisScenezone DeliverablesServerlessSqlSsh Github On MacbookSystem DesignTheory Of ComputationThescenezone PoliciesTypescriptWeb Sockets ReactWeb Sockets SimplifiedWeb TechnologyWebsocket
DevObs
DocsAbout

Git Commands

#devops

Undo the Last Commit (Without Losing Changes)

git reset HEAD~1

This moves your branch pointer back one commit so that the files you committed (including the node_modules) are now unstaged changes.

Gdscript

Previous Page

Glorious Self Hosting

Next Page

On this page

Undo the Last Commit (Without Losing Changes)