So I'm trying to make sure I'm seeing everything that I got in a fetch. 

My first attempt to fetch was:
keybounceMBP:Finite-Fluids michael$ git fetch master
remote: Counting objects: 12, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 12 (delta 5), reused 11 (delta 4), pack-reused 0
Unpacking objects: 100% (12/12), done.
 * branch            master     -> FETCH_HEAD
keybounceMBP:Finite-Fluids michael$ 

But I could find no way to access what I just fetched when I did that.
keybounceMBP:Finite-Fluids michael$ git checkout Draco18s master
error: pathspec 'Draco18s' did not match any file(s) known to git.
error: pathspec 'master' did not match any file(s) known to git.

My second attempt was this:
keybounceMBP:Finite-Fluids michael$ git remote add draco
keybounceMBP:Finite-Fluids michael$ git fetch draco master
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> draco/master

This "worked" -- 
keybounceMBP:Finite-Fluids michael$ git checkout draco/master
Note: checking out 'draco/master'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.


But there was also "branch" at FETCH_HEAD, as well as "[new branch]" at 

I was trying to make sure I knew what I was getting. So, I tried going into the 
raw stuff:

keybounceMBP:objects michael$ find . -type f -mmin -45 -print
keybounceMBP:objects michael$ 

So lets try looking at those. They are compressed. But they are not bzip2 or 
gzip format.

keybounceMBP:objects michael$ find . -type f -mmin -45 -print | git cat-file 
./3e/e9f2e1415e0d9818a432cba2f8d61a43805705 missing
./3f/7f7689dfced73107d6e68372ebb9855ea91e19 missing
./42/346765318e33288f491bb65cec1f6c98cace4d missing


What I'm trying to do is work with pull requests from github. This is an 
absolutely trivial change -- but it's a chance to understand pull requests. In 
general, trying to work with pull requests from the command line, github tells 
me to do:

git checkout -b Draco18s-master master
git pull master

The problem? As I understand it, this would try to update everything to the 
state of the proposed master, while the actual pull request is perhaps a small 
subset of master (one or two patches). 

1. What is the proper way (or is there a way) to see all recently added blobs, 
2. What's the best way to work with pull requests on the command line?

What I don't want to do is update my master with someone else's stuff. I may 
want to update "develop", or some branch (such as feature/FixVersioning).

Entertaining minecraft videos

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to