To create new branch from committed hash id
To push this new branch to the github
bash
git switch -c feat/helloworld 7a6c47fTo push this new branch to the github
bash
git push -u origin feat/helloworldgit/git-switch.md
Related articles
- GitGit Delete BranchSee which side introduced the current differences
- GitTo see committed idTo see committed id — notes from the Git collection.
- GitGit SubmodulesA practical guide to adding, updating, moving and removing Git submodules.
- GitChange global editor to edit merging etcChange global editor to edit merging etc — notes from the Git collection.