| 2012-08-12 |
| ← lupo7 left | 00:01 |
| → r0bby joined | 00:01 |
| ← red82 left | 00:01 |
| ← robbyoconnor left | 00:03 |
| ← TomyLobo left | 00:03 |
| ← Guest97802 left | 00:04 |
| ← nobdraisentone left | 00:05 |
| → nobdraisentone joined | 00:06 |
| ← nobdraisentone left | 00:07 |
| → nobdraisentone joined | 00:08 |
| → simesy joined | 00:08 |
| ← nobdraisentone left | 00:09 |
| → nobdraisentone joined | 00:09 |
| ← HyperNerdV2 left | 00:10 |
| → rmr joined | 00:10 |
| → HyperNerdV2 joined | 00:10 |
| ← skyf left | 00:12 |
| ← rmr left | 00:13 |
| ← Raydiation left | 00:15 |
| → zastern joined | 00:16 |
|
zastern
| I'm missing something about how git works - I've got a local "master" branch, and a "master" branch on github. A file is different on my master branch on github, but when I do a git pull origin master, the local one isn't being overwritten. It's saying everything is up to date. | 00:17 |
| → JStoker joined | 00:19 |
|
avpx
| zastern: What does "git status" say? | 00:19 |
| → zomg joined | 00:19 |
|
zomg
| Hello, I wonder if there's a specification of how the git http-backend thingy works anywhere? | 00:19 |
|
zastern
| avpx: I actually figured out what to do - git reset --hard origin/master | 00:19 |
|
| avpx wonders why you would use git over http | 00:19 |
|
avpx
| zastern: Okay, good. I was going to suggest a git reset --hard :p | 00:20 |
|
zomg
| Trying to implement a quick repo fetch mechanism in an environment with no git client, nor proper support for anything more complicated than http/https | 00:20 |
| → towp joined | 00:20 |
|
zastern
| avpx: hard wouldn't do it - there were no changes locally | 00:21 |
|
| avpx: what I had done, was, while on "masteR", accidentally done "git pull origin testing" | 00:21 |
|
zomg
| Trying to decipher http-backend.c and not having much luck... testing against github, i'd assume their implementation is compatible | 00:21 |
|
| Most I got out so far was just reverse engineering what the actual git clone command does by netcatting a local port and trying to clone that :P | 00:22 |
| → cakehero joined | 00:22 |
|
zomg
| I suppose I should just have something read the network traffic of a full clone-over-http... | 00:22 |
| ← towp left | 00:23 |
|
zomg
| As far as I can tell, doing github.com/foo/bar.git/objects/xx/xxxxxxxxxx... should allow me to fetch object data but just getting 404... | 00:24 |
| ← Element9 left | 00:25 |
| → iamjarvo joined | 00:25 |
| ← dfr|mac left | 00:27 |
| → ViniciusPeretti joined | 00:28 |
| → lirt joined | 00:29 |
|
zomg
| Meh, not entirely unexpected for it to lack any and all documentation... | 00:30 |
| ← lirt left | 00:30 |
| ← Ether_Man left | 00:31 |
| ← CpuID3 left | 00:31 |
| ← zii left | 00:32 |
| → CpuID3 joined | 00:32 |
| → pppaul joined | 00:32 |
| → Ether_Man joined | 00:32 |
|
jnewt
| how do i get a git rebase to quit giving me the "both added" error, and just modify the file with the new branch file? i try checkout branch , then rebase with strategy ours, but the conflict still happens. | 00:33 |
| ← rue left | 00:34 |
| → zii joined | 00:34 |
| → adrient joined | 00:34 |
| ← kart0ffelsack left | 00:34 |
| → luke-jr joined | 00:35 |
| ← mikemol left | 00:35 |
| ← DeviceZer0 left | 00:35 |
| ← jspiros left | 00:35 |
| ← grillo left | 00:35 |
| ← lamont left | 00:35 |
| ← yardenac left | 00:35 |
| → kenyon joined | 00:36 |
| → FauxFaux joined | 00:36 |
| → jspiros joined | 00:36 |
| → MacGyver joined | 00:36 |
| ← MacGyver left | 00:36 |
| → MacGyver joined | 00:36 |
| → Zeeshan_M joined | 00:36 |
| → mbreslin joined | 00:36 |
| → Targen joined | 00:37 |
| → grillo joined | 00:38 |
| → lamont joined | 00:38 |
| → Kindari joined | 00:38 |
| → KBme joined | 00:38 |
| → tm1000 joined | 00:38 |
| → DeviceZer0 joined | 00:39 |
| ← Ether_Man left | 00:40 |
| → cschneid joined | 00:40 |
| → squentin joined | 00:40 |
| → kart0ffelsack joined | 00:41 |
| → Mez joined | 00:41 |
| ← Mez left | 00:41 |
| → Mez joined | 00:41 |
| → mikemol joined | 00:42 |
| → etcetera joined | 00:42 |
| → Ether_Man joined | 00:43 |
| ← ViniciusPeretti left | 00:43 |
| → yardenac joined | 00:43 |
| ← SamB_MacG5 left | 00:43 |
| ← cybersphinx left | 00:46 |
| ← hyperair left | 00:48 |
| → cannonball joined | 00:49 |
| ← thiago left | 00:49 |
| → codeshah joined | 00:49 |
| → SamB_MacG5 joined | 00:50 |
| ← Bombe left | 00:51 |
| ← evanz left | 00:51 |
| ← cannonball left | 00:54 |
| ← maletor left | 00:54 |
| ← iamjarvo left | 00:55 |
| ← theCole left | 00:56 |
| → skyf joined | 00:57 |
| → angelsl joined | 00:58 |
| ← etcetera left | 00:59 |
| ← chuckharmston left | 00:59 |
| → Bombe joined | 01:00 |
| ← edude03 left | 01:00 |
| → macabre joined | 01:01 |
| → velikasha1 joined | 01:06 |
| ← velikasha1 left | 01:06 |
| → bubbles10101 joined | 01:08 |
| → esa joined | 01:11 |
| ← jargon- left | 01:14 |
| ← pppaul left | 01:14 |
| → Olipro joined | 01:14 |
| ← kukks left | 01:14 |
| ← kcj left | 01:15 |
| ← eicto left | 01:16 |
| ← diegoviola left | 01:19 |
| → etcetera joined | 01:19 |
| ← Lgb left | 01:20 |
| ← bizhanMona left | 01:20 |
| ← palm_vue left | 01:20 |
| ← macabre left | 01:20 |
| → palm_vue joined | 01:20 |
| → Lgb joined | 01:20 |
| → bizhanMona joined | 01:21 |
| → ded joined | 01:21 |
| → dfr|mac joined | 01:21 |
| ← cakehero left | 01:22 |
|
ded
| I'd like to do the equivalent of setting receive.denyCurrentBranch to ignore/warn *and* have git update the working tree to what I push. Any git-native way to do that or would I need to do it with e.g. a hook? | 01:23 |
|
| (Please don't bother replying if all you have to say is why would you want to do that.) | 01:23 |
| → ysyk joined | 01:23 |
| ← guns left | 01:23 |
|
milki
| o.O | 01:24 |
| → dc5ala joined | 01:24 |
|
milki
| that disclaimer is distracting -.- | 01:24 |
|
CareBear\
| ded : way to go to make people really f-ing uninterested in your problems | 01:24 |
| adrient → finch | 01:25 |
|
milki
| jnewt: no clue | 01:25 |
| → intripoon_ joined | 01:26 |
| → Goplat joined | 01:26 |
|
milki
| ded: why doesnt warn/ignore work? | 01:26 |
|
CareBear\
| jnewt : do you also give -m ? | 01:26 |
|
| jnewt : sorry, just read, -s implies -m | 01:26 |
| → rue joined | 01:26 |
|
ded
| milki: I can double check, but the error message that git issues is pretty explicit about the fact that only the working tree will not be updated. | 01:27 |
| ← marhaban left | 01:27 |
|
milki
| Freeaqingme: if the branch is deleted in the remote repo, you cant retrieve it | 01:27 |
|
| ah | 01:27 |
|
ded
| milki, as in this error message. http://stackoverflow.com/questions/804545/what-is-this-git-warning-message-when-pushing-changes-to-a-remote-repository | 01:27 |
|
Freeaqingme
| milki, I dont need the branch itself, only the name of the deleted branches | 01:27 |
|
milki
| ded: in that case, a post-receive hook | 01:27 |
|
| Freeaqingme: same thing | 01:27 |
|
Freeaqingme
| milki, kk,, tnx | 01:28 |
| → diegoviola joined | 01:28 |
|
ded
| milki, ok thanks. | 01:28 |
|
milki
| Freeaqingme: it would be a security hole if you could | 01:28 |
| → eicto joined | 01:28 |
|
Freeaqingme
| milki, why? Even if a branch was deleted, its commits still may be somewhere? | 01:29 |
| ← tshauck left | 01:29 |
|
milki
| right | 01:29 |
|
ded
| CareBear, yeah I guess. The commonness of that response is one of the saddest thing about technical mailing lists. | 01:29 |
|
CareBear\
| but you need to know the commit then | 01:29 |
|
ded
| / irc | 01:29 |
|
Freeaqingme
| CareBear\, there's a command to find dangling commits | 01:29 |
|
CareBear\
| ded : do you know why people give you that response? | 01:29 |
| ← intripoon left | 01:29 |
|
milki
| ded: well, we would probably suggest a smarter way to do things if you tell us what you are trying to accomplish | 01:30 |
|
ded
| CareBear, yes | 01:30 |
|
CareBear\
| ded : but you are not interested? | 01:30 |
| SeoZ-work[AWAY] → SeoZ | 01:30 |
|
ded
| milki: most frequently that response comes from know-it-alls who have little else to contribute; not always, of course. | 01:30 |
|
| s/milki/CareBear! | 01:31 |
|
CareBear\
| dad : is this your first visit to #git ? | 01:31 |
|
| s/dad/ded | 01:31 |
|
milki
| we are all know it alls, and we have tons to contribute | 01:31 |
|
jnewt
| i would normally just reset the head if i just wanted to overwrite, but the idea is to maintain history which i didn't do correctly and now i can't fix it. | 01:31 |
| ← rue left | 01:31 |
| → cakehero joined | 01:32 |
|
ded
| milki, sure, what I'm trying to accomplish is keeping two working trees in sync. It's purely a development context, and I am the only person who is using these repos. | 01:32 |
| ← FernandoBasso left | 01:32 |
|
milki
| jnewt: perhaps you need to clean up the history of one of the branches before you try rebasing | 01:32 |
|
CareBear\
| ded : why are there two development trees? | 01:33 |
|
milki
| ded: is there a particular need to not use bare repos? | 01:33 |
|
ded
| one is on my laptop and one is on a test server | 01:33 |
| → scotepi joined | 01:33 |
|
ded
| I need the code to be checked out in both places because it is being executed in both places | 01:33 |
|
CareBear\
| ded : do you know http://joemaller.com/990/ ? | 01:33 |
|
scotepi
| anyone have any advice to get git to run faster from windows over a samba share? | 01:33 |
|
milki
| that doesnt mean you cant have bare repos | 01:34 |
|
| ded: check out !deploy | 01:34 |
|
gitinfo
| ded: Git is not a deployment tool. You can build one around it for simple environments. http://sitaramc.github.com/the-list-and-irc/deploy.html | 01:34 |
|
CareBear\
| scotepi : don't use windows and don't use samba shares :p | 01:34 |
|
scotepi
| thanks >< | 01:34 |
|
milki
| >.> | 01:34 |
| ← cakehero left | 01:34 |
|
CareBear\
| scotepi : windows shouldn't be the problem, but I would do some comparison with and without the shared folder, to see performance differences | 01:35 |
| ← AaronMT left | 01:35 |
| → Vampire0_ joined | 01:36 |
|
scotepi
| CareBear\, it is definitly the samba share.. I have my web dev server shared and I work on it as a maped drive on windows. However im trying to transition to git and its painfuly slow to do status and the like | 01:36 |
|
| i took 3mins to do it on windows on 2sec on the server | 01:36 |
|
milki
| have a local copy that you work on and then push to samba share when you need to | 01:36 |
|
CareBear\
| scotepi : stop doing it that way | 01:37 |
|
ded
| milki, CareBear thanks. I'm going to try a post-receive hook using git reset --hard HEAD. | 01:37 |
|
CareBear\
| scotepi : you too, have a look at http://joemaller.com/990/ | 01:37 |
|
milki
| kk | 01:37 |
|
CareBear\
| ded : use a third repo like joemaller | 01:37 |
|
| ded : save yourself the friction | 01:37 |
|
scotepi
| CareBear\, that would meen i need to install a web server matching my webhost on every workstation, not an ideal solution for me | 01:37 |
| ← darren left | 01:38 |
|
CareBear\
| scotepi : huh? no? | 01:38 |
|
ded
| CareBear, ok, this is not a production deploy, just looking for something lightweight to help iterate on debugging | 01:38 |
|
CareBear\
| ded : yes, joemaller | 01:38 |
|
ded
| ok | 01:38 |
|
CareBear\
| ded : production deploy is better left for another tool | 01:38 |
|
milki
| ded: that doesnt really matter | 01:38 |
| → havenn joined | 01:38 |
| ← etcetera left | 01:38 |
|
CareBear\
| (that other tool may also be git based, but git itself isn't such a great fit) | 01:39 |
|
milki
| if you need your code executing on the server, just have a post-receive that "deploys" the code to where you need it | 01:39 |
|
| thats all | 01:39 |
| → darren joined | 01:39 |
| ← Vampire0 left | 01:39 |
|
CareBear\
| as a bonus of joemaller you also get a backup of your repo | 01:39 |
|
| for when your laptop is stolen | 01:39 |
|
milki
| by CareBear\ | 01:40 |
|
| :o | 01:40 |
| → tqmz___ joined | 01:40 |
|
CareBear\
| umm.. | 01:40 |
|
ded
| ok right, I see the "I tried it and things do get weird fast" line. I'm very happy to take that advice. | 01:40 |
|
CareBear\
| milki : you promised you wouldn't tell anyone where you bought that cheap laptop I set you up with | 01:40 |
|
milki
| i didnt | 01:40 |
|
| :o | 01:41 |
|
CareBear\
| ded : please do ask also if you have concrete issues - they are usually even easier to answer | 01:41 |
|
| ded : and !welcome | 01:41 |
|
gitinfo
| Welcome to #git, a place full of helpful gits. If you have a question, feel free to just go ahead and ask—somebody should answer shortly. For more info on this channel, see http://jk.gs/git/ Take backups (type !backup to learn how) before taking advice. | 01:41 |
|
ded
| yep, sorry about my opening. Not sure what I was thinking of. | 01:42 |
| ← tqmz left | 01:43 |
|
CareBear\
| thanks for that | 01:43 |
| → ISF joined | 01:44 |
| → Lord_DeathMatch joined | 01:48 |
| → ipoval joined | 01:49 |
| → xiangfu joined | 01:49 |
| → maxwellcorbin joined | 01:50 |
| ← Dimitr left | 01:51 |
| → red82 joined | 01:53 |
| ← ded left | 01:54 |
| → Cerise joined | 01:55 |
| → cakehero joined | 01:58 |
| → lcc joined | 01:59 |
| → reds joined | 01:59 |
| ← havenn left | 01:59 |
| reds → Guest3612 | 01:59 |
| ← matthiaskrgr_ left | 02:03 |
| ← Guest3612 left | 02:03 |
| → kukks joined | 02:04 |
| ← kukks left | 02:04 |
| → kukks joined | 02:04 |
| ← fission6 left | 02:06 |
| → jargon- joined | 02:06 |
| ← Twey left | 02:06 |
| → Twey joined | 02:06 |
| ← scientes left | 02:08 |
| → cagedwisdom joined | 02:09 |
| → landypro joined | 02:11 |
| → iamjarvo joined | 02:11 |
| ← xiangfu left | 02:13 |
| ← dr_lepper left | 02:15 |
| → jiangenj joined | 02:15 |
| gitinfo set mode: +v | 02:16 |
|
jiangenj
| Hi cbreak, yesterday git project object broken has been fixed; just clone a mirror then put it back can fix, not sure why | 02:16 |
| ← leeN left | 02:17 |
| ← cakehero left | 02:18 |
|
jiangenj
| Hi all, where can I find a git book for admin? git help is seperated by commands which I think can only be used if knows what to do | 02:18 |
|
frogonwheels
| jiangenj: !doc | 02:19 |
|
gitinfo
| jiangenj: A list of useful documentation of all kinds is here: http://git-scm.com/documentation -- or try the wiki at http://git.wiki.kernel.org/. Also try typing "!book" "!cs" "!bottomup" "!parable" "!best_practices" or "!vcbe" or "!designers" here in IRC. !book is probably the most helpful. | 02:19 |
|
frogonwheels
| jiangenj: yes, the git man pages become more useful once you know the broader outline of how git operates. | 02:19 |
|
jiangenj
| thanks | 02:20 |
| ← dorkmafia left | 02:20 |
| → matthiaskrgr joined | 02:20 |
|
jiangenj
| !book | 02:21 |
|
gitinfo
| There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable | 02:21 |
| → beneggett joined | 02:22 |
| → evanz joined | 02:23 |
| → reactormonk joined | 02:23 |
| → e0je joined | 02:24 |
| → r0bby_ joined | 02:25 |
| ← jargon- left | 02:25 |
| ← bubbles10101 left | 02:25 |
| r0bby_ → robbyoconnor | 02:27 |
| ← r0bby left | 02:28 |
| → dr_lepper joined | 02:28 |
| ← dr_lepper left | 02:28 |
| → dr_lepper joined | 02:28 |
| → Targen_ joined | 02:29 |
| ← Targen left | 02:29 |
| ← e0je left | 02:29 |
| ← Araxia left | 02:30 |
| ← maxwellcorbin left | 02:30 |
| ← segher left | 02:31 |
| → bubbles10101 joined | 02:32 |
| → segher joined | 02:32 |
| → maxwellcorbin joined | 02:32 |
| → vitor-br joined | 02:34 |
| → albel727 joined | 02:34 |
| ← Lord_DeathMatch left | 02:35 |
| → Chib joined | 02:36 |
| ← spyro left | 02:36 |
| → jargon- joined | 02:38 |
| → r0bby joined | 02:39 |
| → xiangfu joined | 02:40 |
| ← robbyoconnor left | 02:41 |
|
jnewt
| ok, i've started with a clean repo, and have added 3 commits. r1, r3, r2 in that order. now let's say i want to put them in the order r1,2,3. i'd think that i would want to rebase r2 onto r1, then r3 onto r2. | 02:42 |
| → r0bby_ joined | 02:43 |
|
jnewt
| git rebase --no-ff --strategy ours --onto r1 r3 r2. this just moves the branch pointer r2 to r1, and the r2 commit goes away | 02:43 |
| ← red82 left | 02:43 |
| ← xiangfu left | 02:44 |
| → Eridius joined | 02:45 |
|
jnewt
| i get the "already applied" message. then All done. as if i had actually rebased that commit onto r1. | 02:45 |
| ← orafu left | 02:45 |
| → macIvy joined | 02:45 |
| ← shruggar left | 02:45 |
| ← beneggett left | 02:45 |
| → orafu joined | 02:45 |
| → soooga joined | 02:45 |
| → aviraldg joined | 02:46 |
| ← r0bby left | 02:46 |
| → spyro joined | 02:46 |
| ← spyro left | 02:46 |
| → spyro joined | 02:46 |
| → xiangfu joined | 02:47 |
| ← ysyk left | 02:48 |
|
jnewt
| and now i'm getting a couple of "deleted by us" errors, for two files that have never been deleted in any commit | 02:49 |
| ← Twey left | 02:52 |
| → Lord_DeathMatch joined | 02:54 |
| → wolftankk joined | 02:54 |
| ← iamjarvo left | 02:55 |
| ← Chib left | 02:55 |
| → Chib joined | 02:56 |
| r0bby_ → robbyoconnor | 02:56 |
|
jiangenj
| !cs | 02:57 |
|
gitinfo
| "Git for Computer Scientists" is a quick introduction to git internals for people who are not scared by phrases like Directed Acyclic Graph. http://eagain.net/articles/git-for-computer-scientists/ See also !concepts !bottomup | 02:57 |
| ← wolftankk left | 02:59 |
| → wolftankk joined | 03:00 |
| → Twey joined | 03:00 |
| ← ipoval left | 03:02 |
| → caseymcg joined | 03:02 |
| ← blupp left | 03:04 |
| → cwang joined | 03:04 |
| → blupp joined | 03:05 |
| ← macIvy left | 03:07 |
| ← Chillance left | 03:07 |
| → Anxi80 joined | 03:09 |
| → ysyk joined | 03:10 |
| ← ysyk left | 03:10 |
| ← jey_ left | 03:11 |
| → jey joined | 03:12 |
| → centipedefarmer joined | 03:12 |
| → duckxx joined | 03:12 |
| → Yuuhi` joined | 03:13 |
| → ysyk joined | 03:14 |
| ← Drool left | 03:14 |
| ← ysyk left | 03:14 |
| ← localhost left | 03:14 |
| ← Yuuhi left | 03:15 |
| → maletor joined | 03:16 |
| → localhost joined | 03:17 |
| ← wolftankk left | 03:17 |
|
avpx
| jweinberg: The best way to reorder commits this way is using an interactive rebase. | 03:18 |
|
| rebase -i | 03:18 |
|
| jnewt** | 03:18 |
| ← trtzrdb left | 03:20 |
| → ysyk joined | 03:22 |
| ← ysyk left | 03:23 |
| ← metasansana left | 03:23 |
| → duckx joined | 03:23 |
| ← yoklov left | 03:25 |
| ← duckxx left | 03:26 |
| ← dfr|mac left | 03:28 |
| ← Lord_DeathMatch left | 03:29 |
| → metasansana joined | 03:30 |
| ← metasansana left | 03:31 |
| → etcetera joined | 03:31 |
| → scriabin joined | 03:33 |
| ← bubbles10101 left | 03:34 |
| ← duckx left | 03:35 |
| ← jiangenj left | 03:39 |
| → kcj joined | 03:39 |
| ← Eridius left | 03:40 |
| ← lcc left | 03:41 |
| ← caseymcg left | 03:42 |
| → jackh joined | 03:42 |
| ← jackh left | 03:42 |
| ← etcetera left | 03:43 |
| → mh` joined | 03:46 |
| → rohan32 joined | 03:47 |
| → scholchr joined | 03:48 |
| → gavin_huang joined | 03:50 |
| ← rohan32 left | 03:50 |
| ← nwest left | 03:51 |
| → yoklov joined | 03:52 |
| → lcc joined | 03:54 |
| → andy77 joined | 03:58 |
| ← centipedefarmer left | 03:59 |
| → reds joined | 03:59 |
| → iamjarvo joined | 04:00 |
| reds → Guest83743 | 04:00 |
| → dleonardi joined | 04:00 |
| → beneggett joined | 04:00 |
| → centipedefarmer joined | 04:01 |
| ← tjadc left | 04:02 |
| → nothingbutlove joined | 04:03 |
| ← Guest83743 left | 04:04 |
| ← kukks left | 04:05 |
| ← Anxi80 left | 04:06 |
| ← bartman left | 04:07 |
| ← gavin_huang left | 04:10 |
| ← beneggett left | 04:11 |
| → bluekelp joined | 04:11 |
| ← mbreslin left | 04:13 |
| ← intransit[w] left | 04:13 |
| → chuckf joined | 04:14 |
| → bartman joined | 04:14 |
| ← bluekelp left | 04:14 |
| → adiabatic joined | 04:15 |
| ← maletor left | 04:17 |
| → dfr|mac joined | 04:18 |
| → unnamedwill joined | 04:18 |
| ← nothingbutlove left | 04:18 |
| → duckxx joined | 04:19 |
| → john_anderson_ joined | 04:20 |
| → nothingbutlove joined | 04:21 |
| → scientes joined | 04:23 |
| → Putr joined | 04:23 |
| ← dleonardi left | 04:28 |
| ← goshawk left | 04:33 |
| ← scientes left | 04:35 |
| ← Twey left | 04:39 |
| → Guest74974 joined | 04:39 |
| → gavin_huang joined | 04:39 |
| → joepie91 joined | 04:39 |
| ← joepie91 left | 04:39 |
| → Davey joined | 04:41 |
| → igotnolegs joined | 04:41 |
| ← gavin_huang left | 04:42 |
| ← andrewhl_ left | 04:44 |
| → Twey joined | 04:44 |
| → mbreslin joined | 04:45 |
| → scientes joined | 04:47 |
| ← xiangfu left | 04:49 |
| ← nor5trom left | 04:50 |
| ← zastern left | 04:53 |
| → Transcended joined | 04:55 |
| → Fullmoon joined | 04:57 |
| → ipoval joined | 04:58 |
| → rue joined | 05:03 |
| ← cesc left | 05:06 |
| → r0bby joined | 05:07 |
| ← rue left | 05:07 |
| → helgikrs joined | 05:08 |
|
luke-jr
| Is there any "multi bisect" where you can bisect in parallel? | 05:09 |
|
| ie, if I have 7 machines for testing, give me 7 revisions to test at a time | 05:09 |
|
| (for bugs that take days to reproduce) | 05:10 |
| ← robbyoconnor left | 05:10 |
| ← scotepi left | 05:11 |
| ← kpreid left | 05:17 |
| → kpreid joined | 05:18 |
| → cesc joined | 05:18 |
| → smw joined | 05:19 |
| ← yoklov left | 05:20 |
| → towski joined | 05:21 |
| ← simesy left | 05:23 |
| → Araxia joined | 05:23 |
| ← neurodrone left | 05:24 |
| → xiangfu joined | 05:24 |
| → rue joined | 05:25 |
| → noyb joined | 05:25 |
| ← noyb_ left | 05:26 |
| ← towski left | 05:26 |
| ← thelazydeveloper left | 05:28 |
| → etcetera joined | 05:29 |
| ← xiangfu left | 05:29 |
| → opus joined | 05:30 |
| gitinfo set mode: +v | 05:30 |
| ← etcetera left | 05:31 |
|
offby1
| never heard of such a thing | 05:31 |
| → ovnicraft joined | 05:33 |
|
ovnicraft
| hello i want to create a new branch and import from existing local ? how is this possible with git branch ? | 05:33 |
| ← Ether_Man left | 05:36 |
| ← marc_kdab_ left | 05:36 |
| → marc_kdab_ joined | 05:37 |
|
FauxFaux
| ovnicraft: git checkout -b newbranchname # is probably what you want. | 05:37 |
| ← maxwellcorbin left | 05:38 |
|
ovnicraft
| FauxFaux: yes in know but i get cloned in another local branch and i want to "import" in my new branch | 05:38 |
| ← scientes left | 05:39 |
|
ovnicraft
| when i say another local i means another repo | 05:39 |
|
FauxFaux
| Okay, I clearly have no idea what you mean by import. You have a server repo, A, and a local clone of it in B, currently on branch "foo", and you want to... | 05:40 |
| → xiangfu joined | 05:41 |
|
ovnicraft
| i will explain it better, i clone 2 branches from bzr to git but are in diff repos now i want to put them in just one i create | 05:43 |
|
| in my local repo A i want to create a new branch and clone my repo B there | 05:43 |
|
loops
| ovnicraft, you can clone a branch from repo B into a branch in repo B, but not clone an entire repo to a single local branch | 05:45 |
|
| clone a branch from repo B into a branch in repo A* | 05:46 |
| → etcetera joined | 05:46 |
|
FauxFaux
| ovnicraft: git fetch ../otherrepo master && git checkout -b otherrepobranch FETCH_HEAD | 05:47 |
|
ovnicraft
| yes i want to clone a branch from repo B in to branch in repo A | 05:47 |
| ← ipoval left | 05:49 |
| ← Goplat left | 05:49 |
| ← etcetera left | 05:50 |
| → uzyn joined | 05:50 |
|
loops
| git fetch remote_repo_url remote_branch:new_local_branch | 05:52 |
| → scientes joined | 05:52 |
| → etcetera joined | 05:53 |
| → private joined | 05:53 |
| private → Guest68 | 05:54 |
| ← ahayweh left | 05:55 |
| ← john_anderson_ left | 05:57 |
| → LeMike joined | 05:58 |
| ← iamjarvo left | 05:59 |
| → reds joined | 06:00 |
| reds → Guest24786 | 06:00 |
| → r0bby_ joined | 06:03 |
| r0bby_ → robbyoconnor | 06:03 |
| ← dfr|mac left | 06:04 |
| ← duckxx left | 06:05 |
| ← Guest24786 left | 06:05 |
| ← scientes left | 06:06 |
|
ovnicraft
| loops: applies too git fetch local_path local_branch:new_local_branch ? | 06:07 |
| ← r0bby left | 06:07 |
| ← gtrak left | 06:07 |
| ← aviraldg left | 06:12 |
| → aviraldg joined | 06:14 |
| → ahayweh joined | 06:15 |
| ← Error404NotFound left | 06:18 |
| ← darren left | 06:22 |
| ← david1010 left | 06:23 |
| → david1010 joined | 06:23 |
| → scientes joined | 06:26 |
| → AmirBehzad joined | 06:27 |
| ← fireh left | 06:28 |
| ← jargon- left | 06:31 |
| ← scientes left | 06:31 |
| → shreya joined | 06:31 |
| → scientes joined | 06:33 |
| → jtri joined | 06:36 |
|
jtri
| hello, I'm getting a strange message on my server when i try to use git commit: *** Please tell me who you are. | 06:37 |
|
erynofwales
| Probably have to set name and email | 06:37 |
|
jtri
| yes, but to what? | 06:38 |
|
| does it matter? | 06:38 |
|
erynofwales
| git config --global user.name "<your name>" | 06:38 |
|
| No | 06:38 |
|
| Whatever you want | 06:38 |
|
| git config --global user.email "<your email>" | 06:38 |
| → jargon- joined | 06:38 |
|
erynofwales
| Though I think it's generally best to use your real name or a username and your real email | 06:38 |
|
jtri
| so global sets it global for the machine i'm working on... | 06:40 |
|
| thanks | 06:40 |
|
erynofwales
| Almost. Global sets the option for the user | 06:40 |
|
jtri
| check | 06:41 |
|
erynofwales
| Git puts those settings in .gitconfig | 06:41 |
|
jtri
| i see | 06:41 |
|
erynofwales
| in your home directory | 06:41 |
| ← Targen_ left | 06:42 |
| → Targen joined | 06:45 |
| ← andy77 left | 06:46 |
| ← AmirBehzad left | 06:47 |
| ← avpx left | 06:47 |
| → toabctl joined | 06:48 |
| ← scientes left | 06:49 |
| → pppaul joined | 06:49 |
| → iori joined | 06:52 |
| → Lord_DeathMatch joined | 06:54 |
| ← aviraldg left | 06:55 |
| ← toabctl left | 06:56 |
| → aviraldg joined | 07:00 |
| → pantsman joined | 07:00 |
| → scientes joined | 07:01 |
| ← ISF left | 07:05 |
| → varg joined | 07:06 |
| ← Guest68 left | 07:09 |
| → subhojit777 joined | 07:13 |
| ← ovnicraft left | 07:18 |
| ← bizhanMona left | 07:20 |
| ← palm_vue left | 07:20 |
| ← Lgb left | 07:20 |
| ← iori left | 07:20 |
| → Lgb joined | 07:21 |
| → palm_vue joined | 07:21 |
| → bizhanMona joined | 07:21 |
| ← jargon- left | 07:21 |
| ← scientes left | 07:22 |
| → sh0ne joined | 07:27 |
| → simesy joined | 07:28 |
| → _iron joined | 07:30 |
| → theCole joined | 07:31 |
| ← nothingbutlove left | 07:32 |
| ← madewokherd left | 07:33 |
| ← JStoker left | 07:34 |
| ← varg left | 07:37 |
| ← pppaul left | 07:37 |
| → toabctl joined | 07:37 |
| ← sh0ne left | 07:38 |
| → sh0ne joined | 07:38 |
| → ph^ joined | 07:38 |
| ← Twey left | 07:39 |
| → JStoker joined | 07:41 |
| → blacktulip joined | 07:41 |
| → dleonardi joined | 07:42 |
| → airborn joined | 07:43 |
| → Twey joined | 07:43 |
| ← toabctl left | 07:46 |
| ← Davey left | 07:50 |
| ← cwang left | 07:51 |
| ← skyf left | 07:51 |
| → hyperair joined | 07:51 |
| → thiago joined | 07:54 |
| SeoZ → SeoZ-work[AWAY] | 07:54 |
| → Davey joined | 07:56 |
| ← dleonardi left | 07:59 |
| → dleonardi joined | 07:59 |
| → reds joined | 08:00 |
| reds → Guest40387 | 08:01 |
| ← lonewulf` left | 08:01 |
| ← HyperNerdV2 left | 08:03 |
| ← LeMike left | 08:03 |
| ← ph^ left | 08:03 |
| → lonewulf` joined | 08:03 |
| ← dleonardi left | 08:04 |
| ← Guest40387 left | 08:05 |
| ← simesy left | 08:06 |
| → rehat joined | 08:10 |
| ← scholchr left | 08:11 |
| → dleonardi joined | 08:11 |
| → dfr|mac joined | 08:12 |
| → Eridius joined | 08:12 |
| → scholchr joined | 08:13 |
| ← dleonardi left | 08:15 |
| → dleonardi joined | 08:16 |
| ← xiangfu left | 08:16 |
| → w41_ joined | 08:17 |
| ← rehat left | 08:17 |
| ← w41 left | 08:20 |
| → Error404NotFound joined | 08:20 |
| ← dleonardi left | 08:20 |
| → simesy joined | 08:21 |
| → dleonardi joined | 08:21 |
| ← igotnolegs left | 08:22 |
| → gavin_huang joined | 08:24 |
| → n1x joined | 08:25 |
| → jjido joined | 08:25 |
| ← gavin_huang left | 08:27 |
| ← dleonardi left | 08:34 |
| ← subhojit777 left | 08:35 |
| ← theCole left | 08:35 |
| → dleonardi joined | 08:35 |
| → skorgon joined | 08:39 |
| ← pantsman left | 08:40 |
| ← Araxia left | 08:42 |
| ← adiabatic left | 08:42 |
| ← dleonardi left | 08:45 |
| ← eletuchy left | 08:46 |
| → Element9 joined | 08:48 |
| → dleonardi joined | 08:50 |
| ← kaen left | 08:50 |
| → nischayn22 joined | 08:51 |
| ← PLU420 left | 08:53 |
| ← dleonardi left | 08:55 |
| ← Lord_DeathMatch left | 08:55 |
| ← angelsl left | 08:55 |
| → angelsl joined | 08:55 |
| → leeN joined | 08:56 |
| → dleonardi joined | 08:56 |
| ← aviraldg left | 08:56 |
| → xiangfu joined | 08:57 |
| ← Guest74974 left | 08:59 |
| → DrHouse|TARDIS_ joined | 09:00 |
| ← jjido left | 09:01 |
| → aviraldg joined | 09:01 |
| ← angelsl left | 09:01 |
| → angelsl joined | 09:01 |
| ← xiangfu left | 09:02 |
| ← DrHouse|TARDIS_ left | 09:04 |
| ← dleonardi left | 09:05 |
| → xiangfu joined | 09:06 |
| ← Twey left | 09:06 |
| → Twey joined | 09:10 |
| → swair joined | 09:11 |
| ← blacktulip left | 09:12 |
| → gavin_huang joined | 09:16 |
| → timthelion joined | 09:17 |
| ← Eridius left | 09:18 |
| ← DrHouse|TARDIS left | 09:19 |
| ← tqmz___ left | 09:19 |
| → tqmz joined | 09:20 |
| → AlecTaylor joined | 09:22 |
|
AlecTaylor
| hi | 09:22 |
|
| How do I recover a file that was deleted in the latest push? | 09:23 |
|
cbreak
| check it out. | 09:23 |
| ← subbyyy left | 09:24 |
| → eletuchy joined | 09:26 |
| → mmc1 joined | 09:26 |
| ← jtri left | 09:30 |
| → OOPMan joined | 09:34 |
|
AlecTaylor
| How do I recover a file that was deleted in the latest push? | 09:34 |
|
cbreak
| check it out. | 09:34 |
|
| you're kind of slow, aren't you? :) | 09:35 |
|
FauxFaux
| The funk-soul cbreak, right about now. | 09:36 |
| → subhojit777 joined | 09:37 |
|
cbreak
| hmm? :) | 09:37 |
| → jceb_ joined | 09:38 |
|
AlecTaylor
| How do I recover a file that was deleted in the latest push? | 09:38 |
|
FauxFaux
| cbreak: Classic dance music reference; nevermind. =p | 09:38 |
|
| AlecTaylor: Jesus fucking christ. | 09:38 |
|
cbreak
| AlecTaylor: should I kick you out of the channel or do you want to keep spamming? | 09:39 |
|
AlecTaylor
| "check it out" isn't giving me any information. How do I find the revision hash? - What's the command I run to checkout that specific revision? | 09:39 |
|
cbreak
| see man pages of git log and git checkout | 09:39 |
|
| you can pick any version that had that file | 09:40 |
|
| and then use the normal file mode checkout: git checkout ref -- file | 09:40 |
|
AlecTaylor
| How do I revert the last commit? | 09:42 |
|
FauxFaux
| man git revert | 09:42 |
|
gitinfo
| the git-revert manpage is available at http://git-scm.com/docs/git-revert.html | 09:42 |
| ← Targen left | 09:44 |
| ← gavin_huang left | 09:45 |
| → rchavik joined | 09:47 |
| ← arcane left | 09:49 |
| → Targen joined | 09:50 |
| ← OOPMan left | 09:52 |
| → d3vic3 joined | 09:54 |
| → j416 joined | 09:54 |
|
The_Ball
| For http read-only access, can I just stick a git repo in a http accessible path and use 'git clone http://foo/bar.git/ ? | 09:57 |
|
| Or is the git-http-backend required in all http cases? | 09:58 |
| → gavin_huang joined | 09:58 |
| ← n1x left | 09:59 |
| → aspotashev joined | 09:59 |
|
FauxFaux
| The_Ball: "dumb http" like that is supported, but you need to google dumb http and man git update-server-info. | 10:00 |
|
gitinfo
| The_Ball: the git-update-server-info manpage is available at http://git-scm.com/docs/git-update-server-info.html | 10:00 |
|
The_Ball
| FauxFaux, thanks! | 10:00 |
| → reds joined | 10:01 |
| ← jonn left | 10:01 |
| reds → Guest39837 | 10:01 |
|
FauxFaux
| The_Ball: man git config receive.updateserverinfo | 10:01 |
|
gitinfo
| The_Ball: the git-config manpage is available at http://git-scm.com/docs/git-config.html | 10:01 |
| → marhaban joined | 10:02 |
| → RaceCondition joined | 10:03 |
| → Lord_DeathMatch joined | 10:04 |
| → nor5trom joined | 10:05 |
| ← Guest39837 left | 10:06 |
| ← mklappstuhl left | 10:06 |
| → babilen joined | 10:06 |
| → Davey_ joined | 10:11 |
| ← Davey left | 10:11 |
| Davey_ → Davey | 10:11 |
| → dleonardi joined | 10:12 |
| → tjadc joined | 10:12 |
| ← Davey left | 10:14 |
| ← aspotashev left | 10:15 |
| → Davey joined | 10:16 |
| → longbeach joined | 10:16 |
| ← dleonardi left | 10:18 |
| ← dfr|mac left | 10:18 |
| ← gavin_huang left | 10:19 |
| → mklappstuhl joined | 10:19 |
| → varg joined | 10:20 |
| ← marhaban left | 10:22 |
| → bubbles10101 joined | 10:24 |
| ← bubbles10101 left | 10:24 |
| → bubbles10101 joined | 10:25 |
| ← swair left | 10:26 |
| → swair joined | 10:27 |
| → fornext joined | 10:32 |
| → tweedledumber joined | 10:32 |
| ← tweedledumber left | 10:37 |
| → tweedledumber joined | 10:38 |
| ← opus left | 10:38 |
| ← Lord_DeathMatch left | 10:38 |
|
FauxFaux
| http://faux.uwcs.co.uk/sexy-gitk-beat.png apparently gitk really likes underage Japanese girls. (Yes, I know how prefetching works on Windows.) | 10:39 |
| → drougge joined | 10:40 |
| ← simesy left | 10:40 |
| → adlwalrus joined | 10:40 |
|
adlwalrus
| How can I see all the branches that exist in my repo? | 10:41 |
| ← varg left | 10:41 |
| → beawesomeinstead joined | 10:41 |
|
FauxFaux
| adlwalrus: git branch -avv | 10:41 |
| ← Twey left | 10:45 |
| ← capiira left | 10:45 |
| ← airborn left | 10:46 |
| → capiira joined | 10:48 |
| ← rchavik left | 10:48 |
| → Twey joined | 10:48 |
|
adlwalrus
| FauxFaux: thanks :) | 10:51 |
| → Enzo_cc joined | 10:53 |
| → specialGuest joined | 10:53 |
| → arcane joined | 10:53 |
| ← specialGuest left | 10:54 |
| → specialGuest joined | 10:54 |
| → naee joined | 10:54 |
| ← d3vic3 left | 10:55 |
| ← eean left | 10:55 |
| → ReekenX joined | 10:55 |
| ← khaije|minder left | 10:56 |
| ← Targen left | 10:57 |
| → bulletmark joined | 10:57 |
| ← surma left | 10:58 |
| ← MetaCosm left | 10:58 |
| ← actel left | 10:58 |
| ← brownies left | 10:58 |
| ← nischayn22 left | 10:58 |
| ← beawesomeinstead left | 10:58 |
| ← tfnico left | 10:58 |
| ← ladder4 left | 10:58 |
| → khaije|minder joined | 10:58 |
| ← bubbles10101 left | 10:58 |
| → actel joined | 10:58 |
| ← scholchr left | 10:59 |
| ← swair left | 10:59 |
| ← eicto left | 10:59 |
| → varg joined | 10:59 |
| → Targen joined | 11:00 |
| → beawesomeinstead joined | 11:02 |
| → tubbo joined | 11:02 |
| → CEnnis91_ joined | 11:03 |
| → marhaban joined | 11:03 |
| → jtri joined | 11:04 |
| ← bulletmark left | 11:04 |
| ← fornext left | 11:05 |
| → xerxas joined | 11:05 |
|
jtri
| I've noticed that sometimes when i change a file "git status" shows the changes as not staged for commit, while sometimes they are... what decides? | 11:05 |
|
canton7
| jtri, when you change a file, those changes are never staged automatically. use of 'git add' (or commit -a) does the staging | 11:07 |
| → simesy joined | 11:08 |
| → tickbrown joined | 11:09 |
| → Droolio joined | 11:09 |
| → tfnico joined | 11:09 |
| → offbyone joined | 11:09 |
| → MetaCosm joined | 11:09 |
|
jtri
| canton7: if I do a commit -a, those files wouldn't show up with "git status" though, right? | 11:10 |
|
mh`
| they'll show up as tracked and modified, or untracked | 11:10 |
|
jtri
| i.e. once committed they don't show up with a check on status... b/c they are committed | 11:10 |
|
mh`
| they won't show up on status if they haven't been modified since the last commit | 11:11 |
|
jtri
| ah, so they move from untracked to tracked and modified if they were previously committed and re-modified without a push? | 11:11 |
|
mh`
| push isn't what matters, it's the commit | 11:12 |
| → surma joined | 11:12 |
|
mh`
| if your workflow was like: | 11:12 |
| ← marhaban left | 11:12 |
|
mh`
| new file && edit that file && commit && git status would be clean here && edit that file && git status shows modified && commit && git status is clean again | 11:12 |
|
| it was untracked up until the point you commit -a | 11:13 |
|
| (which just combined git add <file> and git commit <file> into one step) | 11:13 |
| ← Enzo_cc left | 11:14 |
| → blacktulip joined | 11:16 |
| → marhaban joined | 11:17 |
| ← aviraldg left | 11:17 |
| ← simesy left | 11:17 |
| → lectrick joined | 11:19 |
| → oxidative_ joined | 11:20 |
| → theCole joined | 11:21 |
| → jaequery joined | 11:26 |
| → TomyLobo joined | 11:27 |
| ← oxidative_ left | 11:27 |
| ← varg left | 11:28 |
| → grandy joined | 11:28 |
| → wbs joined | 11:30 |
| → aviraldg joined | 11:31 |
| → cybersphinx joined | 11:31 |
|
wbs
| what's the most straightforward way of checking whether a certain branch (or HEAD) contains a particular commit? like git branch --contains <hash>, but also for checking HEAD... I can do e.g. "git branch --contains hash | grep ^\*" to see if it matches "* branchname" (or "* (no branch)" if not on a branch), but it feels a bit ugly | 11:32 |
| → kleist joined | 11:32 |
| → osse joined | 11:33 |
| ← SiDz left | 11:34 |
| → SiDz joined | 11:35 |
| → macIvy joined | 11:36 |
| ← zomg left | 11:36 |
| → carloshh joined | 11:37 |
| → nischayn22 joined | 11:37 |
|
wereHamster
| wbs: test -z "$(git rev-list <hash>..<branch>)" | 11:37 |
| → jab416171|Cloud joined | 11:38 |
|
wbs
| wereHamster: thanks! | 11:39 |
| → skorgon_ joined | 11:40 |
| ← osse left | 11:41 |
| → osse joined | 11:41 |
| → Psycho_pr joined | 11:43 |
| ← Psycho_pr1 left | 11:43 |
| ← skorgon left | 11:43 |
| ← Davey left | 11:43 |
|
loops
| wbs, probably want to add -n 1 to that rev-list | 11:45 |
| ← FauxFaux left | 11:46 |
| ← Droolio left | 11:47 |
| ← ajpiano left | 11:47 |
| → ajpiano joined | 11:48 |
| → dotemacs joined | 11:48 |
| → arietis joined | 11:49 |
| → Neptu_ joined | 11:49 |
|
wbs
| loops: yes, that also sounds like a good idea. thanks! | 11:49 |
| ← Neptu_ left | 11:50 |
| → ehsan joined | 11:51 |
| → davidbanham joined | 11:52 |
| ← eletuchy left | 11:53 |
| ← carloshh left | 11:53 |
| → FauxFaux joined | 11:54 |
| ← marhaban left | 11:54 |
| → carloshh joined | 11:54 |
| ← ehsan left | 11:55 |
| → jackarain joined | 11:59 |
| ← aviraldg left | 12:00 |
| → reds joined | 12:01 |
| reds → Guest7350 | 12:01 |
| → heidar joined | 12:02 |
| → the_cybersphinx joined | 12:04 |
| → FernandoBasso joined | 12:04 |
| → scholchr joined | 12:06 |
| ← carloshh left | 12:06 |
| ← Guest7350 left | 12:06 |
| ← cybersphinx left | 12:08 |
| → Droolio joined | 12:10 |
| ← jackarain left | 12:10 |
| → aviraldg joined | 12:12 |
| → Jackarain joined | 12:12 |
| → DarkSector joined | 12:13 |
| → lupo7 joined | 12:14 |
|
FauxFaux
| Oooh, I like the "last change" header on http://git-scm.com/docs/git-push.html | 12:16 |
| → NimeshNeema joined | 12:16 |
|
canton7
| ooh, that is nice | 12:18 |
| → ZyX-I joined | 12:19 |
|
ZyX-I
| Hello. How can I list all ignored files? | 12:20 |
|
FauxFaux
| git clean -nX | 12:20 |
|
cbreak
| ZyX-I: man git-ls-files | 12:21 |
|
gitinfo
| ZyX-I: the git-ls-files manpage is available at http://git-scm.com/docs/git-ls-files.html | 12:21 |
|
ZyX-I
| cbreak: You mean ls-files --ignored? It does not work, even with --exclude-standard. | 12:22 |
|
FauxFaux
| Monospace is still fucking broken under windows, though. Cunts. | 12:22 |
| → carloshh joined | 12:22 |
|
thiago
| please mind your language | 12:22 |
| → nifty_ joined | 12:22 |
|
ZyX-I
| By the way, why “--exclude-standar*d*”? | 12:23 |
|
cbreak
| ZyX-I: git ls-files -o -i --exclude-standard | 12:23 |
|
| what else? | 12:23 |
|
ZyX-I
| cbreak: Thanks. | 12:23 |
|
cbreak
| --exclude-special? :) | 12:23 |
|
| -o will show untracked | 12:23 |
|
thiago
| as opposed to excluding from a different list | 12:24 |
|
cbreak
| if you want to show tracked files that would be ignored but are not, use -c instead | 12:24 |
|
ZyX-I
| cbreak: For some reason I thought it is standart (that is how written in Russian). Dictionary tells I was wrong. | 12:24 |
|
cbreak
| standart is a kind of flag | 12:24 |
|
thiago
| it's still "standard" | 12:25 |
| ← Droolio left | 12:27 |
| → rjgonza joined | 12:27 |
| → simesy joined | 12:28 |
| → denysonique joined | 12:28 |
| → twisted` joined | 12:28 |
| ← dvide left | 12:30 |
| ← Jackarain left | 12:30 |
| → Jackarain joined | 12:31 |
| → Dimitr joined | 12:31 |
| ← theCole left | 12:31 |
| ← simesy left | 12:33 |
| ← tickbrown left | 12:34 |
| ← ketas left | 12:34 |
| ← babilen left | 12:35 |
| → ps_jinx joined | 12:35 |
| ← _eMaX_1 left | 12:37 |
| ← adlwalrus left | 12:37 |
| → thelazydeveloper joined | 12:38 |
| → marhaban joined | 12:39 |
| → ketas joined | 12:39 |
| → adlwalrus joined | 12:39 |
| → dleonardi joined | 12:41 |
| → fayimora joined | 12:47 |
| → codeM0nK3Y joined | 12:48 |
| ← carloshh left | 12:48 |
| → smellynoser joined | 12:49 |
|
smellynoser
| "Your local changes to 'cgi/web/account/login.php' would be overwritten by merge. Aborting." | 12:49 |
|
| I don't give a **** about that file being overwritten, I just want the changes to go up without issue | 12:49 |
|
| It's a remote server, so I just want whatever is the current git structure on the server | 12:50 |
|
| I don't care about anything else | 12:50 |
|
thiago
| then undo your changes | 12:50 |
| ← adlwalrus left | 12:50 |
|
thiago
| git status will tell you what to do | 12:50 |
|
smellynoser
| There aren't any changes | 12:51 |
| ← shreya left | 12:51 |
|
thiago
| there are | 12:51 |
|
smellynoser
| Not actual changes, there could be changes git thinks because somebody else is pushing changes, but not to that file | 12:51 |
|
thiago
| it thinks there are local changes, by you, on that repository, to that file | 12:52 |
| ← pierre__ left | 12:52 |
| → pierre__ joined | 12:52 |
| ← capiira left | 12:53 |
|
smellynoser
| Yes, I'm aware of that - there isn't - this server is only used to run 'git pull origin master' by two people | 12:53 |
| → shreya joined | 12:54 |
| ← shreya left | 12:54 |
|
thiago
| it doesn't matter what you think | 12:55 |
|
| it only matters that git thinks there are modifications | 12:55 |
|
| you have to throw them away | 12:55 |
|
wereHamster
| smellynoser: running 'git pull origin master' to deploy the code is asking for trouble. Don't do that. | 12:56 |
|
smellynoser
| wereHamster, Thankyou - what is the best way of doing it? Should I just remove the directory and readd/init/pull ? | 12:56 |
|
wereHamster
| smellynoser: !deploy | 12:57 |
|
gitinfo
| smellynoser: Git is not a deployment tool. You can build one around it for simple environments. http://sitaramc.github.com/the-list-and-irc/deploy.html | 12:57 |
| ← Chappo left | 12:57 |
| → bartek joined | 12:57 |
|
thiago
| smellynoser: was that line prefixed with "remote:" ? | 12:57 |
| ← dleonardi left | 12:57 |
| ← specialGuest left | 12:58 |
| ← arcane left | 12:59 |
| → shruggar joined | 13:00 |
| → ladder4 joined | 13:01 |
|
AlecTaylor
| How do I revert the last commit? | 13:01 |
| ← ladder4 left | 13:01 |
| → neurodrone joined | 13:01 |
|
wereHamster
| AlecTaylor: git revert HEAD | 13:02 |
| → ladder4 joined | 13:02 |
| ← ladder4 left | 13:02 |
|
wereHamster
| AlecTaylor: are you sure 'revert' is what you actually want? | 13:02 |
| → eletuchy joined | 13:04 |
| → simesy joined | 13:04 |
| ← cyen left | 13:04 |
| → chuckharmston joined | 13:04 |
| → rohan32 joined | 13:05 |
| ← scholchr left | 13:06 |
| → ladder4 joined | 13:07 |
| ← eletuchy left | 13:08 |
| ← aviraldg left | 13:08 |
| → _Vi joined | 13:11 |
| → duckx joined | 13:11 |
|
cbreak
| I think AlecTaylor has a brain capacity of less than 10 minutes :( | 13:12 |
|
| we already told him how to revert the last commit this morning | 13:13 |
|
| after telling him three times how to check out a file from the past | 13:13 |
| ← RaceCondition left | 13:13 |
| ← jtri left | 13:15 |
| ← macIvy left | 13:16 |
| → shreya joined | 13:16 |
| → brownies joined | 13:19 |
| ← Shapeshifter left | 13:19 |
| ← Lgb left | 13:20 |
| ← bizhanMona left | 13:20 |
| ← palm_vue left | 13:20 |
| ← marhaban left | 13:20 |
| → ISF joined | 13:20 |
| → palm_vue joined | 13:20 |
| → Lgb joined | 13:20 |
| → bizhanMona joined | 13:21 |
| → madewokherd joined | 13:21 |
| ← kcj left | 13:23 |
| → marhaban joined | 13:25 |
| ← fayimora left | 13:25 |
| → fayimora_ joined | 13:25 |
| ← jdav_gon` left | 13:26 |
| → varg joined | 13:27 |
| skorgon_ → skorgon | 13:28 |
| → fission6 joined | 13:29 |
| → ph^ joined | 13:30 |
| → nyxx_ joined | 13:31 |
| → jdav_gone joined | 13:31 |
| ← jceb_ left | 13:32 |
| ← marhaban left | 13:32 |
| → jceb joined | 13:32 |
| → specialGuest joined | 13:33 |
| ← shruggar left | 13:35 |
| ← FernandoBasso left | 13:36 |
| ← teotwaki_ left | 13:36 |
| ← skorgon left | 13:37 |
| ← ISF left | 13:37 |
| ← simesy left | 13:38 |
| ← jceb left | 13:38 |
| → AmirBehzad joined | 13:39 |
| ← chuckharmston left | 13:39 |
| → andrewhl joined | 13:40 |
| ← specialGuest left | 13:41 |
| → beneggett joined | 13:41 |
| → dleonardi joined | 13:42 |
| ← ps_jinx left | 13:42 |
| → Chappo joined | 13:43 |
| → simesy joined | 13:43 |
| → Lord_DeathMatch joined | 13:44 |
| → giallu joined | 13:44 |
| → FernandoBasso joined | 13:45 |
| → gtrak joined | 13:47 |
| ← dleonardi left | 13:47 |
| ← AmirBehzad left | 13:49 |
| ← mmc1 left | 13:50 |
| → pppaul joined | 13:52 |
| → gigamonkey joined | 13:52 |
| → arturaz joined | 13:55 |
| ← blacktulip left | 13:55 |
| ← ph^ left | 13:59 |
| ← beneggett left | 13:59 |
| → samyotte joined | 13:59 |
| ← simesy left | 14:01 |
| → reds joined | 14:02 |
| → iori joined | 14:02 |
| reds → Guest47408 | 14:02 |
| → Sebo joined | 14:02 |
| → Parhs8 joined | 14:02 |
| ← Parhs8 left | 14:03 |
| → Parhs joined | 14:03 |
|
Parhs
| Hello guys.. How to cancel the changes i made in some all files? | 14:03 |
| → simesy joined | 14:04 |
|
rue
| Parhs: You can checkout the file from HEAD, if you’ve not committed yet | 14:04 |
| ← samyotte left | 14:05 |
|
wereHamster
| Parhs: read the output of 'git status' | 14:05 |
| ← _Vi left | 14:05 |
| → _Vi joined | 14:06 |
| ← Sebo left | 14:06 |
| ← Guest47408 left | 14:07 |
| ← arturaz left | 14:07 |
| ← codeM0nK3Y left | 14:08 |
| → Anxi80 joined | 14:08 |
| → ISF joined | 14:11 |
| → taohappy joined | 14:12 |
| ← cesc left | 14:12 |
| ← taohappy left | 14:13 |
| ← shreya left | 14:13 |
| → cakehero joined | 14:13 |
| → lirt joined | 14:15 |
| ← simesy left | 14:16 |
| ← nyxx_ left | 14:17 |
| → dleonardi joined | 14:21 |
| ← smellynoser left | 14:22 |
| ← pppaul left | 14:23 |
| → Superlokkus joined | 14:24 |
| ← dc5ala left | 14:25 |
| ← Chappo left | 14:25 |
| → simesy joined | 14:25 |
| ← nor5trom left | 14:25 |
| → Dimitr|2 joined | 14:26 |
| ← lacrymology left | 14:26 |
| → RaceCondition joined | 14:28 |
| ← dleonardi left | 14:28 |
| ← Dimitr left | 14:28 |
| → arturaz joined | 14:32 |
| → Eridius joined | 14:33 |
| → cwang joined | 14:33 |
|
Bilge
| >some all files | 14:33 |
|
| wat | 14:33 |
| → w41__ joined | 14:34 |
| → marhaban joined | 14:36 |
| ← lirt left | 14:37 |
| → RaceCondishun joined | 14:37 |
| ← w41_ left | 14:37 |
| ← lonewulf` left | 14:38 |
| → lonewulf` joined | 14:39 |
| ← w41__ left | 14:40 |
| → pppaul joined | 14:40 |
| → psoo joined | 14:40 |
| ← RaceCondition left | 14:40 |
| RaceCondishun → RaceCondition | 14:40 |
| ← RaceCondition left | 14:40 |
| ← marhaban left | 14:41 |
| → yoklov joined | 14:41 |
| → dleonardi joined | 14:41 |
| ← simesy left | 14:43 |
| → OOPMan joined | 14:45 |
| → tshauck joined | 14:46 |
| ← fayimora_ left | 14:47 |
| → RaceCondition joined | 14:49 |
| → aspotashev joined | 14:50 |
| ← dleonardi left | 14:51 |
| ← varg left | 14:51 |
| → personal joined | 14:53 |
| ← mklappstuhl left | 14:53 |
| → marhaban joined | 14:53 |
| ← marhaban left | 14:54 |
| → marhaban joined | 14:54 |
| → herdingcat joined | 14:54 |
| → dleonardi joined | 14:54 |
| → hp joined | 14:56 |
| → kukks joined | 14:56 |
| ← hp left | 14:56 |
| → pngl joined | 14:56 |
|
pngl
| How can I set master to be a specific commit? I've checkout out an old revision to see some changes and now git says this revision is 'master'. Checkout out the most recent commit puts me in 'detached HEAD state'. | 14:57 |
| ← Anxi80 left | 14:58 |
| → AmirBehzad joined | 14:58 |
|
pngl
| In other words: I was at new_rev, I did `checkout old_rev`, now old_rev is master. I'd like new_rev to be master. | 14:59 |
| → flavius joined | 14:59 |
| ← blupp left | 15:00 |
| ← OOPMan left | 15:00 |
|
grawity
| I thought a plain `git checkout` doesn't normally update the branch... | 15:00 |
|
kpreid
| pngl: git checkout can't change what master is; you must have been already detached | 15:00 |
| ← scriabin left | 15:00 |
|
grawity
| anyway, `git checkout master`, `git reset --hard new_rev` should work | 15:00 |
|
kpreid
| yep | 15:01 |
|
pngl
| Yeah, I probably did something else | 15:01 |
|
kpreid
| but I would recommend checking on what the overall situation is with some visualization tool, log --graph or gitk | 15:01 |
|
| make sure the relations among commits are what you think they are, before you go overriding things | 15:02 |
|
pngl
| worked, thanks. (gitk gave me older_rev ----> old_rev/master ----> some_rev ----> new_rev) | 15:02 |
|
grawity
| Hmm, trying to write a history-graft script with `git replace`. Is it a good idea to just run `sed` against the raw commit object? (Intention is to add a "parent ..." line.) | 15:03 |
| → mattih joined | 15:03 |
| → jargon- joined | 15:03 |
| ← Parhs left | 15:04 |
| → Parhs8 joined | 15:04 |
| ← gtrak left | 15:05 |
| ← _Vi left | 15:05 |
| Mpenzi → mpenz | 15:06 |
| mpenz → Mpenzi | 15:06 |
| → _Vi joined | 15:06 |
| → simesy joined | 15:06 |
| ← the_cybersphinx left | 15:06 |
| → arturaz_ joined | 15:09 |
| ← iori left | 15:09 |
| ← RaceCondition left | 15:09 |
| → RaceCondishun joined | 15:09 |
| ← uzyn left | 15:09 |
| ← cwang left | 15:10 |
| ← arturaz left | 15:10 |
| ← duckx left | 15:10 |
| → cybersphinx joined | 15:10 |
| → subbyyy joined | 15:13 |
| → vmiklos joined | 15:13 |
| ← Lord_DeathMatch left | 15:15 |
| ← simesy left | 15:17 |
| ← Dimitr|2 left | 15:17 |
| → drizzd joined | 15:17 |
| → Dimitr joined | 15:17 |
| ← cybersphinx left | 15:18 |
| ← mattih left | 15:18 |
| rohan32 → rohan|afk | 15:18 |
| ← Milossh left | 15:20 |
| ← davidbanham left | 15:23 |
| ← neurodrone left | 15:24 |
| → cyen joined | 15:25 |
| ← dleonardi left | 15:25 |
| ← soooga left | 15:25 |
| ← AmirBehzad left | 15:26 |
| → jazper- joined | 15:27 |
| ← xiangfu left | 15:29 |
| rohan|afk → rohan | 15:30 |
| ← esa left | 15:31 |
| → martinjlowm joined | 15:31 |
| → jonn joined | 15:32 |
| → esa joined | 15:32 |
| → kaen joined | 15:32 |
| ← psoo left | 15:33 |
| ← jey left | 15:33 |
| → nor5trom joined | 15:35 |
| → cantoma joined | 15:38 |
| → simesy joined | 15:39 |
| → d3vic3 joined | 15:40 |
| ← pppaul left | 15:40 |
| ← martinjlowm left | 15:41 |
| → reds joined | 15:42 |
| reds → Guest90660 | 15:42 |
| → martinjlowm joined | 15:43 |
| → mike007 joined | 15:45 |
| → HyperNerdV2 joined | 15:45 |
| → fayimora joined | 15:46 |
| → Chappo joined | 15:47 |
| ← tshauck left | 15:47 |
|
Freeaqingme
| I have 4 branches; development, testing, acceptance and production. The repo contains config files for various separate projects, whenever something is pushed to a branch, it is automatically deployed (puppet). whenever some functionality for a project has been found stable, I want that functionality to be merged with the testing branch. Because the development branch receives continues rolling updates, we simply cannot merge development with testing. | 15:49 |
| → darren joined | 15:49 |
| → skyf joined | 15:49 |
|
Freeaqingme
| How could we accomplish this best, merges of feature branches, cherry picking, or sth else? Also, what'd be the best way to keep track of stuff to be merged/picked/sth else into the next branch (once it's been found stable)? | 15:50 |
| → sirdancealot7 joined | 15:50 |
| → pppaul joined | 15:52 |
|
cbreak
| there should NEVER be more than one single project in any repository | 15:53 |
| ← pppaul left | 15:54 |
|
Freeaqingme
| cbreak, we have one puppet server that distributes config files across all our servers. So it's not the projects themselves, it's all the server configs that are stored in one repo | 15:54 |
|
cbreak
| so you're developing config files? | 15:55 |
|
Freeaqingme
| versioning them ;) | 15:55 |
|
cbreak
| you can just merge | 15:56 |
|
| ideally, without crossing boundaries | 15:56 |
| → tshauck joined | 15:56 |
|
Freeaqingme
| that'd then be using feature branches. which is fine; but how could I then best keep track of what featurebranch has (or has not) yet been merged into what branches? | 15:56 |
|
cbreak
| git branch --merged | 15:57 |
|
| or --no-merged | 15:57 |
|
Freeaqingme
| brilliant | 15:57 |
|
| tnx | 15:57 |
| ← jargon- left | 15:58 |
| → identd joined | 15:59 |
| ← Guest90660 left | 16:01 |
| ← marhaban left | 16:01 |
| ← Superlokkus left | 16:04 |
| → jargon- joined | 16:05 |
| ← ISF left | 16:05 |
| → russt joined | 16:06 |
| ← identd left | 16:06 |
| → Zespre joined | 16:06 |
| → AmirBehzad joined | 16:09 |
| CEnnis91_ → CEnnis91 | 16:10 |
| ← AmirBehzad left | 16:10 |
| → marhaban joined | 16:10 |
| → AmirBehzad joined | 16:10 |
| ← AmirBehzad left | 16:10 |
| ← mike007 left | 16:14 |
| ← RaceCondishun left | 16:15 |
| → Shusshu joined | 16:16 |
| → skyf_ joined | 16:17 |
| ← kleist left | 16:18 |
| ← skyf left | 16:18 |
| → varg joined | 16:20 |
| → drizzd_ joined | 16:20 |
| ← Shusshu left | 16:21 |
| → OOPMan joined | 16:21 |
| → dropdrive joined | 16:22 |
| ← angelsl left | 16:22 |
| ← herdingcat left | 16:23 |
| ← drizzd left | 16:24 |
| → Pupeno joined | 16:24 |
| ← Pupeno left | 16:24 |
| → Pupeno joined | 16:24 |
| → cybersphinx joined | 16:24 |
| → KeepSake joined | 16:25 |
| ← marhaban left | 16:25 |
| ← OOPMan left | 16:25 |
| ← russt left | 16:26 |
| → ISF joined | 16:29 |
| → eicto joined | 16:29 |
| → Goplat joined | 16:31 |
| → NodeJohnny joined | 16:32 |
| ← tshauck left | 16:33 |
| ← gigamonkey left | 16:34 |
| → RaceCondition joined | 16:35 |
| ← RaceCondition left | 16:35 |
| → specialGuest joined | 16:35 |
| → Anders_J joined | 16:36 |
| ← NodeJohnny left | 16:36 |
| ← letharion left | 16:36 |
| → mmc1 joined | 16:36 |
| → whitman joined | 16:37 |
| ← specialGuest left | 16:37 |
| → specialGuest joined | 16:37 |
| → rehat joined | 16:37 |
| ← d3vic3 left | 16:38 |
| ← pngl left | 16:38 |
| ← nor5trom left | 16:38 |
| → iori joined | 16:38 |
| → RaceCondition joined | 16:39 |
| ← FernandoBasso left | 16:39 |
| ← personal left | 16:40 |
| → monsieurlu joined | 16:40 |
| → OOPMan joined | 16:41 |
| → duckxx joined | 16:41 |
| ← Chappo left | 16:41 |
| ← skyf_ left | 16:41 |
| → Chappo joined | 16:41 |
| ← Anders_J left | 16:45 |
| → spyro_ joined | 16:46 |
| → letharion joined | 16:46 |
| ← spyro_ left | 16:46 |
| ← cybersphinx left | 16:48 |
| → DrHouse|TARDIS joined | 16:49 |
| → w41_ joined | 16:50 |
|
nyxx
| If I have a branch on github called feature, and I just cloned the repo onto my system, how can I work on the branch feature? Doing `git branch` only shows `master`. | 16:53 |
|
| i tried `git pull origin feature` but im still in the branch `master` | 16:54 |
| ← rohan left | 16:54 |
| ← subhojit777 left | 16:55 |
| → cybersphinx joined | 16:55 |
|
cbreak
| nyxx: you just merged feature into master... | 16:56 |
|
| if you want to switch branches, use the branch switching command, git checkout | 16:56 |
| → igotnolegs joined | 16:57 |
| ← HyperNerdV2 left | 16:57 |
| ← lupo7 left | 16:58 |
|
nyxx
| cbreak: did i merge feature into master on the local repo? | 16:58 |
|
| or on the github repo as well? | 16:58 |
| → sq-one joined | 16:58 |
| ← evanz left | 16:59 |
| → pelao joined | 16:59 |
| ← darren left | 17:00 |
|
nyxx
| cbreak: I want to redo that merge! I tried `git pull origin master` but it says its up to date | 17:01 |
|
| oh no | 17:01 |
|
cbreak
| merges are local only | 17:03 |
|
| you tried to merge the master from github into your local one | 17:03 |
|
| no one pushed anything to master, so it was already up to date | 17:03 |
|
| you should maybe reset --hard HEAD~1 the merge away | 17:03 |
|
| (note that this will nuke away uncommitted changes too) | 17:03 |
| → GNUcifer joined | 17:04 |
|
cbreak
| it will remove the topmost commit | 17:04 |
| ← _Vi left | 17:06 |
| ← Parhs8 left | 17:06 |
| → Parhs joined | 17:06 |
| → _Vi joined | 17:07 |
|
nyxx
| ok fixed it... thanks! | 17:08 |
|
| when I clone a repo, is it possible to also have all the branches created? | 17:08 |
|
cbreak
| you have tracking branches for all of them | 17:09 |
|
| git will create local branches if you try to check out a tracking branch's basename | 17:09 |
|
| with newer git | 17:09 |
| → oriba joined | 17:09 |
|
cbreak
| (if git checkout feature worked, then all should be well. if you are on a detached HEAD, ask again) | 17:09 |
|
nyxx
| i did git checkout -b feature origin/feature and it seems to work | 17:10 |
| ← arietis left | 17:10 |
|
cbreak
| that's what you have to do with older git | 17:10 |
|
| if you add -t, it'll also track upstream | 17:10 |
| ← Chappo left | 17:10 |
|
nyxx
| im not familiar with the term tracking | 17:10 |
| → Chappo joined | 17:10 |
|
nyxx
| im on git version 1.7.9 | 17:11 |
| → arietis joined | 17:11 |
|
nyxx
| Can I use git to update git? | 17:13 |
|
AlecTaylor
| How do I revert the last commit? | 17:14 |
|
nyxx
| I tried following http://johnreilly.tumblr.com/post/40076200/update-git-using-git, but I cant find the directory src/vendor/git | 17:14 |
| → afuentes joined | 17:14 |
| ← drizzd_ left | 17:15 |
| → ology joined | 17:17 |
| ← Chib left | 17:17 |
|
CareBear\
| AlecTaylor : git revert HEAD | 17:17 |
|
| AlecTaylor : but maybe you want to use some of the other git features | 17:18 |
|
| AlecTaylor : why do you want to revert? | 17:18 |
| ← GNUcifer left | 17:18 |
| → shreya joined | 17:20 |
| → ehsan joined | 17:20 |
| ← cybersphinx left | 17:21 |
| ← Onkeltem left | 17:21 |
| ← ehsan left | 17:22 |
| → dv310p3r joined | 17:24 |
| → shruggar joined | 17:25 |
| ← simesy left | 17:25 |
| → thirdknife joined | 17:25 |
| ← thirdknife left | 17:26 |
|
cbreak
| AlecTaylor: are you dumb? | 17:26 |
|
| nyxx: you can update git via git if you compile git yourself | 17:26 |
|
| AlecTaylor: you've been told by three different people how to do it and you still keep asking. | 17:27 |
|
| maybe you should actually read the answers instead of spamming around like a brainless script. | 17:27 |
| ← wbs left | 17:28 |
| ← Parhs left | 17:30 |
| ← letharion left | 17:32 |
| → vasanth joined | 17:32 |
| ← vasanth left | 17:33 |
| → tshauck joined | 17:33 |
| ← centipedefarmer left | 17:34 |
| ← cagedwisdom left | 17:34 |
| ← Chappo left | 17:35 |
| → Chappo joined | 17:36 |
| → macIvy joined | 17:36 |
| → Parhs joined | 17:36 |
| → letharion joined | 17:40 |
|
CareBear\
| sorry for not spotting the troll | 17:42 |
| → pppaul joined | 17:50 |
| → skyf joined | 17:53 |
| → iwoj joined | 17:53 |
| ← iwoj left | 17:53 |
| ← RaceCondition left | 17:54 |
| ← j416 left | 17:54 |
| → j416 joined | 17:55 |
| → subhojit777 joined | 17:55 |
| → Araxia joined | 17:56 |
| ← iori left | 17:57 |
| → darren joined | 17:57 |
| → aspotashev| joined | 17:57 |
| ← aspotashev left | 17:58 |
| → BadDesign joined | 18:00 |
| → cesc joined | 18:00 |
| → reds joined | 18:02 |
| ← darren left | 18:02 |
| reds → Guest71442 | 18:02 |
| → babilen joined | 18:03 |
| → pngl joined | 18:03 |
| → nor5trom joined | 18:04 |
| → pantsman joined | 18:05 |
| ← pantsman left | 18:05 |
| → pantsman joined | 18:05 |
| ← Guest71442 left | 18:06 |
| ← _Vi left | 18:06 |
| → Transcended_ joined | 18:07 |
| → v0n joined | 18:07 |
| → _Vi joined | 18:07 |
| → maletor joined | 18:08 |
| ← yoklov left | 18:08 |
| ← Jackarain left | 18:08 |
| stillLotR → LotR | 18:09 |
| ← Transcended left | 18:10 |
| ← fission6 left | 18:10 |
|
v0n
| hi | 18:13 |
|
| git log --stat doesn't add an entry for empty new files | 18:13 |
|
| is there a way to display it? | 18:13 |
| ← Transcended_ left | 18:15 |
| ← subhojit777 left | 18:16 |
|
wereHamster
| nyxx: you can't find src/vendor/git because it's the directory where the author has the git source checked out. If you haven't done that, you first have to clone the git repo | 18:16 |
| → tureba joined | 18:16 |
| ← reactormonk left | 18:17 |
| ← skyf left | 18:17 |
| ← subbyyy left | 18:19 |
| → subbyyy joined | 18:19 |
| ← subbyyy left | 18:19 |
| → iwoj joined | 18:20 |
| → subbyyy joined | 18:20 |
| ← aspotashev| left | 18:21 |
| ← esa left | 18:21 |
| → gigamonkey joined | 18:24 |
| ← iwoj left | 18:24 |
| → darren joined | 18:24 |
| → skyf joined | 18:25 |
| → snearch joined | 18:27 |
| → TeamESA joined | 18:27 |
| → simon joined | 18:28 |
| → subhojit777 joined | 18:29 |
| → Davey joined | 18:29 |
| ← dr_lepper left | 18:31 |
| → TheJH joined | 18:33 |
|
mh`
| v0n: add --summary | 18:33 |
|
| you'll get some extra info there, but that's one way to do it that i can think of | 18:33 |
|
v0n
| mh`, yeah I've just seen that. There's also --numstat which might be useful | 18:33 |
| → iwoj joined | 18:34 |
|
mh`
| if you want to normalize the output of them, and you dont actually need the line counts from stat | 18:34 |
|
| you can do --stat --summary --name-status | 18:34 |
| ← AlecTaylor left | 18:35 |
| ← iwoj left | 18:35 |
| → simesy joined | 18:36 |
| → davetoo joined | 18:38 |
|
davetoo
| ok my brain/git-fu is not working. on my workstation I have succeeded in deleting a local tracking branch, and the remote (on github)... but on the other clients where I've cloned from github, I can't figure out how to get rid of the reference to the now-empty/gone remote branch | 18:40 |
|
mh`
| v0n: ah yeah, numstat looks best if you're trying to parse | 18:40 |
| ← simesy left | 18:40 |
|
mh`
| (combined with some other options for parse-ability) | 18:40 |
|
| davetoo: git remote prune | 18:40 |
| → FatDarrel joined | 18:40 |
|
mh`
| if i'm understanding your question correctly | 18:40 |
| ← skyf left | 18:41 |
|
davetoo
| mh: I think you're right | 18:41 |
|
mh`
| "Deletes all stale remote-tracking branches under <name>." | 18:41 |
|
| can add --dry-run to be safe | 18:41 |
|
| that's a noop | 18:41 |
|
davetoo
| yep, | 18:42 |
|
| -n is my friend :) | 18:42 |
|
mh`
| fwiw i usually do git remote update --prune | 18:42 |
|
davetoo
| and ... reveals that "you are correct, sir!" | 18:42 |
| → aspotashev| joined | 18:42 |
|
mh`
| probably not a good idea on shared repos :) | 18:42 |
|
davetoo
| thanks; I've used this before but those brain cells are gone, I guess | 18:42 |
|
mh`
| haha, no worries, most of mine are too | 18:42 |
|
v0n
| mh`, --name-status is nice too! Thanks | 18:43 |
|
mh`
| v0n: np | 18:43 |
|
davetoo
| indeed it is; I need more aliases | 18:43 |
| → adamm joined | 18:43 |
|
v0n
| that's actually for machine parsing so I'll check which is best | 18:43 |
| ← FatDarrel left | 18:43 |
| ← aspotashev| left | 18:43 |
| ← maletor left | 18:45 |
| → skyf joined | 18:45 |
| → rath joined | 18:46 |
| ← sh0ne left | 18:47 |
| → aspotashev| joined | 18:47 |
| → FatDarrel joined | 18:47 |
| ← tshauck left | 18:47 |
| → maletor joined | 18:47 |
| → lmayorga joined | 18:48 |
| → skorgon joined | 18:48 |
| ← aspotashev| left | 18:52 |
| ← skyf left | 18:53 |
| ← Chappo left | 18:53 |
| → Gitzilla joined | 18:54 |
| ← cakehero left | 18:56 |
| → hostilefork joined | 18:56 |
| ← lmayorga left | 18:57 |
| ← macIvy left | 18:57 |
| → jobin joined | 18:57 |
| → AaronMT joined | 18:58 |
| ← specialGuest left | 18:58 |
| ← skorgon left | 18:59 |
| jobin → joey77 | 18:59 |
| → Psycho_pr1 joined | 18:59 |
| ← hostilefork left | 19:00 |
| ← Psycho_pr left | 19:00 |
| → hostilefork joined | 19:01 |
| ← hostilefork left | 19:02 |
| ← fayimora left | 19:02 |
|
v0n
| it's strange that --shortstat or --summary have no effect with --names-only | 19:03 |
|
| --name-status* | 19:04 |
|
cbreak
| maybe because of the -only part :) | 19:04 |
| ← tureba left | 19:04 |
| → hostilefork joined | 19:04 |
|
hostilefork
| Hello room… I am having my first experience merging someone else's changes with Git (as opposed to just cloning/pushing my own in a trivial way!) | 19:05 |
| ← FatDarrel left | 19:06 |
| → tureba joined | 19:06 |
|
hostilefork
| I'm a little confused, though. I'm sure this is a relatively simple question: but why is it that after I pull and get someone's changes, it shows those files as being "staged" in my branch…even when I didn't touch the files at all? | 19:06 |
|
| It's as if Git wants to have the same files checked in for more than one patch set. Or am I just seeing something that it's going to sort out when I push my own commit? | 19:08 |
|
cbreak
| what's a patch set? | 19:09 |
| ← rath left | 19:09 |
|
cbreak
| if you merge other people's changes, git will create a merge commit, or fast forward | 19:10 |
|
| if there's a conflict, git will tell you that there's one and you have to resolve it and then git add and git commit | 19:10 |
|
hostilefork
| Yup that part I get. Those show up as "files in the working tree" | 19:10 |
|
| ( I'm using SourceTree: http://www.sourcetreeapp.com/ ) | 19:10 |
|
| In the window for "files staged in the index" it has (for instance) files that this other person added to the project that I've never touched | 19:11 |
|
| I'm just worried that when I do my commit it will be like those files are being…checked in again? | 19:11 |
|
CareBear\
| maybe sourcetree support can help you? | 19:12 |
|
| I think we primarily know git tools | 19:12 |
| → program247365 joined | 19:12 |
| → rtjure joined | 19:13 |
|
hostilefork
| Well, all source tree appears to be doing is showing the output of "git status" with some icons | 19:13 |
|
| But I did a pull, and then it's showing "new file" etc from this other person's changes. | 19:14 |
| → fayimora joined | 19:14 |
| → skorgon joined | 19:14 |
|
hostilefork
| If after I commit and push, I don't want my checkin to appear to have been the one that added those files. | 19:14 |
| → irqq joined | 19:14 |
| → specialGuest joined | 19:15 |
|
hostilefork
| I'm just wondering if this is just the nature of how git works under the hood, that I can just trust it will realize what's going on. | 19:15 |
| ← specialGuest left | 19:15 |
| → specialGuest joined | 19:15 |
| ← program247365 left | 19:16 |
| → pxdr joined | 19:17 |
|
pxdr
| whois cmn | 19:18 |
| ← arturaz_ left | 19:18 |
|
cmn
| me | 19:18 |
| ← palm_vue left | 19:20 |
| ← bizhanMona left | 19:20 |
| ← Lgb left | 19:20 |
| → Lgb joined | 19:20 |
| → palm_vue joined | 19:20 |
| → bizhanMona joined | 19:21 |
| ← subhojit777 left | 19:21 |
| ← pngl left | 19:27 |
| ← pcapriot` left | 19:27 |
| ← pxdr left | 19:29 |
|
gigamonkey
| Say I've got a branch that I've done a push --force from one machine to a central repo. Now I want to pull it to another machine and just take the version from the central repo. What's the right way to do that? | 19:29 |
|
| (I'm the only person using this branch, which is why it seems okay to do the push --force in the first place.) | 19:30 |
| → rohan32 joined | 19:30 |
| → dfr|mac joined | 19:31 |
|
rohan32
| hey, im working with the repo tool in conjunction with git, and whenever i repo sync it discards the commits i've cherry picked. is there any way to keep the cherry picks and make them not affected by a repo sync? | 19:31 |
| ← davetoo left | 19:31 |
|
wereHamster
| rohan32: ask the people who wrote that tool | 19:32 |
| ← jrdnn left | 19:32 |
|
rohan32
| wereHamster, it is Google :D just wondering if any one else works with the tool (for Android) and knows of a solution | 19:33 |
| → jey joined | 19:34 |
|
gigamonkey
| Hmmm. It seems like git reset --hard origin/mybranch does the trick. I guess that makes sense. | 19:37 |
| → Kyzz joined | 19:39 |
| ← joey77 left | 19:39 |
| → axl_ joined | 19:39 |
| → converge joined | 19:39 |
| ← ReekenX left | 19:41 |
| ← snearch left | 19:41 |
| → aspotashev| joined | 19:41 |
| → joey77 joined | 19:41 |
| → snearch joined | 19:41 |
| ← hostilefork left | 19:41 |
| → bubbles10101 joined | 19:41 |
| → RaceCondition joined | 19:42 |
| ← Goplat left | 19:42 |
| → nyx joined | 19:43 |
| → w41__ joined | 19:43 |
| ← snearch left | 19:43 |
| → jrdnn joined | 19:43 |
| ← axl_ left | 19:44 |
| ← nyxx left | 19:44 |
| ← w41_ left | 19:46 |
| → yoklov joined | 19:46 |
| → chrisgeorge joined | 19:46 |
| → kewah joined | 19:47 |
| ← w41__ left | 19:47 |
| → FernandoBasso joined | 19:48 |
| → AmirBehzad joined | 19:50 |
| ← yoklov left | 19:50 |
| → theCole joined | 19:51 |
| ← AmirBehzad left | 19:52 |
| → FatDarrel joined | 19:52 |
| ← ISF left | 19:53 |
| → yoklov joined | 19:53 |
| ← simon left | 19:54 |
| ← chrisgeorge left | 19:54 |
| → ISF joined | 19:54 |
| ← yoklov left | 19:54 |
| → yoklov joined | 19:55 |
| ← ISF left | 19:57 |
| ← tnzr left | 19:58 |
| → tnzr joined | 19:58 |
| → eph3meral joined | 19:58 |
|
eph3meral
| how can I git add --patch but without interactive mode? | 19:58 |
|
EugeneKay
| rohan32 - no, `repo` sucks. Sorry. Bitch to Google :-p | 19:59 |
|
eph3meral
| like, can I choose specifically, which patch to add, using the command line | 19:59 |
|
| given that, for example, I know the line numbers or data in the diff? | 19:59 |
|
| gitg seems to do this | 19:59 |
|
| emacs's magit seems to do this | 19:59 |
| ← aspotashev| left | 20:00 |
| ← yoklov left | 20:00 |
| → nizeguy joined | 20:02 |
| → reds joined | 20:02 |
| ← KeepSake left | 20:03 |
| reds → Guest95838 | 20:03 |
| ← nizeguy left | 20:03 |
| → aspotashev| joined | 20:04 |
| → jceb joined | 20:04 |
| ← oakdog8 left | 20:04 |
| → _oakdog8 joined | 20:04 |
| → cybersphinx joined | 20:05 |
| → an0maly_ joined | 20:05 |
| ← _oakdog8 left | 20:07 |
| → oakdog8 joined | 20:07 |
| ← Guest95838 left | 20:07 |
|
cmn
| eph3meral: interactive add, if you want to go directly to the patch part use -p | 20:08 |
| ← oakdog8 left | 20:08 |
| ← flippo left | 20:08 |
|
mh`
| he's saying he wants to provide specific line ranges from the command line, instead of interactively adding hunks | 20:08 |
|
| (i think) | 20:08 |
|
eph3meral
| cmn, i don't think you've understood my question, -p and --patch are the same, I understand | 20:08 |
|
| i don't want any interactivity | 20:08 |
|
| --patch just bypasses the menu during --interactive and goes straight to --patch mode | 20:08 |
|
| where it asks me about every change | 20:09 |
|
cmn
| ah, that line was above the cut | 20:09 |
|
eph3meral
| i don't want it to ask me about every change, i want to just be able to tell it which hunk to use | 20:09 |
|
cmn
| if you want to do that, then you'll need to program it | 20:09 |
|
mh`
| which hunk or which arbitrary lines? | 20:09 |
|
| those are two separate goals | 20:09 |
| ← RaceCondition left | 20:09 |
|
eph3meral
| mh_le, um... hunk I think | 20:09 |
|
| whatever gitg does | 20:09 |
| ← CpuID3 left | 20:09 |
|
eph3meral
| not sure if you guys have used it, but it's got a nice little 'commit' tab where I can cherry pick parts of my files to stage | 20:10 |
| ← jrdnn left | 20:10 |
|
cmn
| how are you meant to know which hunk to stage if there is no way to ask you, though? | 20:10 |
|
eph3meral
| i don't need to be prompted in order for every one, i just click on the one I want and it goes in | 20:10 |
|
| cmn, I have the output of git diff open in a different terminal | 20:10 |
|
cmn
| then you don't want anything from git | 20:10 |
|
| having a diff somewhere else doesn't mean much | 20:11 |
|
eph3meral
| cmn, the point is that I want to write a plugin for my editor, to do what gitg does | 20:11 |
|
cmn
| git runs as a single process without context from whatever diff you ran before | 20:11 |
|
eph3meral
| where I can point and click on a single bit of change in a single file | 20:11 |
|
| and stage just that change | 20:11 |
| → RaceCondition joined | 20:11 |
|
cmn
| gitg probably re-implements it itself | 20:11 |
|
eph3meral
| ahh | 20:12 |
|
| so there's no command line way to do this then? by default anyway? | 20:12 |
| → LekeFly joined | 20:13 |
| ← v0n left | 20:13 |
| → pxdr joined | 20:13 |
|
Element9
| I found a nice fork & pull workflow explanation for github: https://github.com/diaspora/diaspora/wiki/Git-Workflow But I don't understand what's 8th step for (fetching the upstream). What's that for? | 20:13 |
|
cmn
| the only way would be to show you the whole thing first, assume that absolutely nothing changes and then let you copy some magic number | 20:14 |
|
| and that's not something that makes sense as UI | 20:14 |
| ← segher left | 20:14 |
| → jkremser joined | 20:15 |
| ← sq-one left | 20:15 |
| ← gigamonkey left | 20:15 |
| → segher joined | 20:16 |
| → lupo7 joined | 20:16 |
| ← aspotashev| left | 20:17 |
| ← theCole left | 20:17 |
| ← lottadot left | 20:18 |
|
eph3meral
| cmn, gitg makes plenty of sense as a UI | 20:23 |
| → Rajesh joined | 20:23 |
|
eph3meral
| cmn, i don't and it's nothing like what you described | 20:23 |
| → aspotashev| joined | 20:23 |
|
eph3meral
| nor would be my plugin | 20:23 |
|
cmn
| because I'm not describing either gitg or your plugin | 20:23 |
|
eph3meral
| ah, ok :) | 20:23 |
| Rajesh → Guest94817 | 20:23 |
|
cmn
| you asked about git | 20:24 |
|
mh`
| there are a number of decent libraries - high(er)-level bindings for libgit, and otherwise - in various scripting languages | 20:24 |
|
eph3meral
| well i think it makes perfect sense, it's just an advanced feature "use at your own risk" basically, i mean yes of course you would assume that nothing changes between the time you last looked at your OWN diff, and the time you ran the command to stage a single hunk - because that same problem exists with gitg, hence why there's a refresh command | 20:25 |
|
mh`
| if it's something you want to do programmatically it probably would not be hard to make something that would suit your needs form ost cases | 20:25 |
|
eph3meral
| a feature like this on CLI would just basically mean that you'd need to keep track of changes yourself, but it would be nice/useful for automation IMO | 20:25 |
| ← rehat left | 20:25 |
|
mh`
| eph3meral: i don't disagree, just saying how you could accomplish this :) | 20:26 |
|
eph3meral
| I wonder how gitg accomplishes it, because git status on CLI definitely knows that only part of the file has been staged | 20:27 |
|
| like, i have the same file name listed under both staged and undstaged changes | 20:27 |
|
mh`
| that's totally possible, it's the selection process that's hard | 20:27 |
| ← FatDarrel left | 20:27 |
| ← AaronMT left | 20:27 |
|
mh`
| try it yourself: change two non-contiguous parts of a file, do git add -p, hit yes to the first and no to the 2nd | 20:27 |
|
| now do git status | 20:27 |
|
| and git diff --cached | 20:28 |
| ← milian left | 20:28 |
|
mh`
| then do git reset (to unstage those changes) | 20:28 |
|
| do add -p again, but on the first one hit 'e' for edit | 20:28 |
|
| and now you're editing the patch | 20:28 |
|
| as you can see, you can stage any arbitrary thing (for better or worse) | 20:28 |
|
| interactive mode stops you from staging a hunk that doesn't apply properly | 20:28 |
| → Chappo joined | 20:29 |
| → rtjure_ joined | 20:29 |
| → avpx joined | 20:31 |
|
eph3meral
| yes, ok I still don't believe I will be in danger of suffering from this problem of having hunks not apply properly | 20:31 |
| ← aspotashev| left | 20:31 |
|
eph3meral
| because, I don't anticipate my files changing while I'm not changing them | 20:31 |
|
| and if I'm perusing through diffs, I'm not changing my files | 20:31 |
|
| but that is a nice feature | 20:31 |
| ← rtjure left | 20:31 |
|
mh`
| no, it's not that | 20:31 |
| → specialGuest1 joined | 20:32 |
|
mh`
| i think that's where the disconnect is from what you guys were discussing before | 20:32 |
|
| are you familiar with how patch(1) works? | 20:32 |
|
eph3meral
| ok | 20:32 |
|
mh`
| with regards to context | 20:32 |
|
eph3meral
| er, probably not - I mean I know what a patch is, basically, I know what a diff is basically, I'm not super familiar with manually creating or using either one | 20:32 |
|
| i've run patch -p0 < foo.patch like a handful of times in my life | 20:32 |
|
mh`
| haha :) | 20:32 |
| → anonymuse joined | 20:33 |
| ← anonymuse left | 20:33 |
|
mh`
| k so patches that use "unified" diffs, instead of just specifying exact line numbers and adding/removing those, provide contextual lines around the ones you changed | 20:33 |
|
| that way if the file changes you still have a chance of applying the patch | 20:33 |
|
| (and it going to the right place) | 20:33 |
|
| so the way you could make a hunk that won't apply is by doing something that causes it to not be able to make sense of the context | 20:34 |
| ← bubbles10101 left | 20:34 |
|
mh`
| which there are several ways to do, but it's not hard | 20:34 |
|
| so that's how you could end up with a hunk that "doesn't apply", if you use this type of patching method | 20:34 |
| ← specialGuest left | 20:34 |
|
mh`
| by staging a diff that didn't bring in sufficient (or usable) context | 20:34 |
| → arand joined | 20:35 |
|
mh`
| eph3meral: take a look at this- http://nuclearsquid.com/writings/git-add/ ctrl-f down to the paragraph that begins with "Manually editing the hunk" | 20:36 |
| ← specialGuest1 left | 20:37 |
|
arand
| is it possible to get a diff --stat listing only whole-file add/removals? (both binary and text) | 20:37 |
|
eph3meral
| mh yes I understand editing | 20:37 |
|
| i did it just now as you suggested | 20:37 |
|
mh`
| arand: --diff-filter i think? | 20:37 |
|
eph3meral
| er, a little bevore this | 20:37 |
|
mh`
| A and R are add/remove respectively | 20:37 |
|
| eph3meral: yeah i was pointing you to the paragraph about the troubles of cleanly applyable hunks | 20:38 |
|
| anyway, eph3meral | 20:38 |
|
| for your case specifically | 20:38 |
|
eph3meral
| ahh | 20:38 |
| → bubbles10101 joined | 20:38 |
|
arand
| mh`: Ah, thanks :) | 20:39 |
| ← dfr|mac left | 20:39 |
|
mh`
| if you can be sure the source file doesn't change (you're only using this to stage changes, not generate patches).. it's probably possible to create very specific patches | 20:39 |
|
| eph3meral: for that matter, have you just looked at the source of gitk or git-cola or etc to see how they do it? | 20:39 |
| → centipedefarmer joined | 20:39 |
|
eph3meral
| mh`, nope, not yet | 20:39 |
|
mh`
| what language is your editor in? | 20:39 |
|
| the one you're building the plugin for | 20:40 |
|
| or what language is your plugin in, i guess is a more appropriate question | 20:40 |
|
eph3meral
| i honestly don't feel like spending much more time on this at the moment, I have, for the moment decided to basically give up :) | 20:40 |
|
| mh`, vimscript | 20:40 |
|
mh`
| that's no fun | 20:40 |
| → d3vic3 joined | 20:40 |
|
mh`
| oh | 20:40 |
| → aspotashev| joined | 20:40 |
|
mh`
| now i understand giving up! :) | 20:40 |
|
eph3meral
| mh`, well part of the problem, is that TPope can't code for shit | 20:40 |
|
mh`
| oh, you're using that | 20:40 |
|
eph3meral
| well, i was going to add to it, the couple of features that I wanted | 20:40 |
|
mh`
| fugitive, i assume? | 20:40 |
|
eph3meral
| yep | 20:41 |
|
mh`
| heh | 20:41 |
|
| my dotfiles have a fork of that | 20:41 |
|
| its the only vim plugin i forked | 20:41 |
|
| out of like 30 | 20:41 |
| → specialGuest joined | 20:41 |
|
mh`
| just to fix bugs | 20:41 |
|
eph3meral
| haha, his code is soooo fucking ugly i can't stand it | 20:41 |
| ← Davey left | 20:41 |
|
mh`
| i don't know vimscript though, so haven't contributed back.. they were just glaringly obvious | 20:41 |
|
eph3meral
| zero comments, fuck all for whitespace | 20:41 |
| ← lcc left | 20:41 |
|
mh`
| gimme a sec, im looking at git-cola to see how they do it | 20:42 |
|
eph3meral
| anyway, I'm actually going to use emacs for git stuff :P | 20:42 |
|
| the emacs git plugin is pretty awesome - I was hoping it would be doable within a day to add similar functionality to fugitive, but hell no | 20:42 |
|
| my only real complaint about the emacs plugin is that it's slow as fuck | 20:43 |
|
| well, that's not a complaint about the plugin, that's actually just a complaint about emacs, but as a side effect, the plugin is slow as fuck also | 20:43 |
| → lcc joined | 20:43 |
| petteyg_ → petteyg | 20:43 |
| ← cybersphinx left | 20:44 |
| ← aspotashev| left | 20:44 |
|
eph3meral
| quite honestly, all i really want is for gitg to handle my stashes | 20:45 |
|
| so I can delete and apply them | 20:45 |
|
mh`
| https://github.com/git-cola/git-cola/blob/master/cola/cmds.py#L140 | 20:45 |
|
eph3meral
| that's all | 20:45 |
| → cybersphinx joined | 20:45 |
| → fission6 joined | 20:45 |
|
eph3meral
| or something, to easily handle my stashes | 20:45 |
|
| i don't really care that much about integrating vim with git, cuz gitg works basically fine | 20:45 |
|
mh`
| i just use git stash.. | 20:46 |
|
eph3meral
| yeah but it's a huge pain to copy paste the stash hash no? | 20:46 |
|
mh`
| copy paste it to where? | 20:46 |
|
eph3meral
| to operate on a stash | 20:46 |
|
mh`
| they have names, optionally | 20:46 |
|
eph3meral
| mh` are you aware that you have multiple stashes? | 20:46 |
|
| ahh, i don't usually name mine | 20:46 |
|
mh`
| yes, of course | 20:46 |
|
eph3meral
| i just git stash | 20:46 |
|
mh`
| git stash save somename | 20:47 |
|
| git stash list | 20:47 |
|
| git stash pop stashname | 20:47 |
|
| etc | 20:47 |
| ← darren left | 20:48 |
|
mh`
| if you have tab completion its trivial | 20:48 |
|
| just name it, then in stash list you'll see it | 20:48 |
| → ries joined | 20:48 |
|
mh`
| then git stash pop <tab> | 20:48 |
|
ries
| Hello! How do I 'undo' a commit? | 20:48 |
|
eph3meral
| mh`, oh, hmm, ok that's easy enough, and to delete? | 20:48 |
|
mh`
| 'drop' | 20:49 |
|
eph3meral
| ok, thanks | 20:49 |
|
mh`
| man git stash | 20:49 |
|
gitinfo
| the git-stash manpage is available at http://git-scm.com/docs/git-stash.html | 20:49 |
|
mh`
| its one of the few manpages thats simple :P | 20:49 |
| ← _iron left | 20:49 |
|
eph3meral
| cool thanks | 20:49 |
|
mh`
| np | 20:49 |
|
| Element9: the upstream thing is so you can pull in changes that have occurred in the upstream | 20:50 |
|
| since you forked it | 20:50 |
|
Element9
| mh`: why do I need to fetch. couldn't I just pull? | 20:51 |
|
mh`
| Element9: fetch downloads, pull merges/applies/what-have-you | 20:52 |
|
eph3meral
| oh, fugg... lol I can do this from within gitg already anyway :) | 20:52 |
|
mh`
| downloads into the index | 20:52 |
| → jmcantrell joined | 20:52 |
|
mh`
| but in their howto there, they are rebasing, not pulling | 20:53 |
|
| so that's why | 20:53 |
|
| fetch downloads it into the local repo's index, without affecting your working tree | 20:53 |
|
Element9
| mh`: could they have just skipped the fetching step? pull would fetch, would it? | 20:55 |
|
eph3meral
| hah, ok well, all this time, ... now I can scratch this off the list :) | 20:55 |
| ← longbeach left | 20:55 |
| → cwang joined | 20:56 |
|
mh`
| Element9: it would, but then it would also do the pull part :) they are rebase'ing, which is not the same | 20:56 |
|
| they link to an explanation- https://github.com/diaspora/diaspora/wiki/Git-Workflow#wiki-gitrebase1 | 20:56 |
| ← specialGuest left | 20:57 |
| → specialGuest joined | 20:57 |
| ← whitman left | 20:58 |
| → dr_lepper joined | 20:59 |
| ← chuckf left | 20:59 |
|
Element9
| but they do pull in step 9 :) ah man, seems like I'm really missing something here | 20:59 |
| ← varg left | 21:00 |
|
mh`
| step 9? | 21:00 |
|
| oh | 21:00 |
|
| i see | 21:00 |
| ← rtjure_ left | 21:00 |
| ← shreya left | 21:00 |
|
mh`
| yeah, you are missing something :) | 21:00 |
|
| you're working on your own feature branch that you created in step 5 | 21:00 |
|
| and thats what you're rebasing (off of master) | 21:01 |
|
| when they do the pull | 21:01 |
|
| they switched branches back to master first | 21:01 |
|
| see it now? | 21:01 |
| → carloshh joined | 21:01 |
| ← eph3meral left | 21:01 |
| ← lcc left | 21:01 |
|
Element9
| yes, but pull will do fetch... which is for all branches, isn't it? | 21:02 |
|
mh`
| fetch downloads them but it doesn't apply it to your working tree | 21:03 |
| → oakdog8 joined | 21:04 |
| → Davey joined | 21:04 |
|
mh`
| (it just updates what's inside the .git dir) | 21:04 |
| ← cantoma left | 21:05 |
| ← d3vic3 left | 21:05 |
|
mh`
| pull brings in those new changes (merging) to your working tree (your actual files in your local repo) | 21:05 |
|
Element9
| so is the step redundant then as pull will do the fetch too? | 21:05 |
|
mh`
| i'm not sure if pull, by default, will fetch all the branches | 21:07 |
|
| but if master was the only branch of concern then yes it would be redundant in some sense | 21:07 |
|
| however... it's a good habit to get into (separating fetch/pull), which is probably why they are doing it here | 21:07 |
|
| there are many times where it's what you'd want to do | 21:07 |
| ← _Vi left | 21:07 |
| → chrisdev joined | 21:07 |
|
mh`
| s/many/most | 21:07 |
| → _Vi joined | 21:08 |
| → linoj joined | 21:09 |
|
Element9
| that's what I wanted to know. thanks for the help! :) | 21:09 |
|
mh`
| np! | 21:09 |
| ← dv310p3r left | 21:11 |
| → _oakdog8 joined | 21:12 |
| → kcj joined | 21:12 |
| ← BadDesign left | 21:12 |
| ← skorgon left | 21:13 |
| → oakdog joined | 21:13 |
| → FatDarrel joined | 21:13 |
| ← oakdog8 left | 21:14 |
| ← FatDarrel left | 21:14 |
| ← Araxia left | 21:15 |
| ← pppaul left | 21:16 |
| ← _oakdog8 left | 21:17 |
| ← oakdog left | 21:17 |
| → oakdog joined | 21:17 |
| ← carloshh left | 21:17 |
| oakdog → oakdog8 | 21:17 |
| → pppaul joined | 21:18 |
| → tshauck joined | 21:19 |
| ← timthelion left | 21:19 |
| → rehat joined | 21:19 |
| → dougmencken joined | 21:23 |
|
dougmencken
| hi guys; dev asked me about "git format patches are very easy to apply for me", but: | 21:24 |
|
| git: 'format' is not a git command. See 'git --help'. | 21:24 |
|
thiago
| format-patch | 21:24 |
|
dougmencken
| I'm using git diff, and he is not satisfied | 21:24 |
|
| thiago: git format-patch? | 21:24 |
|
| trying it | 21:24 |
|
| git format-patch prints nothing | 21:25 |
|
thiago
| give it some arguments | 21:25 |
|
dougmencken
| does it have man page? | 21:25 |
|
thiago
| yes | 21:27 |
|
mh`
| did you try man git format-patch | 21:27 |
|
gitinfo
| the git-format-patch manpage is available at http://git-scm.com/docs/git-format-patch.html | 21:27 |
| → r0bby_ joined | 21:27 |
| ← Internet13 left | 21:27 |
| ← ahayweh left | 21:28 |
|
dougmencken
| thanks guys! | 21:28 |
| ← robbyoconnor left | 21:29 |
|
dougmencken
| see you | 21:29 |
| ← dougmencken left | 21:29 |
| → flippo joined | 21:29 |
| → robbyoconnor joined | 21:30 |
| ← jey left | 21:31 |
| ← Guest94817 left | 21:31 |
| ← jkremser left | 21:31 |
| ← r0bby_ left | 21:31 |
| ← tshauck left | 21:32 |
| ← linoj left | 21:33 |
| → pngl joined | 21:33 |
| → jey joined | 21:37 |
| ← pppaul left | 21:37 |
| → pototo joined | 21:39 |
| → w41_ joined | 21:39 |
| ← jceb left | 21:40 |
| ← joey77 left | 21:41 |
| → Internet13 joined | 21:45 |
| ← jey left | 21:46 |
| ← dzonder left | 21:48 |
| ← afuentes left | 21:50 |
| ← lupo7 left | 21:51 |
| ← optixx left | 21:51 |
| ← nifty_ left | 21:55 |
| → Araxia joined | 21:56 |
| → jey joined | 21:56 |
| → reactormonk joined | 21:56 |
| → davidbanham joined | 21:56 |
| → Speed joined | 21:57 |
| ← Speed left | 21:57 |
| → Speed joined | 21:57 |
| ← davidbanham left | 21:57 |
| → psoo joined | 21:58 |
| → alanp_ joined | 22:01 |
| → reds joined | 22:03 |
| reds → Guest8171 | 22:03 |
| ← irqq left | 22:04 |
| ← alanp left | 22:05 |
| → milian joined | 22:05 |
| ← j416 left | 22:07 |
| ← Guest8171 left | 22:07 |
| ← jey left | 22:07 |
| ← _Vi left | 22:08 |
| → Tommy[D]_ joined | 22:08 |
| → mizu_no_oto_ joined | 22:08 |
| → btree joined | 22:08 |
| → _Vi joined | 22:09 |
| ← Tommy[D] left | 22:11 |
| → tshauck joined | 22:11 |
| ← fayimora left | 22:11 |
| ← NimeshNeema left | 22:11 |
| ← TheJH left | 22:11 |
|
fission6
| if i do git merge somebranch, how do i undo the whole git merge | 22:11 |
|
| or do i have to revert each indivudal commit | 22:11 |
| → obiwahn joined | 22:11 |
| → i7c joined | 22:12 |
| → canapp joined | 22:12 |
| → TheJH joined | 22:12 |
|
thiago
| fission6: have you pushed the merge somewhere? | 22:13 |
|
fission6
| yes, to origin | 22:13 |
|
| but i know now one else has pulled the changes | 22:13 |
| → NimeshNeema_ joined | 22:13 |
| → Fretta joined | 22:13 |
|
fission6
| thiago: ? | 22:16 |
| ← giallu left | 22:17 |
| ← noyb left | 22:19 |
| ← TheJH left | 22:19 |
| ← Sonderblade left | 22:20 |
| ← Tommy[D]_ left | 22:21 |
| ← nor5trom left | 22:22 |
| → Tommy[D] joined | 22:22 |
|
erynofwales
| fission6: you could just reset to the commit before the merge, unless it's a fast-forward, then it might be slightly more complicated because you have to move both the current branch and some branch back to their previous commits. | 22:24 |
| → nor5trom joined | 22:24 |
| ← pelao left | 22:25 |
|
erynofwales
| some branch = somebranch | 22:25 |
|
fission6
| what do you mean by the last line | 22:25 |
| → nifty_ joined | 22:25 |
| ← tjadc left | 22:26 |
|
erynofwales
| which part? | 22:26 |
|
fission6
| unless its a fast forward | 22:26 |
| → Sebo joined | 22:26 |
|
fission6
| it has several commits, the merge, because there were no conflicts | 22:26 |
| → ku joined | 22:26 |
|
ku
| How badly would Git perform with a bunch (say 100) 500MB (approx) files with dozens of changes each? | 22:27 |
| ← Chappo left | 22:27 |
|
FauxFaux
| ku: Poorly. !big | 22:27 |
|
gitinfo
| ku: [!large_files] Git isn't yet great at large files(larger than RAM). Look at !annex for solutions. You can find them (after gc) with: git verify-pack -v .git/objects/pack/pack-*.idx | grep blob | sort -k3nr | head | while read s x b x; do git rev-list --all --objects | grep $s | awk '{print "'"$b"'",$0;}'; done | 22:27 |
| → Chappo joined | 22:28 |
| tizzo-afk → tizzo | 22:29 |
|
ku
| FauxFaux: 500MB isn't larger than my RAM? | 22:29 |
|
thiago
| Git isn't designed to handle large, binary files | 22:30 |
|
| it's designed to handle lots of small, text files | 22:30 |
|
FauxFaux
| ku: I'm reasonably sure it'll go horribly wrong if the repo size, or the history of a single file in total, is over RAM. | 22:30 |
|
thiago
| it _works_, in the sense that it keeps those files perfectly and revisions them | 22:30 |
|
FauxFaux
| There've been lots of improvements recently, though, so maybe it's okay! | 22:31 |
|
ku
| Will future improvements be applicable backwards? | 22:31 |
|
| s/backwards/retroactively | 22:31 |
|
thiago
| that's just performance improvements | 22:31 |
|
| it doesn't change the storage format | 22:32 |
|
| if you have 100 * 500 MB files * 10 changes each, if they are binary, they compress and delta very little | 22:32 |
|
erynofwales
| fission6, so a fast-forward merge is where the branch you're merging (somebranch in this case) is a child of the branch you're currently on. So, you have something like this: A B C [currentbranch] D E F [somebranch]. In this case, git can just move currentbranch up to F so you have this: A B C D E F [currentbranch, somebranch]. Does that make sense? | 22:32 |
|
fission6
| how can i show files changes for a specific file across many commits | 22:32 |
|
SethRobertson
| Some (bupish ones for instance) might change storage | 22:32 |
|
thiago
| your repository will be around 500 GB | 22:32 |
|
| you REALLY don't want that | 22:32 |
|
fission6
| erynofwales: yea. | 22:32 |
| → ksksal joined | 22:32 |
|
SethRobertson
| fission6: I suggest using: gitk --all --date-order -- filename | 22:33 |
| → davidbanham joined | 22:33 |
|
ku
| thiago: wouldn't that still be better than pure snapshots? | 22:34 |
| ← ksksal left | 22:34 |
|
thiago
| given even a little compression, yes, it would be better than pure snapshots | 22:35 |
|
| in terms of storage | 22:35 |
|
| it doesn't mean Git will be fast, though | 22:35 |
|
ku
| How about other solutions like boar? Would that be better? | 22:36 |
|
| I think git-annex will support some kind of versioning soon, but not yet, as part of its Kickstarter campaign | 22:36 |
|
thiago
| I can't speak about it, since I've never heard of them | 22:36 |
|
SethRobertson
| Um, git-annex supports versioning now. It is part of git | 22:36 |
|
| well, used with git | 22:36 |
|
ku
| SethRobertson: link? | 22:37 |
|
SethRobertson
| !annex? | 22:37 |
|
gitinfo
| git-annex and git-media are two solutions to the !binary problem. They work by keeping the blobs outside of the repo, storing a reference to the blob in the repo instead. See http://git-annex.branchable.com/ and https://github.com/schacon/git-media | 22:37 |
| ← david1010 left | 22:38 |
| → tjholowaychuk joined | 22:38 |
| → ISF joined | 22:38 |
| ← ology left | 22:38 |
| → \ology joined | 22:39 |
|
ku
| SethRobertson: no, I mean for versioning. I don't see any information on annex versioning | 22:39 |
| → eph3meral joined | 22:40 |
| ← cwang left | 22:40 |
|
SethRobertson
| Why do you need to version the annex? You version the git repo and git points you at whichever version of the files you need | 22:40 |
|
eph3meral
| how can I answer the question of "at what point did my current branch diverge from master" | 22:40 |
|
| er, rather "show me the commit at the point when my current branch diverged from master" | 22:40 |
|
| so that I can do this: | 22:40 |
|
SethRobertson
| eph3meral: git merge-base master | 22:40 |
|
eph3meral
| git diff ORIGINALHASH HEAD | 22:40 |
| ← monsieurlu left | 22:40 |
|
ku
| SethRobertson: I'm not sure I understand. so annex supports versioning binaries? | 22:41 |
|
eph3meral
| to see the "full diff" of my branch as compared to wherever it diverged from master | 22:41 |
| \ology → ology | 22:41 |
|
SethRobertson
| eph3meral: `git diff master..` | 22:41 |
|
eph3meral
| SethRobertson, ok thanks, what does that show specifically? | 22:41 |
|
| er, the merge-base command that is, what does that show/ | 22:41 |
|
SethRobertson
| man git-merge-base | 22:41 |
|
gitinfo
| the git-merge-base manpage is available at http://git-scm.com/docs/git-merge-base.html | 22:41 |
| → noyb joined | 22:41 |
|
eph3meral
| gotcha, thanks | 22:41 |
|
ku
| SethRobertson: would something like git -> annex -> bup be best? | 22:42 |
|
SethRobertson
| But of course if all you are doing is running diff, you can do the master.. thing I said | 22:42 |
|
eph3meral
| ok cool | 22:42 |
|
SethRobertson
| ku: !xy | 22:42 |
|
gitinfo
| ku: This sounds like an "XY Problem" http://mywiki.wooledge.org/XyProblem So let's step back for a minute. What are you actually trying to achieve? Why are you doing it this way? | 22:42 |
|
eph3meral
| is there a decent way to aggregate all my commits in to a single commit before submitting a pull request for example? | 22:42 |
|
| SethRobertson, I'm looking to help make the actual git history atomic, while being able to still use git as a "state save" machine on a regular/working basis | 22:43 |
|
SethRobertson
| eph3meral: many. One is !perfect | 22:43 |
|
gitinfo
| eph3meral: [!postproduction] So, you want to make your commit history look pretty before pushing? http://sethrobertson.github.com/GitPostProduction talks you through how to use 'rebase -i' to do this. | 22:43 |
|
eph3meral
| ooh, nifty thanks | 22:43 |
|
| i use rebase regularly already | 22:43 |
|
ku
| SethRobertson: I am trying to track big, binary files using a Git-style decentralized workflow | 22:43 |
|
SethRobertson
| Yes. That doesn't require bup | 22:44 |
|
ku
| Isn't bup meant for packing binaries? | 22:45 |
| ← leeN left | 22:45 |
|
ku
| which would save more space than simply git + annex? | 22:45 |
|
SethRobertson
| bup is for backups | 22:45 |
| → leeN joined | 22:45 |
|
ku
| ok | 22:45 |
|
| but wouldn't annex be a little inefficient? if used by itself | 22:46 |
|
| also, do you have a guide on using annex with versioning? | 22:46 |
|
SethRobertson
| git does the versioning. annex is just saving the files | 22:47 |
|
| annex is trading bandwidth/disk space for speed of local operations. Is this good for you? Only you can decide. | 22:47 |
|
ku
| I know, but I don't understand what commands to use for that | 22:48 |
|
| I think I'll try annex first | 22:48 |
| ← Chappo left | 22:48 |
| → Chappo joined | 22:49 |
| ← Anubisss left | 22:49 |
| ← wereHamster left | 22:49 |
| → Anubisss joined | 22:49 |
|
ku
| SethRobertson: what commands should I use for versioning annex? annex seems to have a different interface from plain git | 22:49 |
| ← Eridius left | 22:49 |
| ← Anubisss left | 22:49 |
| → Anubisss joined | 22:50 |
| ← tshauck left | 22:51 |
|
SethRobertson
| ku: When a file is annexed, its content is moved into a key-value store, and a symlink is made that points to the content. These symlinks are checked into git and versioned like regular files. You can move them around, delete them, and so on. Pushing to another git repository will make git-annex there aware of the annexed file, and it can be used to retrieve its content from the key-value store. | 22:51 |
| ← blami left | 22:52 |
| → AaronMT joined | 22:52 |
|
SethRobertson
| You can arrange for the files in the annex to have nonce names and point the symlink file to the correct name. | 22:52 |
|
ku
| nonce? | 22:52 |
|
| noncense? | 22:52 |
|
| * sense | 22:52 |
| ← Sebo left | 22:53 |
|
ku
| SethRobertson: how *exactly* would I do that though? I don't see any options from fetching a specific version in annex | 22:53 |
|
SethRobertson
| git-media looks like it might be a little more direct in that respect | 22:54 |
| ← noyb left | 22:54 |
|
SethRobertson
| That's the point. You store a file, named perhaps 000000001, into the annex. You get a symlink in the local repo. Rename the symlink to be the actual desired name of the file. Commit | 22:55 |
|
ku
| SethRobertson: but that has to be done manually? | 22:56 |
|
SethRobertson
| At that point, you have a link between this git commit SHA with the filename to a specific file in the annex | 22:56 |
|
| Try it out. Perhaps it handles versions automagically. I've never used it. However, from reading the text I pasted in, it very much sounds like the technique I listed will work. Other techniques might also work. | 22:57 |
| → thirdknife joined | 22:57 |
| → Lord_DeathMatch joined | 22:57 |
| → blami joined | 22:57 |
|
CareBear\
| does anyone know if the same repo added as submodule in more than one places means multiple copies of the submodule repo, or just multiple workdirs of it? | 22:58 |
|
ku
| SethRobertson: thanks, I'll see what I can do | 22:58 |
|
SethRobertson
| CareBear\: Separate repos unless you take lots of special care | 22:59 |
|
CareBear\
| as in engineer the tree manually? | 22:59 |
| → v0n joined | 22:59 |
|
CareBear\
| or what do you mean? | 22:59 |
| ← LekeFly left | 22:59 |
|
SethRobertson
| Yes, doing manual work to cause the bits and the pointers to consolidate | 23:00 |
|
CareBear\
| yeah ok | 23:00 |
|
| mumble mumble | 23:00 |
|
SethRobertson
| disk space is cheap | 23:00 |
|
CareBear\
| mh annoying | 23:01 |
|
ku
| SethRobertson: native versioning is coming to git-annex assistant: http://git-annex.branchable.com/design/assistant/syncing/ | 23:01 |
| ← leeN left | 23:01 |
| gitinfo set mode: +v | 23:02 |
|
SethRobertson
| That page doesn't talk about versioning. It is talking about scheduling and managing transfers | 23:02 |
|
ku
| SethRobertson: if you read the blog, you'll see that syncing includes versioning | 23:03 |
| SeoZ-work[AWAY] → SeoZ | 23:03 |
|
CareBear\
| SehtRobertson : thanks for the answer though! | 23:03 |
| tizzo → tizzo-afk | 23:03 |
| gitinfo set mode: +v | 23:04 |
| → simesy joined | 23:06 |
| ← kewah left | 23:06 |
| ← Speed left | 23:08 |
| ← _Vi left | 23:08 |
|
SethRobertson
| ku: It appears to work now: https://github.com/joeyh/git-annex/blob/55c512ff2cdd420bda5da2a0cdc222ed40376849/doc/walkthrough/modifying_annexed_files.mdwn | 23:09 |
| → _Vi joined | 23:09 |
| → brandure1 joined | 23:10 |
| ← brandure1 left | 23:11 |
| ← maletor left | 23:12 |
| → dvide joined | 23:12 |
| ← nifty_ left | 23:12 |
| → nifty_ joined | 23:13 |
| ← thirdknife left | 23:16 |
| ← davidbanham left | 23:17 |
| → brandure1 joined | 23:17 |
| → bulletmark joined | 23:17 |
| ← nifty_ left | 23:18 |
| ← arietis left | 23:22 |
| ← drougge left | 23:24 |
| ← brandure1 left | 23:24 |
| → jobin joined | 23:24 |
| → brandure1 joined | 23:24 |
| ← thiago left | 23:25 |
| → thirdknife joined | 23:25 |
| ← pngl left | 23:25 |
|
v0n
| isn't possible to view the patch with git show when using --name-status option? | 23:26 |
| ← psoo left | 23:27 |
|
hyperair
| --name-status? what's that? | 23:27 |
|
| the git show manpage doesn't show anything about it | 23:28 |
|
v0n
| hyperair, it inherits it from git diff | 23:28 |
| ← tjholowaychuk left | 23:31 |
| → jjang joined | 23:36 |
| ← Element9 left | 23:38 |
| → ehsan joined | 23:38 |
| ← bulletmark left | 23:39 |
| ← ehsan left | 23:41 |
| ← FernandoBasso left | 23:42 |
| → Psycho_pr joined | 23:43 |
| ← Psycho_pr1 left | 23:43 |
| ← converge left | 23:43 |
|
hyperair
| okay, so why do you want to use --name-status and view the patch? | 23:44 |
|
| sounds like you want --stat instead | 23:44 |
| ← thirdknife left | 23:45 |
| ← shruggar left | 23:47 |
| → pngl joined | 23:48 |
| → maletor joined | 23:49 |
| ← hyperair left | 23:54 |
| ← specialGuest left | 23:58 |
| → darren joined | 23:59 |