When the git team collaborates on development, how do you give up one of your submissions and store them locally?

when the git team collaborates on development, how do you give up one of your submissions and save them locally?

Project is a multi-person development project, one of its own history is not needed in the current version, but the next version, how to do it?

Git
Jun.22,2022

how to commit locally and not push to the remote end, first roll back to the modified version, execute: git reset-- soft commit_id, fall back to the previous version, and record the changes back to the workspace.
then execute git stash to store the modified records, and execute git stash pop when needed.


create a local branch


do not develop directly on the cooperative branch, cut out a new branch based on this branch, develop on the new branch, and then merge to prepare for the release when you determine the function to be released. Do not let the code that is not released enter the release branch.


git stash

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b97cc5-2f09a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b97cc5-2f09a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?