Wow, that was easier than I thought:
git checkout -b newbranch v1.0
Related Posts:
- How do I delete a Git branch locally and remotely?
- What is git tag, How to create tags & How to checkout git remote tag(s)
- How do I delete a Git branch locally and remotely?
- How do I rename a local Git branch?
- What is the best (and safest) way to merge a Git branch into master?
- How to remove local (untracked) files from the current Git working tree
- Git merge hotfix branch into feature branch
- Git fetch remote branch
- How to delete a remote tag?
- How do I clone a specific Git branch? [duplicate]
- Git fetch remote branch
- How do I push a new local branch to a remote Git repository and track it too?
- How do I push a new local branch to a remote Git repository and track it too?
- How do I push a new local branch to a remote Git repository and track it too?
- How do you push a tag to a remote repository using Git?
- How to get just one file from another branch?
- Update Git branches from master
- Create a branch in Git from another branch
- How do I rename both a Git local and remote branch name?
- Create Git branch with current changes
- How to get the current branch name in Git?
- How do you create a remote Git branch?
- Move the most recent commit(s) to a new branch with Git
- Create a tag in a GitHub repository
- Move the most recent commit(s) to a new branch with Git
- Make an existing Git branch track a remote branch?
- How do I call git diff on the same file between 2 different local branches?
- How to get the current branch name in Git?
- How do you create a remote Git branch?
- Branch from a previous commit using Git
- Not a valid object name: ‘master’
- How to clone a specific Git tag
- How do I copy a version of a single file from one Git branch to another?
- Move existing, uncommitted work to a new branch in Git
- Delete branches in Bitbucket
- How do I push a local Git branch to master branch in the remote?
- How to keep a branch synchronized/updated with master?
- How do I run git log to see changes only for a specific branch?
- How to create a local branch from an existing remote branch?
- How to find which git branch I am on when my disk is mounted on other server
- How do I use ‘git reset –hard HEAD’ to revert to a previous commit? [duplicate]
- Git: Message ‘src refspec master does not match any’ when pushing commits in Git
- How do I force git pull to overwrite everything on every pull?
- What does ‘git blame’ do?
- What is Git pruning?
- Reset local repository branch to be just like remote repository HEAD
- LF will be replaced by CRLF in git – What is that and is it important? [duplicate]
- github changes not staged for commit
- Git error: “Please make sure you have the correct access rights and the repository exists”
- How do I pull my project from github?
- Difference between Git and GitHub
- Could not open a connection to your authentication agent
- How to fetch all Git branches
- How to change the URI (URL) for a remote Git repository?
- Hard reset of a single file
- What would I use git-worktree for?
- Git error when trying to push — pre-receive hook declined
- How do I ignore an error on ‘git pull’ about my local changes would be overwritten by merge?
- How do I revert all local changes in Git managed project to previous state?
- How to compare files from two different branches
- How to pull a specific branch from Github
- How to fully delete a git repository created with init?
- Trying to git pull with error: cannot open .git/FETCH_HEAD: Permission denied
- Git reset single file in feature branch to be the same as in master
- What is difference between ‘git reset –hard HEAD~1’ and ‘git reset –soft HEAD~1’?
- Git – Undo pushed commits
- How to remove the shallow clone warning from HomeBrew
- Git Giving “fetch first” error when trying to push
- Files not updating using ‘git pull’
- git checkout tag, git pull fails in branch
- How can I copy the content of a branch to a new local branch?
- Git: “please tell me who you are” error
- How to change folder with git bash?
- Git:nothing added to commit but untracked files present
- How to commit changes to another pre-existent branch
- “git checkout
” is changing branch to “no branch” - Your branch is ahead of ‘origin/master’ by 3 commits
- How do I list all of the files in a commit?
- Git keeps prompting me for a password
- How can I unstage my files again after making a local commit?
- Resolve Git merge conflicts in favor of their changes during a pull
- Git stash pop- needs merge, unable to refresh index
- Delete forked repo from GitHub
- Git – Remove commit from history
- List submodules in a Git repository
- How can I reconcile detached HEAD with master/origin?
- How to get Git to clone into current directory
- How to search in commit messages using command line?
- How to get changes from another branch
- Difference between git stash pop and git stash apply
- How do I show the changes which have been staged?
- Git push hangs when pushing to Github?
- I use SourceTree with Git but need to work with SVN repistory, what options do I have?
- GIT and Development URL’s point to production
- Could not find wp-load.php issue
- Theme/Plugin/Widget Data and Staging/Production Servers
- SSH git — How to pull a folder from repo, but not delete other directories & files on deployment server [closed]
- Best workflow for Git theme development with plugins [closed]
- How to tell which local branch is tracking which remote branch in Git?
- How do I edit git’s history to correct an incorrect email address/name [closed]