Top "Git-checkout" questions

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

Why does Git tell me "Not currently on any branch" after I run "git checkout origin/<branch>"?

I was trying to follow the instructions from Git: "Not currently on any branch." Is there an easy way to …

git git-checkout remote-branch
What's the git equivalent of "svn update -r"?

I'm a recent git convert. It's great to be able to use git-svn to keep my branches locally without disturbing …

git svn git-svn git-checkout svn-update
How to do 'git checkout --theirs' for multiple files (or all unmerged files)

Say I have this after attempting a merge and upon entering git status: # Unmerged paths: # (use "git add/rm <…

git git-checkout git-add
Is it possible to view multiple git branches at the same time for the same project?

I have 2 branches, which are not ready to be merged yet, but have some complementary logic, which I'd like to …

git branch git-checkout
What does "fatal: You are on a branch yet to be born" mean in this context

I was migrating a svn repo to git. I created a clean temp dir, used git svn init to get …

git git-checkout
Can I use "git checkout --" on two files?

Is it possible to use git checkout -- on multiple files in order to discard the changes? If so how …

git git-checkout
How can I build a git tag in TeamCity?

I want to provide a git tag to the TeamCity server to build it. I pass the tag (i.e. …

git tags teamcity git-checkout
Git: Checkout all files except one

When I do a git status, I see files like this: modified: dir/A/file.txt modified: dir/B/file.…

git git-checkout
git clone and checkout in a single command

The following is the command I use to checkout a specific commit. git clone git://repo.git/repo123 git checkout &…

git clone commit git-checkout
How to get a copy of an older version of a file in a git repository?

I have a version of a .tex file from a number of commits ago that I would like to get …

git git-checkout