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 
https://github.com/Draco18s/Finite-Fluids.git 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.
>From https://github.com/Draco18s/Finite-Fluids
 * 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 
https://github.com/Draco18s/Finite-Fluids.git
keybounceMBP:Finite-Fluids michael$ git fetch draco master
>From https://github.com/Draco18s/Finite-Fluids
 * 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 
draco/master.

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
./3e/e9f2e1415e0d9818a432cba2f8d61a43805705
./3f/7f7689dfced73107d6e68372ebb9855ea91e19
./42/346765318e33288f491bb65cec1f6c98cace4d
./46/1601c6614c8c737f16a8496f6f25f111bd61b7
./4e/0fcfe6e42ca81844cfcc9b7519fb58b8dd6716
./4f/b4d45b2395f623815008be695b05eb68a8345d
./63/da5f40be21bc6a3cb01abb026f85fb16d0ad06
./9c/65cb66321b40a2a8cea3b11046c85b281cb523
./ad/c2d022ccc8955e44e0acf70af3b6f097e72b59
./e1/fa5f1156a79d8f63ba77c727c83919978a6004
./f7/6164093caf519a29450cb9e1e4b22aa5d6e52f
./ff/b8423107402dcb95876e36f786faafafae0f2e
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 
--batch
./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 https://github.com/Draco18s/Finite-Fluids.git 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). 

So:
1. What is the proper way (or is there a way) to see all recently added blobs, 
and
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
http://YouTube.com/keybounce

-- 
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 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to