| 2014-11-24 |
| → tanath__ joined | 00:00 |
| → maestrojed joined | 00:00 |
| → shawn joined | 00:00 |
| → DolpheenDream joined | 00:00 |
| shawn → Guest71126 | 00:01 |
| ← devoldmx3 left | 00:01 |
| ← eletuchy left | 00:02 |
| → eletuchy joined | 00:02 |
| ← tanath_ left | 00:02 |
| → luminous joined | 00:03 |
| → devoldmx joined | 00:04 |
| → amikiri joined | 00:05 |
| ← eletuchy left | 00:07 |
| ← Guest71126 left | 00:07 |
| ← msmith left | 00:08 |
| → jeffmjack joined | 00:09 |
| ← corni left | 00:11 |
| → tier joined | 00:12 |
| ← kpreid left | 00:14 |
| → lindenle joined | 00:16 |
| ← hexagoxel left | 00:16 |
| → gavit joined | 00:17 |
| r0bby_ → robbyoconnor | 00:20 |
| ← lindenle left | 00:20 |
| → Sadi joined | 00:20 |
| ← csstylish left | 00:21 |
| → webguy joined | 00:23 |
| ← dregad left | 00:24 |
| → solker joined | 00:25 |
| → joedf_phone joined | 00:25 |
| ← russt left | 00:26 |
| ← jagob left | 00:28 |
| ← solker left | 00:29 |
| → whomp joined | 00:29 |
| ← blackmesa left | 00:30 |
| ← layke left | 00:30 |
| ← netcarver left | 00:31 |
| ← weevieL left | 00:32 |
| ← s8321414 left | 00:33 |
| → Lyqyd_ joined | 00:34 |
| Consuela_ → Consuela | 00:35 |
| ← note left | 00:35 |
| ← endiruna left | 00:37 |
| ← Lyqyd left | 00:37 |
| ← LucasTT left | 00:38 |
| → Xiti` joined | 00:38 |
| ← Xiti` left | 00:38 |
| → Prawnzy joined | 00:39 |
| → nucatus joined | 00:40 |
| → Xiti` joined | 00:40 |
| → devoldmx3 joined | 00:40 |
| ← mtscout6 left | 00:41 |
| ← devoldmx left | 00:42 |
| ← Xiti left | 00:42 |
| → mtscout6 joined | 00:44 |
| ← dreiss left | 00:44 |
| ← nucatus left | 00:44 |
| ← madewokherd left | 00:46 |
| → ErKa joined | 00:47 |
| ← WaReZ left | 00:47 |
| → dreiss joined | 00:47 |
| ← SonikBoom left | 00:47 |
| → Goplat joined | 00:48 |
| ← Sadi left | 00:49 |
| → Sadi joined | 00:49 |
| ← harish left | 00:49 |
| → devoldmx joined | 00:50 |
| ← devoldmx left | 00:50 |
| → devoldmx joined | 00:50 |
| → Juzzika joined | 00:50 |
| ← devoldmx3 left | 00:54 |
| → mizu_no_oto joined | 00:54 |
| → EminenceHC joined | 00:54 |
| ← EminenceHC left | 00:59 |
| ← hebz0rl left | 00:59 |
| ← maestrojed left | 01:02 |
| ← Sadi left | 01:03 |
| → jb55_ joined | 01:04 |
| ← danemacmillan left | 01:07 |
| ← jb55 left | 01:07 |
| ← [R] left | 01:08 |
| → danemacm1 joined | 01:09 |
| ← Takle_ left | 01:10 |
| ← alanwill left | 01:13 |
| → weiyang joined | 01:16 |
| → fstd joined | 01:17 |
| ← StefanLehmann left | 01:18 |
| → phantombeta joined | 01:18 |
| ← danemacm1 left | 01:20 |
| → gfixler joined | 01:21 |
| ← robustus left | 01:21 |
| → danemacmillan joined | 01:21 |
| ← MattMaker left | 01:22 |
| → wrouesnel2 joined | 01:22 |
| → robustus|Off joined | 01:23 |
| robustus|Off → robustus | 01:24 |
| → dsdeiz joined | 01:24 |
| ← dsdeiz left | 01:25 |
| → dsdeiz joined | 01:25 |
| → john_doe_jr joined | 01:25 |
|
john_doe_jr
| How do you git clone into an existing folder? | 01:25 |
| → solker joined | 01:25 |
| ← amikiri left | 01:30 |
| ← solker left | 01:30 |
|
mattcen
| john_doe_jr: if it's an empty directory: git clone source existingDirectory; if it's not an empty directory: you can't. | 01:30 |
| ← albel727 left | 01:31 |
| ← ajustrun left | 01:31 |
| ← CEnnis91 left | 01:32 |
| → Sleepy63 joined | 01:35 |
| → alanwill joined | 01:37 |
|
john_doe_jr
| mattcen: well, I got a directory named ~/git/ with a # of git projects... | 01:37 |
|
mattcen
| john_doe_jr: Each in their own subdir? | 01:38 |
| ← dreiss left | 01:40 |
| ← devoldmx left | 01:40 |
| → nucatus joined | 01:40 |
| ← pigeon left | 01:41 |
| ← Lyqyd_ left | 01:42 |
| ← m0ltar left | 01:44 |
| ← nucatus left | 01:45 |
| ← luminous left | 01:45 |
| → pigeon joined | 01:45 |
| ← adamben left | 01:46 |
| ← NoNMaDDeN left | 01:46 |
|
john_doe_jr
| yes | 01:46 |
| ← robinsmidsrod left | 01:47 |
| → robinsmidsrod joined | 01:48 |
| ← tier left | 01:48 |
|
mattcen
| john_doe_jr: So git clone source ~/git/projectname | 01:50 |
| ← ManikM left | 01:52 |
| → Manny_ joined | 01:52 |
| → tekkbuzz joined | 01:52 |
| → Literphor joined | 01:53 |
| ← mtscout6 left | 01:54 |
| ← Literphor left | 01:55 |
| ← tekkbuzz left | 01:55 |
| → tekkbuzz joined | 01:55 |
| ← nnyk_ left | 01:57 |
| → dreiss joined | 01:58 |
| → adamm joined | 01:58 |
| → harish joined | 01:59 |
|
john_doe_jr
| I should have thought of that | 02:00 |
| → m0ltar joined | 02:00 |
| → EminenceHC joined | 02:00 |
| → CEnnis91 joined | 02:00 |
| ← virtualsue left | 02:02 |
| → eletuchy joined | 02:03 |
| ← EminenceHC left | 02:05 |
| → Lingo__ joined | 02:05 |
| ← nfk left | 02:07 |
| ← eletuchy left | 02:08 |
| ← dorkmafia left | 02:10 |
| ← danemacmillan left | 02:10 |
| ← Noldorin left | 02:11 |
| ← dougsland left | 02:12 |
| ← m0ltar left | 02:12 |
| → andrew__ joined | 02:13 |
| ← congruent left | 02:15 |
| → devoldmx joined | 02:15 |
| ← polyzen left | 02:15 |
| → congruent joined | 02:16 |
| → Vampire0_ joined | 02:16 |
| ← CheckDavid left | 02:17 |
| → ruukasu joined | 02:17 |
| → ehmatthes joined | 02:19 |
| ← Vampire0 left | 02:20 |
| ← tchan left | 02:21 |
| ← Xiti` left | 02:21 |
| → Xiti joined | 02:21 |
| ← congruent left | 02:23 |
| ← john_doe_jr left | 02:24 |
| → dtrott joined | 02:24 |
| → aspiers joined | 02:26 |
| → solker joined | 02:26 |
| → john_doe_jr joined | 02:28 |
| ← solker left | 02:30 |
| ← aspiers left | 02:31 |
| → NosBit joined | 02:32 |
| ← NosBit left | 02:32 |
| → NosBit joined | 02:32 |
| → unixpro1970 joined | 02:33 |
| ← githogori left | 02:33 |
| ← dtrott left | 02:34 |
| → rchavik joined | 02:35 |
| ← b4rbz left | 02:35 |
| → wjiang joined | 02:37 |
| ← Prawnzy left | 02:38 |
| ← wjiang left | 02:38 |
| → wjiang joined | 02:39 |
| → congruent joined | 02:39 |
| → echo-area joined | 02:39 |
| ← aidalgol left | 02:40 |
| ← Akagi201 left | 02:40 |
| → Takle joined | 02:41 |
| ← devoldmx left | 02:41 |
| → nucatus joined | 02:41 |
| ← wrouesnel2 left | 02:42 |
| → thedudez0r joined | 02:42 |
| → wrouesnel2 joined | 02:42 |
| ← zhxt_work left | 02:44 |
| ← Takle left | 02:45 |
| ← LucasKA left | 02:45 |
| ← nucatus left | 02:46 |
| → NoNMaDDeN joined | 02:46 |
| → MLM joined | 02:47 |
| → nezZario joined | 02:48 |
| → mdhopkins joined | 02:50 |
| ← NoNMaDDeN left | 02:52 |
| ← mizu_no_oto left | 02:54 |
| → nucatus joined | 02:57 |
| → zhxt_work joined | 02:57 |
| ← Lingo__ left | 02:58 |
| → boombatower joined | 02:58 |
| ← boombatower left | 02:58 |
| → boombatower joined | 02:58 |
| → Lingo__ joined | 02:58 |
| ← joedf_phone left | 02:59 |
| → jgardella joined | 02:59 |
| ← alp82 left | 03:01 |
| ← gavit left | 03:01 |
| ← tanath__ left | 03:02 |
| → devoldmx joined | 03:02 |
| → Lingo___ joined | 03:03 |
| ← Lingo__ left | 03:03 |
| ← darkbasic left | 03:04 |
| ← DolpheenDream left | 03:05 |
| → darkbasic joined | 03:05 |
| → DolpheenDream joined | 03:05 |
| → maestrojed joined | 03:05 |
| → EminenceHC joined | 03:05 |
| ← boombatower left | 03:06 |
| → kadoban joined | 03:07 |
| ← wrouesnel2 left | 03:07 |
| → dorkmafia joined | 03:07 |
| ← EminenceHC left | 03:10 |
| → moritzschaefer joined | 03:13 |
| → lpmulligan joined | 03:15 |
| ← t0th_-___ left | 03:16 |
| ← phantombeta left | 03:17 |
| ← moritzs left | 03:17 |
| → Peuc2 joined | 03:18 |
| ← robinsmidsrod left | 03:18 |
| ← moritzschaefer left | 03:19 |
| ← dorkmafia left | 03:19 |
|
Sonderblade
| any easy way to --amend your penultimate commit? | 03:19 |
| → eletuchy joined | 03:19 |
| → robinsmidsrod joined | 03:20 |
| ← Peuc left | 03:20 |
| Peuc2 → Peuc | 03:20 |
| → wrouesnel3 joined | 03:21 |
| ← kukks left | 03:22 |
| ← mdhopkins left | 03:23 |
| → msankhala joined | 03:24 |
| ← eletuchy left | 03:24 |
| ← dreiss left | 03:24 |
| → diegoaguilar joined | 03:25 |
| ← smccarthy left | 03:25 |
| → ascarter joined | 03:26 |
| ← unixpro1970 left | 03:27 |
| → solker joined | 03:27 |
| ← shinnya left | 03:28 |
| → brucelee joined | 03:28 |
| ← pheaver left | 03:29 |
| ← JanC left | 03:30 |
| ← ruukasu left | 03:31 |
| ← solker left | 03:32 |
| ← maestrojed left | 03:32 |
| → dreiss joined | 03:32 |
| ← msankhala left | 03:32 |
| → shinnya joined | 03:33 |
| → kpreid joined | 03:34 |
| ← lacrymology left | 03:35 |
| → LifeBlood joined | 03:35 |
| ← alanwill left | 03:36 |
| → russt joined | 03:36 |
| ← brucelee left | 03:37 |
| ← Floatingman left | 03:39 |
| → brucelee joined | 03:39 |
| → blaenk joined | 03:39 |
| ← devoldmx left | 03:40 |
|
blaenk
| if a merge fails due to conflicts, is there a way to automatically resolve it by accepting 'theirs' for all files? or would git checkout --theirs would need to be used for each file? | 03:40 |
| ← lpmulligan left | 03:41 |
| → tmcmahon joined | 03:41 |
| → Takle joined | 03:41 |
| → dorkmafia joined | 03:42 |
| → devoldmx joined | 03:42 |
| → pheaver joined | 03:42 |
| ← cwillu_at_work left | 03:43 |
| ← tmcmahon left | 03:43 |
| ← Gitzilla left | 03:43 |
| → Gitzilla joined | 03:44 |
| → JanC joined | 03:44 |
| ← Takle left | 03:46 |
| → Floatingman joined | 03:48 |
| ← russt left | 03:49 |
| ← whomp left | 03:50 |
| ← delight left | 03:50 |
| → ajustrun joined | 03:51 |
| ← Manny_ left | 03:52 |
| → hgl joined | 03:52 |
| → ManikM joined | 03:52 |
| → bhuvanaurora joined | 03:52 |
| ← blaenk left | 03:53 |
| ← bhuvanaurora left | 03:53 |
| → bhuvanaurora joined | 03:53 |
| ← brucelee left | 03:54 |
| ← ascarter left | 03:54 |
| → russt joined | 03:55 |
| ← zanchoPansa left | 03:57 |
| → zanchoPansa joined | 03:57 |
| → NoNMaDDeN joined | 03:57 |
| → kcj joined | 03:59 |
| ← Milkweed left | 03:59 |
| → msankhala joined | 04:00 |
| → nucatus_ joined | 04:01 |
| ← Consuela left | 04:01 |
| → alanwill joined | 04:02 |
| ← devoldmx left | 04:02 |
| ← Lingo___ left | 04:03 |
| ← bhuvanaurora left | 04:03 |
| ← NoNMaDDeN left | 04:03 |
| ← nucatus left | 04:03 |
| ← nucatus_ left | 04:05 |
| → nucatus joined | 04:06 |
| ← thedudez0r left | 04:06 |
| ← zumba_addict left | 04:06 |
| → zumba_addict joined | 04:07 |
| ← wrouesnel3 left | 04:07 |
| ← m0viefreak left | 04:08 |
| → SjB joined | 04:09 |
| ← robinsmidsrod left | 04:09 |
| → devoldmx joined | 04:09 |
| → robinsmidsrod joined | 04:11 |
| → EminenceHC joined | 04:11 |
| → bdavenport joined | 04:13 |
| ← kaiza left | 04:13 |
| ← CentaurWarchief left | 04:13 |
| → saurabh joined | 04:13 |
| ← yazdmich left | 04:13 |
| saurabh → Guest52093 | 04:13 |
| → Lyqyd joined | 04:14 |
| ← Orbitrix left | 04:14 |
| → Orbitrix joined | 04:14 |
| → CentaurWarchief joined | 04:15 |
| ← EminenceHC left | 04:16 |
| → kaiza joined | 04:16 |
| → yazdmich joined | 04:16 |
| ← DolpheenDream left | 04:17 |
| → mennea joined | 04:18 |
| → sinequanon joined | 04:18 |
| ← pheaver left | 04:19 |
| → kyb3r_ joined | 04:20 |
| ← Arsonide left | 04:20 |
| → Arsonide joined | 04:20 |
| → fatalhalt joined | 04:20 |
| ← johtso_ left | 04:21 |
| ← zumba_addict left | 04:23 |
| → ruukasu joined | 04:23 |
| → zumba_addict joined | 04:24 |
| → delight joined | 04:24 |
| ← Arsonide left | 04:24 |
| → Arsonide joined | 04:25 |
| → solker joined | 04:28 |
| → subhojit777 joined | 04:28 |
| → nucatus_ joined | 04:29 |
| → JosephFerano joined | 04:29 |
| ← nucatus left | 04:29 |
| ← JosephFerano left | 04:30 |
| → JosephFerano joined | 04:31 |
| → ascarter joined | 04:32 |
| ← robinsmidsrod left | 04:32 |
| ← solker left | 04:32 |
| → bhuvanaurora joined | 04:34 |
| → robinsmidsrod joined | 04:34 |
| → JohnBat26 joined | 04:35 |
| → NoNMaDDeN joined | 04:35 |
| → thedudez0r joined | 04:35 |
| ← robinsmidsrod left | 04:35 |
| → robinsmidsrod joined | 04:35 |
| ← msankhala left | 04:36 |
| ← thedudez0r left | 04:37 |
| ← robinsmidsrod left | 04:38 |
| ← Orbitrix left | 04:38 |
| → Orbitrix joined | 04:39 |
| ← bhuvanaurora left | 04:39 |
| → Literphor joined | 04:39 |
| → robinsmidsrod joined | 04:39 |
| ← Literphor left | 04:39 |
| → delight_ joined | 04:40 |
| ← Arsonide left | 04:40 |
| → Arsonide joined | 04:41 |
| → root3 joined | 04:41 |
| ← delight left | 04:41 |
| delight_ → delight | 04:41 |
| → Anon126 joined | 04:42 |
| → nkouevda joined | 04:42 |
| Anon126 → J1G|Anon126 | 04:43 |
| ← robinsmidsrod left | 04:44 |
| → robinsmidsrod joined | 04:44 |
| → whomp joined | 04:46 |
| → thedudez0r joined | 04:47 |
| ← mennea left | 04:47 |
| → bhuvanaurora joined | 04:48 |
| → mennea joined | 04:48 |
| → mizu_no_oto joined | 04:48 |
| ← mizu_no_oto left | 04:48 |
| ← ehmatthes left | 04:50 |
| ← root3 left | 04:51 |
| ← whomp left | 04:52 |
| ← robinsmidsrod left | 04:53 |
| → lindenle joined | 04:53 |
| ← Ademan left | 04:54 |
| → robinsmidsrod joined | 04:54 |
| ← Dougie187 left | 04:57 |
| → Squiggley joined | 04:58 |
| ← lindenle left | 04:58 |
| → lathiat joined | 04:59 |
| ← sinequanon left | 04:59 |
|
Squiggley
| Howdy, I have a silly question here.. Is it possible to create a diff from the original code and a selected commit in a repository? Ignoring the commits that might have happened in between? | 04:59 |
| ← dreiss left | 05:00 |
| → sinequanon joined | 05:00 |
|
lathiat
| Hi Folks, looking for recommendations on tools or documentation about keeping two branches in sync that have known differences. i.e. i'd like to review each commit, and ensure that the changes are either merged into both branches, or, mark them as not being merged back. Anyone got any tips? | 05:00 |
|
kadoban
| Squiggley: Sure, you can 'git diff somecommit anothercommit' | 05:00 |
|
lathiat
| Use case is upgrading a project from an older framework version to a newer one, some of the changes I need to make can be made in both, but some will be kept only in the newer tree. | 05:00 |
|
Squiggley
| hmm | 05:00 |
| → maestrojed joined | 05:01 |
|
mattcen
| Squiggley: "original code"? | 05:01 |
|
Squiggley
| mattcen: lets say, an initial commit | 05:02 |
|
| kadoban: I tried that, but that also includes changes that have transpired between the two commits | 05:02 |
|
| I was attempting to isolate the changes that only happened in a particular commit | 05:02 |
|
mattcen
| Squiggley: in that case, 'git show COMMIT' | 05:02 |
| ← bhuvanaurora left | 05:03 |
|
Squiggley
| oh lol | 05:03 |
|
| thats great! | 05:03 |
|
| mattcen: thank you | 05:03 |
|
| kadoban: and thank you! | 05:03 |
|
mattcen
| no problem | 05:03 |
| → dtrott joined | 05:03 |
|
kadoban
| :) | 05:03 |
| ← NosBit left | 05:04 |
| ← thedudez0r left | 05:05 |
| ← sinequanon left | 05:05 |
| → t0th_-___ joined | 05:05 |
| ← mennea left | 05:06 |
| → mennea_ joined | 05:06 |
| → thedudez0r joined | 05:07 |
| ← delight left | 05:07 |
| → eletuchy joined | 05:08 |
| → beautifulmind joined | 05:09 |
| ← t0th_-___ left | 05:09 |
| → durre joined | 05:10 |
| → Takle joined | 05:11 |
| ← eletuchy left | 05:12 |
| ← MLM left | 05:13 |
| ← beautifulmind left | 05:14 |
| ← otter768 left | 05:14 |
| → EminenceHC joined | 05:15 |
| ← Takle left | 05:16 |
|
Squiggley
| Here is another silly one, is it possible to consider the state of the repository if commits D,E, and F are considered against A but not including the changes made within B or C? | 05:16 |
| → bhuvanaurora joined | 05:17 |
| ← robinsmidsrod left | 05:18 |
| → robinsmidsrod joined | 05:18 |
| → beautifulmind joined | 05:19 |
| ← EminenceHC left | 05:20 |
| ← Arsonide left | 05:20 |
| → Arsonide joined | 05:20 |
| ← JosephFerano left | 05:21 |
| → b4rbz joined | 05:21 |
| ← d10n-work left | 05:21 |
| ← beautifulmind left | 05:22 |
|
phy1729
| can I use git from my android phone? I'm pretty bored | 05:22 |
| → unixpro1970 joined | 05:24 |
| → beautifulmind joined | 05:24 |
| ← johnny2600 left | 05:25 |
| → GT joined | 05:26 |
| ← bb010g left | 05:27 |
| ← raven-au left | 05:28 |
| → arup_r joined | 05:28 |
| → solker joined | 05:28 |
| → booboy joined | 05:29 |
| ← beautifulmind left | 05:29 |
| → arup_r_ joined | 05:29 |
| ← ascarter left | 05:30 |
| ← teran left | 05:31 |
| → raven-au joined | 05:32 |
| ← arup_r left | 05:32 |
| → beautifulmind joined | 05:33 |
| ← solker left | 05:33 |
| → girassolbit joined | 05:33 |
| ← girassolbit left | 05:33 |
|
mattcen
| phy1729: yes | 05:34 |
| → nnyk_ joined | 05:34 |
|
mattcen
| Squiggley: You want to see the changes made in commits D, E, and F? | 05:34 |
| ← mennea_ left | 05:35 |
|
mattcen
| Squiggley: if so: git diff D^ F | 05:36 |
|
phy1729
| mattcen: how? | 05:36 |
| → mennea joined | 05:36 |
|
Squiggley
| mattcen: this is kind of wacky, but if I wanted to do a diff between F and A, and I want to act like commits B and C never happened | 05:36 |
| ← mennea left | 05:36 |
|
mattcen
| phy1729: find somebody who's compiled git for android. There are serveral I believe. Check f-droidnorg | 05:36 |
|
| Squiggley: see above. | 05:37 |
|
Squiggley
| like I want to slice out a set of changes | 05:37 |
|
| oh, ok, will try that | 05:37 |
| → skorgon joined | 05:38 |
| ← skorgon left | 05:38 |
| → skorgon joined | 05:38 |
| ← bhuvanaurora left | 05:38 |
| ← a_le left | 05:38 |
| → fahadash joined | 05:39 |
|
Squiggley
| hmm | 05:39 |
|
fahadash
| Is there any way to make a copy of HEAD without copying .git or any repository-helper files ? | 05:39 |
|
mattcen
| fahadash: What do you mean "a copy of HEAD"? | 05:39 |
| → GitHubIus joined | 05:40 |
|
GitHubIus
| Hello | 05:40 |
|
gitinfo
| GitHubIus: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on. | 05:40 |
|
mattcen
| git branch head-backup HEAD | 05:40 |
|
GitHubIus
| I have a theory question | 05:40 |
|
fahadash
| mattcen, I want to copy the latest code | 05:40 |
|
mattcen
| man git-archive | 05:40 |
|
gitinfo
| the git-archive manpage is available at http://jk.gs/git-archive.html | 05:40 |
|
GitHubIus
| Say I am Dev #1 and there is also a Dev #2 | 05:40 |
|
mattcen
| fahadash: ^^ | 05:40 |
|
GitHubIus
| We have the branches: master / development / feature | 05:40 |
|
| Dev #2 is working on feature | 05:40 |
|
mattcen
| first mistake | 05:40 |
| ← durre left | 05:41 |
|
GitHubIus
| I want to do something independently of feature, but it will require some code in feature... so I make branch feature-changes | 05:41 |
|
| so now we have: | 05:41 |
|
| master / development / feature / feature-changes | 05:41 |
|
| this is my question | 05:41 |
|
| If Dev #2 keeps making changes to feature | 05:41 |
|
| how do I keep getting his changes into feature-changes? | 05:41 |
|
mattcen
| GitHubIus: how did you create feature-changes? | 05:41 |
|
| did you just branch off feature? | 05:41 |
|
GitHubIus
| yes | 05:41 |
| → pheaver joined | 05:42 |
|
GitHubIus
| (I haven't created feature-changes yet - but thats what I intend to do) | 05:42 |
|
mattcen
| Then you (a) rebase feature-changes on top of feature regularly, or (b) merge feature into feature-changes regularly. | 05:42 |
|
GitHubIus
| mattcen, is there any upside to one or the other? | 05:42 |
|
mattcen
| The former is tidier, but rewrites the history of feature-changes which could confuse others if they're also using that branch | 05:42 |
|
| the latter is a bit messier, but less surprising | 05:42 |
| ← nnyk_ left | 05:43 |
|
fahadash
| Thanks mattcen | 05:43 |
|
GitHubIus
| mattcen, once feature-changes is done, do I just get Dev #2 to merge that back into feature? | 05:43 |
|
| what happens to all the merge conflicts between feature and feature-changes, when it merges back into feature? | 05:43 |
|
| will all those commits remain? | 05:44 |
| → MattMaker joined | 05:44 |
|
mattcen
| GitHubIus: in theory you should've resolved any conflicts when you merged/rebased feature into feature-changes, and they'll remain resolved when you merge back | 05:44 |
|
Squiggley
| mattcen: that caret didn't seem to make a difference in output | 05:44 |
|
| mattcen looks | 05:44 |
|
GitHubIus
| mattcen, I'm just trying to think what the git history will look like | 05:44 |
|
| every time I merge feature into feature-changes - it'll create a commit for those merge changes correct? | 05:45 |
|
| when I merge back, will all of those changes plus the individual commit messages for my other changes be retained? | 05:45 |
|
mattcen
| Squiggley: The caret looks for the first parent of the commit to which it's applied | 05:45 |
|
| Squiggley: In this particular case it's equivalent to a tilde | 05:45 |
|
| GitHubIus: yes | 05:45 |
|
GitHubIus
| ok | 05:45 |
|
| thanks | 05:46 |
|
mattcen
| Unless you rebase, which will not have any merge commits | 05:46 |
|
GitHubIus
| ok | 05:46 |
|
| i might just merge then | 05:46 |
| → iamjarvo joined | 05:46 |
|
GitHubIus
| thank you | 05:46 |
|
| mattcen nods | 05:46 |
|
Squiggley
| I see | 05:46 |
|
mattcen
| Squiggley: so in the case of your example, my command (git diff D^ F) should've been equivalent to git diff C F, | 05:47 |
| → bhuvanaurora joined | 05:47 |
| → whomp joined | 05:47 |
| → Dewi joined | 05:48 |
| → Literphor joined | 05:49 |
| → ferr joined | 05:49 |
|
| mattcen reminds himself of man gitrevisions as the place that documents all the weird archaic ways of specifying refs, such as commit^N, commit~N, and commit^{x} | 05:50 |
|
Dewi
| is there a way to move a working copy from one commit to another, but preserving local changes? Equivalent to applying a commit1..commit2 patch, or 'svn up' or 'svn switch'? | 05:51 |
| ← marchdown left | 05:52 |
|
Dewi
| reset 'hard' and 'soft' choose one or the other, but I want changes to act like a patch | 05:52 |
|
Bombe
| Dewi, stash, checkout, unstash. | 05:52 |
| ← whomp left | 05:52 |
| ← ManikM left | 05:52 |
| → Manny_ joined | 05:52 |
| → desposo joined | 05:53 |
| → jceb joined | 05:53 |
| → marchdown joined | 05:55 |
| → EminenceHC joined | 05:55 |
|
Dewi
| Bombe: thx | 05:56 |
| ← nucatus_ left | 05:56 |
|
Squiggley
| mattcen: I think what I am looking for might not be possible, its pretty absurd... I was wanting to show the differences in commit F as if the changes from commit E never happened | 05:56 |
| ← john_doe_jr left | 05:57 |
|
mattcen
| Squiggley: I don't understand. | 05:57 |
| → areologist joined | 05:58 |
|
areologist
| Greetings, friends. | 05:58 |
|
mattcen
| What you want may be possible, but there's not enough information for me to work out what you want | 05:58 |
|
Squiggley
| if I do a: show F like you recommended, it will show me the changes that have been made from the previous state E, correct? | 05:59 |
| ← EminenceHC left | 06:00 |
| ← kyb3r_ left | 06:00 |
| ← causasui left | 06:00 |
| → kyb3r_ joined | 06:01 |
| ← bhuvanaurora left | 06:01 |
| → causasui joined | 06:01 |
|
Squiggley
| I was wondering if it were possible to show the changes made in F as if the previous state were A, and not E | 06:01 |
| ← veebers left | 06:01 |
|
Squiggley
| and only the changes within F, nothing from B through E | 06:02 |
| → bhuvanaurora joined | 06:02 |
| ← areologist left | 06:03 |
| ← crystal77 left | 06:03 |
| ← UmbraMalison left | 06:04 |
|
mattcen
| Squiggley: What you're asking for doesn't make sense. | 06:04 |
|
kadoban
| Squiggley: Unless I'm missing something, that's not actually a meaningful/possible thing. | 06:04 |
|
Squiggley
| alrighty, my apologies | 06:04 |
|
kadoban
| And I don't mean "git can't do that", I mean...it just doesn't make sense. | 06:04 |
|
mattcen
| Squiggley: Either you want to see what changes F introduced (git diff F^ F, or git show F)... | 06:04 |
| ← dtrott left | 06:04 |
|
mattcen
| Or you want to see what changed between A and F, which is 'git diff A F' | 06:05 |
| → UmbraMalison joined | 06:05 |
|
mattcen
| if you want to see what the entire *tree* would look like if you applied F to A, then take a branch off A, and 'git cherry-pick F' | 06:05 |
|
Squiggley
| that one | 06:05 |
| ← iamjarvo left | 06:06 |
|
mattcen
| Well that's how you do it. | 06:06 |
|
Squiggley
| thank you again, sorry for the incomprehensible thoughts lol | 06:07 |
| → eletuchy joined | 06:08 |
| ← desposo left | 06:09 |
| → hahuang61 joined | 06:09 |
|
mattcen
| Squiggley: All good | 06:12 |
| ← eletuchy left | 06:13 |
| ← govg left | 06:14 |
| ← nkouevda left | 06:15 |
| → marthinal joined | 06:17 |
| → dreiss joined | 06:18 |
| ← maestrojed left | 06:18 |
| ← ferr left | 06:19 |
| ← Arsonide left | 06:20 |
| → Arsonide joined | 06:20 |
| → Macaveli joined | 06:20 |
| → EminenceHC joined | 06:20 |
| ← Macaveli left | 06:22 |
| → Consuela joined | 06:24 |
| ← bhuvanaurora left | 06:24 |
| ← EminenceHC left | 06:25 |
| → kopparam joined | 06:25 |
| ← Rastus_Vernon left | 06:27 |
| → solker joined | 06:29 |
| ← unixpro1970 left | 06:31 |
| → teran joined | 06:31 |
| → _JohnBat26_ joined | 06:32 |
| ← fatalhalt left | 06:32 |
| → ehmatthes joined | 06:32 |
| ← tpollard left | 06:34 |
| ← solker left | 06:34 |
| → msankhala joined | 06:35 |
| ← JohnBat26 left | 06:35 |
| ← toothrot left | 06:36 |
| ← teran left | 06:36 |
| → kopparam_ joined | 06:37 |
| ← Lyqyd left | 06:39 |
| → kriks joined | 06:39 |
| ← kopparam left | 06:40 |
| → ThomasLocke joined | 06:40 |
| → toothrot joined | 06:42 |
| ← weiyang left | 06:42 |
| → lindenle joined | 06:43 |
| → BlaXpirit joined | 06:43 |
| → pantsman- joined | 06:44 |
| → Silmarilion joined | 06:45 |
| ← lindenle left | 06:47 |
| → whomp joined | 06:48 |
| ← pheaver left | 06:49 |
| → nnyk_ joined | 06:50 |
| ← whomp left | 06:53 |
| → barduck joined | 06:53 |
| → t0th_-___ joined | 06:54 |
| → armyriad joined | 06:54 |
| → freimatz joined | 06:55 |
| → weiyang joined | 06:55 |
| ← msankhala left | 06:55 |
| → PCatinean joined | 06:56 |
| ← dorkmafia left | 06:56 |
| → bhuvanaurora joined | 06:56 |
| → nucatus joined | 06:57 |
| ← barduck left | 06:57 |
| ← t0th_-___ left | 06:58 |
| ← bhuvanaurora left | 06:58 |
| ← Literphor left | 07:00 |
| → bhuvanaurora joined | 07:00 |
| → Takle joined | 07:00 |
| → faylite joined | 07:01 |
| → Raging_Hog joined | 07:01 |
| ← nucatus left | 07:01 |
| ← bhuvanaurora left | 07:02 |
| → Literphor joined | 07:02 |
| ← wakd left | 07:03 |
| → Marcus joined | 07:03 |
| → Novitsh_ joined | 07:05 |
| ← Takle left | 07:05 |
| → TomyLobo joined | 07:05 |
| ← diegoviola left | 07:06 |
| ← pantsman- left | 07:06 |
| ← Nijikokun left | 07:07 |
| ← J1G|Anon126 left | 07:08 |
| ← noway_ left | 07:08 |
| → stellarhopper joined | 07:10 |
| ← stellarhopper left | 07:10 |
| → stellarhopper joined | 07:10 |
| → noway_ joined | 07:12 |
| ← _JohnBat26_ left | 07:12 |
| → JohnBat26 joined | 07:12 |
| ← ixian8 left | 07:13 |
| → nrsk joined | 07:14 |
| → otter768 joined | 07:15 |
| ← kopparam_ left | 07:16 |
| → FilipNortic joined | 07:16 |
| → subhojitpaul21 joined | 07:18 |
| ← Literphor left | 07:18 |
| ← subhojit777 left | 07:20 |
| ← otter768 left | 07:20 |
| → NosBit joined | 07:20 |
| ← NosBit left | 07:20 |
| → NosBit joined | 07:20 |
| ← Arsonide left | 07:20 |
| → Arsonide joined | 07:20 |
| ← NoNMaDDeN left | 07:21 |
| → kopparam joined | 07:21 |
| → bhuvanaurora joined | 07:21 |
| ← kadoban left | 07:22 |
| → acolson joined | 07:22 |
| → eletuchy joined | 07:24 |
| → flowinho joined | 07:25 |
| → EminenceHC joined | 07:25 |
| → virtualsue joined | 07:26 |
| → maestrojed joined | 07:27 |
| ← beautifulmind left | 07:29 |
| → owen1 joined | 07:29 |
| → roelmonnens joined | 07:29 |
| ← eletuchy left | 07:29 |
| ← bhuvanaurora left | 07:30 |
| → AliRezaTaleghani joined | 07:30 |
| → solker joined | 07:30 |
| ← EminenceHC left | 07:30 |
| → Sadi joined | 07:30 |
| → DrSkyLizard joined | 07:30 |
|
owen1
| i need a daily backup of a repo with all it's remote branches. assuming i already run 'git pull', what command can pull all the branches? | 07:31 |
| ← Sadi left | 07:31 |
| ← skorgon left | 07:31 |
| → boombatower joined | 07:31 |
| ← boombatower left | 07:31 |
| → boombatower joined | 07:31 |
| → Sadi joined | 07:32 |
| → hexagoxel joined | 07:32 |
| ← CEnnis91 left | 07:32 |
| → teran joined | 07:32 |
| → mennea joined | 07:32 |
| → NoNMaDDeN joined | 07:33 |
| → Duikb00t joined | 07:34 |
| → punchagan joined | 07:34 |
| → Gizburdt joined | 07:34 |
| ← solker left | 07:35 |
|
ojacobson
| owen1: "pull" is an inappropriate tool for creating backups, usually -- 'git pull' creates new data. | 07:35 |
|
| (eg. new merge commits) | 07:35 |
| ← tekkbuzz left | 07:36 |
|
ojacobson
| If !backup doesn't do what you need, consider 'git clone --mirror' and 'git fetch' in the mirror clone. | 07:36 |
|
gitinfo
| Worried about your data while trying stuff out in your repo? The repository in its entirety lives inside the .git directory in the root of your work tree so to backup everything `cp -a path/to/workdir path/to/backup` or equivalent will suffice as long as the repo is not modified during backup. See also http://sethrobertson.github.com/GitBestPractices/#backups | 07:36 |
| ← kopparam left | 07:36 |
| → bhuvanaurora joined | 07:36 |
| → msankhala joined | 07:36 |
| ← teran left | 07:37 |
| ← Sadi left | 07:37 |
| → nardev joined | 07:39 |
| ← TomyLobo left | 07:39 |
| ← devoldmx left | 07:40 |
| ← bhuvanaurora left | 07:41 |
| → ecky--ptang-zoob joined | 07:45 |
| → webguy_ joined | 07:45 |
| → devoldmx joined | 07:46 |
| → Marcus___ joined | 07:46 |
|
owen1
| ojacobson: thanks! i'll read about git clone --mirror | 07:46 |
| ← robinsmidsrod left | 07:47 |
| ← jceb left | 07:47 |
| ← tgunr left | 07:47 |
| → robins joined | 07:47 |
| ← webguy left | 07:48 |
| → whomp joined | 07:49 |
| → jagob joined | 07:49 |
| ← Goplat left | 07:49 |
| ← Marcus left | 07:50 |
| → bhuvanaurora joined | 07:51 |
| → voidDotClass joined | 07:51 |
|
owen1
| ojacobson: i would like to keep the history (commits) so i can't use git clone --mirror ); | 07:52 |
| → LeMike joined | 07:52 |
|
voidDotClass
| i've added a file to .gitignore, but i still see it in my repo when i commit. | 07:52 |
|
ojacobson
| I don't see how those two facts connect. | 07:52 |
|
voidDotClass
| how do i make it disappear from the repo? | 07:52 |
|
| i.e the remote repo | 07:52 |
|
tobiasvl
| owen1: a mirror retains all history | 07:52 |
|
| voidDotClass: !untrack | 07:52 |
|
gitinfo
| voidDotClass: To remove a file from git's tracking, without deleting it from your working tree, `git rm --cached <file>`. Note that any repo which pulls this change will delete their local copy of that file. You can "bring it back" using `git checkout HEAD@{1} file` immediately after pulling / merging | 07:52 |
| → ManikM joined | 07:52 |
|
grawity
| voidDotClass: `git rm` it, commit, push, etc. | 07:52 |
| ← Manny_ left | 07:52 |
| ← robins left | 07:53 |
|
owen1
| tobiasvl: is this the correct way to use it? git clone --mirror git@plus:foo/bar.git | 07:53 |
|
| (it's not even a git repo anymore) | 07:53 |
|
grawity
| ...what do you mean, it's not a git repo anymore? | 07:54 |
|
| is it a svn repo now? | 07:54 |
|
owen1
| (; | 07:54 |
|
grawity
| I hate you | 07:54 |
|
owen1
| i cd into bar.git and it's not a git repo | 07:54 |
|
tobiasvl
| owen1: it's !bare | 07:54 |
|
ojacobson
| it's _only_ a git repo | 07:54 |
|
gitinfo
| owen1: an explanation of bare and non-bare repositories (and why pushing to a non-bare one causes problems) can be found here: http://bare-vs-nonbare.gitrecipes.de/ | 07:54 |
|
grawity
| it's a git repo | 07:54 |
|
ojacobson
| mirrors don't have a work tree :) | 07:54 |
|
grawity
| what makes it look like *not* a git repo? | 07:54 |
| ← Squiggley left | 07:54 |
|
ojacobson
| (however, given a mirror, you can clone it to make a non-bare repo, just like you would the original repository) | 07:54 |
| ← whomp left | 07:54 |
|
ojacobson
| so, let's back up and look at your original premise | 07:55 |
|
| if you have time :) | 07:55 |
|
owen1
| grawity: git status didn't work (: | 07:55 |
|
ojacobson
| _why_ do you need daily backups of the original repository? | 07:55 |
|
| (that is, how are you going to use them, once you have them) | 07:55 |
| → cbr_ joined | 07:55 |
| ← hexagoxel left | 07:55 |
| → nardev_ joined | 07:55 |
| ← maestrojed left | 07:56 |
| → robinsmidsrod joined | 07:56 |
|
owen1
| someone is asking me to help him backup a repo since he is afraid the original dev will delete it one day | 07:57 |
|
ojacobson
| a mirror is an appropriate way to do that, then | 07:57 |
|
owen1
| right now he is doing it manualy on github.com | 07:57 |
|
| ok | 07:57 |
| ← NosBit left | 07:57 |
|
owen1
| ojacobson: will i be able to use that mirror in the future and keep it's history? | 07:57 |
|
ojacobson
| though honestly any random clone is most of a backup; 'git fetch' updates all remote branches, and avoids deleting remote branches unless asked | 07:57 |
|
owen1
| i think for speed, i should just git pull of all the remote branches, no? | 07:58 |
|
| ojacobson: ^ | 07:58 |
|
| for remote in `git branch -r`; do git branch --track $remote; done | 07:58 |
|
ojacobson
| ... you've fundamentally misunderstood what 'git pull' does. | 07:59 |
|
owen1
| git pull --all | 07:59 |
|
ojacobson
| 'git pull' creates merges. | 07:59 |
|
| That's its job. | 07:59 |
| ← robinsmidsrod left | 07:59 |
|
owen1
| oh no | 07:59 |
|
| ok | 07:59 |
|
ojacobson
| A merge is _necessarily_ not a backup. | 07:59 |
|
| (Sometimes, it's wholely new things :) | 07:59 |
|
owen1
| ok. so git clone --mirror is better for my case | 07:59 |
|
ojacobson
| It's probably worth taking the time to run through !gcs -- you need a solid grounding in git's data model for any of this to make sense | 07:59 |
|
gitinfo
| [!concepts] "Git Concepts Simplified" explains the basic structures used by git, which is very helpful for understanding its concepts. http://gitolite.com/gcs.html | 07:59 |
|
owen1
| too bad, since i though getting the delta is quicker | 07:59 |
| → tirengarfio joined | 07:59 |
|
ojacobson
| fortunately, git's data model is not that complicated | 07:59 |
|
| it is -- that's what "git fetch" does. Both git clone and git pull use git fetch under the hood; they both do additional work afterwards. | 08:00 |
| → palcu joined | 08:00 |
| → albel727 joined | 08:00 |
|
owen1
| oh. so git clone --mirror is just the first time! than i can just do fetch every night! | 08:01 |
| → clauswitt joined | 08:01 |
| → robinsmidsrod joined | 08:01 |
|
voidDotClass
| when you do git rm file, will that remove it on my local hd as well? | 08:01 |
| → nilg joined | 08:01 |
|
voidDotClass
| or will i retain a local copy | 08:01 |
| ← cbr_ left | 08:02 |
| → cbr_ joined | 08:02 |
|
tobiasvl
| voidDotClass: !unstage tells you how to retain a local copy | 08:04 |
|
gitinfo
| voidDotClass: To unstage a file from the index(in other words, to undo an accidental `git add foo/bar.txt`), use: git reset -- foo/bar.txt | 08:04 |
|
tobiasvl
| uh sorry | 08:04 |
|
| voidDotClass: !untrack | 08:04 |
|
gitinfo
| voidDotClass: To remove a file from git's tracking, without deleting it from your working tree, `git rm --cached <file>`. Note that any repo which pulls this change will delete their local copy of that file. You can "bring it back" using `git checkout HEAD@{1} file` immediately after pulling / merging | 08:04 |
| → svector joined | 08:04 |
| → dregad joined | 08:04 |
| ← palcu left | 08:05 |
|
voidDotClass
| tobiasvl: that's a weird ass contradictory thing, it says 'without deleting it from your working tree' and then goes on to say 'that will delete the local copy', wtf? | 08:05 |
|
| which one is it? | 08:05 |
|
| does it delete it from hd or does it nor | 08:05 |
|
| not* | 08:05 |
| ← russt left | 08:06 |
|
tobiasvl
| you untrack it from your repo without deleting the file | 08:06 |
|
ojacobson
| voidDotClass: "your working tree" would be the one you use to create the commit; "their working tree" would be those that have the commit replayed into them | 08:06 |
|
tobiasvl
| then, when you commit and push it, anyone who pulls that change will have it untracked *and* removed | 08:06 |
| ← Gamecubic left | 08:06 |
| ← wookienz left | 08:06 |
| ← darkbasic left | 08:07 |
| → darkbasic joined | 08:07 |
| → wookienz joined | 08:08 |
| ← bvi left | 08:08 |
| ← Guest79317 left | 08:09 |
| ← dreiss left | 08:09 |
| → Guest79317 joined | 08:09 |
| ← Guest79317 left | 08:09 |
| → blackmesa joined | 08:09 |
| → jnavila joined | 08:09 |
| → Nijikokun joined | 08:09 |
| ← Nijikokun left | 08:09 |
| → Guest79317 joined | 08:10 |
| → Nijikokun joined | 08:10 |
| → phyzloc joined | 08:10 |
| → lb1a joined | 08:10 |
| ← dregad left | 08:11 |
|
phyzloc
| I've just cloned a repo. Why do I see this when I do git status? "Your branch and 'origin/ci' have diverged, and have 2 and 3 different commits each, respectively" | 08:12 |
| ← voidDotClass left | 08:12 |
| ← ecky--ptang-zoob left | 08:12 |
| → nouranology joined | 08:12 |
| ← wookienz left | 08:12 |
| → teran joined | 08:12 |
| ← stfn left | 08:13 |
| → stfn joined | 08:13 |
| ← robinsmidsrod left | 08:13 |
|
Seveas
| phyzloc: then you did more than just clone :) | 08:14 |
| ← juril left | 08:14 |
|
ojacobson
| phyzloc: !repro | 08:15 |
|
gitinfo
| phyzloc: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will raise the odds of getting your problem fixed from about 30% to about 90%. | 08:15 |
| → rath joined | 08:15 |
| → robinsmidsrod joined | 08:15 |
| → wookienz joined | 08:15 |
| ← msankhala left | 08:15 |
| → rob_w joined | 08:15 |
|
phyzloc
| Seveas: Could be. I ran a script which I was told clones the repo, which you say obviously does more :-/ | 08:16 |
| → alorence joined | 08:16 |
| ← robinsmidsrod left | 08:16 |
| → kopparam joined | 08:17 |
| ← alorence left | 08:17 |
| → mlechner joined | 08:17 |
| → GGflags joined | 08:18 |
| → robins joined | 08:18 |
| ← ManikM left | 08:20 |
| → bvi joined | 08:20 |
| ← Arsonide left | 08:20 |
| → Arsonide joined | 08:20 |
| → TomyWork joined | 08:21 |
| → CustosL1men joined | 08:22 |
| → jceb joined | 08:23 |
| → alorence joined | 08:24 |
| → Sadi joined | 08:24 |
| ← Sadi left | 08:25 |
| ← bhuvanaurora left | 08:25 |
| → msankhala joined | 08:25 |
| ← carlosr left | 08:29 |
| → EminenceHC joined | 08:29 |
| → jargon joined | 08:29 |
| ← jeffmjack left | 08:29 |
| ← tirengarfio left | 08:30 |
| → govg joined | 08:30 |
| → solker joined | 08:31 |
| → The_Phoenix joined | 08:31 |
| → tomreyn_trav joined | 08:31 |
| ← blackmesa left | 08:32 |
| ← ehmatthes left | 08:33 |
|
tomreyn_trav
| hi. is there a situation where "git rev-parse <SHA1>" would take half an hour to complete with a rather commonly setup git repository? | 08:33 |
| ← owen1 left | 08:33 |
| ← joki left | 08:34 |
|
tomreyn_trav
| https://ci.megaglest.org/job/megaglest-source_l64/912/console | 08:34 |
|
| 02:19:24 > git rev-list 6b35fa1918e3a7f537a59a29780b45a9d281aaea # timeout=10 | 08:34 |
|
| 02:45:28 | 08:34 |
| ← EminenceHC left | 08:34 |
| robins → robinsmidsrod | 08:35 |
| ← ajustrun left | 08:35 |
|
tomreyn_trav
| this is reaaaally long. on my local computer this command takes a second or two (using a different git version and a slightly different git configuration) | 08:35 |
| ← solker left | 08:35 |
| ← nardev left | 08:36 |
| ← clauswitt left | 08:37 |
| ← drbean left | 08:37 |
| → aswen joined | 08:37 |
| → delight joined | 08:40 |
| ← kriks left | 08:40 |
| → eletuchy joined | 08:40 |
| → joki joined | 08:40 |
| ← kopparam left | 08:40 |
| → tirengarfio joined | 08:41 |
| ← dialeth left | 08:41 |
|
Seveas
| tomreyn_trav: you say git rev-parse, but used the command git rev-list | 08:42 |
| ← arup_r_ left | 08:42 |
|
Seveas
| also, it could be the IRC notifier that takes a long time | 08:42 |
| → t0th_-___ joined | 08:42 |
|
tomreyn_trav
| Seveas: oh sorry, i mean rev-list, not -parse | 08:43 |
| ← kyb3r_ left | 08:43 |
| → ronskisika joined | 08:44 |
| ← Raging_Hog left | 08:44 |
| → kopparam joined | 08:44 |
| ← cbr_ left | 08:44 |
|
tomreyn_trav
| and you're right, based on the log it could also be the notifier which takes so long | 08:44 |
|
osse
| rev-list can take a long time, sure. if thehistory of the project is long | 08:44 |
| → juril joined | 08:44 |
| ← eletuchy left | 08:45 |
|
osse
| it' starts producing output immediately, so it looks fast. but if you pipe it then you won't see that | 08:45 |
| ← lidaaa left | 08:45 |
|
Seveas
| osse: yeah, but 15 minutes is ridiculous :) I'm blaming the IRC notifier | 08:45 |
| → cbr_ joined | 08:45 |
| ← enitiz left | 08:46 |
|
Seveas
| 02:19:24 > git rev-list 6b35fa1918e3a7f537a59a29780b45a9d281aaea # timeout=10 | 08:46 |
|
| 02:45:28 IRC notifier plugin: There was an error sending notification to: #megaglest | 08:46 |
| → nucatus joined | 08:46 |
| → skylite joined | 08:46 |
| ← t0th_-___ left | 08:47 |
| ← philipandersen left | 08:48 |
| → h4ml3t joined | 08:48 |
| ← francisfish left | 08:48 |
| → drbean joined | 08:48 |
| ← metateck left | 08:49 |
| → whomp joined | 08:50 |
| → netcarver joined | 08:50 |
| ← juril left | 08:50 |
| ← Alenah left | 08:51 |
| ← nucatus left | 08:51 |
| → leakybuckit joined | 08:51 |
| → avvs joined | 08:51 |
| → dorkmafia joined | 08:52 |
| → corni joined | 08:53 |
| → Takle_ joined | 08:53 |
|
tomreyn_trav
| hmm yes it seems to be the notifier | 08:53 |
| → ixian joined | 08:53 |
|
tomreyn_trav
| thanks for the help folks | 08:53 |
| ← The_Phoenix left | 08:54 |
| → The_Phoenix joined | 08:55 |
| ← whomp left | 08:55 |
| → vtunka joined | 08:56 |
| ← dorkmafia left | 08:57 |
| → juril joined | 08:57 |
| ← Takle_ left | 08:58 |
| ← rchavik left | 08:58 |
| → Takle joined | 08:58 |
| → veebers joined | 08:58 |
| → owen1 joined | 08:59 |
| → arup_r joined | 09:01 |
| ← albel727 left | 09:01 |
| ← thiago left | 09:01 |
| ← kopparam left | 09:02 |
| ← h4ml3t left | 09:03 |
| → kopparam joined | 09:03 |
| ← juril left | 09:05 |
| → rchavik joined | 09:05 |
| ← St_Marx left | 09:06 |
| ← GitHubIus left | 09:06 |
| ← teran left | 09:06 |
| ← The_Phoenix left | 09:07 |
| → clauswitt joined | 09:07 |
| → psoo joined | 09:07 |
| ← psoo left | 09:07 |
| → BlaXpirit-UA joined | 09:07 |
| → psoo joined | 09:07 |
| ← bvi left | 09:07 |
| ← sarri left | 09:08 |
| → The_Phoenix joined | 09:09 |
| → GGflags_ joined | 09:09 |
| → sarri joined | 09:09 |
| ← BlaXpirit left | 09:10 |
| → barduck joined | 09:10 |
| ← GGflags left | 09:11 |
| → kriks joined | 09:11 |
| ← tomreyn_trav left | 09:13 |
| → jheg joined | 09:13 |
| → Alenah joined | 09:14 |
| → endiruna joined | 09:15 |
| → otter768 joined | 09:16 |
| → interrobangd joined | 09:16 |
| → albel727 joined | 09:17 |
| ← mennea left | 09:17 |
| ← harish left | 09:17 |
| → metateck joined | 09:18 |
| → basiclaser_ joined | 09:18 |
| → h4ml3t joined | 09:19 |
| → marcogmonteiro joined | 09:19 |
| ← otter768 left | 09:20 |
| → moritzschaefer joined | 09:20 |
| ← The_Phoenix left | 09:22 |
| ← jb55_ left | 09:23 |
| ← Juzzika left | 09:23 |
| → jb55 joined | 09:23 |
| ← endiruna left | 09:24 |
| ← nnyk_ left | 09:25 |
| → nnyk_ joined | 09:25 |
| → teran joined | 09:26 |
| ← LifeBlood left | 09:26 |
| ← ribasushi left | 09:26 |
| ← boombatower left | 09:27 |
| ← darkbasic left | 09:27 |
| → cvanball joined | 09:27 |
| → darkbasic joined | 09:27 |
| ← jb55 left | 09:27 |
| ← veebers left | 09:28 |
| ← b10s left | 09:28 |
| ← corni left | 09:29 |
| ← owen1 left | 09:29 |
| ← wookienz left | 09:30 |
| → DevAntoine joined | 09:30 |
| ← LeMike left | 09:30 |
|
DevAntoine
| hi | 09:30 |
| → davidreis joined | 09:30 |
| → philipandersen joined | 09:30 |
|
DevAntoine
| I've forgotten a file in a previous commit (not the last one). Is it better to amend it or just commit the forgotten file? | 09:31 |
| → EminenceHC joined | 09:31 |
| → ribasushi joined | 09:31 |
| → solker joined | 09:32 |
| → juril joined | 09:32 |
| → allogeek joined | 09:32 |
| ← jceb left | 09:32 |
| → wookienz joined | 09:33 |
| → The_Phoenix joined | 09:34 |
| ← ErKa left | 09:34 |
| ← arup_r left | 09:35 |
| → nouranology_ joined | 09:35 |
| ← EminenceHC left | 09:36 |
| ← solker left | 09:36 |
|
basiclaser_
| hi | 09:36 |
| ← nouranology left | 09:37 |
| nouranology_ → nouranology | 09:37 |
|
Slush-
| DevAntoine: have you pushed it? | 09:37 |
|
DevAntoine
| Slush-: yep | 09:37 |
|
basiclaser_
| I am currently in a detached state, and i would like to make this current commit the new HEAD | 09:37 |
| → darkbasic_ joined | 09:37 |
|
basiclaser_
| i tried git reset (this branch) --hard , but it is still detached | 09:38 |
|
Slush-
| In that case you need to do a force push with all of it's implications, so I woulf say make a new commit | 09:38 |
| ← darkbasic left | 09:38 |
|
DevAntoine
| Slush-: fwiw I'm the only one working on this branch | 09:39 |
|
Slush-
| basiclaser_: git checkout BRANCH; git reset --hard DETACHEDCOMMIT | 09:39 |
| → francisfish joined | 09:39 |
| → bhuvanaurora joined | 09:40 |
|
Slush-
| DevAntoine: then I would probably amend the commiy and force push :) | 09:40 |
| → huglester_ joined | 09:40 |
|
DevAntoine
| Slush-: ok )à | 09:40 |
|
| =) | 09:40 |
| → liamkeily joined | 09:41 |
| → nour joined | 09:41 |
| ← wookienz left | 09:41 |
| ← weiyang left | 09:41 |
| ← cebor left | 09:41 |
| → jceb joined | 09:41 |
| ← darkbasic_ left | 09:41 |
| ← huglester left | 09:42 |
| → cebor joined | 09:42 |
| ← The_Phoenix left | 09:43 |
| → darkbasic joined | 09:43 |
| ← freimatz left | 09:43 |
| → The_Phoenix joined | 09:43 |
| → s8321414 joined | 09:44 |
| ← teran left | 09:44 |
| → wookienz joined | 09:44 |
| ← sonOfRa left | 09:46 |
| ← BtbN left | 09:46 |
| → BtbN joined | 09:46 |
| ← The_Phoenix left | 09:48 |
| → sonOfRa joined | 09:49 |
| → jcalonso joined | 09:49 |
| ← juril left | 09:49 |
| → ecky--ptang-zoob joined | 09:50 |
| ← jcalonso left | 09:50 |
| → jcalonso joined | 09:51 |
| → niro joined | 09:51 |
| → whomp joined | 09:51 |
| ← kopparam left | 09:51 |
| ← DrSkyLizard left | 09:52 |
| → kopparam joined | 09:52 |
| ← bhuvanaurora left | 09:52 |
| → LeMike joined | 09:53 |
| → mennea joined | 09:53 |
| → bhuvanaurora joined | 09:54 |
| → jb55 joined | 09:54 |
| → NoNMaDDe_ joined | 09:55 |
| ← NoNMaDDeN left | 09:55 |
| ← jb55 left | 09:56 |
| → jb55_ joined | 09:56 |
| ← whomp left | 09:56 |
| ← andrew__ left | 09:56 |
| → andrew__ joined | 09:57 |
| ← andrew__ left | 09:57 |
| → andrew__ joined | 09:57 |
| ← andrew__ left | 09:57 |
| → andrew__ joined | 09:58 |
| ← kopparam left | 09:58 |
| ← andrew__ left | 09:58 |
| → andrew__ joined | 09:58 |
| ← andrew__ left | 09:58 |
| → andrew__ joined | 09:58 |
| → dangerousdave joined | 09:58 |
| ← andrew__ left | 09:58 |
| → andrew__ joined | 09:59 |
| ← andrew__ left | 09:59 |
| → andrew__ joined | 09:59 |
| → Evie_Hammond joined | 09:59 |
| ← jb55_ left | 10:00 |
| ← andrew__ left | 10:00 |
| → andrew__ joined | 10:01 |
| ← devoldmx left | 10:01 |
| ← andrew__ left | 10:01 |
| → andrew_ joined | 10:02 |
| → kopparam joined | 10:02 |
| → devoldmx joined | 10:02 |
| ← darkbasic left | 10:03 |
| ← andrew_ left | 10:03 |
| → andrew_ joined | 10:03 |
| → Kicer86 joined | 10:03 |
| → wakd joined | 10:04 |
| → darkbasic joined | 10:05 |
| → vurma joined | 10:08 |
| ← dangerousdave left | 10:08 |
| → blackmesa joined | 10:10 |
| ← hgl left | 10:10 |
| → beautifulmind joined | 10:10 |
| → dangerousdave joined | 10:12 |
| ← jheg left | 10:13 |
| ← ojacobson left | 10:13 |
| → Streward joined | 10:14 |
| → tak30 joined | 10:15 |
| ← tak30 left | 10:15 |
| → Malsasa_ joined | 10:16 |
| ← darkbasic left | 10:17 |
| ← philipandersen left | 10:17 |
| → darkbasic joined | 10:17 |
| → jheg joined | 10:17 |
| ← gccostabr left | 10:19 |
| → knobo joined | 10:19 |
| ← Pyrogerg left | 10:20 |
| → duplex joined | 10:20 |
| ← msankhala left | 10:21 |
|
knobo
| when I'm on branch "foo", and do "git diff master", and I get several differences. some lines with +, and some lines with -. If I do "git merge master" now. are lines that diff showed with - removed, and lines with + added to the foo branch then? | 10:21 |
|
| Or is it not so easy as that? | 10:22 |
| → IIT joined | 10:23 |
| ← IIT left | 10:23 |
| → gccostabr joined | 10:24 |
| → simpleuser joined | 10:26 |
| → Xethron joined | 10:27 |
|
simpleuser
| Hi there. If I do a rebase master on a branch, and I do a merge tool, What is LOCAL and what is REMOTE ? | 10:27 |
| ← jgardella left | 10:27 |
| → Polyatomic joined | 10:28 |
|
simpleuser
| Ok, found this http://stackoverflow.com/questions/3051461/git-rebase-keeping-track-of-local-and-remote | 10:28 |
| → eletuchy joined | 10:29 |
|
canton7
| when you rebase 'branch' onto 'master', git will checkout master then apply successive patches from branch | 10:29 |
|
| so LOCAL is the commit on master which git is currently sitting on, and REMOTE is the patch currently being applied from branch | 10:29 |
|
tobiasvl
| same for you knobo | 10:29 |
| → mkaesz joined | 10:30 |
| → t0th_-___ joined | 10:31 |
| → solker joined | 10:32 |
| ← eletuchy left | 10:33 |
| → dougsland joined | 10:34 |
| → davidreis_ joined | 10:34 |
| → gain joined | 10:34 |
| → nucatus joined | 10:35 |
| ← poisond left | 10:35 |
| ← cvanball left | 10:35 |
| ← Arsonide left | 10:35 |
| → paul424 joined | 10:36 |
| → EminenceHC joined | 10:36 |
| ← t0th_-___ left | 10:36 |
| ← h4ml3t left | 10:36 |
| ← duplex left | 10:37 |
| ← solker left | 10:37 |
| → duplex joined | 10:37 |
| → Etheco joined | 10:38 |
| ← acolson left | 10:38 |
| → hgl joined | 10:39 |
| ← nucatus left | 10:40 |
| ← EminenceHC left | 10:41 |
| ← kopparam left | 10:42 |
| → kopparam joined | 10:43 |
| → cvanball joined | 10:44 |
| → pppp2 joined | 10:44 |
| ← MattMaker left | 10:44 |
| → Macaveli joined | 10:44 |
| → phantombeta joined | 10:46 |
| → harish joined | 10:47 |
| → MattMaker joined | 10:49 |
| → h4ml3t joined | 10:49 |
| ← Tuna-Fish left | 10:50 |
| → acolson joined | 10:51 |
| → whomp joined | 10:52 |
| → The_Phoenix joined | 10:52 |
| → z8z joined | 10:52 |
| → dorkmafia joined | 10:53 |
| → shigosei joined | 10:54 |
| ← gccostabr left | 10:54 |
| → martinklepsch joined | 10:54 |
| ← mkaesz left | 10:54 |
| ← z8z left | 10:54 |
| ← echo-area left | 10:54 |
| → z8z joined | 10:55 |
| → sebhoss joined | 10:55 |
| ← wookienz left | 10:55 |
| → jb55 joined | 10:56 |
| → wookienz joined | 10:56 |
| → twoface88 joined | 10:56 |
| ← whomp left | 10:57 |
| ← acolson left | 10:57 |
| ← dorkmafia left | 10:58 |
| ← kopparam left | 10:59 |
| → ManikM joined | 10:59 |
| ← bhuvanaurora left | 11:00 |
| → palcu joined | 11:01 |
| → Tuna-Fish joined | 11:01 |
| ← jb55 left | 11:01 |
| ← The_Phoenix left | 11:01 |
| → jds joined | 11:02 |
| ← alanwill left | 11:02 |
| ← phyzloc left | 11:02 |
| → gavit joined | 11:03 |
| → bhuvanaurora joined | 11:03 |
| → kopparam joined | 11:03 |
| → gccostabr joined | 11:05 |
|
osse
| knobo: it is not so easy | 11:05 |
| ← Polyatomic left | 11:05 |
| ← nrsk left | 11:06 |
| ← palcu left | 11:06 |
| → t0th_-___ joined | 11:06 |
| → teran joined | 11:08 |
| ← wookienz left | 11:08 |
| → angelsl joined | 11:09 |
| ← angelsl left | 11:09 |
| → angelsl joined | 11:09 |
| ← marchdown left | 11:10 |
| ← aarcane left | 11:10 |
| → acolson joined | 11:10 |
| ← Malsasa_ left | 11:10 |
| → wookienz joined | 11:11 |
| → Malsasa_ joined | 11:12 |
| ← Gizburdt left | 11:14 |
| ← blackmesa left | 11:14 |
| ← kopparam left | 11:16 |
| → juanmabc joined | 11:16 |
| ← juanmabc left | 11:16 |
| → kopparam joined | 11:16 |
| → nfk joined | 11:17 |
| → otter768 joined | 11:17 |
| ← wookienz left | 11:17 |
| → marchdown joined | 11:18 |
| → wookienz joined | 11:18 |
| ← Gitzilla left | 11:19 |
| ← kopparam left | 11:20 |
| ← ecky--ptang-zoob left | 11:20 |
| → ecky--ptang-zoob joined | 11:20 |
| ← noway_ left | 11:21 |
| ← otter768 left | 11:21 |
| → m0viefreak joined | 11:22 |
| ← devoldmx left | 11:22 |
| → devoldmx joined | 11:22 |
| → mkaesz joined | 11:24 |
| → nd__ joined | 11:25 |
|
nd__
| Aloha | 11:25 |
| → kopparam joined | 11:25 |
|
osse
| salaam aleykum | 11:25 |
| ← ruukasu left | 11:26 |
| Malsasa_ → Malsasa | 11:26 |
| ← wjiang left | 11:26 |
| ← acolson left | 11:27 |
|
nd__
| I had trouble with an update URL of a submodule and removed the module in `.git/modules/path/mymodule`. It didn't add it back automatically, so I tried to get it with `git clone --bare $URI mymodule` in `.git/modules/path/`. This partly worked, but the clone is missing the `index` and `logs` file, so I cannot get a `git status` in the main repository: `fatal: 'git status --porcelain' failed in submodule path/mys | 11:28 |
|
| ubmodule`. Does somebody have a clue how to fix this? | 11:28 |
| ← cvanball left | 11:30 |
| → St_Marx joined | 11:30 |
| ← teran left | 11:31 |
| → King_Hual joined | 11:31 |
| → teran joined | 11:31 |
| ← devoldmx left | 11:32 |
| → devoldmx joined | 11:32 |
|
fahadash
| How do I untrack a folder that has been tracked for so many commits previously ? | 11:33 |
|
| not only untrack, I want to remove the database for that folder | 11:33 |
| → solker joined | 11:33 |
|
grawity
| things that involve nuking history tend to be bad ideas | 11:33 |
|
| but, git filter-branch | 11:33 |
|
Artpicre
| Which took should I use to make. A small private Git repository ? | 11:34 |
|
TomyWork
| git filter-branch shows "WARNING: 'refs/heads/master' was rewritten into multiple commits:" and then the commit message. what's wrong? | 11:35 |
|
Artpicre
| It'll be on a Raspberry Pi, so GitLab is too big for that | 11:35 |
| → Gizburdt joined | 11:35 |
|
TomyWork
| git filter-branch -f --commit-filter cat | 11:35 |
|
Artpicre
| Which tool * | 11:35 |
|
grawity
| Artpicre: `git init` | 11:35 |
|
| really, if it's just one user, `git init --bare` and push over SSH | 11:36 |
|
fahadash
| TomyWork, That would remove the cat folder from the history ? | 11:36 |
|
Artpicre
| Ew. I meant a git server, not a repository >< | 11:36 |
|
fahadash
| I could easily accomplish this by deleting the folder I want to untrack (off course keep a backup somewhere), then commit. Then bring the folder back and not --add that again | 11:36 |
|
Artpicre
| What I write is not what I thought :/ | 11:36 |
|
grawity
| Artpicre: more or less the same thing | 11:36 |
|
| at its core, a Git "server" is just any repo that you can push to | 11:37 |
|
| for one user, nothing extra is needed | 11:37 |
|
| for multiple users, check out Gitolite | 11:37 |
|
Artpicre
| But for multiple users ? | 11:37 |
| ← solker left | 11:37 |
|
grawity
| (and if you want a web-based browser, optionally add cgit or gitweb) | 11:37 |
|
fahadash
| On a separate note, Can git push to SVN or VSTF server ? | 11:37 |
|
Artpicre
| And how can I manage permissions ? | 11:38 |
|
grawity
| Artpicre: using Gitolite's permission configuration? | 11:38 |
| → blackmesa joined | 11:38 |
|
TomyWork
| fahadash what? | 11:38 |
|
grawity
| fahadash: well, `git-svn` has a 'dcommit' subcommand for that | 11:38 |
|
TomyWork
| no that wasnt a reply to you | 11:38 |
|
Artpicre
| Okay | 11:38 |
|
| Is Gitolite better than Gitorious ? | 11:39 |
|
TomyWork
| gitlab? | 11:39 |
|
fahadash
| So git filter-branch will delete a particular item from the history ? | 11:39 |
|
| !filter | 11:39 |
|
gitinfo
| [!filters] Filters can be very useful for automatically making changes to files at checkout(smudge) and checkin/add(clean). See 'man gitattributes' for more information | 11:39 |
|
Artpicre
| No, GitLab is too big for the RaspberriPi | 11:39 |
|
TomyWork
| fahadash git filter-branch can do anything to any commit in your history | 11:39 |
|
fahadash
| !filter-branch | 11:39 |
| → acolson joined | 11:39 |
|
fahadash
| TomyWork, So filter-branch is a command that alters the state of the repo correct ? | 11:40 |
| → EminenceHC joined | 11:40 |
|
fahadash
| Can actions of filter-branch be undone ? | 11:40 |
|
TomyWork
| read the manpage. for an overview, read at least the examples and their description | 11:40 |
|
| fahadash yes but i would recommend a backup | 11:40 |
|
| makes things easier | 11:40 |
|
fahadash
| Ok. I will read up more. Thank you | 11:40 |
| → astrofog joined | 11:41 |
| ← gv left | 11:42 |
| ← St_Marx left | 11:42 |
| → arnatal joined | 11:43 |
|
TomyWork
| ugh, commit-filter is clunky | 11:43 |
| → gv joined | 11:44 |
| ← robinsmidsrod left | 11:45 |
| ← EminenceHC left | 11:45 |
| ← tirengarfio left | 11:46 |
| → St_Marx joined | 11:46 |
| → robinsmidsrod joined | 11:46 |
| ← Duikb00t left | 11:47 |
|
lb1a
| Artpicre, gitolite is perfectly fine for raspberry and perfectly for managing access to repos | 11:48 |
| → ssta joined | 11:48 |
| → wrouesnel2 joined | 11:48 |
|
Artpicre
| Okay, thank you all :D | 11:48 |
|
ssta
| hi. I have "Your branch is ahead of 'origin/master' by 2 commits." and I'd like to throw away those two commits and go back to being in sync with origin/master. How can I do that? | 11:49 |
|
tobiasvl
| ssta: !revert | 11:51 |
|
gitinfo
| ssta: That's a rather ambiguous question... options: a) make a commit that "undoes" the effects of an earlier commit [man git-revert]; b) discard uncommitted changes in the working tree [git reset --hard]; c) undo committing [git reset --soft HEAD^]; d) restore staged versions of files [git checkout -p]; e) move the current branch to a different point(possibly losing commits)[git reset --hard $COMMIT]? | 11:51 |
| ← MattMaker left | 11:51 |
|
tobiasvl
| ssta: see e) and consider doing `git reset --hard origin/master` once you realize what it does | 11:51 |
|
ssta
| tobiasvl: thank you | 11:51 |
| ← kopparam left | 11:52 |
| → noway_ joined | 11:52 |
|
fahadash
| many of the man pages refer something as 'refs' what is it ? | 11:52 |
| → whomp joined | 11:52 |
|
grawity
| `man gitglossary` – a ref is basically some name attached to a commit | 11:52 |
|
gitinfo
| the gitglossary manpage is available at http://jk.gs/gitglossary.html | 11:52 |
|
tobiasvl
| alsp !ref | 11:53 |
|
gitinfo
| [!treeish] A tree-ish is something that looks like a tree. Read 'man gitrevisions' and http://git-scm.com/book/en/Git-Tools-Revision-Selection | 11:53 |
|
grawity
| !fail | 11:53 |
|
tobiasvl
| hm | 11:53 |
| ← nd__ left | 11:53 |
|
fahadash
| so those hex numbers assigned to each commits are refs ? | 11:54 |
| ← bhuvanaurora left | 11:54 |
|
grawity
| no, those are the commit IDs themselves | 11:54 |
| → freimatz joined | 11:54 |
| → tirengarfio joined | 11:54 |
|
grawity
| refs are the *names* – like the 'master' branch (aka 'refs/heads/master'), or other branches, or tags | 11:55 |
|
fahadash
| got it | 11:55 |
| ← Sonderblade left | 11:55 |
|
grawity
| this is pretty much the first sentence of what the glossary says about refs >_> | 11:55 |
| ← dsdeiz left | 11:56 |
| → jb55 joined | 11:57 |
| ← whomp left | 11:57 |
|
fahadash
| git filter-branch 'rm -rf src/unwanted-folder' is what I am looking for | 11:58 |
| → jcalonso_ joined | 11:59 |
| → eletuchy joined | 11:59 |
| ← paul424 left | 12:01 |
| ← netj_ left | 12:01 |
| → bhuvanaurora joined | 12:01 |
| → kopparam joined | 12:01 |
| ← ManikM left | 12:02 |
| ← ssta left | 12:02 |
| → palcu joined | 12:02 |
| ← devoldmx left | 12:02 |
| ← jb55 left | 12:02 |
| ← jcalonso left | 12:02 |
| → juril joined | 12:02 |
| ← blackmesa left | 12:02 |
| → devoldmx joined | 12:03 |
| → palcu_ joined | 12:03 |
| → netj joined | 12:04 |
| ← eletuchy left | 12:04 |
| → enitiz joined | 12:06 |
| → adamretter joined | 12:06 |
| ← palcu left | 12:06 |
|
adamretter
| If I have rebased Branch C onto Branch B, is it possible to undo that and rebase it onto Branch A? | 12:06 |
| ← tirengarfio left | 12:07 |
|
osse
| adamretter: assuming C is checked out: git rebase --onto=A B | 12:07 |
|
TomyWork
| certain team members have their own SVN commit style. now that i'm converting to git, i want to automatically rewrite their messages to fit git commit message format rules | 12:08 |
| → fightback joined | 12:08 |
|
TomyWork
| can i detect the user in a msg-filter? | 12:08 |
|
grawity
| $GIT_AUTHOR_EMAIL should work | 12:08 |
| → lindenle joined | 12:08 |
|
TomyWork
| good | 12:08 |
|
adamretter
| osse: nice one :-) | 12:09 |
| ← Evie_Hammond left | 12:10 |
| → soooga joined | 12:10 |
| ← soooga left | 12:11 |
| → Evie_Hammond joined | 12:11 |
| → soooga joined | 12:11 |
| ← Xethron left | 12:11 |
|
osse
| adamretter: is is re-rebasing it though. to answer your question at face value: git reset --hard C@{1}; git rebase A | 12:12 |
| → noway__ joined | 12:12 |
| → adamben joined | 12:13 |
|
avtobiff
| adamretter, or use git reflog | 12:13 |
| ← fightback left | 12:13 |
| ← lindenle left | 12:13 |
|
adamretter
| osse: rebase is fine here its a personal repo | 12:13 |
| ← shinnya left | 12:14 |
| → Xethron joined | 12:14 |
| ← Xethron left | 12:14 |
| → Xethron joined | 12:14 |
| ← interrobangd left | 12:14 |
| ← soooga left | 12:14 |
|
osse
| adamretter: sure, but "re-rebasing" it, instead of starting over, might not be the thing you want, if for example you solved some conflicts or skipped some commits during the first rebase. | 12:15 |
| ← Evie_Hammond left | 12:15 |
|
osse
| which wouldn't have been necessary if you rebased onto the correct branch initially | 12:15 |
| → mizu_no_oto joined | 12:15 |
|
adamretter
| osse: nope it was just about a single commit which should have been in a seperate branch | 12:15 |
| ← noway_ left | 12:16 |
|
osse
| yeah I get that in this case it was fine. | 12:16 |
|
| Just saying it might not be fine in all cases | 12:16 |
| → wrksx joined | 12:17 |
|
wrksx
| when I do git branch -av I have a strange thing showin up: | 12:17 |
|
| remotes/hub/master 85bd7a4 removed all content | 12:17 |
|
| what is that ? | 12:18 |
| ← kopparam left | 12:18 |
|
osse
| wrksx: it's the master branch at the remote called 'hub' | 12:18 |
|
jast
| !rtb | 12:18 |
|
gitinfo
| [!remote_tracking_branch] Remote-tracking branches (branches which start with e.g. 'origin/', listed by 'git branch -r') are read-only mirrors of the corresponding branches in another repository. They're updated by 'git fetch'. You can't edit them directly (trying to check them out results in a !detached HEAD), but you can create a new local branch based on a remote-tracking branch using e.g. 'git checkout -b <branch> <remote | 12:18 |
|
jast
| whoops, that one is a bit too long | 12:18 |
|
wrksx
| jast: nono that's nice | 12:19 |
|
jast
| it gets cut off by IRC, though | 12:19 |
|
wrksx
| damn =) | 12:19 |
|
| jast: I'm not sure to get it, is this branch used somehow when I do a git pull origin master ? | 12:19 |
|
osse
| no | 12:19 |
|
wrksx
| meant git pull hub master | 12:20 |
|
jast
| not exactly | 12:20 |
| → Duikb00t joined | 12:20 |
|
osse
| it will be updated as part of the underlying fetch. otherwise no. | 12:20 |
|
wrksx
| I don't know why it is there | 12:20 |
|
| this branch | 12:20 |
|
jast
| you know how pull is actually a combination of fetch+merge? | 12:20 |
|
wrksx
| I read about that | 12:20 |
|
jast
| fetch's job is to grab all the branches from the remote repo, and stuff them in this remotes namespace | 12:20 |
| → shinnya joined | 12:21 |
| → kopparam joined | 12:21 |
|
jast
| merge takes stuff from there (or any other branch/tag/commit you give it if you run it on its own) and combines it with your checked out branch | 12:21 |
|
| when you run just 'git pull', that's pretty much exactly what it does, automatically figuring out which branch to merge | 12:21 |
|
wrksx
| what is weird is that the temote tracked branch (remotes/hub/master 85bd7a4 removed all content) points to an old commit | 12:22 |
|
jast
| when you run 'git pull hub master' (for instance), it does the same thing but doesn't actually use the remotes/hub/master thing for the merge | 12:22 |
|
wrksx
| Idk how did I do that | 12:22 |
| ← cbr_ left | 12:22 |
|
jast
| run a 'git fetch' and see if that brings you up to speed | 12:22 |
| ← kcj left | 12:22 |
| ← kermit left | 12:22 |
|
jast
| some time ago 'git fetch' and 'git pull' with remote/ref args didn't actually update the remote-tracking branch, just the man in the middle thing used by 'git merge' (called FETCH_HEAD) | 12:23 |
|
| since that tends to confuse people it's been changed some time ago | 12:23 |
| → kermit joined | 12:23 |
|
wrksx
| jast: alright, now the remote tracked branch is pointing to the last commit | 12:23 |
| → nucatus joined | 12:23 |
|
wrksx
| jast: but I think i really do not need that branch, do I ? | 12:24 |
|
jast
| well, it can be handy for comparing different branches, seeing what's where and what isn't, stuff like that | 12:24 |
|
wrksx
| I wondered if it was created when I was messing around in detached mode | 12:24 |
| → curiousmansi_ joined | 12:24 |
|
jast
| many people like looking at what they're merging before actually merge, and the two-step procedure is very useful for that | 12:24 |
|
wrksx
| yeah I get it | 12:25 |
|
jast
| well, a detached HEAD on its own doesn't go around and create remote-tracking branches | 12:25 |
|
| but 'git fetch' does :) | 12:25 |
| ← pppp2 left | 12:25 |
|
jast
| in any case, there is virtually no disk space overhead | 12:25 |
|
wrksx
| fact is after messin around in detached mode, I tried to get back to the letest rev with a git pull that triggered a merge etc... | 12:26 |
|
| latest | 12:26 |
|
| git branch -d remotes/hub/master should remove the remotly tracked branch, right ? | 12:26 |
| → msankhala joined | 12:26 |
| ← ronskisika left | 12:26 |
|
wrksx
| but it won't cut the branch on the hub repo | 12:26 |
|
jast
| sure, but the next fetch will bring it back | 12:27 |
|
wrksx
| hum | 12:27 |
|
jast
| there's not that much of an advantage in removing it, really | 12:27 |
|
wrksx
| jast: ok so i'll try that just to see it happen and get a better undersztanding | 12:27 |
| ← NoNMaDDe_ left | 12:27 |
|
wrksx
| jast: can't remove that branch remotes/hub/master fd18ce0 test | 12:28 |
| ← nucatus left | 12:28 |
| ← toothrot left | 12:28 |
|
jast
| oh, yeah... I think you need -r -d | 12:28 |
| ← Macaveli left | 12:28 |
| → ManikM joined | 12:29 |
|
jast
| (r for 'remote' :)) | 12:29 |
| ← kloeri left | 12:29 |
| → kloeri joined | 12:29 |
|
wrksx
| git is actually very subtle | 12:29 |
|
osse
| it'll just reappear when you fetch | 12:29 |
|
| unless you change the refspec | 12:29 |
| ← ManikM left | 12:29 |
| ← kopparam left | 12:29 |
|
jast
| great, now you have to explain what a refspec is, and off we go into the rabbit hole ;) | 12:29 |
| → jonatasnona joined | 12:29 |
|
wrksx
| error: remote branch 'remotes/hub/master' not found. | 12:30 |
| → ManikM joined | 12:30 |
|
wrksx
| don't get it | 12:30 |
|
jast
| you may have to say 'hub/master' | 12:30 |
| ← jstemmer left | 12:30 |
|
jast
| I'm not sure either way, because I never manually delete remote-tracking branches | 12:30 |
|
wrksx
| jast: ah ok, remote for sure is not part of the branch name | 12:30 |
|
jast
| well technically it is :} | 12:30 |
|
wrksx
| ah | 12:30 |
|
jast
| internally, your local 'master' is stored as refs/heads/master, and hub/master is stored as refs/remotes/hub/master | 12:31 |
|
wrksx
| so that's doesn't really make sense | 12:31 |
|
| ah ok | 12:31 |
|
| the fact I use -r anyway makes git aware that I'm working on remote branches | 12:31 |
|
jast
| my guess is -r simply switches the internal refs/heads/ prefix over to refs/remotes/ when doing its thing | 12:31 |
| ← wookienz left | 12:31 |
|
wrksx
| what I thought | 12:31 |
| → toothrot joined | 12:32 |
|
jast
| btw this is analogous to how 'git branch -r' shows you remote-tracking branches, i.e. without the remotes/ prefix | 12:32 |
| → luksaur joined | 12:32 |
| → wookienz joined | 12:33 |
|
wrksx
| jast: yes in that that makes perfect sense | 12:33 |
|
jast
| so it all fits... mostly | 12:33 |
|
wrksx
| yeah | 12:33 |
| → cbr_ joined | 12:33 |
| ← nikita left | 12:33 |
|
wrksx
| jast: osse: thaks for your help guys | 12:34 |
|
| * thanks | 12:34 |
|
jast
| you're welcome | 12:34 |
| → solker joined | 12:34 |
|
jast
| please hold while I track down your invoicing address | 12:34 |
|
wrksx
| sure | 12:35 |
|
| =) | 12:35 |
|
| Ok I deleted that branch, and did a fetch and it's back again. All good. | 12:36 |
| → cagedwisdom joined | 12:36 |
| → nikita joined | 12:36 |
| ← _5kg left | 12:36 |
|
wrksx
| Now I removed that branch again, and did a git pull hub master | 12:36 |
|
| and it didn't recreated that strange remote track branch | 12:36 |
|
TomyWork
| hnnng, why is commit-filter run after msg-filter | 12:36 |
| ← yano left | 12:37 |
| ← solker left | 12:38 |
| → DaisyTheCow joined | 12:39 |
| ← ManikM left | 12:40 |
| → rnsanchez joined | 12:40 |
| ← DaisyTheCow left | 12:40 |
|
jast
| TomyWork: probably because it needs the commit message... just a guess, though :) | 12:40 |
| → tirengarfio joined | 12:40 |
|
TomyWork
| yeah i see that now :) | 12:41 |
| ← tirengarfio left | 12:41 |
|
TomyWork
| also, looks like index-filter runs before msg-filter | 12:41 |
|
wrksx
| git is just beautiful | 12:41 |
| ← phantombeta left | 12:41 |
| → eric___ joined | 12:41 |
|
TomyWork
| so i could set the author info there | 12:41 |
| → Macaveli joined | 12:42 |
| → Malsasa_ joined | 12:42 |
| ← Malsasa left | 12:42 |
|
TomyWork
| ...but that wont end up in the commit... | 12:43 |
| → phantombeta joined | 12:43 |
| → Evie_Hammond joined | 12:43 |
| → EminenceHC joined | 12:43 |
| → goTAN joined | 12:43 |
| Malsasa_ → Malsasa | 12:44 |
| ← Guest21879 left | 12:46 |
| → ionelmc joined | 12:47 |
| → tirengarfio joined | 12:48 |
| ← EminenceHC left | 12:48 |
| → achadwick joined | 12:49 |
| → durre joined | 12:50 |
| ← Marcus___ left | 12:51 |
| → soreau joined | 12:51 |
| → NoNMaDDeN joined | 12:51 |
|
soreau
| Hi, is there an easy way to output a list of revisions from a particular contributer? | 12:52 |
| ← freimatz left | 12:52 |
| ← marchdown left | 12:52 |
|
j416
| soreau: git log --author="particular contributor" | 12:52 |
|
soreau
| j416: Thanks :) | 12:53 |
|
j416
| o/ | 12:53 |
| → johtso_ joined | 12:53 |
| → ManikM joined | 12:53 |
| → whomp joined | 12:53 |
| ← liamkeily left | 12:53 |
| revolve_ → revolve | 12:53 |
| → aspiers joined | 12:53 |
| → nucatus joined | 12:54 |
| → dorkmafia joined | 12:54 |
| ← andrew_ left | 12:54 |
| ← smw left | 12:56 |
| ← nikita left | 12:57 |
| ← Macaveli left | 12:57 |
| ← vtunka left | 12:58 |
| → jb55 joined | 12:58 |
| ← whomp left | 12:58 |
| ← clauswitt left | 12:58 |
| → dsdeiz joined | 12:58 |
| ← nucatus left | 12:58 |
| → marchdown joined | 12:58 |
| ← dorkmafia left | 12:59 |
| ← ghoti left | 12:59 |
| → nikita joined | 12:59 |
| → palcu__ joined | 12:59 |
| → clauswitt joined | 13:00 |
| ← moritzschaefer left | 13:00 |
| ← zenithdk left | 13:00 |
| ← jcalonso_ left | 13:00 |
| → ghoti joined | 13:00 |
| ← sebhoss left | 13:00 |
| → tvw joined | 13:00 |
| → fstd_ joined | 13:01 |
| → sburgess joined | 13:01 |
| ← nfk left | 13:01 |
| ← palcu_ left | 13:02 |
| ← jb55 left | 13:02 |
| ← robinsmidsrod left | 13:04 |
| → robinsmidsrod joined | 13:04 |
| ← fstd left | 13:04 |
| fstd_ → fstd | 13:04 |
| ← s8321414 left | 13:04 |
| ← robinsmidsrod left | 13:04 |
| ← jargon left | 13:05 |
| → s8321414 joined | 13:05 |
| ← adamben left | 13:05 |
| ← Nijikokun left | 13:05 |
| ← darkbasic left | 13:06 |
| → The_Phoenix joined | 13:06 |
| → darkbasic_ joined | 13:06 |
| → cannonball joined | 13:06 |
| ← dangerousdave left | 13:06 |
| → mikecmpbll joined | 13:06 |
| → robinsmidsrod joined | 13:06 |
| → LucasTT joined | 13:07 |
| → jargon joined | 13:08 |
| ← tirengarfio left | 13:09 |
| ← BlaXpirit-UA left | 13:11 |
| → BlaXpirit joined | 13:11 |
| → nfk joined | 13:11 |
| → tirengarfio joined | 13:11 |
| ← aspiers left | 13:12 |
| ← affa09 left | 13:13 |
| → m0ltar joined | 13:13 |
| → tristanp joined | 13:13 |
| → Malsasa_ joined | 13:13 |
| ← Malsasa left | 13:14 |
| ← mlechner left | 13:14 |
| → DanMAbraham joined | 13:14 |
| → mlechner joined | 13:15 |
| → dangerousdave joined | 13:16 |
| → otter768 joined | 13:18 |
| → liamkeily joined | 13:19 |
|
TomyWork
| "git svn find-rev r12345" says "Unable to determine upstream SVN information from HEAD history". I did some rebasing and filterbranching so i kinda expected that. however, i only rewrote commit messages and authors, so i'd like to reassociate the svn and git commits, if possible. | 13:19 |
| ← huglester_ left | 13:19 |
| → huglester joined | 13:20 |
| → listochkin joined | 13:20 |
| ← beautifulmind left | 13:20 |
| → _5kg joined | 13:21 |
| ← JDHawke left | 13:22 |
| → shigoseii joined | 13:22 |
| ← subhojitpaul21 left | 13:22 |
| ← otter768 left | 13:22 |
| → mytec joined | 13:23 |
| ← elcheckito left | 13:23 |
| → palcu joined | 13:23 |
| → aspiers joined | 13:24 |
| → Marcus_ joined | 13:24 |
| c74d → Guest13071 | 13:24 |
| ← mattl left | 13:24 |
| ← flowerhack left | 13:24 |
| → darkbasic joined | 13:24 |
| ← shigosei left | 13:24 |
| ← kapowaz_ left | 13:24 |
| ← lacrosse__ left | 13:24 |
| ← robmozart_ left | 13:24 |
| ← eeeeeta left | 13:24 |
| ← tfnico____ left | 13:24 |
| ← faheem_ left | 13:24 |
| ← [diecast] left | 13:24 |
| ← hguux_ left | 13:24 |
| ← ZucchiniZe left | 13:24 |
| ← devhost left | 13:24 |
| ← lebster left | 13:24 |
| ← mehdi left | 13:24 |
| ← akitada left | 13:24 |
| ← Guest13071 left | 13:25 |
| ← ariver left | 13:25 |
| ← ocharles_ left | 13:25 |
| ← tm512 left | 13:25 |
| → russt joined | 13:25 |
| → flowerhack joined | 13:25 |
| → apipkin_ joined | 13:25 |
| → kapowaz_ joined | 13:25 |
| ← darkbasic_ left | 13:25 |
| ← basiclaser_ left | 13:25 |
| ← Novitsh_ left | 13:25 |
| ← apipkin left | 13:25 |
| ← hellschreiber left | 13:25 |
| ← sadmac left | 13:25 |
| ← Hello71 left | 13:25 |
| ← SleePy left | 13:25 |
| ← shennyg left | 13:25 |
| ← Hipska left | 13:25 |
| ← da5id left | 13:25 |
| ← edenist left | 13:25 |
| → shennyg_ joined | 13:25 |
| ← michael_mbp left | 13:25 |
| → c74d joined | 13:25 |
| → basiclaser_ joined | 13:25 |
| ← palcu__ left | 13:25 |
| → michael_imac joined | 13:25 |
| → eeeeeta joined | 13:25 |
| → tm512 joined | 13:26 |
| → faheem_ joined | 13:26 |
| → lacrosse__ joined | 13:26 |
| ← ams_ left | 13:26 |
| ← scalability-junk left | 13:26 |
| → [diecast] joined | 13:26 |
| → ams__ joined | 13:26 |
| → Novitsh_ joined | 13:26 |
| → tfnico____ joined | 13:26 |
| → ocharles_ joined | 13:26 |
| → devhost joined | 13:26 |
| → lebster joined | 13:26 |
| → Hipska joined | 13:26 |
| → robmozart_ joined | 13:26 |
| → ZucchiniZe joined | 13:26 |
| → akitada joined | 13:26 |
| → scalability-junk joined | 13:26 |
| → ariver joined | 13:27 |
| apipkin_ → apipkin | 13:27 |
| → edenist joined | 13:27 |
| → hguux_ joined | 13:27 |
| → Hello71 joined | 13:27 |
| → hellschreiber joined | 13:27 |
| → vtunka joined | 13:27 |
| → mattl_ joined | 13:27 |
| shennyg_ → shennyg | 13:27 |
| → SleePy joined | 13:27 |
| → da5id joined | 13:27 |
| → mehdi joined | 13:27 |
| gitinfo set mode: +v | 13:27 |
| → ruukasu joined | 13:28 |
| → Marcus___ joined | 13:28 |
| → sadmac joined | 13:28 |
| ← DanMAbraham left | 13:29 |
| ← m0ltar left | 13:29 |
| → mellernoia joined | 13:29 |
| ← SwedFTP left | 13:29 |
| c74d → Guest10552 | 13:29 |
| → adamben joined | 13:30 |
| → SwedFTP joined | 13:30 |
| → c74d joined | 13:30 |
| ← Marcus_ left | 13:31 |
| ← mytec left | 13:31 |
| ← Guest10552 left | 13:31 |
| ← wrksx left | 13:32 |
| → hcc23 joined | 13:32 |
| Malsasa_ → Malsasa | 13:33 |
| ← bhuvanaurora left | 13:34 |
| → solker joined | 13:35 |
| → darkbasic_ joined | 13:35 |
| ← darkbasic left | 13:35 |
| → jatt joined | 13:36 |
| ← jatt left | 13:37 |
| → mribeirodantas joined | 13:38 |
| ← listochkin left | 13:38 |
| ← solker left | 13:39 |
| → bhuvanaurora joined | 13:39 |
| ← dsdeiz left | 13:40 |
| → listochkin joined | 13:41 |
| → kadoban joined | 13:41 |
| → elcheckito joined | 13:41 |
| ← ap0c left | 13:42 |
| ← tirengarfio left | 13:42 |
| ← mlechner left | 13:43 |
| ← jason237 left | 13:43 |
| ← Guest52093 left | 13:45 |
| → jerius joined | 13:45 |
| → EminenceHC joined | 13:45 |
| ← martinklepsch left | 13:45 |
| ← elcheckito left | 13:46 |
| → sebhoss joined | 13:46 |
| ← kadoban left | 13:47 |
| → kadoban joined | 13:47 |
| ← listochkin left | 13:47 |
| → eletuchy joined | 13:48 |
| ← _5kg left | 13:48 |
| → iamjarvo joined | 13:48 |
| → mlechner joined | 13:48 |
| ← EminenceHC left | 13:50 |
| ← niro left | 13:50 |
| → sooheon joined | 13:50 |
| ← cagedwisdom left | 13:51 |
| ← mribeirodantas left | 13:51 |
| → Rampages joined | 13:51 |
| ← eletuchy left | 13:52 |
| → EminenceHC joined | 13:53 |
| → nrsk joined | 13:53 |
| → whomp joined | 13:54 |
| → nucatus joined | 13:54 |
| → tier joined | 13:55 |
| → knownasilya joined | 13:55 |
| → tirengarfio joined | 13:57 |
| ← EminenceHC left | 13:57 |
| ← aswen left | 13:57 |
| ← whomp left | 13:59 |
| → jb55 joined | 13:59 |
| → elcheckito joined | 13:59 |
| ← iamjarvo left | 13:59 |
| ← nucatus left | 13:59 |
| → IrishPrime joined | 14:00 |
| ← jb55 left | 14:00 |
| → jb55 joined | 14:00 |
| ← msankhala left | 14:03 |
| ← darkbasic_ left | 14:04 |
| → ErKa joined | 14:04 |
| ← dangerousdave left | 14:05 |
| → sinkensabe joined | 14:05 |
| ← jb55 left | 14:05 |
| → kopparam joined | 14:06 |
| ← sooheon left | 14:06 |
| → danemacmillan joined | 14:06 |
| ← The_Phoenix left | 14:06 |
| ← AliRezaTaleghani left | 14:07 |
| → AliRezaTaleghani joined | 14:07 |
| ← AliRezaTaleghani left | 14:07 |
| → darkbasic joined | 14:07 |
| ← manumoomoo left | 14:08 |
| ← avvs left | 14:08 |
| → The_Phoenix joined | 14:08 |
| ← thedudez0r left | 14:09 |
| ← Gizburdt left | 14:09 |
| → delboy1978uk1 joined | 14:09 |
|
delboy1978uk1
| how do i pull latest changes from the github repository i forked from? | 14:09 |
| → Gizburdt joined | 14:09 |
|
TomyWork
| have you tried git pull? | 14:09 |
|
danemacmillan
| Did you add it as a remote? | 14:10 |
| ← davidreis left | 14:10 |
|
delboy1978uk1
| yeah but that pulls from my fork | 14:10 |
|
TomyWork
| (assuming you mean "cloned", not "forked") | 14:10 |
|
| (ok, you do not) | 14:10 |
|
danemacmillan
| When you add it as a remote, you just do git pull remote-name | 14:10 |
|
delboy1978uk1
| actually think i found it? git merge upstream/master | 14:10 |
|
TomyWork
| delboy1978uk1 you'd have to tell git what "upstream" means, if you havent already | 14:10 |
|
delboy1978uk1
| let mr try :) | 14:10 |
|
| me | 14:10 |
| → tmcmahon joined | 14:11 |
| → listochkin joined | 14:11 |
| ← s8321414 left | 14:11 |
| → manumoomoo joined | 14:11 |
|
TomyWork
| github should really offer that on their web interface | 14:11 |
|
delboy1978uk1
| ok didnt work lol | 14:11 |
|
| i know | 14:11 |
|
TomyWork
| maybe they do now... ask #github | 14:11 |
|
| or maybe they have a guide for that | 14:11 |
|
delboy1978uk1
| git remote add upstream [URL] | 14:11 |
|
danemacmillan
| delboy1978uk1: yes | 14:12 |
|
| You need to add it as a remote. | 14:12 |
| ← rchavik left | 14:12 |
| → yano joined | 14:12 |
| ← clauswitt left | 14:12 |
|
TomyWork
| delboy1978uk1 you should really try looking for a guide on github's help pages | 14:12 |
|
| there probably is one | 14:13 |
| ← The_Phoenix left | 14:13 |
| ← Gizburdt left | 14:13 |
| ← sarri left | 14:14 |
| → crose joined | 14:14 |
| → Gizburdt joined | 14:14 |
| ← tirengarfio left | 14:14 |
| ← jerius left | 14:14 |
| → martinklepsch joined | 14:14 |
| → The_Phoenix joined | 14:15 |
| ← mizu_no_oto left | 14:15 |
| ← Gizburdt left | 14:15 |
| → sarri joined | 14:16 |
| → joo-_ joined | 14:16 |
| → dangerousdave joined | 14:17 |
| → Pdiddy3g joined | 14:17 |
|
delboy1978uk1
| TomyWork: got it https://help.github.com/articles/syncing-a-fork/ | 14:17 |
| → iamjarvo joined | 14:17 |
| → polyzen joined | 14:17 |
| ← Pdiddy3g left | 14:17 |
| ← delboy1978uk1 left | 14:18 |
| ← The_Phoenix left | 14:18 |
| → dsdeiz joined | 14:18 |
| → The_Phoenix joined | 14:19 |
| ← The_Phoenix left | 14:19 |
| → The_Phoenix joined | 14:19 |
| ← jonatasnona left | 14:20 |
| → Gizburdt joined | 14:20 |
| → aswen joined | 14:21 |
| ← z8z left | 14:21 |
| → thedudez0r joined | 14:22 |
| → tirengarfio joined | 14:23 |
| → ascarter joined | 14:24 |
| ← roelmonnens left | 14:24 |
| → derringur joined | 14:24 |
| → roelmonnens joined | 14:24 |
| ← russt left | 14:25 |
| ← iamjarvo left | 14:26 |
| ← shinnya left | 14:26 |
| ← adamretter left | 14:26 |
| → buffal0 joined | 14:28 |
| → CEnnis91 joined | 14:28 |
| → livingstn joined | 14:28 |
| ← dangerousdave left | 14:28 |
| ← ManikM left | 14:29 |
| → ManikM joined | 14:29 |
| → chrisgeo joined | 14:31 |
| → crystal77 joined | 14:31 |
| ← joo-_ left | 14:31 |
| → dangerousdave joined | 14:32 |
| ← palcu left | 14:33 |
| → _5kg joined | 14:33 |
| ← buffal0 left | 14:33 |
| ← darkbasic left | 14:34 |
| → darkbasic joined | 14:34 |
| → solker joined | 14:35 |
| ← dsdeiz left | 14:35 |
| → buffal0 joined | 14:36 |
| → JosephFerano joined | 14:36 |
| → timini_ joined | 14:36 |
|
timini_
| Hi how can I change all my commits into a since commit? | 14:37 |
|
osse
| timini_: git reset --soft HEAD~10; git commit | 14:37 |
|
| timini_: that will work if they are all on a single line | 14:38 |
|
| consecutive | 14:38 |
| ← sword` left | 14:38 |
| ← mlechner left | 14:38 |
| → freimatz joined | 14:38 |
| ← solker left | 14:40 |
| → joo-_ joined | 14:40 |
| → Macaveli joined | 14:41 |
| → palcu joined | 14:41 |
| ← joo-_ left | 14:41 |
| ← The_Phoenix left | 14:42 |
| → d10n-work joined | 14:42 |
| ← darkbasic left | 14:43 |
| → darkbasic joined | 14:43 |
| → whomp joined | 14:44 |
| → meltdown joined | 14:44 |
| ← tmcmahon left | 14:45 |
| ← bhuvanaurora left | 14:48 |
| ← whomp left | 14:48 |
| ← curiousmansi_ left | 14:49 |
| → millr|wrk joined | 14:49 |
| → pmallya joined | 14:49 |
| ← pmallya left | 14:50 |
| → Milkweed joined | 14:50 |
| → EminenceHC joined | 14:50 |
| → thedodd joined | 14:50 |
| → pmallya_ joined | 14:50 |
| ← tirengarfio left | 14:52 |
| → iamjarvo joined | 14:53 |
| → subhojit777 joined | 14:54 |
| → tier_ joined | 14:54 |
| → dorkmafia joined | 14:55 |
| ← EminenceHC left | 14:55 |
| → DanMAbraham joined | 14:55 |
| → nucatus joined | 14:56 |
| → ehynds joined | 14:57 |
| ← tier left | 14:57 |
| DanMAbraham → moarrr | 14:57 |
| → maestrojed joined | 14:57 |
| ← knobo left | 14:57 |
| → jatt joined | 14:58 |
| ← dangerousdave left | 14:58 |
| ← dorkmafia left | 14:59 |
| → tranzfuse joined | 14:59 |
| ← webguy_ left | 15:01 |
| → jb55 joined | 15:01 |
| ← tranzfuse left | 15:01 |
| → russt joined | 15:02 |
| → tranzfuse joined | 15:02 |
| ← durre left | 15:02 |
| ← jceb left | 15:02 |
| → webguy joined | 15:03 |
|
timini_
| cool thanks | 15:04 |
| → upene joined | 15:05 |
| → DrSkyLizard joined | 15:05 |
| ← jb55 left | 15:05 |
| ← netcarver left | 15:06 |
| → steele joined | 15:07 |
| → jnavila_ joined | 15:07 |
| → AaronMT joined | 15:08 |
| ← soreau left | 15:08 |
| → CheckDavid joined | 15:09 |
| → eletuchy joined | 15:09 |
| ← fstd left | 15:10 |
|
sybariten
| dang | 15:10 |
| ← rob_w left | 15:10 |
|
sybariten
| yesterday i found a git tutorial at home, saved the URL in a txt file there, but now at work i find like 10 different other tutorials about the same subject, but not this specific one | 15:10 |
|
| the google-fu is weak in this one | 15:11 |
| → craigp joined | 15:11 |
| ← jnavila left | 15:11 |
| ← iamjarvo left | 15:11 |
| → fstd joined | 15:12 |
| ← ascarter left | 15:12 |
| → its-martin joined | 15:12 |
| ← craigp left | 15:12 |
| → rpg joined | 15:12 |
| → ascarter joined | 15:13 |
| → kukks joined | 15:13 |
| ← wookienz left | 15:13 |
| → moritzschaefer joined | 15:14 |
| → Technocrat joined | 15:15 |
| → awkwardusername joined | 15:15 |
| → wookienz joined | 15:15 |
| ← Consuela left | 15:16 |
| ← virtualsue left | 15:16 |
|
its-martin
| I checked out upstream/develop by typing git checkout -b upstream/develop without another name. now I have two upstream/develop when I do something like git branch -a, which causes problems. How can I undo this? | 15:17 |
|
osse
| its-martin: delete it | 15:17 |
|
| git branch -d upstream/develop | 15:17 |
| → axl_ joined | 15:18 |
|
its-martin
| osse, That's what I figured, but it made mea little nervous it would also try to delete my remote or something | 15:18 |
| → jceb joined | 15:18 |
| → m4tthumphrey joined | 15:18 |
|
m4tthumphrey
| yo yo yo | 15:18 |
| → Spacew00t joined | 15:18 |
| → otter768 joined | 15:18 |
|
m4tthumphrey
| is it possible to revert my (clean) working copy to a previous commit but without rewriting (resetting) history? | 15:19 |
| → dreiss joined | 15:19 |
|
its-martin
| osse, Worked fine it looks like. Nervous for no reason. Thank you!! | 15:19 |
|
kadoban
| m4tthumphrey: You can use 'git revert', but it doesn't revert to a particular state, it reverts commit(s) | 15:20 |
|
osse
| m4tthumphrey: git checkout <commit> -- . | 15:20 |
|
| with the dot, assumnig you're at the top level | 15:20 |
| → bracero joined | 15:21 |
|
m4tthumphrey
| thank you guys! | 15:21 |
| ← sebhoss left | 15:21 |
|
m4tthumphrey
| i thought it’d be todo with checkout | 15:21 |
|
| what does the “—“ bit do osse? | 15:21 |
|
| -- | 15:22 |
|
osse
| !-- | 15:22 |
|
gitinfo
| [!dashes] Use a double-dash(--) to separate refs or arguments from file paths. This is especially useful when dealing with ambiguous names. Ex: `git checkout origin -- master` will check out the file "master" from branch "origin" | 15:22 |
|
m4tthumphrey
| ah i see | 15:22 |
|
osse
| I don't think it is needed in this case because there's no ambiguity | 15:22 |
|
| but it doesn't hurt | 15:22 |
| → dfedde joined | 15:22 |
| ← thedodd left | 15:22 |
|
m4tthumphrey
| yep makes sense | 15:22 |
| ← dfedde left | 15:23 |
| ← eric___ left | 15:23 |
| ← otter768 left | 15:24 |
| → Ankhers joined | 15:24 |
| → iamjarvo joined | 15:24 |
| ← GT left | 15:25 |
| → dfedde joined | 15:25 |
| ← nouranology left | 15:26 |
| → The_Phoenix joined | 15:29 |
| → dangerousdave joined | 15:29 |
| ← jceb left | 15:29 |
| ← crystal77 left | 15:29 |
| ← The_Phoenix left | 15:30 |
| → jcalonso joined | 15:30 |
| ← dangerousdave left | 15:30 |
| → Pyrogerg joined | 15:30 |
| ← teran left | 15:31 |
| → teran joined | 15:31 |
| → Akagi201 joined | 15:32 |
| ← ascarter left | 15:33 |
| ← Guest79317 left | 15:35 |
| → Guest79317 joined | 15:35 |
| ← Gizburdt left | 15:36 |
| → solker joined | 15:36 |
| → alanwill joined | 15:36 |
| → Sadi joined | 15:36 |
| ← Guest79317 left | 15:37 |
| ← NoNMaDDeN left | 15:37 |
| → The_Phoenix joined | 15:37 |
| ← LucasTT left | 15:37 |
| → aartist joined | 15:37 |
| → Skapadapaduu joined | 15:38 |
| → NoNMaDDeN joined | 15:38 |
| ← crose left | 15:38 |
| → jonmasters joined | 15:38 |
| ← kopparam left | 15:38 |
| ← eletuchy left | 15:38 |
| → RTG` joined | 15:39 |
| → eletuchy joined | 15:39 |
| ← t0th_-___ left | 15:39 |
| ← timini_ left | 15:40 |
| ← solker left | 15:40 |
| ← upene left | 15:41 |
| → upene joined | 15:41 |
| ← alanwill left | 15:41 |
| → sebhoss joined | 15:41 |
| → jceb joined | 15:41 |
| → jiskiras joined | 15:42 |
| → Gizburdt joined | 15:43 |
| → lindenle joined | 15:43 |
| → smccarthy joined | 15:43 |
| ← tranzfuse left | 15:43 |
| ← moritzschaefer left | 15:43 |
| ← eletuchy left | 15:44 |
| ← listochkin left | 15:44 |
| ← Sadi left | 15:44 |
| → cvanball joined | 15:44 |
| → dangerousdave joined | 15:44 |
| ← dangerousdave left | 15:44 |
| → whomp joined | 15:45 |
| ← GarethAdams left | 15:46 |
| ← EvilPenguin left | 15:46 |
| → dangerousdave joined | 15:47 |
| ← mkaesz left | 15:47 |
| → GarethAdams joined | 15:47 |
| → tranzfuse joined | 15:47 |
| ← tranzfuse left | 15:47 |
| ← dangerousdave left | 15:47 |
| → mkaesz joined | 15:47 |
| → tranzfuse joined | 15:47 |
| ← lindenle left | 15:47 |
| → SadiQ_ joined | 15:48 |
|
rivarun
| with `git add -p`, can i go directly to the editor, with _all_ the hunks? | 15:48 |
| ← sinkensabe left | 15:48 |
| ← kukks left | 15:49 |
| → pheaver joined | 15:49 |
| → acharlieh joined | 15:49 |
| → dangerousdave joined | 15:49 |
| ← DrSkyLizard left | 15:49 |
| ← dangerousdave left | 15:50 |
| ← svector left | 15:50 |
|
kadoban
| rivarun: Don't think so | 15:50 |
| ← ehynds left | 15:51 |
|
rivarun
| kadoban: oh, looks like i need `git add -e` | 15:51 |
| ← mkaesz left | 15:52 |
| → jonatasnona joined | 15:52 |
| → joo-_ joined | 15:52 |
| → EminenceHC joined | 15:53 |
|
kadoban
| rivarun: Huh, neat. I didn't know that existed | 15:54 |
| ← rath left | 15:54 |
| → msankhala joined | 15:54 |
|
rivarun
| kadoban: it's missing the help text at the bottom, but there's better documentation in the manpage anyway | 15:54 |
| → cwillu_at_work joined | 15:56 |
| → Noldorin joined | 15:58 |
| ← gavit left | 15:58 |
| ← EminenceHC left | 15:58 |
| ← Derega left | 15:58 |
| → MLM joined | 15:58 |
| ← pheaver left | 15:59 |
| → KONIG joined | 15:59 |
| ← upene left | 15:59 |
| ← jargon left | 16:00 |
|
rivarun
| kadoban: ouch. if the patch does not apply, it doesn't let you continue from where you left off | 16:00 |
| ← roelmonnens left | 16:00 |
| ← FilipNortic left | 16:01 |
| → jb55 joined | 16:02 |
| ← punchagan left | 16:02 |
|
kadoban
| rivarun: Doh. I guess you can manually save it, but that kinda sucks. | 16:02 |
| ← acolson left | 16:02 |
| ← allogeek left | 16:03 |
| → WORMSS joined | 16:03 |
| → [H]unt3r joined | 16:03 |
| → pheaver joined | 16:03 |
| → t0th_-___ joined | 16:03 |
| ← Silmarilion left | 16:03 |
| → ehmatthes joined | 16:04 |
|
WORMSS
| Is "git merge -s --no-ff octopus a b d" supposed to state that you are fast forwarding the first branch, even though you have told it not to, and the log confirms you have not. | 16:04 |
|
| opps, -s octopus --no-ff sorry | 16:04 |
| ← vtunka left | 16:05 |
| ← mennea left | 16:05 |
| → SumDude joined | 16:05 |
| ← martinklepsch left | 16:05 |
| ← nilg left | 16:05 |
| ← moarrr left | 16:05 |
|
rivarun
| kadoban: ontop of that, i've had very little luck with editing these. 95% of my patches don't apply even if i follow the instructions and i'm often stuck trying to stage a trivial patch | 16:06 |
| → gavit joined | 16:06 |
| → geekbri joined | 16:06 |
| ← jb55 left | 16:07 |
|
kadoban
| rivarun: Yeah, it might be better using -p and doing it piece by piece unless you're god at diff format. Even then it can be prett easy to confuse yourself | 16:07 |
|
rivarun
| kadoban: the problem with hunks is that you can't split them indefinitely | 16:07 |
| ← jatt left | 16:07 |
| → LifeBlood joined | 16:07 |
| ← Gizburdt left | 16:09 |
|
kadoban
| rivarun: Right, but usually you can get it down to a few lines at a time | 16:09 |
| → crystal77 joined | 16:09 |
| → kpease joined | 16:10 |
|
rivarun
| kadoban: hm. i guess that helps with smaller diff changes. let me try | 16:10 |
| ← cvanball left | 16:10 |
| → mribeirodantas joined | 16:11 |
| ← psoo left | 16:11 |
| ← LeMike left | 16:11 |
| → a_le joined | 16:12 |
| → chrisshattuck joined | 16:12 |
| ← ThomasLocke left | 16:12 |
| → Dirkos joined | 16:12 |
|
Dirkos
| I have a problem with my git that everytime i do a push i see a change on the complete file | 16:13 |
| ← crystal77 left | 16:13 |
|
Dirkos
| so it kinda replaces the whole file | 16:13 |
|
moritz
| Dirkos: sounds like an !eol issue | 16:13 |
|
gitinfo
| Dirkos: The option/attribute to use when you need to care about different line-endings in your file: http://timclem.wordpress.com/2012/03/01/mind-the-end-of-your-line/ | 16:13 |
| → Gamecubic joined | 16:13 |
| ← fr33domlover left | 16:14 |
| → punchagan joined | 16:14 |
| → crystal77 joined | 16:14 |
| → Derega joined | 16:14 |
| → dangerousdave joined | 16:15 |
| → n-st joined | 16:15 |
| ← jceb left | 16:16 |
| → Bryzzle joined | 16:16 |
| → eletuchy joined | 16:17 |
| → jb55 joined | 16:19 |
| ← Derega left | 16:19 |
| → sinkensabe joined | 16:21 |
| → Derega joined | 16:22 |
| ← pheaver left | 16:23 |
| → Prawnzy joined | 16:24 |
| ← bracero left | 16:24 |
| ← Dirkos left | 16:24 |
| ← zumba_addict left | 16:26 |
| → zumba_addict joined | 16:27 |
| ← likewhoa left | 16:27 |
| → Narfinger joined | 16:28 |
| ← Duikb00t left | 16:28 |
|
Narfinger
| hiho, what would be the commandline to add something like [http "https://foo.bar"] sslCAInfo=/baz? | 16:28 |
| ← nnyk_ left | 16:28 |
|
canton7
| jast, gitinfo isn't in #github or #gitolite? | 16:29 |
| ← ManikM left | 16:29 |
|
jast
| .join | 16:29 |
|
gitinfo
| jast: Auto-joined configured channels: #bitbucket, #gitolite, #github, #git, #git-devel | 16:29 |
| → ManikM joined | 16:29 |
|
canton7
| ignore me, I'm blind | 16:30 |
|
| >< | 16:30 |
|
jast
| :) | 16:30 |
| → tgunr joined | 16:30 |
| ← Derega left | 16:31 |
| ← joo-_ left | 16:31 |
| ← iamjarvo left | 16:33 |
| → mihaicris joined | 16:33 |
| → eric___ joined | 16:34 |
| → iamjarvo joined | 16:34 |
| → thiago joined | 16:34 |
| ← nucatus left | 16:34 |
| → Zupoman joined | 16:35 |
| ← alorence left | 16:35 |
| ← Narfinger left | 16:35 |
| → adamretter joined | 16:36 |
| ← hgl left | 16:37 |
| ← jiskiras left | 16:37 |
| → solker joined | 16:37 |
| → ferri joined | 16:37 |
| ← mribeirodantas left | 16:37 |
| ← adamretter left | 16:37 |
| → kopparam joined | 16:39 |
| ← lb1a left | 16:39 |
| ← tristanp left | 16:40 |
| → mustmodify joined | 16:40 |
| ← cbr_ left | 16:41 |
| ← solker left | 16:42 |
| → lolmaus joined | 16:42 |
| ← jagob left | 16:43 |
| ← adamben left | 16:43 |
| ← sebhoss left | 16:43 |
|
lolmaus
| "foo" does not appear in any source code file of my project, but i suspect it was there previously. How do i search past commits for an occurence of "foo"? | 16:43 |
| ← CustosL1men left | 16:43 |
|
kadoban
| lolmaus: 'git log -Sfoo' maybe? | 16:44 |
| → MarkyC joined | 16:44 |
| ← kopparam left | 16:44 |
| → lindenle joined | 16:45 |
| ← mustmodify left | 16:45 |
| ← nour left | 16:45 |
|
lolmaus
| kadoban: does this search codebase or commit messages? | 16:45 |
| → adamben joined | 16:45 |
|
kadoban
| lolmaus: Code | 16:46 |
| → likewhoa joined | 16:46 |
|
lolmaus
| kadoban: thx | 16:46 |
|
kadoban
| 'welcome | 16:46 |
| → kopparam joined | 16:47 |
| ← Milkweed left | 16:48 |
| ← thedudez0r left | 16:48 |
| → thedudez0r joined | 16:49 |
| → checkit joined | 16:51 |
| → Techno786 joined | 16:51 |
| → richardlitt joined | 16:52 |
| → sword joined | 16:52 |
| ← zumba_addict left | 16:52 |
|
richardlitt
| What should I add as a remote to get the latest version of git for dev? | 16:52 |
| → zumba_addict joined | 16:53 |
|
osse
| richardlitt: do you have a repo to begin with? | 16:53 |
| ← Technocrat left | 16:53 |
|
richardlitt
| Yeah, got it off of GitHub. Can’t seem to find anywhere where the repo is actually stored | 16:53 |
| ← Macaveli left | 16:53 |
|
richardlitt
| Been searching for around thirty minutes. :| | 16:53 |
|
osse
| richardlitt: the github mirror is up-to-date | 16:53 |
| → Technocrat joined | 16:54 |
| ← ehmatthes left | 16:54 |
| ← adamben left | 16:54 |
|
richardlitt
| Cool. | 16:54 |
| Solid1_afk → Solid1 | 16:55 |
|
richardlitt
| Do you have any suggestions for a guide to how to use the ‘submit a patch to git’ guide? | 16:55 |
|
| I’m completely unfamiliar with using an email client to submit a patch | 16:55 |
| ← Olipro left | 16:55 |
|
osse
| richardlitt: you can use git-send-email | 16:55 |
|
bremner
| man git format-patch | 16:55 |
|
gitinfo
| the git-format-patch manpage is available at http://jk.gs/git-format-patch.html | 16:55 |
|
osse
| that's what I use | 16:55 |
|
bremner
| or that. | 16:55 |
| → dorkmafia joined | 16:55 |
| → jagob joined | 16:55 |
| → EminenceHC joined | 16:56 |
|
bremner
| git-send-email assumes output mail works from your workstation. | 16:56 |
| ← gain left | 16:56 |
| ← Akagi201 left | 16:56 |
|
richardlitt
| I don’t have email set up from my Terminal; would I need to do that? | 16:56 |
|
| I’ve traditionally only used gmail | 16:56 |
| ← flowinho left | 16:57 |
|
richardlitt
| Not opposed to learning more, just kind of a very difficult process getting up to scratch | 16:57 |
|
osse
| richardlitt: git-send-email supports gmail | 16:57 |
|
| that's what I use ^_^ | 16:57 |
| ← Techno786 left | 16:57 |
|
richardlitt
| Cool. | 16:57 |
| ← kriks left | 16:57 |
| → flowinho joined | 16:57 |
|
richardlitt
| So, this says one commit per file, and one file per patch | 16:57 |
|
| so any fixes for a few files needs a few emails? | 16:57 |
|
osse
| where does it say that? | 16:58 |
|
bremner
| one commit per file? that sounds wrong. | 16:58 |
|
richardlitt
| Do I need to sign up to the mailing list to submit a patch? I did before, but I was overwhelmed with the amount of emails | 16:58 |
|
| “Prepare each commit with its patch in one file per commit" | 16:58 |
|
osse
| you don't have to sign up | 16:58 |
| → ascarter joined | 16:58 |
|
osse
| richardlitt: the patch is in one file. the patch can modify several files | 16:58 |
| → moritzschaefer joined | 16:58 |
| → saurabh joined | 16:58 |
| → tristanp joined | 16:58 |
|
richardlitt
| Hmm. Ok. | 16:59 |
|
osse
| it does not mean that a commit can only touch one file at a time | 16:59 |
|
kadoban
| richardlitt: It means one commit should be one patch file, not one commit should modify one file. | 16:59 |
| saurabh → Guest71224 | 16:59 |
|
richardlitt
| Alright; is there a good man page for what a patch is, then? | 16:59 |
|
| I learned on GitHub, used to PRs and not patches | 16:59 |
| ← SadiQ_ left | 16:59 |
| → martinklepsch joined | 16:59 |
|
richardlitt
| (Sorry) | 16:59 |
| ← jnavila_ left | 16:59 |
|
osse
| richardlitt: a patch is what git diff produces (for example) | 16:59 |
|
kadoban
| richardlitt: A patch is essentially the output of 'diff', 'man patch' will explain it in general terms | 16:59 |
|
bremner
| richardlitt: try git log --patch on your PR | 17:00 |
|
| that will give you some idea. | 17:00 |
| ← gavit left | 17:00 |
| → jiskiras joined | 17:00 |
| ← dorkmafia left | 17:00 |
| ← EminenceHC left | 17:00 |
|
richardlitt
| Cool. So, a good workflow for a doc fix is to branch off of the newest commit from maint branch, do my commits, create a diff patch file, and then git-send-email | 17:00 |
| ← geekbri left | 17:00 |
| → solker joined | 17:01 |
| ← aswen left | 17:01 |
|
osse
| yes | 17:01 |
|
bremner
| git send-email can make the patch at the same time. | 17:01 |
|
| s/patch/patch series/ | 17:02 |
| → ryug joined | 17:02 |
| ← davidreis_ left | 17:02 |
| → Neozonz joined | 17:02 |
| ← Neozonz left | 17:02 |
| → Neozonz joined | 17:02 |
|
richardlitt
| Cool. So: pull, branch, edit, commit, then git send-email | 17:02 |
|
bremner
| yep | 17:02 |
| → mustmodify joined | 17:02 |
|
bremner
| branching is somewhat optional, if you're careful about pushing. | 17:02 |
|
mustmodify
| I would like to find out if-and-when a certain string existed in a config file. Is there a git function for that? | 17:03 |
| → mennea joined | 17:03 |
| → Sasazuka joined | 17:03 |
|
kadoban
| mustmodify: pickaxe is a decent way. 'git log -Sthestring -- the_file' | 17:03 |
| ← leakybuckit left | 17:04 |
|
bremner
| mustmodify: the config file is tracked in git? as opposed to a git config file? | 17:04 |
|
kadoban
| Also, tracking config files is usually not a good idea. | 17:04 |
|
| !config | 17:04 |
|
gitinfo
| [!configfiles] It is recommended to store local configuration data in a file which is not tracked by git, but certain deployment scenarios(such as Heroku) may require otherwise. See https://gist.github.com/1423106 for some ideas | 17:04 |
| ← dangerousdave left | 17:04 |
| → dangerousdave joined | 17:05 |
| → akushner_ joined | 17:05 |
|
mustmodify
| bremner: It's an application-settings kind of file. customer service email addresses, thresholds, etc. | 17:05 |
| ← teran left | 17:05 |
|
Bilge
| Is it possible clone without history, or to wipe the commit history after cloning? | 17:05 |
|
bremner
| then yeah, kadoban's answer should work | 17:05 |
|
mustmodify
| kadoban: Can you explain to me why that kind of file should not be in git? | 17:06 |
| ← m0viefreak left | 17:07 |
| → winst joined | 17:07 |
| ← WORMSS left | 17:07 |
| ← TomyWork left | 17:08 |
|
kadoban
| mustmodify: It depends what the config is. In general, config files behave poorly in git though. There's often secret data in them, so once you share your history you've opened yourself up to security nightmares. Also, if you have other developers working with you, they may want different config than you, there's no good way to do that with a tracked config file. | 17:08 |
| ← a_le left | 17:08 |
|
kadoban
| mustmodify: The link above details some ways to avoid the trouble. Of course this doesn't apply to every configuration file, but...most of them for sure. | 17:08 |
| → Quevin joined | 17:09 |
| ← martinklepsch left | 17:10 |
| ryug → gutoyr | 17:11 |
| ← derringur left | 17:11 |
| ← zumba_addict left | 17:11 |
| → Rixius joined | 17:11 |
| → quetz joined | 17:12 |
| → zumba_addict joined | 17:12 |
|
mustmodify
| kadoban: Ah, yes. Storing secrets in git is problematic. | 17:13 |
| → blackmesa joined | 17:13 |
| ← iamjarvo left | 17:14 |
|
kadoban
| mustmodify: Very common too. People forget they did so (or they delete the file going forward, but leave it in history), and then upload to github...fun. | 17:14 |
| → ThePeach joined | 17:15 |
|
ThePeach
| hi all I'm looking for a tool for displaying statistics for git repos, specifically commit history analytics per author across several git repos. Does anybody know anything that can do this? | 17:16 |
| → martinklepsch joined | 17:16 |
| ← metateck left | 17:17 |
| ← Novitsh_ left | 17:17 |
| → Syko joined | 17:17 |
| ← kopparam left | 17:17 |
|
Syko
| If I clone a repository, and the repository's file called genna.txt gets a update, how can I get git to only update that file rather than downloading the whole repository all over again? | 17:18 |
| → a_le joined | 17:19 |
|
ThePeach
| Syko: it won't: the protocol will fetch only the diff of the changed file(s) (more or less) | 17:19 |
| → otter768 joined | 17:20 |
| → Derega joined | 17:20 |
|
mustmodify
| kadoban: Thanks for the tip. | 17:20 |
| ← shigoseii left | 17:21 |
|
Syko
| If I do "git clone https://github.com/test/Test.git" - and after some weeks, Test has received some updates in files. How can I get git to fetch only the changed files and replace them? | 17:21 |
|
kadoban
| Syko: That's not directly how git works, something like 'git fetch' or 'git pull' is probably what you're looking for though. | 17:21 |
| → doev joined | 17:22 |
|
Syko
| kadoban; so if I want git to update the files that have received edits rather than downloading the whole thing again, what command should I make use of? | 17:22 |
| → LeMike joined | 17:22 |
| ← mustmodify left | 17:22 |
|
qsuscs
| Syko: man git pull | 17:22 |
|
gitinfo
| Syko: the git-pull manpage is available at http://jk.gs/git-pull.html | 17:22 |
| ← Bryzzle left | 17:23 |
|
Syko
| qsuscs; reading manuals is not my style. just give me the command | 17:23 |
|
kadoban
| Syko: I'm really not interested in giving you a specific command that you won't understand once it goes wrong. If you're going to use git, you really need to learn at least the bare minimum. | 17:23 |
| → Bryzzle joined | 17:23 |
| → jorj joined | 17:23 |
|
kadoban
| Syko: Also, haha...not a good way to get help on IRC. Good luck in the future. | 17:24 |
|
qsuscs
| … | 17:24 |
|
| what kadoban says. | 17:24 |
| ← thiago left | 17:24 |
| ← otter768 left | 17:24 |
| ← gfixler left | 17:24 |
| → antran joined | 17:24 |
| → solrize joined | 17:24 |
| ← skylite left | 17:24 |
|
Syko
| kadoban, am I arrogant and witty? | 17:25 |
| → in_deep_thought joined | 17:25 |
|
solrize
| you all seen that rcs wrapper that eric s. raymond is peddling, that tracks individual files separately instead of whole trees? would it be terribly hard to add that to git? "git init --decoupled" or something like that. | 17:25 |
|
kadoban
| solrize: Sounds like CVS reinvented? | 17:25 |
| ← Syko left | 17:25 |
|
kadoban
| Or RCS maybe I meant. | 17:25 |
| → decompiled joined | 17:26 |
|
solrize
| rcs, yes, it's literally an rcs wrapper | 17:26 |
| ← decompiled left | 17:26 |
|
kadoban
| Crazy. Everything old is new again. | 17:26 |
| ← Derega left | 17:26 |
|
qsuscs
| for some edge cases, the CVS model (“tree? what’s that? oh, that stuff we store our versioned files in?”) has its advantages | 17:27 |
|
crystal77
| How come when I run "git pull origin master" it prompts me to merge? Is that because I made a change to a file, and that same file was changed too? Cause sometimes it happens, sometimes it doesn't... | 17:27 |
|
qsuscs
| crystal77: !pull | 17:27 |
|
gitinfo
| crystal77: pull=fetch+merge (or with flags/config also fetch+rebase). It is thus *not* the opposite of push in any sense. A good article that explains the difference between fetch and pull: http://longair.net/blog/2009/04/16/git-fetch-and-merge/ | 17:27 |
| → Macaveli joined | 17:27 |
| → atran joined | 17:28 |
| ← tummy left | 17:28 |
|
kadoban
| crystal77: pull implies a merge. Sometimes it can automatically merge, sometimes there are conflicts (it can't tell how to merge without your help), and then you have to tell it what to do. | 17:28 |
| ← achadwick left | 17:28 |
| → marthinal_ joined | 17:28 |
|
solrize
| kadoban it's useful, i've kept wanting something like it, like when i have a bunch of text files in a directory | 17:29 |
|
| i.e. a poor man's wiki | 17:29 |
| ← winst left | 17:29 |
| ← marthinal left | 17:29 |
|
kadoban
| solrize: Ah, like when they're not really tightly coupled, just happen to be stored together or something? | 17:30 |
|
crystal77
| Well, it didn't prompt me to do anything, just to commit their pre-written message. I'm assuming it was able to merge successfully, and needed me to commit a 2nd time? | 17:30 |
|
solrize
| yes | 17:30 |
|
kadoban
| Interesting. | 17:30 |
|
qsuscs
| didn’t someone program a DCVS? | 17:30 |
| ← sword left | 17:30 |
| ← Evie_Hammond left | 17:30 |
| → Derega joined | 17:30 |
| ← mikecmpbll left | 17:30 |
|
milki
| now why would someone ever do that | 17:30 |
| ← Guest71224 left | 17:31 |
|
solrize
| qsuscs, esr's thing isn't distributed iirc | 17:31 |
|
kadoban
| crystal77: I'm not sure exactly what you mean, that doesn't sound like a normal result of pull. Make sure you read what's happening in detail and be careful. | 17:31 |
| ← marthinal_ left | 17:31 |
|
crystal77
| Hmm, alright... | 17:31 |
| ← martinklepsch left | 17:32 |
| ← tvw left | 17:32 |
| ← mennea left | 17:32 |
| → mennea joined | 17:33 |
| ← m4tthumphrey left | 17:33 |
| ← dangerousdave left | 17:34 |
| ← The_Phoenix left | 17:34 |
| ← jonatasnona left | 17:35 |
|
ThePeach
| hey | 17:35 |
|
| whoops | 17:35 |
| → The_Phoenix joined | 17:35 |
| ← liamkeily left | 17:35 |
| → Shusshu joined | 17:35 |
| → gavit joined | 17:36 |
| ← phix left | 17:37 |
| ← mihaicris left | 17:38 |
| ← wrouesnel left | 17:38 |
| ← errr left | 17:38 |
| → mihaicris joined | 17:38 |
| ← wrouesnel2 left | 17:38 |
| ← jcalonso left | 17:39 |
| → Stevie-O joined | 17:39 |
| → marthinal joined | 17:39 |
| ← CussBot left | 17:40 |
| → CussBot joined | 17:40 |
| ← arnatal left | 17:40 |
| ← mihaicris left | 17:40 |
| → mihaicris joined | 17:41 |
| ← vurma left | 17:42 |
| → decompiled joined | 17:42 |
|
Stevie-O
| I've got msysgit 1.9.4 and I'm trying to do a rebase and running into an odd problem | 17:42 |
|
| I have a commit for change A, followed by a commit for change B, followed by a commit to add a file that was supposed to be part of A and somehow missed, followed by a bunch of other commits | 17:43 |
| ← Shusshu left | 17:43 |
| ← francisfish left | 17:43 |
| ← marchdown left | 17:43 |
| ← ecky--ptang-zoob left | 17:43 |
|
Stevie-O
| My intention is to use rebase to reorder it so that instead of A-B-A'-... it's A-A'-B-... and then I intend to squash A and A' together | 17:44 |
| → ecky--ptang-zoob joined | 17:44 |
| ← ThePeach left | 17:44 |
| → tyreld joined | 17:44 |
| ← fstd left | 17:45 |
|
Stevie-O
| but when I try the rebase I get: "error: Your local changes to the following files would be overwritten by merge:" and then it mentions the file that was added in A' | 17:45 |
| → ThePeach joined | 17:45 |
|
ThePeach
| does anybody know a tool for analysing a git repo commit history? even better if it can work for multiple repos | 17:45 |
|
Stevie-O
| analyze how? | 17:45 |
| → quetz^^ joined | 17:45 |
| ← jheg left | 17:45 |
|
canton7
| Stevie-O, 'git status'? | 17:45 |
|
osse
| Stevie-O: sounds like you have uncommited changes at the time yournu rebase | 17:45 |
|
canton7
| Stevie-O, I'm guessing you've got uncommitted changes when you're trying to start the rebase? | 17:45 |
| → francisfish joined | 17:45 |
|
Stevie-O
| I dont' believe I do | 17:45 |
|
ThePeach
| Stevie-O: as in statistics | 17:45 |
|
Stevie-O
| I've done a 'git reset --hard' | 17:46 |
|
canton7
| Stevie-O, 'git status', please | 17:46 |
|
ThePeach
| how many commits per day per author... basic stuff I think | 17:46 |
|
Stevie-O
| specifically, the branch I'm trying to refactor is 'refactoring' so I did 'git reset --hard refactoring && git checkout refactoring' | 17:46 |
|
canton7
| whaa | 17:46 |
|
Stevie-O
| err s/to refactor/to rebase/ | 17:46 |
|
canton7
| so you reset your current branch to 'refactoring', then checked out refactoring | 17:46 |
|
| that doesn't sound right... | 17:47 |
| → mikecmpbll joined | 17:47 |
| ← Technocrat left | 17:47 |
| ← Prawnzy left | 17:47 |
|
Stevie-O
| well, that makes sense, cuz obviously I'm doing something wrong :) | 17:47 |
|
| okay hold on | 17:47 |
|
canton7
| anyways, I'm off home. someone else will help you out. good luck! | 17:47 |
|
| !lol please | 17:47 |
|
gitinfo
| A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all | 17:47 |
| ← melter_ left | 17:47 |
|
Stevie-O
| git diff says nothing but git status says I'm currently editing a comit while rebasing a branch | 17:47 |
| ← francisfish left | 17:47 |
| → francisfish joined | 17:47 |
| ← quetz left | 17:48 |
|
Stevie-O
| how do I kick git in the head hard enough to dislodge any notion of in-progress weirdness | 17:48 |
|
osse
| so there's an existing rebase in progress | 17:48 |
| ← Bryzzle left | 17:48 |
|
osse
| git rebase --abort | 17:48 |
| ← melter left | 17:48 |
| ← Xethron left | 17:48 |
|
Stevie-O
| ah. that wasn't one of the options it offered me, heh | 17:48 |
|
| okay | 17:48 |
|
| so now git status says: On branch refactoring / nothing to commit, working directory clean | 17:48 |
|
| is that right? | 17:48 |
| → nnyk_ joined | 17:49 |
|
Stevie-O
| err, is that what I want it to say | 17:49 |
| ← Dewi left | 17:49 |
|
| Stevie-O tries 'git rebase -i master' again | 17:49 |
|
Stevie-O
| and it still goes awry | 17:50 |
| ← rpg left | 17:50 |
| Solid1 → Solid1_afk | 17:50 |
|
Stevie-O
| You are currently editing a commit while rebasing branch 'refactoring' on 'bedf5ed'. modified: <file added in commit A'> | 17:50 |
| → Xethron joined | 17:50 |
|
osse
| did you mark a commit for editing? | 17:50 |
|
Stevie-O
| No? I simply reordered the lines | 17:51 |
| → martinklepsch joined | 17:51 |
| → fstd joined | 17:51 |
|
osse
| !repro | 17:51 |
|
gitinfo
| Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will raise the odds of getting your problem fixed from about 30% to about 90%. | 17:51 |
|
Stevie-O
| is there a way to add a 'breakpoint'? To insert a new commit in the middle? | 17:51 |
| → sdegutis joined | 17:52 |
|
milki
| yes | 17:52 |
| ← francisfish left | 17:52 |
|
milki
| hence the interactivity in the rebase command | 17:52 |
|
sdegutis
| I have a commit where I basically just removed one line at the beginning of every function in a file, and de-indented them. But git-diff (with no options) is showing me a really confusing diff, trying to get clever about what was removed. Is there a way to make git-diff show me it the way I just described it? | 17:53 |
| ← jb55 left | 17:53 |
| ← nnyk_ left | 17:53 |
| → Dewi joined | 17:53 |
| ← h4ml3t left | 17:54 |
| → srcerer joined | 17:54 |
| → jb55 joined | 17:54 |
|
milki
| sdegutis: try man git diff -w | 17:54 |
|
gitinfo
| sdegutis: the git-diff manpage is available at http://jk.gs/git-diff.html | 17:54 |
| → phix joined | 17:54 |
| ← zumba_addict left | 17:55 |
| ← palcu left | 17:55 |
|
milki
| if its empty, at least you know its all whitespace | 17:55 |
| ← tharkun left | 17:55 |
| → tharkun joined | 17:55 |
| → wrouesnel2 joined | 17:55 |
|
sdegutis
| Hmm, I noticed that I type 'man git-diff' rather than 'git help diff' which I guess is a notch in my neckbeard. | 17:55 |
|
gitinfo
| the git-diff manpage is available at http://jk.gs/git-diff.html | 17:55 |
| → zumba_addict joined | 17:55 |
|
milki
| not what you want though -.- | 17:55 |
| → wrouesnel3 joined | 17:55 |
|
Stevie-O
| okay, so if I do 'git rebase -i', and change one of the lines from 'pick' to 'edit', it will stop just before the commit phase? | 17:55 |
|
milki
| Stevie-O: !tias | 17:56 |
|
gitinfo
| Stevie-O: Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://gitolite.com/tias.html may help with git-specific TIAS. | 17:56 |
|
sdegutis
| milki: Oh wow, I didn't even think that maybe it had an option to ignore whitespace!!! | 17:56 |
| → oldtopman joined | 17:56 |
|
sdegutis
| This works great! | 17:56 |
|
Stevie-O
| okay, I think I may see the problem | 17:56 |
|
j416
| how do I kill a git bisect run? | 17:56 |
|
| guess I could just kill it | 17:57 |
|
| I wonder if there is a proper way | 17:57 |
| ← richardlitt left | 17:57 |
| ← jb55 left | 17:58 |
| → bhuvanaurora joined | 17:58 |
|
Stevie-O
| okay interesting | 17:58 |
| ← fahadash left | 17:59 |
| ← The_Phoenix left | 17:59 |
| → EminenceHC joined | 18:00 |
| ← subhojit777 left | 18:00 |
| → sohail joined | 18:00 |
| → SadiQ_ joined | 18:00 |
| ← SadiQ_ left | 18:00 |
| ← bhuvanaurora left | 18:00 |
| → githogori joined | 18:00 |
| → bhuvanaurora joined | 18:01 |
| → kukks joined | 18:01 |
| ← kukks left | 18:01 |
| → kukks joined | 18:01 |
| ← ThePeach left | 18:01 |
| ← fstd left | 18:01 |
| → SadiQ__ joined | 18:01 |
| ← SadiQ__ left | 18:01 |
| → iamjarvo joined | 18:01 |
| ← freimatz left | 18:01 |
| ← bhuvanaurora left | 18:02 |
| → ajustrun joined | 18:02 |
| ← mennea left | 18:02 |
| → mennea joined | 18:03 |
| ← hahuang61 left | 18:03 |
| → The_Phoenix joined | 18:03 |
| → fr33domlover joined | 18:04 |
| ← Macaveli left | 18:04 |
|
sdegutis
| git diff -w --color-words HEAD^ # this is amazing! | 18:04 |
| → pantsman- joined | 18:04 |
| ← wrouesnel2 left | 18:04 |
| ← FreezingCold left | 18:04 |
| ← The_Phoenix left | 18:04 |
| → winst joined | 18:04 |
|
osse
| Stevie-O: what is? | 18:05 |
| → virtualsue joined | 18:05 |
| ← EminenceHC left | 18:05 |
| ← ruukasu left | 18:05 |
|
Stevie-O
| I'm writing up my observations | 18:05 |
| → ruukasu joined | 18:05 |
|
sdegutis
| Can I make `-w --color-words` the default when diffing .clj files? | 18:05 |
| → tvw joined | 18:05 |
| ← githogori left | 18:05 |
| ← wrouesnel3 left | 18:06 |
| ← phix left | 18:06 |
| → chiromante joined | 18:06 |
| → Patch joined | 18:06 |
|
osse
| sdegutis: yes, using gitattributes you can define an external diff driver | 18:06 |
| → melter joined | 18:06 |
|
osse
| and that diff driver can be git diff itself | 18:07 |
| → githogori joined | 18:07 |
| → melter_ joined | 18:07 |
|
sdegutis
| osse: <3 | 18:07 |
| → dorkmafia joined | 18:07 |
| ← ErKa left | 18:07 |
| → thiago joined | 18:08 |
| ← atran left | 18:08 |
| ← mikecmpbll left | 18:09 |
| ← Dewi left | 18:09 |
| → Zvpun joined | 18:10 |
| → wrouesnel joined | 18:10 |
| ← twoface88 left | 18:10 |
| → Nijikokun joined | 18:10 |
| → mikecmpbll joined | 18:10 |
| → tirengarfio joined | 18:10 |
| → wrouesnel1 joined | 18:10 |
|
sdegutis
| Git is so cool. I was able to see how I used a function just before my last commit by doing: git grep -C2 with-eula-sig HEAD^ | 18:11 |
| → Dewi joined | 18:11 |
| → hexagoxel joined | 18:12 |
| → gain joined | 18:12 |
| ← antran left | 18:12 |
|
Zvpun
| Hi, when I "git checkout other-branch -- :/file" this file is already staged, but I only want to change the workdir, therefore I then "git reset -- :/file". a) What is the reason behind "git checkout branch -- file" also staging? (From the documentation I got the impression that checkout "works" on the workdir and "git reset" on HEAD and the index). b) Is there another/simpler way of getting the content of a fi | 18:12 |
|
| le on another branch into the working directory only, (i.e. am I doing it wrong)? | 18:12 |
| → The_Phoenix joined | 18:12 |
| → mgaunard_ joined | 18:13 |
| → phix joined | 18:13 |
|
mgaunard_
| I'd like to cherry pick a lot of commits from the master branch to the release branch of my project | 18:13 |
|
| is there a convenient way to do this? | 18:13 |
|
| I don't want to manually type lots of SHA-1, i'd rather just select the ones I want or not | 18:14 |
|
kadoban
| mgaunard_: rebase -i seems like it'd work fine | 18:14 |
|
mgaunard_
| how would I use it in this scenario? | 18:14 |
|
Stevie-O
| https://gist.github.com/Stevie-O/e9d78c27c46974a2d342 | 18:14 |
|
| osse: the short version is, it's like rebase isn't updating the index after one of the commits, so the changes from that commit stay "in the way" and screw things up on a later commit | 18:16 |
| → jonnyro joined | 18:16 |
| ← decompiled left | 18:16 |
| ← wrouesnel left | 18:16 |
| ← goTAN left | 18:17 |
|
kadoban
| mgaunard_: Something like.... 'git checkout master && git checkout -b temp_branch && git rebase -i --onto release master~100' then you do the interactive rebase, and then you can merge (which will ff-merge) the temp branch into release. | 18:17 |
| ← wrouesnel1 left | 18:17 |
| ← phix left | 18:18 |
|
kadoban
| mgaunard_: master~100 is arbitrary, just make it 1 commit before the first one you want to cherry-pick | 18:18 |
|
mgaunard_
| "git rebase -i release master" actually seems to do what I want | 18:18 |
|
kadoban
| Possibly. | 18:18 |
|
mgaunard_
| hmm, no it doesn't | 18:19 |
|
| it doesn't do it on my current branch | 18:19 |
| → heath joined | 18:20 |
|
heath
| this is a little embarrassing | 18:20 |
|
| gpo fix/useful-errors-for-bitrpc | 18:20 |
|
| gpo is an alias for git push origin | 18:20 |
|
| error: failed to push some refs to 'git@github.com:heath/bitcoin.git' | 18:20 |
|
| hint: Updates were rejected because the tip of your current branch is behind | 18:20 |
|
| hint: its remote counterpart. Integrate the remote changes (e.g. | 18:20 |
| ← ecky--ptang-zoob left | 18:20 |
| ← sdegutis left | 18:21 |
| → Technocrat joined | 18:21 |
| ← mikecmpbll left | 18:21 |
|
heath
| git pull --rebase bitcoin master | 18:21 |
| ← pandeiro left | 18:21 |
|
heath
| actually | 18:22 |
| → mikecmpbll joined | 18:22 |
|
heath
| i did | 18:22 |
|
| git checkout master | 18:22 |
|
| git pull --rebase bitcoin master | 18:22 |
| → liamkeily joined | 18:22 |
| ← devoldmx left | 18:22 |
|
heath
| gpo master | 18:22 |
|
| git checkout fix/useful-errors-for-bitrpc | 18:22 |
| ← lolmaus left | 18:22 |
|
heath
| git merge origin/master | 18:22 |
| → TomyLobo joined | 18:22 |
| → WaReZ joined | 18:23 |
|
heath
| git add . ; git commit -m 'useful message'; gpo fix/useful-errors-for-bitrpc and i still get the same error messages | 18:23 |
| ← rnsanchez left | 18:23 |
| ← kerrick left | 18:23 |
|
heath
| ...about the tip my current branch being behind the remote counterpart | 18:23 |
| → wrouesnel2 joined | 18:23 |
| ← mennea left | 18:24 |
| → wrouesnel3 joined | 18:24 |
| → phix joined | 18:24 |
|
heath
| that's what i'm working on for a little bit longer, if anyone has some feedback, that'd be cool | 18:24 |
| ← msankhala left | 18:24 |
| ← Xethron left | 18:24 |
|
heath
| but it's probably good that i figure this out :) | 18:24 |
| ← flowinho left | 18:24 |
| → sMa_ joined | 18:24 |
| ← martinklepsch left | 18:24 |
| → mennea joined | 18:24 |
| ← ferri left | 18:25 |
| → hgl joined | 18:25 |
| ← [H]unt3r left | 18:26 |
| → leeN joined | 18:26 |
| → Bryzzle joined | 18:27 |
| → marchdown joined | 18:27 |
| → ferri joined | 18:28 |
| ← astrofog left | 18:28 |
| → dangerousdave joined | 18:28 |
| → msankhala joined | 18:28 |
| ← St_Marx left | 18:28 |
| ← dangerousdave left | 18:29 |
| ← ManikM left | 18:29 |
| → ManikM joined | 18:29 |
| → teran joined | 18:29 |
| ← hgl left | 18:30 |
| ← its-martin left | 18:30 |
| ← sohail left | 18:30 |
| ← ferri left | 18:30 |
| → donmichelangelo joined | 18:30 |
| ← marcogmonteiro left | 18:31 |
| → devoldmx joined | 18:31 |
| ← The_Phoenix left | 18:31 |
| ← Rixius left | 18:31 |
| → baweaver joined | 18:32 |
| → chrisgeorge_ joined | 18:33 |
| → FreezingCold joined | 18:33 |
| ← michelangelo left | 18:33 |
| ← gain left | 18:34 |
| ← hexagoxel left | 18:35 |
| → bshacklett joined | 18:35 |
| ← chrisgeo left | 18:35 |
| ← NoNMaDDeN left | 18:36 |
| → hahuang61 joined | 18:36 |
| → The_Phoenix joined | 18:36 |
| → [H]unt3r joined | 18:37 |
|
bshacklett
| Does anyone have a recommendation for a toolset for using Git Flow from Powershell on Windows? | 18:37 |
| ← chrisgeorge_ left | 18:37 |
| ← msankhala left | 18:37 |
| → m8 joined | 18:38 |
| → chrisgeo joined | 18:38 |
| → pandeiro joined | 18:38 |
| → beneggett joined | 18:38 |
| → rnsanchez joined | 18:38 |
| → jb55 joined | 18:40 |
| ← kadoban left | 18:41 |
| → Sijdesign joined | 18:42 |
| ← enitiz left | 18:42 |
| ← kukks left | 18:42 |
| → metateck joined | 18:43 |
| ← mikecmpbll left | 18:43 |
| ← tvw left | 18:44 |
| ← marchdown left | 18:44 |
| → mikecmpbll joined | 18:44 |
| → Zvpun_ joined | 18:45 |
| → bhuvanaurora joined | 18:48 |
| ← ascarter left | 18:48 |
| ← zumba_addict left | 18:48 |
| ← Zvpun left | 18:48 |
| ← GGflags_ left | 18:48 |
| → zumba_addict joined | 18:49 |
| → MarkyC_ joined | 18:50 |
| ← Dreamer3 left | 18:50 |
| ← The_Phoenix left | 18:50 |
|
heath
| ignore, i took the terrible route | 18:51 |
| ← MarkyC left | 18:51 |
| MarkyC_ → MarkyC | 18:51 |
| → The_Phoenix joined | 18:52 |
| → kriks joined | 18:53 |
| → nettoweb joined | 18:53 |
| → thekkid joined | 18:53 |
| → joelm joined | 18:54 |
|
thekkid
| I'm doing something wrong with my workflow. When I do a interactive rebase to squassh commits I get a bunch of merge conflicts. Should I just not be merging at all in my feature branches before I do the squashes/ | 18:54 |
| Solid1_afk → Solid1 | 18:54 |
|
Mixologic
| Is there a command line, 'one time' version of .gitignore? I've got a tree that has hundreds of changed files, but *most* of the changes are a minor tweak to a specific file type, but there are a few small changes Id like to see in a git status.. | 18:56 |
| ← gavit left | 18:56 |
|
Mixologic
| I could add the file to gitignore, then remove it from gitignore, but that seems hassle-y | 18:56 |
| → ecky--ptang-zoob joined | 18:56 |
|
osse
| Mixologic: git update-index --assume-unchanged | 18:57 |
| → stamina joined | 18:57 |
| → corni joined | 18:57 |
| ← corni left | 18:57 |
| → corni joined | 18:57 |
| ← jagob left | 18:57 |
| → StarManta joined | 18:58 |
| → carlosr joined | 18:59 |
| → jagob joined | 18:59 |
| → palcu joined | 19:00 |
| → kpease_ joined | 19:01 |
| ← Technocrat left | 19:02 |
| → richardlitt joined | 19:03 |
| ← kpease left | 19:03 |
| Solid1 → Solid1_afk | 19:04 |
| ← Sijdesign left | 19:04 |
| kpease_ → kpease | 19:04 |
| kpease → kpease_ | 19:04 |
|
Mixologic
| osse: thanks. find . -name '*.{filetype}' -exec git update-index --assume-unchanged '{}' \; works! | 19:05 |
| → EminenceHC joined | 19:05 |
| → marchdown joined | 19:05 |
|
osse
| Mixologic: remember to --no-assume-unchanged afterwards | 19:05 |
| ← bhuvanaurora left | 19:06 |
| ← dsantiago left | 19:06 |
| → dtrott joined | 19:07 |
| ← marchdown left | 19:07 |
| → dsantiago joined | 19:07 |
| → hexagoxel joined | 19:08 |
| ← EminenceHC left | 19:09 |
| → veebers joined | 19:10 |
| ← The_Phoenix left | 19:11 |
| → alanwill joined | 19:12 |
| ← solker left | 19:12 |
| ← buffal0 left | 19:12 |
| → devoldmx33 joined | 19:12 |
| → durre joined | 19:12 |
| → fstd joined | 19:12 |
| → The_Phoenix joined | 19:13 |
| → buffal0 joined | 19:13 |
| ← dsantiago left | 19:13 |
| ← iamjarvo left | 19:13 |
| → dsantiago joined | 19:14 |
| ← devoldmx left | 19:15 |
| → devoldmx joined | 19:15 |
| → Ionic joined | 19:16 |
|
Ionic
| stupid question: how do I resolve merge-conflicts in a feature branch so that no conflicts happens anymore when merging the feature branch into the main branch? | 19:17 |
| ← The_Phoenix left | 19:17 |
| → fahadash joined | 19:17 |
| ← baweaver left | 19:17 |
| ← devoldmx left | 19:17 |
| → nnyk_ joined | 19:18 |
| → devoldmx joined | 19:18 |
| ← akushner_ left | 19:18 |
| → Technocrat joined | 19:18 |
| → Rixius joined | 19:19 |
| → unixpro1970 joined | 19:19 |
| ← jb55 left | 19:19 |
| → knobo joined | 19:19 |
| ← noway__ left | 19:20 |
| → jb55 joined | 19:20 |
|
Ionic
| hmm... | 19:20 |
| → otter768 joined | 19:20 |
|
Ionic
| rebasing the feature-branch against the main branch does the trick | 19:20 |
| ← liamkeily left | 19:20 |
| → Milkweed joined | 19:21 |
| ← devoldmx left | 19:21 |
| → devoldmx joined | 19:21 |
|
Ionic
| but that's a non-fast-forward | 19:22 |
| → NoNMaDDeN joined | 19:22 |
| ← teran left | 19:23 |
| → akiva joined | 19:23 |
| → tummy joined | 19:23 |
| ← mennea left | 19:23 |
| ← mgaunard_ left | 19:24 |
| ← kriks left | 19:24 |
| ← israelpattison left | 19:24 |
| ← otter768 left | 19:25 |
| → israelpattison joined | 19:25 |
| ← mihaicris left | 19:25 |
| → paul424 joined | 19:25 |
| → Cassiopaya joined | 19:25 |
| → IlNominePatre joined | 19:25 |
| → mennea joined | 19:26 |
| → jheg joined | 19:26 |
| ← unixpro1970 left | 19:26 |
| ← stamina left | 19:27 |
| ← richardlitt left | 19:27 |
| → martinklepsch joined | 19:28 |
| ← basiclaser_ left | 19:31 |
| ← jiskiras left | 19:32 |
| → ascarter joined | 19:32 |
| → punchaga` joined | 19:32 |
| → sq1 joined | 19:32 |
| ← punchaga` left | 19:33 |
| → DolpheenDream joined | 19:34 |
| ← punchagan left | 19:35 |
| ← diegoaguilar left | 19:36 |
| ← mellernoia left | 19:36 |
| ← axl_ left | 19:36 |
|
KevinMGranger
| It will be a fast-forward when you try to do the merge if you rebase it | 19:36 |
| → axl_ joined | 19:37 |
| → mellernoia joined | 19:37 |
| ← winst left | 19:38 |
| ← sq1 left | 19:39 |
| ← webframp left | 19:40 |
| ← nnyk_ left | 19:40 |
| → LucasTT joined | 19:41 |
| → liamkeily joined | 19:41 |
| → richardlitt joined | 19:41 |
| ← doev left | 19:42 |
| → ianbrandt joined | 19:43 |
| → snuffeluffegus joined | 19:44 |
| → gfixler joined | 19:45 |
|
gfixler
| something I hadn't noticed before, but checking out a path at a commit checks it out staged | 19:46 |
|
| e.g. git checkout <hash> <path> | 19:46 |
|
| is there a way to check a file out of another commit without staging it? | 19:46 |
|
| I didn't see anything in $ git help checkout | 19:46 |
| → diegoviola joined | 19:46 |
| → ojacobson joined | 19:47 |
| ← t0th_-___ left | 19:48 |
| ← Technocrat left | 19:48 |
|
Seveas
| gfixler: use rm --cached after the checkout | 19:48 |
| → baweaver joined | 19:49 |
|
gfixler
| doesn't seem to work | 19:49 |
|
| git reset @ <path> works | 19:50 |
| → MattMaker joined | 19:50 |
|
gfixler
| but I was wondering if there was a way with just checkout to do it | 19:50 |
| → t0th_-___ joined | 19:50 |
|
KevinMGranger
| Not with just checkout, nope | 19:50 |
|
| you could do git show REVISION:PATH > PATH | 19:51 |
|
gfixler
| KevinMGranger: that's true - I used to use that method | 19:51 |
|
| and still keep trying to git checkout <hash>:<path>, which fails | 19:51 |
|
| well, good to know one way or the other - thanks | 19:52 |
| ← jheg left | 19:52 |
| → yaymukund joined | 19:53 |
| ← thedudez0r left | 19:55 |
|
Ionic
| KevinMGranger: yes, but the feature-branch will be non-fast-forward | 19:55 |
|
| I guess that's acceptable... | 19:55 |
| ← mennea left | 19:55 |
|
Ionic
| if non-fost-forward pushes are allowed, that is | 19:55 |
| ← Bryzzle left | 19:56 |
| → kukks joined | 19:56 |
| → mennea joined | 19:56 |
| → Bryzzle joined | 19:57 |
| ← angelsl left | 19:58 |
|
richardlitt
| So.. anyone know what flags are usually used for git send-email to submit to git? | 19:58 |
|
| I’m emailing from a Gmail account, I suppose. | 19:59 |
|
qsuscs
| richardlitt: man git send-email, grep for gmail | 20:00 |
|
gitinfo
| richardlitt: the git-send-email manpage is available at http://jk.gs/git-send-email.html | 20:00 |
|
Ionic
| nope, non-fast-forward pushes are not allowed, meh | 20:00 |
| → Macaveli joined | 20:01 |
| → sinequanon joined | 20:02 |
| ← devoldmx left | 20:02 |
|
richardlitt
| Do you know if I should change `git format-patch --cover-letter -M origin/master -o outgoing/` to the branch I am using? | 20:02 |
| → EvilPenguin joined | 20:02 |
| ← [H]unt3r left | 20:02 |
|
richardlitt
| instead of origin/master | 20:02 |
| → [H]unt3r joined | 20:02 |
| ← axl_ left | 20:03 |
| ← richardlitt left | 20:04 |
| → thedudez0r joined | 20:04 |
| → Technocrat joined | 20:04 |
| → richardlitt joined | 20:04 |
| ← rnsanchez left | 20:04 |
|
Ionic
| so I'm merging the main branch into the feature branch and merging the feature branch into the main branch should work without any conflicts (in theory) | 20:05 |
| → axl_ joined | 20:05 |
| ← in_deep_thought left | 20:05 |
|
Ionic
| also, this will be fast-forward on the feature branch and pushable | 20:05 |
| → Gizburdt joined | 20:06 |
| ← Macaveli left | 20:06 |
|
Ionic
| yeah, seems to be working just fine | 20:06 |
| ← aartist left | 20:06 |
| → settermjd joined | 20:06 |
|
Ionic
| I just have a merge commit in my feature branch, but that's ok | 20:06 |
| ← whomp left | 20:07 |
|
_ikke_
| Did you read the documentation about submitting patches through gmail? | 20:07 |
| ← zumba_addict left | 20:08 |
| ← Bryzzle left | 20:08 |
|
Ionic
| uhm... or not. some hook is rejecting merge commits, what | 20:08 |
| ← jonnyro left | 20:08 |
| → cagedwisdom joined | 20:08 |
| → zumba_addict joined | 20:09 |
| ← ruukasu left | 20:09 |
| ← Rixius left | 20:09 |
| ← richardlitt left | 20:09 |
| ← kpease_ left | 20:09 |
| → aard_ joined | 20:09 |
| → EminenceHC joined | 20:09 |
| → kpease joined | 20:10 |
| → jheg joined | 20:10 |
| → Bryzzle joined | 20:10 |
| ← thedudez0r left | 20:11 |
| ← t0th_-___ left | 20:11 |
| → HelloShitty joined | 20:13 |
| ← Zupoman left | 20:13 |
| → Zupoman joined | 20:13 |
| ← Zupoman left | 20:13 |
| → Zupoman joined | 20:13 |
| ← EminenceHC left | 20:14 |
| → hgl joined | 20:15 |
| ← tristanp left | 20:15 |
| → tristanp joined | 20:15 |
| → thedodd joined | 20:16 |
| → richardlitt joined | 20:16 |
| ← jb55 left | 20:17 |
| → tranzfus_ joined | 20:17 |
| → kadoban joined | 20:17 |
| → jb55 joined | 20:17 |
| ← tranzfus_ left | 20:17 |
| ← nrsk left | 20:17 |
| ← kpease left | 20:18 |
| → tranzfus_ joined | 20:18 |
| → pheaver joined | 20:18 |
| ← Rampages left | 20:18 |
| ← hgl left | 20:19 |
| ← beneggett left | 20:19 |
| → kpease joined | 20:19 |
| → beneggett joined | 20:19 |
| → jb55_ joined | 20:19 |
| → Rampages joined | 20:19 |
| ← jb55 left | 20:20 |
| → sooheon joined | 20:20 |
| ← sooheon left | 20:20 |
| → sooheon joined | 20:20 |
| ← Bryzzle left | 20:20 |
| ← tranzfuse left | 20:21 |
| → arnaud___ joined | 20:21 |
| ← arnaud___ left | 20:21 |
| → arnaud___ joined | 20:21 |
| ← fahadash left | 20:21 |
| ← FreezingCold left | 20:22 |
| ← aard_ left | 20:22 |
| ← Marcus___ left | 20:22 |
| → t0th_-___ joined | 20:23 |
| ← sooheon left | 20:24 |
| → sooheon joined | 20:24 |
| ← mennea left | 20:25 |
| → mennea joined | 20:26 |
| ← ascarter left | 20:27 |
| ← jb55_ left | 20:27 |
| → ascarter joined | 20:27 |
| ← tummy left | 20:27 |
| → jb55 joined | 20:27 |
| → mgaunard_ joined | 20:28 |
| ← Rampages left | 20:29 |
| ← ManikM left | 20:29 |
| → Rampages joined | 20:29 |
| → ManikM joined | 20:29 |
| → ra0 joined | 20:30 |
| ← mellernoia left | 20:30 |
| ← Gizburdt left | 20:31 |
| ← sooheon left | 20:31 |
| → sooheon joined | 20:31 |
| → Gizburdt joined | 20:31 |
| → jonatasnona joined | 20:32 |
| → skylite joined | 20:33 |
| ← sooheon left | 20:34 |
| ← knobo left | 20:35 |
| → devoldmx joined | 20:35 |
| → tier joined | 20:35 |
| ← Gizburdt left | 20:35 |
| → alekks joined | 20:36 |
| → Dquernoti joined | 20:36 |
| ← tier_ left | 20:37 |
| ← githogori left | 20:38 |
| → githogori joined | 20:39 |
| ← kukks left | 20:39 |
| → teran joined | 20:40 |
| → in_deep_thought joined | 20:41 |
| ← dougsland left | 20:42 |
| ← chrisgeo left | 20:42 |
| ← gfixler left | 20:43 |
| ← txomon|home left | 20:43 |
| ← alekks left | 20:45 |
| → alekks joined | 20:46 |
| → thedudez0r joined | 20:46 |
| → txomon|home joined | 20:46 |
| ← baweaver left | 20:46 |
| ← cebor left | 20:46 |
| → baweaver joined | 20:47 |
| ← baweaver left | 20:47 |
| gitinfo set mode: +v | 20:47 |
| ← ecky--ptang-zoob left | 20:47 |
| → cebor joined | 20:47 |
| ← mennea left | 20:48 |
|
thedudez0r
| ok, I was editing a couple files and I hadn't done a commit in this repo in a long time | 20:48 |
| ← EvilPenguin left | 20:49 |
| ← zumba_addict left | 20:50 |
| → h4ml3t joined | 20:50 |
| → EvilPenguin joined | 20:50 |
| → zumba_addict joined | 20:50 |
|
thedudez0r
| I rebooted and all of the sudden, my .config/tilda/config_0 file was modified to a default one (I think the package got upgraded, not sure), thing is if I did git diff, I could see my previous file being in the local index | 20:50 |
| ← Cassiopaya left | 20:51 |
| ← IlNominePatre left | 20:51 |
|
thedudez0r
| so I did a git checkout of the file and I got it back to where I needed it | 20:51 |
| ← Patch left | 20:51 |
|
thedudez0r
| but since I also saw in the commits differences between a couple other files, I thought the same thing had happened, with the wanted files being in the index and outdated/unwanted versions of them being in my workspace, so I did a git checkout on those too (mistakenly), and then I did a commit | 20:52 |
|
| how can I see the changes that were never commited but were in the workspace right before I did the checkout? | 20:53 |
|
| uhh this is a difficult situation to explain | 20:55 |
| → Bryzzle joined | 20:55 |
| → nnyk_ joined | 20:55 |
| → FreezingCold joined | 20:55 |
|
_ikke_
| git fsck --unreachable should show you hashes of the blobs of the files | 20:55 |
| → mennea joined | 20:56 |
|
thedudez0r
| basicly, I think I made a bunch of changes to some files, and then BY MISTAKE checkout'd them (meaning the new versions got overwritten by the ones in index which were the original) and made a commit from that (which was not what I wanted) | 20:56 |
|
_ikke_
| thedudez0r: Was the state of the files you want ever git added? | 20:57 |
|
| (in the index) | 20:57 |
|
thedudez0r
| _ikke_: no | 20:57 |
| ← HelloShitty left | 20:57 |
|
thedudez0r
| the files were already being tracked yes | 20:57 |
|
_ikke_
| git checkout in this way is ruthless | 20:57 |
| → Rixius joined | 20:58 |
|
thedudez0r
| so I lost these changes forever? | 20:58 |
|
_ikke_
| Unless you have them in an editor buffer or something | 20:58 |
|
| yes | 20:58 |
|
thedudez0r
| git fsck --unreachable shows nothing | 20:58 |
| → sooheon joined | 20:59 |
| → tpollard joined | 20:59 |
| ← alekks left | 20:59 |
| → baweaver joined | 21:00 |
| → alekks joined | 21:00 |
|
thedudez0r
| so what this mistake is basicly telling me is to git the fuck add out of every change I make before starting to wildly make checkouts | 21:00 |
|
_ikke_
| yeah, commit early, commit often | 21:00 |
|
thedudez0r
| i hate git | 21:01 |
|
| will uninstall | 21:01 |
|
| jk but fuck git... i'ma git outta here i'm pissed | 21:01 |
|
_ikke_
| thedudez0r: uninstall rm too :P | 21:01 |
| → listochkin joined | 21:02 |
| → kpease_ joined | 21:02 |
| → marchdown joined | 21:03 |
| ← IrishPrime left | 21:03 |
| → whomp joined | 21:03 |
| → mihaicris joined | 21:04 |
| ← sooheon left | 21:04 |
| ← acharlieh left | 21:04 |
|
_ikke_
| but git is a powerful tool, handle with care | 21:04 |
| → eli joined | 21:05 |
| ← mihaicris left | 21:05 |
| ← ascarter left | 21:05 |
| ← DonRichie left | 21:05 |
| ← kpease left | 21:05 |
|
osse
| git is a tool of power, care handle | 21:05 |
| → kballou joined | 21:06 |
| ← v0n left | 21:06 |
| → v0n joined | 21:06 |
|
karstensrage
| i have a situation where i have some modifications that i have on a branch but cant deploy them | 21:08 |
|
| and i need to make some more changes that should be on a different branch | 21:08 |
|
| so is there some flow other than just remembering the branches that eventually need to be merged? | 21:08 |
| ← tirengarfio left | 21:08 |
| ← LeMike left | 21:08 |
| ← bgerber left | 21:08 |
| ← whomp left | 21:08 |
| ← D-Boy left | 21:08 |
|
osse
| what do you mean? | 21:10 |
|
| git doesn't know what you want to merge | 21:10 |
| → bgerber joined | 21:10 |
| → sword joined | 21:10 |
| ← quetz^^ left | 21:11 |
| → EminenceHC joined | 21:11 |
| → MadLamb joined | 21:11 |
| → aswen joined | 21:11 |
| ← m8 left | 21:11 |
| ← govg left | 21:11 |
| → sq-one joined | 21:12 |
|
_ikke_
| I guess more for himself | 21:12 |
|
karstensrage
| well i mean are there any other clever things you git guys do to manage branches that need to be merged at a later time, but go on with other branches? | 21:12 |
|
MadLamb
| i have a post-receive hook and the permission of the files in the deploy folder is different from the files in my dev folder. what might be happening? | 21:12 |
|
_ikke_
| karstensrage: You need a good !workflow | 21:12 |
|
gitinfo
| karstensrage: Finding the right workflow for you is critical for the success of any SCM project. Git is very flexible with respect to workflow. See http://sethrobertson.github.com/GitBestPractices/#workflow for a list of references about choosing branching and distributed workflows. | 21:12 |
|
karstensrage
| im not thinking git actually has anything to make this easier, more the collective wisdom of you guys | 21:12 |
|
richardlitt
| well, that’s sent off then. sending a patch takes a lot of work if you’re not familiar with it. | 21:12 |
|
| thanks osse for the help | 21:12 |
|
| also qsuscs | 21:13 |
|
MadLamb
| the permission in my dev env folder is 644, but in the git deploy folder is 664. | 21:13 |
| ← marthinal left | 21:14 |
|
_ikke_
| Something like umask? | 21:14 |
|
osse
| karstensrage: if you need to leave some uncommitted work behind temporarily you can stash it with git stash. afterwards if you list the stash(es) you have Git will tell you on which branch you made them | 21:14 |
| ← Malsasa left | 21:14 |
|
karstensrage
| osse, hmmm well the stuff is committed to the branch | 21:14 |
|
| its just not merged to "master" where i normally deploy stuff from | 21:15 |
| ← baweaver left | 21:15 |
|
_ikke_
| karstensrage: Use a release branch. There you can merge in stuff, but it won't be deployed just yet | 21:15 |
|
osse
| richardlitt: why does your patch say 71/71 ? | 21:15 |
| ← Bryzzle left | 21:15 |
| → baweaver joined | 21:15 |
|
richardlitt
| To be honest, I’ve got no idea. | 21:15 |
| ← EminenceHC left | 21:15 |
|
richardlitt
| The output command made 71 different patches | 21:16 |
|
osse
| ah, well | 21:16 |
|
| the mailing list got litt up regardless | 21:16 |
| ← scarcry left | 21:16 |
| ← JEEBcz left | 21:17 |
| → JEEBcz joined | 21:17 |
|
richardlitt
| Clever pun? :P | 21:17 |
| JEEBcz → JEEB | 21:17 |
| → D-Boy joined | 21:17 |
|
richardlitt
| `git format-patch --cover-letter -M origin/HEAD -o outgoing/` && `git send-email outgoing/0071-Change-usually-to-by-default.patch` | 21:17 |
| → pppp2 joined | 21:18 |
|
osse
| so it produced 0001-0070 also? what was in them? | 21:18 |
|
richardlitt
| Looks like ever patch since 0000- | 21:19 |
|
| I don’t know what these are | 21:20 |
|
| they look like emails? | 21:20 |
|
osse
| richardlitt: just a heads up. I don't know but I suspect you'll be asked to reword the commit message to sounds more generic (ie. avoid first person) | 21:20 |
| ← moritzschaefer left | 21:20 |
|
osse
| they are | 21:20 |
|
richardlitt
| Oh, I know. | 21:20 |
|
| To be honest, I’ve been meaning to do this for a while, I’m doing this mainly to see how Git does patches | 21:21 |
|
| because I’ve only worked with GitHub, which has a totally different model, and I want to know why | 21:21 |
| → otter768 joined | 21:21 |
| ← [H]unt3r left | 21:22 |
|
richardlitt
| I suspect I’ve messed up more than a few times. | 21:22 |
|
| :/ | 21:22 |
| ← paul424 left | 21:22 |
| ← alexwhitman left | 21:22 |
|
osse
| richardlitt: old school people stick to old school methods. ie. emails with patches as part of the body | 21:22 |
|
| sooo... you've created 71 commits? | 21:23 |
|
richardlitt
| yep. Maybe I was supposed to include all 71? | 21:23 |
|
| 1 commit. | 21:23 |
|
osse
| how many files are in outgoing? | 21:23 |
|
richardlitt
| 71 | 21:23 |
|
| :| | 21:23 |
|
osse
| what are their names? | 21:23 |
| → scarcry joined | 21:24 |
|
richardlitt
| eg, 0042-po-TEAMS-add-new-members-to-German-translation-team.patch | 21:24 |
|
MadLamb
| ppl i'm deploying a app with a post-receive hook, and its changing the files permission from 644 to 664. Does any1 knows why? | 21:24 |
| ← yaymukund left | 21:24 |
|
osse
| richardlitt: aaaaaaaaaaaaaaaahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh | 21:24 |
|
richardlitt
| scream or yell of sudden comprehension> | 21:24 |
|
osse
| richardlitt: you based your commints on maint, right? origin/HEAD points to master. so the other 70 commits are commits between master and maint | 21:24 |
|
_ikke_
| MadLamb: How are you deploying? | 21:24 |
|
richardlitt
| ah damn. | 21:24 |
| → ap0c joined | 21:24 |
| ← ap0c left | 21:24 |
| → ap0c joined | 21:24 |
|
MadLamb
| _ikke_, git push <remote> | 21:25 |
|
| _ikke_, bare repo with deploy dir | 21:25 |
| ← pheaver left | 21:25 |
|
osse
| richardlitt: you should have done git format-patch origin/maint | 21:25 |
|
_ikke_
| MadLamb: How did you set up the deploy dir? | 21:25 |
|
richardlitt
| I did origin/head because I was using a branch off of maint | 21:25 |
| ← mennea left | 21:25 |
|
MadLamb
| _ikke_, mkdir <dir>, chown user.group <dir> | 21:26 |
| ← otter768 left | 21:26 |
| → mennea joined | 21:26 |
| ← pppp2 left | 21:26 |
|
osse
| richardlitt: then you should have done git format-patch maint | 21:26 |
|
| :) | 21:26 |
|
richardlitt
| :| | 21:26 |
|
| So… should I resubmit? | 21:26 |
|
| or, something? | 21:26 |
| ← metateck left | 21:26 |
|
_ikke_
| richardlitt: First wait for a reaction I guess | 21:27 |
|
MadLamb
| _ikke_, any idea? | 21:27 |
|
_ikke_
| MadLamb: Some umask in efect? | 21:27 |
|
richardlitt
| _ikke_: yeah, probably. I kind of feel like this will get rejected anyway, it’s a bit overarching. | 21:27 |
|
osse
| richardlitt: nah. no one'll care about the 71/71 thing. | 21:27 |
|
MadLamb
| _ikke_, dont know. how can i check that? | 21:27 |
|
richardlitt
| if people think a couple of seconds before using ‘usually’, I think that’ll be success anyway | 21:27 |
|
osse
| richardlitt: would have been worse if you sent them all using 'git send-email outgoing' :P | 21:27 |
| → bb010g joined | 21:28 |
|
richardlitt
| I figured that wasn’t what I was supposed to do. | 21:28 |
| → chrisgeo joined | 21:28 |
|
_ikke_
| right | 21:28 |
|
richardlitt
| well. Cool. | 21:28 |
|
| My work here is done. | 21:28 |
|
qsuscs
| *mumble git request-pull mumble* | 21:28 |
|
richardlitt
| qsuscs: ? | 21:29 |
|
Zvpun_
| Hi, when I "git checkout other-branch -- :/file" this file is already staged, but I only want to change the workdir, therefore I then "git reset -- :/file". a) What is the reason behind "git checkout branch -- file" also staging? (From the documentation I got the impression that checkout "works" on the workdir and "git reset" on HEAD and the index). b) Is there another/simpler way of getting the content of a f | 21:29 |
|
| ile on another branch into the working directory only, (i.e. am I doing it wrong)? | 21:29 |
|
qsuscs
| oh nvm :) | 21:29 |
| Zvpun_ → zvpun | 21:29 |
|
richardlitt
| hahaa, no, I’m curious! | 21:30 |
|
qsuscs
| man git request-pull | 21:30 |
|
gitinfo
| the git-request-pull manpage is available at http://jk.gs/git-request-pull.html | 21:30 |
| ← zvpun left | 21:30 |
| → zvpun joined | 21:30 |
|
_ikke_
| zvpun: git checkout first updates the index, and then the worktree | 21:30 |
|
richardlitt
| Yeah; should I have used it? | 21:30 |
|
MadLamb
| _ikke_, https://gist.github.com/fabiocarneiro/db0d535e2cb465714740 | 21:30 |
|
qsuscs
| richardlitt: not for the git list | 21:30 |
|
richardlitt
| I couldn’t figure out what the actual upstream url is | 21:30 |
|
| qsuscs: figured. You don’t like it? | 21:30 |
|
_ikke_
| MadLamb: Nothing in there that could cause changing permissions | 21:30 |
| → Velzes joined | 21:31 |
|
qsuscs
| richardlitt: i like it, but i don’t contribute to git | 21:31 |
|
| in fact, most of the stuff i do are completely my own things | 21:31 |
|
richardlitt
| why not? | 21:31 |
| ← Rixius left | 21:31 |
|
MadLamb
| _ikke_, what else could i see? | 21:31 |
|
_ikke_
| MadLamb: When you create new files, what permissions do they have? | 21:32 |
| → Rixius joined | 21:32 |
| ← stbaby left | 21:32 |
| → adamben joined | 21:33 |
| → ascarter joined | 21:33 |
| ← txomon|home left | 21:33 |
| ← settermjd left | 21:33 |
| → EminenceHC joined | 21:33 |
| → paul424 joined | 21:33 |
| ← EvilPenguin left | 21:33 |
| → whomp joined | 21:34 |
| → LucasTT_ joined | 21:34 |
| ← webguy left | 21:34 |
|
| _ikke_ g2g | 21:34 |
|
MadLamb
| _ikke_, 644! | 21:35 |
|
| _ikke_, i mean 664 | 21:35 |
| → webguy joined | 21:35 |
| ← Velzes left | 21:36 |
| ← LifeBlood left | 21:36 |
| → EvilPenguin joined | 21:38 |
| ← Tuna-Fish left | 21:38 |
| ← LucasTT left | 21:38 |
| ← EminenceHC left | 21:38 |
| → LifeBlood joined | 21:38 |
| → _2_samie124 joined | 21:38 |
| ← jonatasnona left | 21:38 |
| ← whomp left | 21:39 |
| → pheaver joined | 21:39 |
| ← EvilPenguin left | 21:39 |
| ← sMa_ left | 21:40 |
| → EvilPenguin joined | 21:40 |
| → vurma joined | 21:41 |
|
Eugene
| 666 is best | 21:41 |
| → dregad joined | 21:42 |
| ← EvilPenguin left | 21:43 |
| → EvilPenguin joined | 21:43 |
| ← _2_samie124 left | 21:43 |
| ← Ankhers left | 21:43 |
| ← MadLamb left | 21:44 |
| → jonatasnona joined | 21:45 |
| ← buffal0 left | 21:45 |
| ← liamkeily left | 21:45 |
|
qsuscs
| satan, yeah! | 21:45 |
| ← baweaver left | 21:45 |
|
qsuscs
| my mom’s car’s license plate reads KN-<censored> 666 … i think she doesn’t know what that means :D | 21:45 |
| → liamkeily joined | 21:46 |
| → dialeth joined | 21:47 |
|
phy1729
| Eugene: you are such a Dev | 21:48 |
| ← dsantiago left | 21:49 |
| ← kesroesweyth left | 21:49 |
| ← MarkyC left | 21:50 |
| → ruukasu joined | 21:50 |
| → dsantiago joined | 21:51 |
| ← EvilPenguin left | 21:51 |
| → MadLamb joined | 21:51 |
| ← paul424 left | 21:52 |
| ← Obi_obi left | 21:52 |
| → EvilPenguin joined | 21:52 |
| ← dsantiago left | 21:52 |
|
qsuscs
| hmm so much stuff … time to clean up a bit qsuscs@tatooine ~/c0de % for i in *; do cd $i; [[ -d .git ]] && git gc --aggressive; cd ..; done | 21:52 |
| ← TomyLobo left | 21:52 |
| → baweaver joined | 21:52 |
| → dsantiago joined | 21:53 |
| ← sinequanon left | 21:53 |
| → St_Marx joined | 21:54 |
| → joelm_ joined | 21:54 |
| → aard_ joined | 21:55 |
| ← mennea left | 21:55 |
| → mennea joined | 21:56 |
| → ianbrandt_ joined | 21:56 |
| ← mennea left | 21:57 |
| ← ianbrandt_ left | 21:58 |
| ← joelm left | 21:58 |
| ← melter_ left | 21:58 |
| ← pmallya_ left | 21:59 |
| ← ianbrandt left | 21:59 |
| ← Skapadapaduu left | 21:59 |
| → mennea joined | 21:59 |
| ← baweaver left | 21:59 |
| → ianbrandt joined | 22:00 |
| ← ascarter left | 22:00 |
| → baweaver joined | 22:01 |
| ← snuffeluffegus left | 22:01 |
| → ascarter joined | 22:02 |
| → hgl joined | 22:03 |
| kpease_ → kpease | 22:03 |
| kpease → kpease_ | 22:04 |
| ← ascarter left | 22:04 |
| → paul424 joined | 22:05 |
| ← DolpheenDream left | 22:05 |
| ← EvilPenguin left | 22:06 |
| → EvilPenguin joined | 22:06 |
| → whomp joined | 22:06 |
| ← kpease_ left | 22:07 |
| ← staafl left | 22:07 |
| ← barduck left | 22:07 |
| ← hgl left | 22:08 |
| ← durre left | 22:08 |
| → staafl joined | 22:08 |
| → Cheaterman1 joined | 22:08 |
| ← mennea left | 22:09 |
| ← sq-one left | 22:10 |
| ← heath left | 22:10 |
| ← EvilPenguin left | 22:10 |
| ← tristanp left | 22:10 |
| → ascarter joined | 22:11 |
| → EvilPenguin joined | 22:11 |
| ← EvilPenguin left | 22:12 |
| → acharlieh joined | 22:12 |
| → EvilPenguin joined | 22:13 |
| → Dudi joined | 22:13 |
| → txomon|home joined | 22:13 |
| → m0viefreak joined | 22:13 |
|
alekks
| so, how do I know if getting in to git is for me? I allways hear about git - but it feels a bit overkill for my purposes as a small web developer/designer...? Is putting in time understanding git going to save me time/money/headache/whatever...? Or is it mainly larger projects that will pay off? | 22:14 |
|
qsuscs
| alekks: !parable | 22:14 |
|
gitinfo
| alekks: 'The git parable' provides some good reasoning behind git. http://tom.preston-werner.com/2009/05/19/the-git-parable.html | 22:14 |
| ← EvilPenguin left | 22:14 |
|
qsuscs
| i use git for crap like that. https://git.qsuscs.de/cgit/psychologie.git/ | 22:15 |
| → EminenceHC joined | 22:15 |
| → EvilPenguin joined | 22:15 |
|
alekks
| qsuscs cheers! i'll read it right away | 22:15 |
| ← SumDude left | 22:16 |
| ← JohnBat26 left | 22:16 |
| ← sburgess left | 22:17 |
| → zanchoPa1sa joined | 22:17 |
| ← Rixius left | 22:18 |
| ← aard_ left | 22:18 |
| → SumDude joined | 22:19 |
| ← EminenceHC left | 22:19 |
| → Rixius joined | 22:20 |
| ← githogori left | 22:20 |
| ← zanchoPansa left | 22:20 |
| ← martinklepsch left | 22:20 |
|
qsuscs
| ah, now it even works % for i in *; do [[ -d $i ]] && ( cd $i; [[ -d .git ]] && git gc --aggressive; cd .. ); done | 22:21 |
| ← pantsman- left | 22:22 |
| → sohail joined | 22:22 |
| ← dreiss left | 22:23 |
| → Life-Blood joined | 22:24 |
| → dsdeiz joined | 22:24 |
| → BlaDe^ joined | 22:24 |
|
BlaDe^
| hi all | 22:24 |
|
| I merged devel to master... and there were conflicts, I resolved via checkout --theirs and that didn't work for one | 22:25 |
|
osse
| qsuscs: for i in */; then you don't need the [[ -d ]] test | 22:25 |
|
BlaDe^
| a git diff shows changes between master and devel, but merge says up to date | 22:25 |
|
| what should I do? | 22:25 |
|
osse
| BlaDe^: that you merged two branches doesn't mean they're equal | 22:25 |
| → paulweb5151 joined | 22:25 |
|
BlaDe^
| osse: how do I make them equal? | 22:25 |
| ← LifeBlood left | 22:25 |
|
qsuscs
| osse: something with find -name .git -execdir … would be probably even better … | 22:25 |
|
| (as a side effect of that one, i can warm my handy pretty well on my notebook, it reports almost 80°C) | 22:26 |
|
osse
| BlaDe^: merge the other way afterwards | 22:26 |
| → sinequanon joined | 22:26 |
| ← paulweb515 left | 22:27 |
| → msmith joined | 22:29 |
| ← ManikM left | 22:29 |
| → ManikM joined | 22:29 |
| ← BlaXpirit left | 22:29 |
| ← palcu left | 22:30 |
| → palcu joined | 22:30 |
| → iamjarvo joined | 22:32 |
| → [gmi] joined | 22:33 |
| ← tier left | 22:33 |
| ← FabTG left | 22:34 |
| → Tuna-Fish joined | 22:34 |
| → dialeth_ joined | 22:35 |
| ← kermit left | 22:35 |
| → nutron joined | 22:35 |
| ← b4rbz left | 22:35 |
| ← palcu left | 22:35 |
| ← sinequanon left | 22:35 |
| → kermit joined | 22:35 |
| ← [gmi] left | 22:36 |
| → bollullera joined | 22:36 |
| ← livingstn left | 22:36 |
| ← aswen left | 22:36 |
| ← dtrott left | 22:37 |
| ← alekks left | 22:38 |
| ← dialeth left | 22:38 |
| → lamba joined | 22:39 |
| ← cagedwisdom left | 22:40 |
| ← ianbrandt left | 22:40 |
| → FabTG joined | 22:41 |
|
lamba
| Think i require ancient jedi wisdom. I know i can partially add a file, but can i partially apply from a diff ? I've a branch with one commit that i want to split up into serperate branches each of one smaller commit. I was intending to do a diff, then apply sections of the resulting diff file into each new branch. - Assuming that's the right way to even approach the problem ? | 22:42 |
| ← EvilPenguin left | 22:43 |
| → EvilPenguin joined | 22:44 |
| → metateck joined | 22:44 |
| → s8321414 joined | 22:44 |
| ← richardlitt left | 22:44 |
| ← PCatinean left | 22:45 |
| → kukks joined | 22:46 |
| → martinklepsch joined | 22:46 |
| ← jheg left | 22:46 |
| → dtrott joined | 22:48 |
| ← EvilPenguin left | 22:48 |
| → EvilPenguin joined | 22:50 |
| ← nettoweb left | 22:51 |
| → ianbrandt joined | 22:52 |
| ← s8321414 left | 22:52 |
| → s8321414 joined | 22:52 |
| → Sadi joined | 22:52 |
| → lidaaa joined | 22:53 |
| → teamnoir joined | 22:54 |
| → moritzschaefer joined | 22:54 |
|
teamnoir
| Can I sign a commit after-the-fact? | 22:54 |
|
| Can I sign a rebase? | 22:55 |
| → Dougie187 joined | 22:55 |
|
lamba
| teamnoir: have you pushed that commit elsewhere ? | 22:56 |
| ← sinkensabe left | 22:56 |
|
teamnoir
| lamba: not yet | 22:56 |
| → desposo joined | 22:57 |
| ← hich left | 22:58 |
|
lamba
| im no pro (at all). but i think you should be able to reset (not --hard) to the previous commit, then re-do the signing step. hopefully someone who knows git better will be awake. | 22:58 |
| → DonRichie joined | 22:58 |
| → folken joined | 22:58 |
| ← Technocrat left | 22:59 |
| ← EvilPenguin left | 22:59 |
|
MadLamb
| there is a file removed in my gitignore and keeps appearing in "changes to be commited" my git status | 22:59 |
| → kesroesweyth joined | 22:59 |
|
folken
| Hi, I'm sorry I'm turning nuts with git.. I'd like to know how i can pull a remote repository into a local new branch without any of my modifications? | 22:59 |
|
kadoban
| MadLamb: .gitignore has no effect on already-tracked content. | 23:00 |
|
| folken: 'git fetch && git checkout -b newname --track someremote/someremotebranch' | 23:02 |
| ← s8321414 left | 23:02 |
| ← baweaver left | 23:03 |
| → s8321414 joined | 23:03 |
|
folken
| kadoban: ah, i see i need to set the tracking to the remote branch. Thanks for the help | 23:03 |
|
kadoban
| folken: Well, you don't need to, but it's a good default. | 23:03 |
| ← skylite left | 23:03 |
| ← StarManta left | 23:04 |
| ← dtrott left | 23:04 |
| → Consuela joined | 23:05 |
| ← martinklepsch left | 23:05 |
| → pmallya joined | 23:06 |
| ← pmallya left | 23:06 |
| ← smccarthy left | 23:06 |
| → pmallya joined | 23:06 |
| ← DonRichie left | 23:07 |
| ← msmith left | 23:07 |
| ← axl_ left | 23:08 |
|
lamba
| nvm, found a better way (reset then add -p) | 23:08 |
| → axl_ joined | 23:08 |
| → DonRichie joined | 23:09 |
| ← Rixius left | 23:09 |
| ← gutoyr left | 23:10 |
| ← faylite left | 23:10 |
| ← corni left | 23:10 |
| ← axl_ left | 23:11 |
| ← Dudi left | 23:12 |
| ← tranzfus_ left | 23:13 |
| → kopparam joined | 23:13 |
| ← ianbrandt left | 23:14 |
| → b4rbz joined | 23:15 |
| → Technocrat joined | 23:16 |
| ← blackmesa left | 23:16 |
| → EminenceHC joined | 23:16 |
| → CustosL1men joined | 23:16 |
| ← delight left | 23:17 |
| → kcj joined | 23:18 |
| ← kopparam left | 23:19 |
| → dreiss joined | 23:21 |
| ← EminenceHC left | 23:21 |
| ← Kicer86 left | 23:21 |
| ← ben_alman left | 23:22 |
| → otter768 joined | 23:22 |
| ← ra0 left | 23:23 |
| ← awkwardusername left | 23:24 |
| → ben_alman joined | 23:24 |
| ← bb010g left | 23:27 |
| ← otter768 left | 23:27 |
| ← metateck left | 23:27 |
| ← gccostabr left | 23:27 |
| → Freemason joined | 23:28 |
|
Freemason
| https://www.youtube.com/watch?v=NUuhPFFIc60#t=45 | 23:28 |
| → baweaver joined | 23:31 |
| ← thedodd left | 23:31 |
| ← Freemason left | 23:31 |
| ChanServ set mode: +o | 23:32 |
| → Gizburdt joined | 23:32 |
|
| offby1 cringes | 23:32 |
| → Freemason joined | 23:32 |
| Eugene changed the topic to: Welcome to #git, the place for git help and the coming winter | Current stable version: 2.1.3 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | When you play the game of clones, you merge or you reset --hard. | 23:32 |
| Eugene set mode: -o | 23:32 |
| ← Life-Blood left | 23:32 |
| ← ascarter left | 23:32 |
| ← bollullera left | 23:33 |
| ← JanC left | 23:33 |
| ← Freemason left | 23:34 |
|
Sasazuka
| when I merge if I omit "origin" does it mean it takes my changes in my local branch as opposed to the stuff I have pushed? e.g. git merge --squash feature/BLAH | 23:34 |
| → Freemason joined | 23:34 |
| Freemason → pasokk | 23:34 |
|
Sasazuka
| or are they the same? | 23:34 |
| ← Technocrat left | 23:35 |
|
offby1
| Sasazuka: the command you showed us will create a merge commit whose parents are your current HEAD, and the feature/BLAH branch. | 23:35 |
|
| I have no idea what you've pushed. | 23:36 |
| ← Gizburdt left | 23:36 |
|
Sasazuka
| I meant to ask if "git merge --squash origin/feature/BLAH" is equivalent to "git merge --squash feature/BLAH" | 23:37 |
|
offby1
| if the refs origin/feature/BLAH and feature/BLAH are pointing to the same commit, then yes. | 23:37 |
|
| do "git show --stat origin/feature/BLAH feature/BLAH"; see if they're the same. | 23:37 |
|
Sasazuka
| so in other words, not always equivalent ? | 23:38 |
| ← phantombeta left | 23:38 |
| ← jagob left | 23:38 |
|
offby1
| not necessarily. | 23:39 |
| ← BHSPiMonkey left | 23:39 |
|
offby1
| Those are two different refs; there's no law that says they will always point to the same commit. | 23:39 |
|
| (If they did, there'd be no point having both of them.) | 23:39 |
|
| Now, in practice, you may find that they are _usually_ pointing at the same commit ... or one of them might even be an abbreviation for the other, in which case they would indeed always be the same. But I'm not certain that's the case. | 23:40 |
| ← wrouesnel3 left | 23:40 |
|
Sasazuka
| is it just changes that are committed but not pushed? | 23:40 |
| ← marchdown left | 23:40 |
| → Bryzzle joined | 23:41 |
|
Sasazuka
| AFAIK that's the only difference between them but I'm not sure if there's anything else | 23:41 |
| → jaredr_ joined | 23:41 |
| ← kukks left | 23:43 |
| → richardlitt joined | 23:43 |
| → samsquanch joined | 23:43 |
| ← jonatasnona left | 23:45 |
| ← kcj left | 23:45 |
| ← jaredr_ left | 23:46 |
| ← dreiss left | 23:46 |
| → JanC joined | 23:47 |
| ← King_Hual left | 23:47 |
|
offby1
| I wouldn't know, since I can't see your computer | 23:47 |
| ← dsantiago left | 23:47 |
|
offby1
| Sasazuka: you should run "gitk --all"; it makes everything wonderfully clear | 23:47 |
| → dsantiago joined | 23:49 |
|
Sasazuka
| I never did understood the "transit map" that git has haha | 23:50 |
| ← virtualsue left | 23:51 |
| → hgl joined | 23:52 |
| ← paul424 left | 23:52 |
| ← in_deep_thought left | 23:53 |
| ← fstd left | 23:54 |
| ← zvpun left | 23:54 |
| ← vurma left | 23:55 |
| ← hgl left | 23:56 |
| → boombatower joined | 23:57 |
| ← boombatower left | 23:57 |
| → boombatower joined | 23:57 |
| → dreiss joined | 23:59 |
| ← nnyk_ left | 23:59 |
| ← liamkeily left | 23:59 |