git branch from commit
# Create a new branch from previous commit's hash
git branch develop 04c900c
# Push the new branch to remote repository
git push --set-upstream origin develop
# Checkout the new branch
git checkout develop
You can create the branch via a hash:
git branch branchname <sha1-of-commit>
Or by using a symbolic reference:
git branch branchname HEAD~3
To checkout the branch when creating it, use
git checkout -b branchname <sha1-of-commit or HEAD~3>
Also in C++:
- restart yabai fast
- git update branch from master
- azure ad powershell module install
- how to install putty on mac
- see name of origin + git
- supervisord install ubuntu
- git remove proxy settings
- how to restart psql in linux
- install eclipse in fedora
- bash get last field in line
- linux change user password
- create self signed certificate for localhost ubuntu
- install realtek rtl88xxau usb wifi driver ubuntu
- how to become root user in ubuntu
- pyinstaller icon image
- install notion enhancer
- how to uninstall lamp server in ubuntu 18.04
- get log from a docker machine
- git see all tracked files
- flutter generate json files
- usg rtsp conntrack
- pythonlibs install
- bash print specific range of rows from a file
- git remove repository local