About 400 results
Open links in new tab
  1. Git - git-checkout Documentation

    When you run git checkout <something>, Git tries to guess whether <something> is intended to be a branch, a commit, or a set of file (s), and then either switches to that branch or commit, or …

  2. Git - git-checkout Documentation

    git checkout with <paths> or --patch is used to restore modified or deleted paths to their original contents from the index or replace paths with the contents from a named <tree-ish> (most …

  3. Git - git-checkout Documentation

    git checkout [<branch>] To prepare for working on <branch>, switch to it by updating the index and the files in the working tree, and by pointing HEAD at the branch. Local modifications to …

  4. Git - git-checkout Documentation

    git checkout <branch> To prepare for working on <branch>, switch to it by updating the index and the files in the working tree, and by pointing HEAD at the branch. Local modifications to the …

  5. Git - Basic Branching and Merging

    Figure 18. A simple commit history You’ve decided that you’re going to work on issue #53 in whatever issue-tracking system your company uses. To create a new branch and switch to it …

  6. Git - git-switch Documentation

    You can use the @{-<N>} syntax to refer to the <N> -th last branch/commit switched to using git switch or git checkout operation. You may also specify - which is synonymous to @{-1}. This is …

  7. Git - git-branch Documentation

    Tells git branch, git switch and git checkout to set up new branches so that git-pull [1] will appropriately merge from the starting point branch. Note that even if this option is not set, this …

  8. Git - Getting a Git Repository

    If you want to get a copy of an existing Git repository — for example, a project you’d like to contribute to — the command you need is git clone. If you’re familiar with other VCSs such as …

  9. Git - git-checkout Documentation

    Quand vous lancez git checkout <quelque-chose>, Git essaye de deviner si <quelque-chose> est destiné à être une branche, un commit, ou un ensemble de fichier (s), et ensuite soit se …

  10. Git - git-branch Documentation

    If you are creating a branch that you want to checkout immediately, it is easier to use the git checkout command with its -b option to create a branch and check it out with a single command.