Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
  1. Create a new branch locally using the command git checkout -b <branch name>
  2. Make any desired changes to the branch and commit them using git commit -m "<commit message>"
  3. Add the new branch to your local repository's list of remote branches using git push --set-upstream origin <branch name>
  4. Push the changes to the remote repository using git push origin <branch name>
  5. If this is the first time pushing to the remote repository, you may need to authenticate with your GitHub or other Git hosting service credentials. Follow any instructions given on the command line to complete this process.