Giter VIP home page Giter VIP logo

Comments (2)

ec6wellesley avatar ec6wellesley commented on May 25, 2024

@mekline How do I go from my branch to develop? When I input "git checkout -develop", it gives me an error of some sort.
ElizabethsAir2:lookit-docs elizabethchoi$ git branch --show-current
ec_231_changes
ElizabethsAir2:lookit-docs elizabethchoi$ git checkout -develop
error: unknown switch `e'
usage: git checkout []
or: git checkout [] [] -- ...

-b <branch>           create and checkout a new branch
-B <branch>           create/reset and checkout a branch
-l                    create reflog for new branch
--guess               second guess 'git checkout <no-such-branch>' (default)
--overlay             use overlay mode (default)
-q, --quiet           suppress progress reporting
--recurse-submodules[=<checkout>]
                      control recursive updating of submodules
--progress            force progress reporting
-m, --merge           perform a 3-way merge with the new branch
--conflict <style>    conflict style (merge or diff3)
-d, --detach          detach HEAD at named commit
-t, --track           set upstream info for new branch
-f, --force           force checkout (throw away local modifications)
--orphan <new-branch>
                      new unparented branch
--overwrite-ignore    update ignored files (default)
--ignore-other-worktrees
                      do not check if another worktree is holding the given ref
-2, --ours            checkout our version for unmerged files
-3, --theirs          checkout their version for unmerged files
-p, --patch           select hunks interactively
--ignore-skip-worktree-bits
                      do not limit pathspecs to sparse entries only

ElizabethsAir2:lookit-docs elizabethchoi$

from lookit-docs.

ec6wellesley avatar ec6wellesley commented on May 25, 2024

@mekline I think I figured it out! I took out the hyphen before develop.

from lookit-docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.