Top "Git-checkout" questions

Checkout a branch or file to the current working tree in a Git repo.

Is it possible to git-checkout a single line instead of the entire file?

If I have modified several lines of a versioned file, is it possible to undo the changes of a line …

git git-checkout
Equivalent of "svn checkout" for git?

What git command should I use to be equivalent to svn checkout? git checkout(?) Many thanks!

git svn git-checkout svn-checkout
git checkout master does not switch branch - repository broken?

tl;dr: git checkout master does not switch to master branch, gives no error or any output at all and …

git git-checkout
smartgit delete commit and return to previous commit

By mistake i have made a commit that now i want to delete from the history log and return to …

git pull git-checkout smartgit
Switch current branch in git bare repository

I actually want to remove a branch in the bare repository i am working with, but this task hits a …

git git-branch git-checkout
error: git checkout-index: unable to create file

What I am trying to do is a git clone on windows, but the parent repository exists in a unix …

git git-clone git-checkout
Merging Branches Without Checkout

I work on a project that has 2 branches, A and B. I typically work on branch A, and merge stuff …

git git-merge git-checkout
git tries to delete a directory on checkout

Whenever I switch between my branch (Li) to the master branch I get the following message: Deletion of directory 'sys/…

git git-checkout
Why does git checkout with explicit refs/heads/branch give detached HEAD?

If I checkout a branch using just the branch name, HEAD is updated to point at that branch. $ git checkout …

git git-checkout
Convert an SVN checkout to use git (git-svn)

I work with software that is kept in svn for version control. I would like to use git (git-svn) however …

git svn git-svn git-checkout svn-checkout