About 51 results
Open links in new tab
  1. git - How to create a branch in GitHub - Stack Overflow

    Oct 28, 2016 · The browser creates the branch directly in the remote github project. Not in your working copy. Use git pull to synchronize the working copy with the changes made in the remote repo. You …

  2. How do I create a remote Git branch? - Stack Overflow

    4278 First, create a new local branch and check it out: git checkout -b <branch-name> The remote branch is automatically created when you push it to the remote server: git push <remote-name> …

  3. How to create development branch from master on GitHub

    I created a repo on GitHub and only have a master branch so far. My local working copy is completely up to date with the remote/origin master on GitHub. I now want to create a development branch on …

  4. Create a branch in Git from another branch - Stack Overflow

    Dec 17, 2010 · Go to your GitHub repository, and select the branch name from where you want to create a new branch, as shown in the below image: Then type the branch name you want to create, and …

  5. How to create new local branch and switch between branches in Git

    Mar 31, 2021 · You switch back and forth between branches using git checkout <branch name>. And yes, git checkout -b NEW_BRANCH_NAME is the correct way to create a new branch and switching …

  6. How can I run a GitHub Action from a branch other than 'master'?

    Aug 19, 2020 · I have a repository in GitHub and I want to create an Action to build a Docker image and push it to the Docker Hub. I know how to do it, but if I create the action in a branch other than master, …

  7. git - Create a new branch - Stack Overflow

    Nov 9, 2022 · The simple answer is to use the following to create a new branch from master without switching. git branch newBranch master git branch accepts a second argument of the source branch. …

  8. git - Create empty branch on GitHub - Stack Overflow

    Jul 14, 2020 · 374 I want to create a new GitHub branch, called release. This branch needs to be empty! However, there is an existing branch with x commits and I don't want to have its commit history. The …

  9. git - How to create a new branch from a tag? - Stack Overflow

    Jun 7, 2012 · I'd like to create a new master branch from an existing tag. Say I have a tag v1.0. How to create a new branch from this tag?

  10. GitHub Actions: how can I run a workflow created on a non-'master ...

    Aug 11, 2020 · You can run a workflow that is still in development in a branch branch-name from the command line, with the GitHub CLI. The documentation says: To run a workflow on a branch other …