| 2013-07-24 |
| ← oliveiraev left | 00:00 |
| ← mklappstuhl left | 00:01 |
|
ozette
| i'm not too sure on how to prevent a conflict if i have for example 3 patches commited, but before i can check those in i have to pull in changes from upstream | 00:01 |
| → schemanic joined | 00:02 |
|
ozette
| or if i want to merge a topic branch back into master | 00:02 |
|
EugeneKay
| git doesn't "check in", it pushes. | 00:02 |
|
ozette
| or vise versa | 00:02 |
|
EugeneKay
| The point is to fetch/merge BEFORE editing/commiting, so you're never creating a conflict to begin with | 00:03 |
|
| The viability of this in a high-traffic repo varies | 00:03 |
|
ozette
| hmm ok, so saving up is bad practice if its not a personal branch? | 00:04 |
|
EugeneKay
| Depends upon your project practices | 00:04 |
| → enr joined | 00:04 |
|
cjz
| why dont git submodules pull when you pull the super directory? | 00:04 |
|
EugeneKay
| I branch off from wherever "unstable"(or "dev") is into a Topic branch, which shares an ID# with our Issue Tracker. I do my thing, then push it. If the code is good, it gets merged back into unstable, resolving any conflicts at that point. | 00:05 |
|
| !flow | 00:05 |
|
gitinfo
| [!gitflow] The description of the gitflow branch workflow model is at http://nvie.com/posts/a-successful-git-branching-model/ while a tool to help implement this workflow is at https://github.com/petervanderdoes/gitflow See http://sethrobertson.github.com/GitBestPractices/#workflow for other workflow suggestions/references | 00:05 |
| ← boombatower_ left | 00:06 |
|
ozette
| aha | 00:06 |
| → tinti_ joined | 00:06 |
| ← johnnyfuchs left | 00:08 |
|
ozette
| thank you | 00:08 |
| ← lindenle left | 00:11 |
| → belak joined | 00:11 |
| ← myoung left | 00:12 |
| ← frgtn left | 00:12 |
| → macabre joined | 00:12 |
| → joelpittet joined | 00:12 |
| → myoung joined | 00:12 |
| ← Marquisk2 left | 00:12 |
| → osmosis joined | 00:13 |
| ← enr left | 00:13 |
| ← pitzips left | 00:14 |
| ← iliketurtles left | 00:14 |
| ← Vampire0_ left | 00:15 |
| → rchavik joined | 00:15 |
| → v0n joined | 00:16 |
| → DrGonzo joined | 00:16 |
| → SinnerNyx joined | 00:17 |
| ← Gonzo left | 00:17 |
| → lavaman joined | 00:17 |
| → gua_ould joined | 00:19 |
| ← breck7 left | 00:20 |
| ← osmosis left | 00:21 |
| ← BJfreeman left | 00:21 |
| ← RavenHursT left | 00:22 |
| → Cromulent|2 joined | 00:24 |
| ← tpollard left | 00:25 |
| → hugo_dc joined | 00:25 |
| → awygle joined | 00:25 |
| ← FernandoBasso left | 00:26 |
| ← cbreak left | 00:26 |
| → cballenar joined | 00:26 |
| → tang^m joined | 00:26 |
| → normanrichards joined | 00:27 |
| ← happyg0pher left | 00:27 |
| → cballenar1 joined | 00:28 |
| ← cballenar left | 00:28 |
| ← cballenar1 left | 00:29 |
| → cbreak joined | 00:29 |
| ← cjz left | 00:30 |
|
juliohm
| What GNOME has to do with Git? I get an annoying warning about gnome-keyring | 00:30 |
| ← DonRichie left | 00:30 |
| → ewnd9 joined | 00:30 |
|
| juliohm is running Kubuntu | 00:31 |
| ← AaronMT left | 00:31 |
| → DonRichie joined | 00:31 |
| ← zhost left | 00:31 |
| → mckendricks joined | 00:32 |
| → carlos-huang joined | 00:32 |
| ← sr78ger left | 00:33 |
| ← Noldorin left | 00:34 |
| ← yshh left | 00:34 |
| → Noldorin joined | 00:34 |
| ← hyperair left | 00:34 |
| ← Noldorin left | 00:35 |
| → Noldorin joined | 00:35 |
| → R1KRDO joined | 00:35 |
|
bremner
| git or git-svn? | 00:35 |
| → sr78ger joined | 00:36 |
| ← tang^m left | 00:37 |
| → chaw joined | 00:37 |
| → Vampire0 joined | 00:38 |
| → devoldmx joined | 00:38 |
| → cballenar joined | 00:41 |
| → JPeterson joined | 00:42 |
| → setmeaway joined | 00:42 |
| → frgtn joined | 00:43 |
| → tgs3_ joined | 00:43 |
|
tgs3_
| how to download " | 00:43 |
| ← ozette left | 00:43 |
|
tgs3_
| git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6.git deterministic-build-v1 on linux exactly? | 00:43 |
| → ozette_ joined | 00:43 |
| → HenryG joined | 00:44 |
| ← juliohm left | 00:44 |
| → byprdct joined | 00:44 |
| ← byprdct left | 00:45 |
| → nerdfiles joined | 00:47 |
| → byprdct joined | 00:48 |
|
tgs3_
| anyone? | 00:48 |
| ← ewnd9 left | 00:49 |
| → fairuz joined | 00:49 |
| ← Cykey left | 00:49 |
| ← hahuang65 left | 00:50 |
| → hahuang65 joined | 00:50 |
| ← gua_ould left | 00:50 |
| → enr joined | 00:50 |
| ← frgtn left | 00:52 |
| ← fairuz left | 00:52 |
|
milki
| tgs3_: git clone that url you gave | 00:52 |
| → weslly joined | 00:52 |
| → gmc_ joined | 00:52 |
|
milki
| tgs3_: then git checkout that branch name you gave | 00:53 |
|
| tgs3_: then read !book | 00:53 |
|
gitinfo
| tgs3_: There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable | 00:53 |
| ivan`_ → ivan` | 00:53 |
| ← hugo_dc left | 00:53 |
| ← gmc_ left | 00:53 |
|
tgs3_
| milki: it's not working. Is this git not working? Maybe it was moved | 00:53 |
| → LuxuryMode joined | 00:54 |
| → gmc_ joined | 00:54 |
| ← enr left | 00:55 |
| gmc_ → zikemanb | 00:56 |
|
LuxuryMode
| When I have conflict on a `git pull --rebase` and am told to resolve then run git rebase --continue…i should be adding the resolved files before continuing, right? | 00:56 |
| ← weslly left | 00:56 |
| ← zikemanb left | 00:56 |
| ← harish left | 00:57 |
| ← GT4066 left | 00:57 |
| → gua_ould joined | 00:57 |
|
bremner
| yes | 00:58 |
| ← gua_ould left | 00:58 |
| ← chrob left | 00:58 |
| → Marquisk2 joined | 00:59 |
| → yshh joined | 00:59 |
| ← ozette_ left | 01:01 |
| → bdavenport joined | 01:01 |
| → ozette joined | 01:01 |
| → Marenz joined | 01:01 |
| → zikemanb joined | 01:01 |
| ← zikemanb left | 01:02 |
| ← lifelike left | 01:02 |
| ← tinti_ left | 01:02 |
| → lifelike joined | 01:03 |
| → hugo_dc joined | 01:04 |
| → zikemanb joined | 01:04 |
| ← zikemanb left | 01:04 |
| ← Suprano left | 01:04 |
| → hyperair joined | 01:05 |
| ← cdash004 left | 01:05 |
| → k_sze[work] joined | 01:05 |
| ← freestyl3r left | 01:07 |
| ← causasui left | 01:08 |
| ← R1KRDO left | 01:08 |
| ← LuxuryMode left | 01:09 |
| ← cballenar left | 01:09 |
| → Suprano joined | 01:10 |
| ← joelpittet left | 01:11 |
| ← Marenz left | 01:15 |
| → umib0zu joined | 01:16 |
| → Goplat joined | 01:16 |
| ← thiago left | 01:18 |
| → cballenar joined | 01:19 |
| → johnnyfuchs joined | 01:22 |
| ← groglogic left | 01:23 |
| → nurey joined | 01:23 |
| ← meLon_ left | 01:23 |
| → jalama joined | 01:24 |
| → meLon joined | 01:24 |
| → jackdempsey joined | 01:24 |
| → rylangrayston_ joined | 01:24 |
|
rylangrayston_
| . | 01:25 |
| → dhruvasagar joined | 01:26 |
| ← towski left | 01:26 |
| ← johnnyfuchs left | 01:27 |
|
rylangrayston_
| so im new to git ... and im wanting to track a script inside blender3d is it best to put the script in a txt doc or just track the hole blend file? | 01:27 |
| → McEnroe joined | 01:28 |
| Arokh → Arokh[Off] | 01:28 |
|
jon_r
| are blend files binary? | 01:29 |
| ← trusktr left | 01:29 |
| sam113101 → sam113101_afk | 01:29 |
| sam113101_afk → sam113101 | 01:30 |
| ← schemanic left | 01:31 |
| → schemanic joined | 01:31 |
|
rylangrayston_
| i dont know | 01:32 |
|
| .. arnt all files binary ? | 01:33 |
| → hetal_ joined | 01:33 |
|
osse
| yes | 01:35 |
|
| but Git doesn't compress files that aren't text very well | 01:36 |
|
| but in common lingo there is a seperation between "binary" (JPG, PDF, etc. etc.) and text files | 01:36 |
| → whaley joined | 01:37 |
| → evjsli joined | 01:40 |
|
rylangrayston_
| yes i understand now .. iv been googlein the differnce.. | 01:40 |
|
SamB
| osse: its not so much that git is bad at compressing binary files, as that many binary files are uncooperative :-( | 01:41 |
|
osse
| SamB: aren't many binary files well compressed already, typically? (E.g. pictures and videos) | 01:42 |
|
SamB
| yes but this plays bloody hell with the delta compression | 01:42 |
|
osse
| ahh the delta compression | 01:43 |
| ← belak left | 01:43 |
| → luc_ joined | 01:44 |
| ← owen1 left | 01:45 |
|
rylangrayston_
| my .blend files are really small .. like 800 kb... in the blend file is a text file(but i dont know if its stored as bianary in that file) im wondering if git will track each like in the script in my blend file | 01:45 |
|
| *each line in the script | 01:46 |
|
| Or would it be better to put my scripts in text files out side the blend file | 01:46 |
| ← PeterBooker left | 01:47 |
| ← cballenar left | 01:48 |
| → weiyang joined | 01:48 |
| → Vampire0_ joined | 01:49 |
| → iliketurtles joined | 01:49 |
| ← iliketurtles left | 01:50 |
| ← Vampire0 left | 01:51 |
|
EugeneKay
| Put stuff in plaintext files whenever possible. | 01:51 |
|
| Binary files, because of their format, don't diff well in packfiles, so a repo will grow by the size of the file each time you make a revision. | 01:52 |
|
rylangrayston_
| ah thankyou thats the answer i was looking for ! | 01:52 |
| → harish joined | 01:52 |
| → boombatower joined | 01:53 |
| → Dougie187 joined | 01:54 |
|
rylangrayston_
| ok one more question ... i have hired a couple people on odesk to work on 2 scripts that talk to each other over the serial port.. is using git over kill for a small project ? like 3 coders , 500 lines of code ? | 01:54 |
|
milki
| tgs3_: !doesntwork | 01:55 |
|
gitinfo
| tgs3_: We're sorry it doesn't work, but "it doesn't work" is about the worst problem description possible. Please give us some details, what exactly are you doing, what are you expecting to and what are you seeing instead? | 01:55 |
| ← jhford_ left | 01:55 |
|
rylangrayston_
| sorry just checked make that 1500 lines of code | 01:56 |
|
EugeneKay
| git isn't overkill for any project; even something as simple as a one-file !jokes repo is deserving of git. | 01:56 |
|
gitinfo
| A complete listing of the git-jokes used in the /topic can be found at https://madeitwor.se/git-jokes (patches welcome) | 01:56 |
|
EugeneKay
| Especially when there's >1 person involved | 01:56 |
|
jamesd_
| gitinfo: it no work, fix it, make work, make work (in a strong accented voice) | 01:56 |
| ← SirFunk_ left | 01:57 |
| ← Cromulent|2 left | 01:57 |
| ← nurey left | 01:59 |
|
rylangrayston_
| ok thanks for your time everyone! ps !dosentwork == itworks #double negative:) | 01:59 |
| → daito joined | 01:59 |
|
milki
| p.O | 01:59 |
|
jast
| I don't see a double negative in that | 01:59 |
| ← amjam left | 02:00 |
| → nurey joined | 02:01 |
|
EugeneKay
| jast, what size T-shirt do you wear | 02:01 |
|
offby1
| don't answer that | 02:01 |
|
jast
| depends on the maker | 02:01 |
| → jhford joined | 02:02 |
|
jast
| I believe for woot shirts it's M... for most European products is L, sometimes XL | 02:02 |
|
EugeneKay
| USian types | 02:02 |
| ← hwrd|work left | 02:02 |
| → echo-area joined | 02:02 |
|
jast
| I have very limited experience with US sizes :) | 02:02 |
| → SirFunk joined | 02:03 |
| ← rylangrayston_ left | 02:03 |
| → eletuchy joined | 02:04 |
| ← alexander__b left | 02:04 |
| ← decotii left | 02:04 |
| → alexander__b joined | 02:05 |
|
EugeneKay
| http://i.imgur.com/1yCZPFJ.png | 02:05 |
|
milki
| lol | 02:06 |
|
| are we gathering jast stats? | 02:06 |
|
EugeneKay
| I have something far more nefarious in mind | 02:06 |
|
jast
| eww, non-SI units | 02:06 |
|
| on woot's size chart M works for me | 02:07 |
|
EugeneKay
| They look substantially the same; going by the L measurement anyway. | 02:08 |
| → AWinterm_ joined | 02:08 |
| ← bdavenport left | 02:08 |
| ← AWinterman left | 02:09 |
| → rabellamy joined | 02:09 |
| ← boombatower left | 02:09 |
|
EugeneKay
| Anyway..... thanks. | 02:09 |
|
| Is the address on jk.gs accurate? | 02:09 |
|
| EugeneKay makes notes | 02:11 |
| → thiago joined | 02:12 |
| thiago → Guest48457 | 02:12 |
|
EugeneKay
| Should be there before then | 02:13 |
| → bdavenport joined | 02:13 |
| → amjam joined | 02:16 |
| ← daito left | 02:17 |
| → aartist joined | 02:17 |
| ← ozette left | 02:18 |
| → towski joined | 02:18 |
| → rickruby joined | 02:18 |
| ← towski left | 02:20 |
| → clreed87 joined | 02:20 |
| ← bdavenport left | 02:21 |
| ← tplaner left | 02:21 |
| → Kira joined | 02:23 |
| ← arietis left | 02:23 |
| ← UukGoblin left | 02:24 |
| → UukGoblin joined | 02:24 |
| ← zizzfizzix left | 02:25 |
| ← DonRichie left | 02:25 |
| ← esc left | 02:25 |
| ← xxtjaxx left | 02:25 |
| → elauria_ joined | 02:25 |
| ← k_sze[work] left | 02:25 |
| → bdavenport joined | 02:25 |
| → esc joined | 02:25 |
| ← hahuang65 left | 02:25 |
| ← nilg` left | 02:25 |
| → DonRichie joined | 02:25 |
| → xxtjaxx joined | 02:25 |
| ← xxtjaxx left | 02:25 |
| → xxtjaxx joined | 02:25 |
| → cballenar joined | 02:26 |
| → nilg`` joined | 02:26 |
| → zizzfizzix joined | 02:26 |
| → dsdeiz_ joined | 02:26 |
| ← dsdeiz_ left | 02:26 |
| ← elauria left | 02:27 |
| → dsdeiz joined | 02:27 |
| → elauria joined | 02:29 |
| → daito joined | 02:29 |
| ← elauria_ left | 02:30 |
| → tiglog joined | 02:30 |
| → Davey joined | 02:32 |
| ← Davey left | 02:33 |
| → kerrick joined | 02:35 |
| → CheckDavid joined | 02:36 |
| ← jon_r left | 02:36 |
| ← dougsland_ left | 02:37 |
| ← Guest48457 left | 02:38 |
| → thiago joined | 02:38 |
| ← jackdempsey left | 02:38 |
| → doomi-o joined | 02:40 |
|
doomi-o
| G u M P | Y ) ( z g d s C Q + M , & 2 \ [ ; C X k U | " b < a b 8 / Z R K U p : ~ \ b { u | 02:41 |
|
| > t ! % | 02:41 |
|
| ? ] : ^ @ K N & V I ? = + ; l . s K j ( V M I N $ } > s y v ^ % ? W a + I A R P * E * I [ / t | 02:41 |
|
| v g \ \ P J o k ^ i - " S e A \ - " N , L J - F = : . $ U Q / < Q j l m E , I [ ! g ( 9 [ ^ = \ ` / 6 | 02:41 |
|
| @ A . | 02:41 |
|
| B X X | 02:41 |
|
| ` C s N e H h r y H n } w k ' # h u " " & F S v " V U v o v O = * # o S { ? ! j % ' 6 B ' ; : | 02:41 |
|
| A & L K N | 02:41 |
|
| e X u L Z } X b h n - f j | , w 0 T i S q L v 0 D ? + ` > / 4 U c X v S Q S K \ - ` X - ~ / d t r | 02:41 |
|
| V l # / | 02:41 |
|
| = F 4 D Z W s W ; 1 < ] k F 0 a { ] b 3 s ( k w d y { s F o Z r l Q E i b * E j p \ F = G k f } f ~ R | 02:41 |
|
| . = n | 02:41 |
|
| K a @ h e ` ~ C l K q = x N : X & M f @ l V E U v / E " : w [ ! " l Q U < ? x R W @ l G H j % B L | 02:41 |
|
| u c { X 6 | 02:41 |
|
| [ z F x d Y $ ) r < w H o A F ' ; [ f G ] = * D $ ; G , n L 6 ( ' Q Q F l V [ P Z X q , ; W r | 02:41 |
|
| U * Z H M | 02:41 |
|
| p 0 + B O p X y ~ E * V _ < k a z n g ~ r < M N n - ; U x @ r J Y ( c ^ D { { R " R p N / B S h ! P m | 02:41 |
|
| W i \ 9 | 02:41 |
|
| 4 > y l A J v X # u Y & O I q = k t h Q * ^ + ( y 1 U } u Y c O Z h _ s o b N h m p q e C _ w | 02:41 |
| ChanServ set mode: +o | 02:41 |
|
doomi-o
| 4 q & _ | 02:41 |
|
| z b t F c V { j \ : I \ ~ y O k } h T I V ' W I E M ? $ & A x } @ m % a E % F P * A V C h \ 4 e D d | 02:41 |
|
| x o O x | 02:41 |
| bremner set mode: +q | 02:41 |
|
mribeirodantas
| by | 02:41 |
|
| :) | 02:41 |
|
| bye doomi-o | 02:41 |
| ← doomi-o left | 02:42 |
| → IlIIlIIllIlIllI joined | 02:42 |
|
IlIIlIIllIlIllI
| H / [ | 02:42 |
|
| $ ^ 3 ] @ C 8 : g i T { A s M \ > ~ g U ; , R G H b v U = o * t \ J : x + K k \ | $ + ` : Y ! k m | 02:42 |
|
| Z A 6 D b | 02:42 |
|
| O O r E * R p z m } 0 p + q * $ { F ` ) ; i ~ M # = B { V d C : / } Z h Z n = b 7 U E % p x 6 8 | 02:42 |
| ChanServ set mode: +o | 02:42 |
|
IlIIlIIllIlIllI
| \ @ . ) O | 02:42 |
| thiago set mode: +b | 02:42 |
| ← IlIIlIIllIlIllI left | 02:42 |
| → IlIIlIIllIlIllI joined | 02:42 |
|
IlIIlIIllIlIllI
| Turned into a pollen grain | 02:42 |
|
| I mean in ancient times the Egyptians used hard muscle-demanding labor to create large pyramids... and stone age people, the neanderthals, needed to burn 5000-6000 calories a day to survive | 02:42 |
| bremner kicked IlIIlIIllIlIllI (-) | 02:42 |
| → IlIIlIIllIlIllI joined | 02:43 |
|
IlIIlIIllIlIllI
| But now people at Amazon use fork lifts, or skyscraper builders use heavy machinery | 02:43 |
|
| heavy machinery by companies like Hitachi or Kabuto or C.A.T. or whatever requires some object movement by people to make but not that of bodybuilders | 02:43 |
|
| But now all weight lifting is good for is police, military, or football/sports players | 02:43 |
|
| Police don't really "contribute" and product to society, but it's always good pay and it's sort of needed | 02:43 |
|
| Military is a waste of time and money | 02:43 |
|
| And football players are like playing video games only in real life | 02:43 |
|
| Throwing a ball around doesn't help other people no matter how much someone is paid | 02:43 |
|
| Police are mostly worthless | 02:43 |
|
| Football is like a virus to the world | 02:43 |
|
| What if I throw your balls around? | 02:43 |
|
| Police don't deter crime | 02:43 |
|
| They just mop up and catch the crooks | 02:43 |
| thiago set mode: +b | 02:43 |
|
thiago
| ok, strike three | 02:43 |
| ← IlIIlIIllIlIllI left | 02:43 |
|
| thiago goes seek oper help | 02:43 |
| thiago set mode: -b | 02:43 |
| ← awygle left | 02:44 |
| → skmidry joined | 02:44 |
|
offby1
| zounds | 02:44 |
| ← nerdfiles left | 02:44 |
|
bremner
| the first bit looks like a perl program | 02:45 |
| ChanServ set mode: -o | 02:45 |
| thiago set mode: -o | 02:45 |
| → dsdeiz_ joined | 02:45 |
|
jast
| I wonder where those people take all the time they sink into stuff like that | 02:46 |
| ← rabellamy left | 02:46 |
| → jon_r joined | 02:46 |
| ← konundra left | 02:47 |
| → jackdempsey joined | 02:47 |
| ← dsdeiz left | 02:47 |
| → anonymuse joined | 02:47 |
| → fridim__ joined | 02:47 |
| ← Nicholas_Rishel_ left | 02:48 |
|
offby1
| probably best not to think too hard about it | 02:48 |
|
jast
| works for me | 02:48 |
|
| if it happens again, do the op thing and /mode #git +q $~a | 02:48 |
|
| we originally introduced that due to this kind of... creativity | 02:49 |
| ← kossy left | 02:49 |
| → Nicholas_Rishel joined | 02:50 |
| ← shinnya left | 02:50 |
| ← jfinn left | 02:51 |
| → kossy joined | 02:51 |
| → enr joined | 02:51 |
| → jfinn joined | 02:51 |
| ← jfinn left | 02:52 |
| → jfinn joined | 02:52 |
| ← jfinn left | 02:52 |
| → jfinn joined | 02:55 |
| ← dreiss left | 02:56 |
| ← enr left | 02:56 |
| → kossy_ joined | 02:58 |
| ← amjam left | 02:59 |
| → Cromulent joined | 02:59 |
| ← kossy left | 03:00 |
| ← clreed87 left | 03:01 |
| ← jalama left | 03:02 |
| ← eletuchy left | 03:02 |
| → eletuchy joined | 03:02 |
| rohan32|afk → rohan32 | 03:03 |
| → kpreid joined | 03:04 |
| ← donmichelangelo left | 03:04 |
| → donmichelangelo joined | 03:05 |
| ← eletuchy left | 03:06 |
| ← kukks left | 03:08 |
| ← jackdempsey left | 03:08 |
| → clreed87 joined | 03:09 |
| ← macabre left | 03:10 |
| → parcs_ joined | 03:11 |
| ← aartist left | 03:12 |
| ← alvaro_o left | 03:13 |
| ← McEnroe left | 03:13 |
| → _BJFreeman joined | 03:13 |
| ← parcs left | 03:13 |
| ← Marquisk2 left | 03:13 |
| ← daito left | 03:13 |
| ← byprdct left | 03:13 |
| _BJFreeman → BJfreeman | 03:14 |
| → daito joined | 03:14 |
| → macabre joined | 03:16 |
| → hahuang65 joined | 03:17 |
| ← daito left | 03:18 |
| ← anonymuse left | 03:20 |
| → daito joined | 03:20 |
| → anonymuse joined | 03:20 |
| ← whaley left | 03:20 |
| → towski joined | 03:21 |
| → Gooder joined | 03:22 |
| ← dkpi left | 03:23 |
| → Destos joined | 03:23 |
| ← CheckDavid left | 03:23 |
| ← towski left | 03:23 |
|
EugeneKay
| When did that get taken out? | 03:23 |
| ← clreed87 left | 03:24 |
| → jackdempsey joined | 03:24 |
| ← anonymuse left | 03:24 |
| ← mribeirodantas left | 03:25 |
| ← dhruvasagar left | 03:26 |
| ← AWinterm_ left | 03:27 |
| → aoper joined | 03:28 |
| ← cballenar left | 03:28 |
| ← Dougie187 left | 03:28 |
| ← Milossh left | 03:29 |
| ← SinnerNyx left | 03:30 |
| → Marquisk2 joined | 03:30 |
| → crundar joined | 03:31 |
| ← chaw left | 03:31 |
|
crundar
| hey folks. Do I have a doozey (I think). | 03:31 |
|
| I've got a repo in an enterprise github, and I've got access to another repo in the public one. I want both of those under a group account in my public one. Hopefully, with their histories. | 03:32 |
|
| Is that a laughable request? Trivial? | 03:32 |
| → grilix joined | 03:33 |
|
SamB
| sounds like a #github question | 03:33 |
| ← p3lim left | 03:33 |
| → preflex_ joined | 03:34 |
| → groglogic joined | 03:34 |
| ← preflex left | 03:34 |
| → FreezingAlt joined | 03:34 |
| → Milossh joined | 03:34 |
| preflex_ → preflex | 03:34 |
|
crundar
| oh, well I'll go try over there | 03:34 |
| ← FreezingCold left | 03:35 |
| ← kerrick left | 03:36 |
| → kerrick joined | 03:36 |
| ← evjsli left | 03:36 |
| → evjsli joined | 03:37 |
| ← plumpkin left | 03:38 |
| ← macabre left | 03:39 |
| → ferene joined | 03:40 |
| → sqlnoob joined | 03:42 |
| ← Marquisk2 left | 03:43 |
| ← oojacoboo left | 03:43 |
| ← OnlyMax left | 03:43 |
| → amjam joined | 03:44 |
| → CheckDavid joined | 03:44 |
| → chaw joined | 03:46 |
| → belak joined | 03:46 |
| ← nurey left | 03:49 |
| → dreiss joined | 03:49 |
| ← kerrick left | 03:51 |
| ← BJfreeman left | 03:51 |
| ← evjsli left | 03:51 |
| ← Destos left | 03:51 |
| → enr joined | 03:52 |
| ← mmlac-bv left | 03:52 |
| → guest110 joined | 03:52 |
| ← setmeaway left | 03:54 |
| → irqq joined | 03:54 |
| → setmeaway joined | 03:54 |
| ← setmeaway left | 03:54 |
| ← guest110 left | 03:55 |
| → setmeaway joined | 03:55 |
| ← darknyan left | 03:55 |
| ← enr left | 03:56 |
| ← Noldorin left | 03:56 |
| ← chaw left | 03:57 |
| ← groglogic left | 03:57 |
| ← jday_ left | 03:58 |
| ← irqq left | 03:58 |
| ← mitz left | 03:59 |
| ← lavaman left | 03:59 |
| → irqq joined | 03:59 |
| → _BJFreeman joined | 03:59 |
| ← donmichelangelo left | 04:00 |
| → VoidAtValhalla joined | 04:00 |
| _BJFreeman → BJfreeman | 04:00 |
| → mitz joined | 04:00 |
| → donmichelangelo joined | 04:00 |
| ← lresende left | 04:01 |
| → darknyan joined | 04:01 |
| ← VoidAtValhalla left | 04:02 |
| ← jackdempsey left | 04:02 |
| ← BJfreeman left | 04:04 |
| → sbbrtn joined | 04:04 |
| → macabre joined | 04:04 |
| ← m0viefreak left | 04:05 |
| → beautifulmind joined | 04:05 |
| ← CheckDavid left | 04:06 |
| ← beautifulmind left | 04:07 |
| → beautifulmind joined | 04:09 |
| → kerrick joined | 04:09 |
| → evjsli joined | 04:09 |
| ← mitz left | 04:12 |
| ← macabre left | 04:12 |
| → eletuchy joined | 04:13 |
| ← beautifulmind left | 04:13 |
| → mitz joined | 04:13 |
| → BashCode_ joined | 04:14 |
| → beautifulmind joined | 04:16 |
| → scientes joined | 04:16 |
| ← scientes left | 04:16 |
| → scientes joined | 04:16 |
| ← BashCode_ left | 04:17 |
| ← beautifulmind left | 04:17 |
| ← eletuchy left | 04:18 |
| → BashCoder joined | 04:18 |
| → alexO joined | 04:20 |
| anildigital_away → anildigital | 04:22 |
| → max_ joined | 04:22 |
| ← huoxito left | 04:25 |
| anildigital → anildigital_away | 04:27 |
| ← grilix left | 04:27 |
| anildigital_away → anildigital | 04:27 |
| → johnnyfuchs joined | 04:29 |
| → beautifulmind joined | 04:29 |
| anildigital → anildigital_away | 04:30 |
| anildigital_away → anildigital | 04:30 |
| → kcj joined | 04:32 |
| ← scientes left | 04:33 |
| → scientes joined | 04:34 |
| ← scientes left | 04:34 |
| → scientes joined | 04:34 |
| ← kcj left | 04:34 |
| ← mitz left | 04:34 |
| ← myoung left | 04:35 |
| → myoung joined | 04:36 |
| → AWinterman joined | 04:37 |
| ← vedant left | 04:38 |
| → scientes_ joined | 04:39 |
| ← scientes left | 04:39 |
| → hoschi joined | 04:39 |
| rohan32 → rohan32|afk | 04:40 |
| ← scientes_ left | 04:40 |
| → macabre joined | 04:41 |
| ← akurilin left | 04:41 |
| ← the_cybersphinx left | 04:42 |
| → tkil joined | 04:42 |
| ← AWinterman left | 04:42 |
| ← undecim left | 04:43 |
|
tkil
| i'm did a branch against linux-next from 2013-07-05, and it seems that greg kh took a few of my patches. what's the easiest way to ask git to rebase my changes onto the latest linux-next tree? | 04:43 |
| ← daito left | 04:44 |
|
tkil
| i think that i can extract patches, switch to the latest edition of linux-next, and apply the patches manually / scripted in order. | 04:44 |
|
| but i would assume there's an easier way to do it? | 04:44 |
|
jon_r
| you have a branch with just your commits | 04:44 |
|
| based off another branch? | 04:44 |
|
| and you wish to switch the base branhc? | 04:45 |
|
| *branch | 04:45 |
|
tkil
| jon_r -- not entirely sure, but i think the answer is yes; i created a branch off the 07-05 linux-next tree. | 04:45 |
|
jon_r
| did you commit to it? | 04:45 |
|
| your patches? | 04:45 |
|
tkil
| er... yes? | 04:45 |
| → gtback joined | 04:45 |
| → acharlieh joined | 04:45 |
|
| tkil is not sure what else one would do with a branch. | 04:45 |
| → Tommy[D] joined | 04:46 |
|
jon_r
| so rebase it? | 04:46 |
|
| (was just making sure you didn't make a mess or something ;)) | 04:46 |
|
| if you do `git rebase --interactive linux-next-latest` (where latest is whatever) it'll walk you through (re)applying your changes ontop of the latest from linux-next | 04:47 |
|
tkil
| this is what "git log" shows for my branch, note 985b84a0d18aaad943103c75f82accc94f475a15 at the bottom, that's where i branched off linux-next | 04:47 |
|
| http://fpaste.org/27383/64121213/ er. | 04:47 |
|
| i almost certainly made a mess, just trying to extricate myself with minimal further damage. :) | 04:47 |
| ← Tommy[D]_ left | 04:48 |
|
tkil
| mmm... i did a few different rebase attempts, one failed instantly, the other took a while and then complained about how my rename limit wasn't high enough. | 04:48 |
|
| let me stare at what you suggested. | 04:48 |
| → byprdct joined | 04:48 |
| ← revyd left | 04:48 |
| → jaequery joined | 04:49 |
|
tkil
| i suspect i can just check out the latest -next tree, and then cherry pick the ones that greg didn't take. | 04:50 |
| ← sgambino left | 04:50 |
| ← acharlieh left | 04:50 |
|
tkil
| (i believe he took the first three there.) | 04:50 |
| → lavaman joined | 04:51 |
| → mitz joined | 04:51 |
| ← mckendricks left | 04:51 |
|
jon_r
| if you have only a few commits you should be able to rebase | 04:51 |
|
| unless it's the size of the repo making problems | 04:51 |
| ← madewokherd left | 04:52 |
| → enr joined | 04:52 |
|
tkil
| is this a problem? http://www.fpaste.org/27384/13746415/ | 04:52 |
|
| and while linux-next is obviously pretty large, this is a pretty beefy system, so i wouldn't expect to be limited by hardware... | 04:54 |
| ← enr left | 04:54 |
| → cads joined | 04:54 |
| ← umib0zu left | 04:55 |
|
jon_r
| do a git fetch | 04:57 |
|
| to make sure you're uptodate | 04:57 |
|
| and make sure you've pulled any local tracked branches | 04:57 |
|
| it's not a problem but will help if you're uptodate | 04:57 |
|
tkil
| no idea what the latter are, so i'll assume i don't have any. | 04:58 |
|
| and i just did a fetch, let me make sure. | 04:58 |
|
| yes, git fetch returned instantly. | 04:58 |
| → ntus1017 joined | 04:58 |
|
tkil
| reading this now: http://stackoverflow.com/questions/2452226/master-branch-and-origin-master-have-diverged-how-to-undiverge-branches | 04:59 |
| → rurufufuss joined | 04:59 |
| ← alfplayer left | 04:59 |
| ← hahuang65 left | 04:59 |
| → PCChris joined | 04:59 |
|
tkil
| git rebase origin/master -> failed with a conflict after just 3-4 files. | 05:00 |
| ← ferene left | 05:00 |
| ← dreiss left | 05:00 |
|
tkil
| hm. git pull --rebase seems to have executed without complaint. | 05:01 |
|
jon_r
| wait you have local commits in master? | 05:02 |
|
| o_O | 05:02 |
|
tkil
| .... not that i know of. | 05:02 |
|
jon_r
| well that's why they'd differ… unless remote master was force pushed | 05:03 |
|
tkil
| [subtitle: i continue to not understand git, and therefore might be spouting completely meaningless gibberish.] | 05:03 |
|
| linux-next is rebased all the time, IIRC... would that cause this sort of issue? | 05:03 |
| ← Dreadnaught left | 05:03 |
|
jon_r
| yes | 05:04 |
|
| but it's normally done on a branch | 05:04 |
|
| not on master? | 05:04 |
|
tkil
| is the question "which master" a reasonable one, here? | 05:04 |
| ← Nicholas_Rishel left | 05:04 |
|
tkil
| because i didn't do anything odd when i made these changes; i cloned linux-next, made a branch, made fixes, committed to that branch. | 05:04 |
| → ferene joined | 05:05 |
| → private joined | 05:05 |
|
tkil
| maybe the fact that upstream is rebased means that my branch is now disconnected. so just dealing with them textually as patches is probably the easiest solution for now. | 05:06 |
|
jon_r
| oh I see | 05:07 |
|
| you're attempting to rebase your branch off master | 05:07 |
|
| is linux-next a branch or a repo? | 05:08 |
|
tkil
| ... repo, i think, is the correct answer? | 05:08 |
| ← iateadonut left | 05:08 |
|
tkil
| git remote -v => origin git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git | 05:08 |
|
| (for both fetch and push) | 05:08 |
|
jon_r
| ah ok, for some reason I thought you were talking about a branch | 05:09 |
| ← xxcagedwisdom left | 05:10 |
|
jon_r
| git pull --rebase should have given you a branch that contains all of master plus your commits | 05:10 |
|
| you couldn't have done git pull origin master into your branch because you diverged it from master, thats normal | 05:10 |
| ← sbbrtn left | 05:11 |
| → pretty_function joined | 05:11 |
|
jon_r
| you could have done git co master; git pull origin master; git co $branch_name; git rebase master | 05:11 |
|
tkil
| "git pull --rebase" gives me "no tracking information for the current branch." | 05:11 |
|
jon_r
| it's essentially the same in my understanding | 05:11 |
| → sajan joined | 05:11 |
|
jon_r
| yeah you need to specify origin/master | 05:11 |
| → Vampire0 joined | 05:11 |
|
jon_r
| cause your local branch isn't tracking any remote branches | 05:11 |
|
tkil
| fatal: 'origin/master' does not appear to be a git repository | 05:12 |
|
| joy | 05:12 |
| ← sr78ger left | 05:12 |
|
jon_r
| try origin:master | 05:12 |
|
| I get my : and my / mixed up | 05:12 |
| → hahuang65 joined | 05:12 |
|
tkil
| ssh: Could not resolve hostname origin: Name or service not known | 05:12 |
|
| git pull --rebase origin master seems to be doing something... | 05:13 |
| → dreiss joined | 05:13 |
|
tkil
| ah-ha. that was it. thanks! | 05:13 |
| → oojacoboo joined | 05:13 |
| → fluxbox_ joined | 05:13 |
| ← Vampire0_ left | 05:14 |
|
tkil
| although it's still showing the three commits that greg took. let me try that same thing against greg's tree... | 05:14 |
| ← Kira left | 05:14 |
| → iateadonut joined | 05:15 |
|
jon_r
| you'll need to replace origin with greys remote | 05:16 |
|
| *gregs | 05:16 |
|
| or master with his branch if its a branch | 05:16 |
|
| etc | 05:16 |
|
tkil
| right. and it might still 'splode since i was gbased off linux-next, and greg drives staging-next... | 05:16 |
| ← natechan left | 05:17 |
| ← ntus1017 left | 05:17 |
| → jackdempsey joined | 05:17 |
| ← fridim__ left | 05:18 |
| → dhruvasagar joined | 05:19 |
| ChanServ set mode: +o | 05:19 |
| thiago set mode: -b | 05:19 |
| thiago set mode: -o | 05:19 |
| ← YoungFrog left | 05:21 |
| ← cigarshark left | 05:21 |
| ← Cromulent left | 05:22 |
| → shruggar joined | 05:22 |
| ← jaequery left | 05:24 |
| ← weiyang left | 05:25 |
| → macabre^ joined | 05:25 |
| ← PaulCapestany left | 05:25 |
| → jaequery joined | 05:26 |
| → breck7 joined | 05:26 |
| → stliu joined | 05:27 |
| ← macabre left | 05:27 |
| → mechanicalduck joined | 05:27 |
| ← maslowbeer left | 05:28 |
| → daito joined | 05:29 |
| ← nicedice left | 05:30 |
| → Guest__ joined | 05:32 |
| ← darknyan left | 05:33 |
| → bodom joined | 05:35 |
| → ffio joined | 05:36 |
| → ThomasLocke joined | 05:36 |
| → kcj joined | 05:36 |
| ← smw left | 05:37 |
| ← MXBrandon2 left | 05:37 |
| ← dhruvasagar left | 05:37 |
| ← v0n left | 05:37 |
| → dhruvasagar joined | 05:38 |
| ← mechanicalduck left | 05:38 |
| → MXBrandon2 joined | 05:39 |
| ← jaequery left | 05:40 |
| ← FreezingAlt left | 05:41 |
| ← Guest__ left | 05:43 |
| → sr78ger joined | 05:44 |
| → Guest__ joined | 05:44 |
| ← skmidry left | 05:44 |
| → skmidry joined | 05:45 |
| → mechanicalduck joined | 05:46 |
| ← jackdempsey left | 05:46 |
| ← sr78ger left | 05:49 |
| ← dhruvasagar left | 05:49 |
| → Sigma joined | 05:49 |
| ← alunduil left | 05:49 |
| → dhruvasagar joined | 05:50 |
| → alunduil joined | 05:50 |
| ← vipzrx left | 05:51 |
| ← shruggar left | 05:51 |
| → vipzrx joined | 05:51 |
| → rath joined | 05:53 |
| → enr joined | 05:53 |
| ← BashCoder left | 05:56 |
| → ayaz joined | 05:56 |
| → Gooder` joined | 05:57 |
| → KernelPanicMK3 joined | 05:57 |
| ← enr left | 05:57 |
| → Spyro_ joined | 05:57 |
| ← skmidry left | 05:58 |
| ← joki left | 05:59 |
| → ntus1017 joined | 05:59 |
| → adnap_ joined | 05:59 |
| ← hetal_ left | 06:00 |
| ← bodom left | 06:00 |
| → ejnahc_ joined | 06:01 |
| → rapha_ joined | 06:02 |
| → ryanjh joined | 06:02 |
| → k_sze[work] joined | 06:02 |
| → arvind_khadri joined | 06:02 |
| → joki joined | 06:03 |
| ← Gooder left | 06:04 |
| ← KernelPanicMK2 left | 06:04 |
| ← Spyro left | 06:04 |
| ← adnap left | 06:04 |
| ← ryanhirsch left | 06:04 |
| ← beawesomeinstead left | 06:04 |
| ← ejnahc left | 06:04 |
| ← iateadonut left | 06:04 |
| ← rapha left | 06:04 |
| ← kcj left | 06:04 |
| ← alexander__b left | 06:05 |
| → alexander__b joined | 06:05 |
| ← hahuang65 left | 06:05 |
| → mamtina joined | 06:06 |
| → mutbuerger joined | 06:06 |
| → kcj joined | 06:06 |
| ← leandrosansilva_ left | 06:07 |
| → leandrosansilva joined | 06:07 |
| → tatsuya_o joined | 06:07 |
| → nilg``` joined | 06:08 |
| ← nilg`` left | 06:08 |
| → pretty_f_ joined | 06:09 |
| → rudak joined | 06:10 |
| → cbreak-work joined | 06:11 |
| → lb1a joined | 06:11 |
| ← pretty_f_ left | 06:12 |
| → pretty_f_ joined | 06:12 |
| ← pretty_function left | 06:12 |
| ← tatsuya_o left | 06:13 |
| ← zbcm left | 06:13 |
| → juanmabc joined | 06:13 |
| ← ferene left | 06:13 |
| ← mechanicalduck left | 06:14 |
| ← macabre^ left | 06:16 |
| → iateadonut joined | 06:17 |
| ← juanmabc left | 06:17 |
| → juanmabc joined | 06:18 |
| → mechanicalduck joined | 06:18 |
| ← normanrichards left | 06:21 |
| ← cads2 left | 06:22 |
| → Caritade joined | 06:23 |
| ← crundar left | 06:25 |
| ← mitz left | 06:25 |
| ← kerrick left | 06:27 |
| → jayfk joined | 06:28 |
| ← johnnyfuchs left | 06:28 |
| ← mechanicalduck left | 06:29 |
| ← lepine left | 06:29 |
| → kerrick joined | 06:29 |
| → lepine joined | 06:30 |
| → marthinal joined | 06:30 |
| → soee joined | 06:31 |
| → Adlai joined | 06:31 |
| → hahuang65 joined | 06:32 |
| → mechanicalduck joined | 06:32 |
| → rednaks joined | 06:33 |
| ← breck7 left | 06:34 |
| → mitz joined | 06:35 |
| → fRAiLtY- joined | 06:35 |
| ← bvi left | 06:36 |
| → GeertV joined | 06:37 |
| ← aoper left | 06:37 |
| ← max_ left | 06:38 |
| ← mechanicalduck left | 06:38 |
| → quasimodo joined | 06:38 |
| → a-l-e joined | 06:38 |
| ← rchavik left | 06:38 |
| ← hahuang65 left | 06:40 |
| → undecim joined | 06:41 |
| → netiul joined | 06:41 |
| ← tiglog left | 06:42 |
| → rchavik joined | 06:42 |
| ← hugo_dc left | 06:42 |
| → fairuz1 joined | 06:43 |
| ← fairuz1 left | 06:43 |
| → JohnBat26 joined | 06:44 |
| → mechanicalduck joined | 06:45 |
| → gua_ould joined | 06:48 |
| → bvi joined | 06:48 |
| → FawnOnyx joined | 06:49 |
| gitinfo set mode: +v | 06:50 |
| ← mechanicalduck left | 06:50 |
|
lb1a
| .info 1+1 | 06:51 |
|
gitinfo
| [calc] 1 + 1 = 2 | 06:51 |
| ← rednaks left | 06:52 |
| → shwouchk joined | 06:53 |
|
shwouchk
| Hello | 06:53 |
|
lb1a
| !hi | 06:53 |
|
gitinfo
| [!welcome] Welcome to #git, a place full of helpful gits. If you have a question, feel free to just go ahead and ask—somebody should answer shortly. For more info on this channel, see http://jk.gs/git/ Take backups (type !backup to learn how) before taking advice. | 06:53 |
| → enr joined | 06:53 |
| ← gua_ould left | 06:54 |
|
shwouchk
| Is there a way to have git treat a second repository that I put inside a first repository as "just files"? | 06:54 |
| ← lavaman left | 06:54 |
| ← danicampa9011 left | 06:54 |
| ← pretty_f_ left | 06:54 |
| → eijk joined | 06:54 |
|
iveqy
| shwouchk: no | 06:55 |
|
PjotrOrial
| Yves, | 06:55 |
|
lb1a
| shwouchk, since git isnt aware of 'files' no | 06:55 |
| → pretty_function joined | 06:55 |
|
lb1a
| shwouchk, if you want to nest repositories, checkout !subrepo | 06:55 |
|
gitinfo
| shwouchk: [!subprojects] So, you want to add git repositories inside of other git repositories? Well, you have four main options. First is to just do it, add the repo to the outer project's .gitignore, and treat them entirely separately. Best if they are entirely separate. Otherwise your best options are "!submodule", "!gitslave", and "!subtree". Try those commands in this channel, or in a PM to avoid flooding. | 06:55 |
| → pduin joined | 06:56 |
|
iveqy
| shwouchk: you could always add .git to .gitignore, it might help somewhat (I think) but that wouldn't give you tracking of the repo | 06:56 |
|
SamB
| shwouchk: I've seen that for dulwich's test data, I think | 06:56 |
|
iveqy
| shwouchk: you really should follow lb1as advice | 06:56 |
|
lb1a
| iveqy, thanks, it's lb1a btw ;) | 06:56 |
|
SamB
| but it's not a normal thing to do at all | 06:56 |
| → mishok13 joined | 06:57 |
| → mklappstuhl joined | 06:57 |
|
lb1a
| SamB, it is 'normal' usecase for example shared libary and such | 06:57 |
|
iveqy
| lb1a: don't you add an s for possessive things? ;) | 06:58 |
| ← enr left | 06:58 |
|
cbreak-work
| shared libraries have nothing to do with git | 06:58 |
|
shwouchk
| SamB: can you please elaborate? | 06:58 |
| ← amjam left | 06:58 |
| → enr joined | 06:58 |
|
lb1a
| iveqy, ^^ | 06:58 |
| → pantsman joined | 06:59 |
| ← pantsman left | 06:59 |
| → pantsman joined | 06:59 |
|
SamB
| shwouchk: dulwich implements git stuff, so it has/had one or more git repositories checked into its git repository for use in testing | 06:59 |
|
shwouchk
| iveqy, lb1a: I would like the .git files to be versioned as well rather than ignored (forgive me if this seems senseless to you, but I need it). | 06:59 |
|
lb1a
| cbreak-work, correct, but putting the git repo of the libaray inside your own project to track its progress ( using the available sub repo options ) is a normal usecase for me at least | 06:59 |
|
| shwouchk, stick with !subprojects | 07:00 |
|
gitinfo
| shwouchk: So, you want to add git repositories inside of other git repositories? Well, you have four main options. First is to just do it, add the repo to the outer project's .gitignore, and treat them entirely separately. Best if they are entirely separate. Otherwise your best options are "!submodule", "!gitslave", and "!subtree". Try those commands in this channel, or in a PM to avoid flooding. | 07:00 |
|
cbreak-work
| lb1a: then it's not shared :) | 07:00 |
|
iveqy
| shwouchk: would you mind telling why you need it? You know that a .git is mostly binary files and you will have a hard time doing conflict resolution with them. | 07:00 |
| → koda joined | 07:00 |
|
cbreak-work
| sub repositories are by their very definition strongly coupled to the parent, they are directly owned by it | 07:00 |
|
lb1a
| cbreak-work, i mean in the sense, that this libary is shared amongst projects, not like a shared lib in the C way :P | 07:00 |
|
shwouchk
| !subtree | 07:00 |
|
gitinfo
| The subtree merge method is great for incorporating a subsidiary git repo into your current one with "unified" history. Read http://git-scm.com/book/en/Git-Tools-Subtree-Merging for more info, or try one of the !subtree_alternatives | 07:01 |
| → benoit joined | 07:01 |
|
SamB
| lb1a: actually checking in the git repository is senseless in that sort of situation though | 07:01 |
| → barneybook|2 joined | 07:01 |
|
lb1a
| that's why i refered to alternatives | 07:02 |
| ← irqq left | 07:03 |
| ← JohnBat26 left | 07:03 |
| ← barneybook left | 07:04 |
|
shwouchk
| SamB: but necessary nevertheless | 07:04 |
| → tausigma joined | 07:04 |
| → tsdh joined | 07:05 |
|
iveqy
| shwouchk: what's your situation and why do you think you need that solution? | 07:05 |
| → YoungFrog joined | 07:06 |
| ← iateadonut left | 07:06 |
| ← UukGoblin left | 07:06 |
| → UukGoblin joined | 07:06 |
| → gebi joined | 07:07 |
| → psoo joined | 07:07 |
|
SamB
| shwouchk: I really don't think it is, unless you also need test data for an implementation of git | 07:07 |
|
shwouchk
| iveqy: I want to use a single git repository the way I use dropbox (aside from needing to commit). | 07:07 |
|
| SamB: you are mistaken. I want it, hence I need it. There needs not be a further reason. | 07:08 |
|
iveqy
| shwouchk: then you best chance is to add some pre-commit and post-checkout hooks that will zip our inside git repos before commiting | 07:09 |
|
shwouchk
| iveqy: I see. Thanks for the tip! | 07:09 |
| → vedant joined | 07:09 |
|
iveqy
| however git is not meant for this use | 07:09 |
| ← byprdct left | 07:09 |
|
iveqy
| you would probably be better of with a file centric approach like svn or cvs | 07:09 |
|
lb1a
| !dropbox | 07:10 |
|
gitinfo
| Storing git repositories on DropBox is a Very Bad Idea™. Use a free hosting service (such as Bitbucket or GitHub), or read !dropbox_why if you insist upon having your repo corrupted. | 07:10 |
| → tatsuya_o joined | 07:10 |
|
shwouchk
| iveqy: I understand. Perhaps I won't use it that way - but perhaps I will nevertheless. | 07:10 |
|
iveqy
| an other alternative would be to use sshfs and maybe rsync-backup (if you need incremental backups) | 07:10 |
| → Cromulent joined | 07:10 |
| → mechanicalduck joined | 07:11 |
|
shwouchk
| iveqy: sshfs is not local | 07:11 |
| → danicampa901 joined | 07:11 |
|
iveqy
| shwouchk: since git doesn't work on files but on whe whole repo you scale poorly with git. In the "dropbox usage way" files usually doesn't have a relationship with eachother with makes the git way useless | 07:11 |
|
| shwouchk: not local? | 07:12 |
| → buibex joined | 07:12 |
|
shwouchk
| iveqy: sshfs just mounts a remote fs, it does not make it local | 07:12 |
|
iveqy
| shwouchk: yes it does. Depending on your needs that's an alternative | 07:12 |
|
| or are you only going to use git to versioning your home tree locally? | 07:13 |
| → TomyLobo joined | 07:13 |
| ← bvi left | 07:13 |
|
shwouchk
| iveqy: I repeat, and there's no arguing: the sshfs files are not local. If you lose internet, you have nothing. | 07:13 |
| → harobed_ joined | 07:13 |
|
shwouchk
| anyway, I need to go. Thanks for the tips everyone! | 07:14 |
|
iveqy
| shwouchk: depends on what you mount and what's your usecase is. You can use sshfs locally (but why would you?). However it's not clear if the local thing is a requirement for you or not | 07:14 |
| ← dsdeiz_ left | 07:15 |
| → dsdeiz joined | 07:15 |
| ← Caritade left | 07:15 |
| ← vedant left | 07:17 |
| ← gebi left | 07:17 |
| → gebi joined | 07:17 |
| ← Matrixiumn left | 07:17 |
| → iateadonut joined | 07:17 |
|
shwouchk
| iveqy: ah, yes it is. | 07:17 |
|
| a requirement that is | 07:17 |
| ← buibex left | 07:17 |
| → _Qman joined | 07:17 |
| → Matrixiumn joined | 07:18 |
|
YoungFrog
| IIUC, the only problem with a normal git is that it won't add files in a directory named .git, right ? | 07:18 |
| → Amandil joined | 07:18 |
| ← fluxbox_ left | 07:18 |
|
YoungFrog
| if that's the case, I suggest something like mv .git .tig; git add .tig; ...; mv .tig .git | 07:19 |
| ← evjsli left | 07:19 |
|
YoungFrog
| (or use some hardlink magic to avoid the constant renaming) | 07:19 |
| ← danicampa901 left | 07:20 |
| ← ffio left | 07:20 |
| → LimeBlast joined | 07:23 |
| ← gebi left | 07:24 |
| ← tausigma left | 07:25 |
| → bvi joined | 07:25 |
| → gebi joined | 07:25 |
| → threesome joined | 07:25 |
| → Balliad joined | 07:26 |
| ← gebi left | 07:27 |
| ← harobed_ left | 07:29 |
| → gebi joined | 07:30 |
| → Kad-- joined | 07:30 |
| ← Kad-- left | 07:30 |
| → Kad-- joined | 07:30 |
| → sr78ger joined | 07:30 |
|
cbreak-work
| YoungFrog: sounds idiotic | 07:31 |
|
| don't track git internals with git | 07:31 |
|
| all you'll get is a constantly exploding bloated mess of a repository | 07:31 |
| → bondar joined | 07:31 |
| ← bondar left | 07:32 |
| ← daito left | 07:32 |
| → harobed_ joined | 07:33 |
| → OOPMan joined | 07:33 |
| ← beautifulmind left | 07:33 |
| ← jayfk left | 07:33 |
| ← pantsman left | 07:35 |
| → diegoviola joined | 07:36 |
| → gua_ould joined | 07:36 |
| → hahuang65 joined | 07:36 |
| → maxmanders joined | 07:37 |
| ← ejnahc_ left | 07:39 |
| → ejnahc joined | 07:39 |
| → dfanjul joined | 07:41 |
| ← mechanicalduck left | 07:41 |
| ← hahuang65 left | 07:42 |
| ← gebi left | 07:42 |
| → gebi joined | 07:42 |
| ← undecim left | 07:42 |
| → danicampa901 joined | 07:42 |
| → mechanicalduck joined | 07:43 |
| → vedant joined | 07:44 |
| → breck7 joined | 07:44 |
| ← gebi left | 07:46 |
| ← scorphus left | 07:46 |
| ← harish left | 07:47 |
| → gebi joined | 07:47 |
| ← Cromulent left | 07:48 |
| ← breck7 left | 07:49 |
| ← oojacoboo left | 07:50 |
| → JohnBat26 joined | 07:51 |
| ← JohnBat26 left | 07:51 |
| → daito joined | 07:51 |
| → raf joined | 07:52 |
| ← alexwhitman left | 07:53 |
| ← jon_r left | 07:54 |
| → jon_r joined | 07:54 |
| → arietis joined | 07:55 |
| → alexwhitman joined | 07:56 |
| ← simesy left | 07:56 |
| ← danicampa901 left | 07:56 |
| ← Guest__ left | 07:56 |
| → beawesomeinstead joined | 07:56 |
| → Guest__ joined | 07:57 |
| ← mklappstuhl left | 08:00 |
|
mamtina
| git is grit \o/ | 08:00 |
| → barneybook joined | 08:01 |
| → ffio joined | 08:01 |
| ← juanmabc left | 08:03 |
| ← barneybook|2 left | 08:04 |
| → barneybook|2 joined | 08:04 |
| → buibex joined | 08:05 |
| ← barneybook left | 08:07 |
| → marhaban joined | 08:07 |
| → Sonderblade joined | 08:07 |
| ← benoit left | 08:07 |
| ← nilg``` left | 08:07 |
| ← dreiss left | 08:07 |
| → nilg``` joined | 08:08 |
| ← thiago left | 08:09 |
| ← barneybook|2 left | 08:10 |
| → kesha_ joined | 08:11 |
| ← iateadonut left | 08:11 |
| ← ffio left | 08:11 |
| → trusktr joined | 08:12 |
| ← dfanjul left | 08:12 |
| → danicampa901 joined | 08:12 |
| ← mechanicalduck left | 08:12 |
| → benoit joined | 08:12 |
| ← Goplat left | 08:12 |
| → antoine__ joined | 08:13 |
| → mechanicalduck joined | 08:13 |
| Fissure_logbot → Fissure | 08:15 |
| → dfanjul joined | 08:15 |
| → irqq joined | 08:15 |
| → pdx joined | 08:15 |
| ← carlos-huang left | 08:16 |
| → towski joined | 08:17 |
| → iateadonut joined | 08:17 |
| ← jon_r left | 08:18 |
| ← danicampa901 left | 08:19 |
| ← gebi left | 08:19 |
| → Plummer joined | 08:19 |
| ← jayrobot left | 08:19 |
| → gebi joined | 08:19 |
| ← benoit left | 08:19 |
| ← towski left | 08:20 |
| ← mechanicalduck left | 08:21 |
| → jayrobot joined | 08:21 |
| → carlos-huang joined | 08:22 |
| → mechanicalduck joined | 08:23 |
| → dreiss joined | 08:23 |
| ← prettyrobots left | 08:26 |
| → ilogger2_ joined | 08:30 |
| → a-l-e joined | 08:30 |
| → hagabaka joined | 08:30 |
| → mitsuhiko_ joined | 08:30 |
| → zz_michael_mbp joined | 08:30 |
| → shruggar joined | 08:30 |
| → AndreSomers joined | 08:30 |
| → jhoepken joined | 08:30 |
| → xSmurf joined | 08:30 |
| → gtback joined | 08:30 |
| → DolphinDream joined | 08:30 |
| → Azis joined | 08:30 |
| → AAA_awright joined | 08:30 |
| → alexander__b joined | 08:30 |
| zz_michael_mbp → michael_mbp | 08:30 |
| → jokajak joined | 08:30 |
| → cmn joined | 08:32 |
| → Guest39808 joined | 08:32 |
| → tchan joined | 08:32 |
| ← alexander__b left | 08:32 |
| → alexander__b joined | 08:32 |
| → jon_r joined | 08:33 |
| → weiyang joined | 08:34 |
| → Guest__ joined | 08:34 |
| → kesha_ joined | 08:35 |
| Guest39808 → Matrixiumn | 08:36 |
| ← Matrixiumn left | 08:36 |
| → Matrixiumn joined | 08:36 |
| → tazle_ joined | 08:36 |
| → danicampa901 joined | 08:36 |
| → daanavitch joined | 08:37 |
| → Etheco joined | 08:37 |
| → fuzzybunny69y joined | 08:37 |
| → hahuang65 joined | 08:37 |
| → jargon joined | 08:38 |
| → benoit joined | 08:38 |
| → carlos-huang joined | 08:39 |
| → Kulrak joined | 08:39 |
| → gebi joined | 08:39 |
| ← alexander__b left | 08:41 |
| → alexander__b joined | 08:42 |
| ← hahuang65 left | 08:42 |
| ← alexander__b left | 08:43 |
| → alexander__b joined | 08:43 |
| → FrobinRobin joined | 08:43 |
| → dsdeiz_ joined | 08:43 |
| → rednaks joined | 08:45 |
| ← gebi left | 08:46 |
| → gebi joined | 08:46 |
| → diegoviola joined | 08:47 |
| → mklappstuhl joined | 08:47 |
| ← Guest__ left | 08:48 |
| ← alexander__b left | 08:49 |
| → Guest__ joined | 08:49 |
| ← kesha_ left | 08:51 |
| → howlymowly joined | 08:51 |
| → kesha_ joined | 08:51 |
| → mikecmpbll joined | 08:52 |
| → dsdeiz joined | 08:52 |
| ← kesha_ left | 08:52 |
| ← dsdeiz_ left | 08:52 |
| → |Freeman| joined | 08:53 |
| ← jargon left | 08:55 |
| → tvw joined | 08:56 |
|
YoungFrog
| cbreak-work: IIUC, that was shwouchk's requirement : track a git repo using a surrounding git repo | 08:56 |
| → simesy joined | 08:56 |
|
cbreak-work
| idiotic requirement then. | 08:57 |
| → stamina joined | 08:57 |
| → dsdeiz_ joined | 08:57 |
| → jargon joined | 08:57 |
|
cbreak-work
| it'll result in infinitely growing repository size, impossible merges and worthless history graphs | 08:57 |
| ← rednaks left | 08:58 |
| ← dsdeiz left | 08:58 |
| → Arafangion joined | 08:59 |
|
jon_r
| surely i'd result in just n*2 repo size | 08:59 |
|
cbreak-work
| jon_r: no. | 09:00 |
|
| jon_r: n*m | 09:00 |
|
jon_r
| git doesn't grow exponentially... | 09:00 |
| → mechanicalduck joined | 09:00 |
|
YoungFrog
| I suggest we don't waste time analyzing bizarre requests | 09:00 |
|
jon_r
| each new object would just gain an entry in the outer repository | 09:00 |
| → matteo joined | 09:01 |
|
cbreak-work
| jon_r: every time the inner repository gets repacked, the outer has to store a complete copy of the whole inner repository | 09:01 |
| ← simesy left | 09:01 |
|
cbreak-work
| jon_r: so potentially every commit in the inner repository leads to a complete copy of the inner repository in the outer repository | 09:01 |
|
| Arafangion blinks. | 09:01 |
|
Arafangion
| What's this? | 09:01 |
|
cbreak-work
| idiocy of high purity. | 09:02 |
|
jon_r
| well it still wouldn't be n*m | 09:02 |
|
| it'd me somewhere between 2 and m depending on the number of repacks | 09:02 |
|
| which depends on repository size | 09:03 |
|
| still a stupid idea though | 09:03 |
|
Arafangion
| cbreak-work: I'll try to ignore it, then. | 09:03 |
| → alexander__b joined | 09:06 |
| → jkremser joined | 09:06 |
| ← jkremser left | 09:06 |
| → jkremser joined | 09:06 |
| ← gebi left | 09:08 |
| → gebi joined | 09:08 |
| ← weiyang left | 09:10 |
| → iokill joined | 09:11 |
| → mastro joined | 09:12 |
| ← jargon left | 09:12 |
| → paul424 joined | 09:14 |
| → harish joined | 09:15 |
| → Cromulent joined | 09:16 |
| ← gebi left | 09:16 |
|
mastro
| Hi, I'm experiencing a weird behavior of git describe. I've a submodule, with git submodule status I see my submodule positioned at: +6903774653de52d0206e0e6026ca6914def8a333 submodule (1.0-2-g6903774) | 09:16 |
| → gebi joined | 09:16 |
|
mastro
| But entering the submodule I see: git describe --> 1.0-2-g6903774 | git describe --tags 1.0-rc1 | 09:17 |
|
| sorry... git describe --tags ---> 1.0-rc1 | 09:17 |
|
| anyway the submodule is positioned on the 1.0-rc1 tag | 09:17 |
|
| why the git describe command show me I'm in 1.0-2-g6903774 ? | 09:17 |
| → achadwick joined | 09:18 |
| ← gebi left | 09:18 |
| → enr joined | 09:19 |
|
cbreak-work
| mastro: because normal git describe only considers annotated tags | 09:21 |
| → angelsl joined | 09:21 |
| → sharpshooter joined | 09:21 |
| → gebi joined | 09:21 |
|
pradeepc
| hello all, in one of my bare repo, i found RENAMED-REF file | 09:22 |
|
mastro
| cbreak-work, uh... why is that? | 09:22 |
|
pradeepc
| can someone explain me the meaning of that file | 09:22 |
|
cbreak-work
| mastro: because annotated tags are usually used to mark releases, version relevant things | 09:22 |
|
| normal tags are often used to just tag random things, even just locally | 09:22 |
|
mastro
| cbreak-work, I see... I should start using annotated tags then | 09:22 |
| → weiyang joined | 09:23 |
| → cenuij joined | 09:23 |
| ← cenuij left | 09:23 |
| → cenuij joined | 09:23 |
| → ryanhirsch joined | 09:23 |
|
mastro
| cbreak-work, I'd probably used the reverse: -a as default and a flag to do a non-annotated tag | 09:24 |
|
| cbreak-work, but you surely discussed it on list before choosing to make non-annotated the default | 09:24 |
|
cbreak-work
| I didn't | 09:24 |
|
| but it's kind of obvious | 09:24 |
|
| common thing of normal tag: easy, default | 09:25 |
|
| special thing that requires further user input, such as a tag message: special flag | 09:25 |
| → SicoAnimal joined | 09:28 |
| ← ryanhirsch left | 09:28 |
|
mastro
| cbreak-work, hum... from the user perspective the tag, specially if coming from other VCS, is something used to tag a release so the "default" behavior should be tagging a release | 09:29 |
|
cbreak-work
| no... | 09:29 |
|
| normal tags are lightweight. annotated tags are heavy | 09:29 |
|
| that's how it is. | 09:29 |
| ← gebi left | 09:30 |
| → yacks joined | 09:30 |
|
mastro
| cbreak-work, I'm not objecting that, I'm objecting what the user expect vs default -- anyway I can't find a way to list annotated tags only (or vice-versa) | 09:32 |
| → OwiecPL1986 joined | 09:33 |
|
mastro
| cbreak-work, I'm saying this is an area causing (unnecessary) confusion in the end user | 09:33 |
|
cbreak-work
| why? | 09:33 |
|
| it's clearly documented | 09:33 |
| → ryanhirsch joined | 09:33 |
| → dsdeiz joined | 09:34 |
| ← dsdeiz_ left | 09:35 |
| ← weiyang left | 09:35 |
|
mastro
| cbreak-work, not really, it's clearly documented if you already know there are lightweight tags and annotated tag / if you know what a lightweight tag means vs annotated one and what different porpoise they have | 09:35 |
|
cbreak-work
| ... which is all clearly documented | 09:35 |
| → _br_ joined | 09:36 |
|
OwiecPL1986
| I have "hub" on bitbucket and "prime" on production server. On production server i have special accounts for develop branch. How can i auto-update to the newest develop version on this accounts? When i push to hub develop branch, i want, server pull the newest version to the develop account. | 09:36 |
| → zmike123 joined | 09:36 |
| → buibex joined | 09:36 |
|
cbreak-work
| OwiecPL1986: 1. Git doesn't have accounts. 2. Automated pulling is idiotic, pick something else, like automated fetching or resetting. | 09:36 |
|
mastro
| cbreak-work, nowhere in git help tag I see the doc saying annotated tags are meant for release and lightweight for tagging random thing.... | 09:37 |
|
cbreak-work
| OwiecPL1986: also, you might not be allowed to install any hooks on bitbucket | 09:37 |
|
| so you can't make automation happen that way | 09:37 |
|
OwiecPL1986
| but only for develop version, i want on serwer always the newest veriosn for testing | 09:37 |
|
cbreak-work
| mastro: they aren't meant for that. They are used for that. | 09:37 |
|
mastro
| cbreak-work, also you make a distinction between the two but "git tag" show both of them and there is no option to show only annotated tag or lightweight tags | 09:37 |
|
cbreak-work
| mastro: you can use them how ever you want | 09:37 |
|
| mastro: you have to read man git describe to find out what describe does... duh... :) | 09:38 |
|
gitinfo
| mastro: the git-describe manpage is available at http://jk.gs/git-describe.html | 09:38 |
| ← enr left | 09:38 |
|
mastro
| cbreak-work, partially true, cause commands like git describe assume that annotated tags are the ones that matters - git submodule status use git describe without options making it, de-facto, an imposition on how you should use those tags | 09:39 |
| → enr joined | 09:39 |
|
cbreak-work
| wrong. | 09:39 |
|
OwiecPL1986
| so.... mayby use cron to check the newest version for develop? | 09:39 |
|
cbreak-work
| you can use them how ever you want | 09:39 |
|
mastro
| cbreak-work, ok, mind elaborate a little on that? how can I? | 09:39 |
| → nicholasruunu joined | 09:39 |
|
cbreak-work
| mastro: by using them how ever you want... | 09:40 |
|
| mastro: what's stopping you? | 09:40 |
|
mastro
| cbreak-work, that's not something stopping me, it's something either not well designed for the end user either not well documented. | 09:41 |
|
cbreak-work
| mastro: what's not well documented? | 09:41 |
|
mastro
| cbreak-work, suppose you are a new git user, you don't know anything about git and you are learning it. You want to create a tag. | 09:41 |
|
| cbreak-work, you read git help tag and find out there are annotated tags and lightweight tag. You may choose (like I did) to use -a for some tag and don't use it for others because it seems -a is just useful when you have something to say about that tag | 09:42 |
| ← yacks left | 09:42 |
| → rednaks joined | 09:43 |
|
mastro
| cbreak-work, Then you use git submodule and find out that git submodule status sometimes show the commit and sometimes show a previous commit | 09:43 |
|
cbreak-work
| mastro: so? | 09:43 |
| ← enr left | 09:43 |
| → eletuchy joined | 09:43 |
|
mastro
| cbreak-work, at THAT point you read the git submodule help and find out status use describe, so you read git describe to find out it only show annotated tags | 09:44 |
|
| cbreak-work, since time has passed you do not remember which tags you annotated and which you didn't and there's no option in git tag to show annotated tags only | 09:44 |
| ← Cromulent left | 09:44 |
|
cbreak-work
| sounds reasonable. | 09:44 |
|
mastro
| cbreak-work, assuming you look at each tag in sequence to discover which tags is not annotate: you can't convert lightweight tag in annotated tag without doing a public announcement requiring all others users to delete their local tags | 09:46 |
|
| cbreak-work, (I may be wrong in this last sentence) | 09:46 |
|
cbreak-work
| you can create new tags | 09:46 |
|
| just change the name | 09:46 |
|
| you can also overwrite tags when pushing if you change them | 09:46 |
| → dsdeiz_ joined | 09:46 |
|
cbreak-work
| this is not friendly obviously | 09:46 |
|
mastro
| this all confusion could be have avoided by adding in the git tag documentation something that say: lightweight tags (non-annotated) are not meant for release and other commands ignore them by defaults | 09:47 |
|
cbreak-work
| I use them for releases | 09:47 |
|
| works fine. | 09:47 |
|
mastro
| cbreak-work, sure, but that's your informed decision ;) | 09:47 |
|
cbreak-work
| of course it is... | 09:47 |
| ← dsdeiz left | 09:48 |
| ← iokill left | 09:48 |
|
mastro
| cbreak-work, I mean that a new user do not know the annotated tags only are used by other commands by default and the git tag help should mark it in some way | 09:48 |
|
| cbreak-work, also, can you give me a way to list annotated tags only? | 09:48 |
|
cbreak-work
| complain to the mailing list | 09:48 |
| → mechanicalduck_ joined | 09:48 |
| → john2x joined | 09:49 |
|
cbreak-work
| I don't know an easy way to do that | 09:49 |
|
john2x
| how do I amend a commit that's right before HEAD? | 09:49 |
|
mastro
| cbreak-work, that's not actually complaining :) I want to help actually, now that I know it nothing change for me if they document or not | 09:49 |
|
cbreak-work
| john2x: git rebase -i HEAD~2 | 09:49 |
|
mastro
| john2x, git rebase -i HEAD~2 (be careful, DON'T if you already pushed it) | 09:50 |
|
cbreak-work
| john2x: then mark the commit you want for edit, and amend it, then rebase --continue | 09:50 |
|
| john2x: obviously you should not do that if you pushed that commit already | 09:50 |
|
mastro
| xD | 09:50 |
|
john2x
| yup haven't pushed :) thanks! | 09:50 |
|
OwiecPL1986
| so... do you think auto-update by cron on server from hub for develop branch is ok or not? | 09:50 |
|
cbreak-work
| mastro: if you want to get documentation changed, you'll have to tell the devs or do it yourself | 09:50 |
|
OwiecPL1986
| i dont see any reason to be not ok? | 09:50 |
|
cbreak-work
| OwiecPL1986: sounds dumb. | 09:51 |
| ← mklappstuhl left | 09:51 |
|
cbreak-work
| OwiecPL1986: why do you need auto update? | 09:51 |
|
OwiecPL1986
| cbreak-work why? | 09:51 |
|
mastro
| cbreak-work, I asked cause maybe this things have already been discussed, I don't want to bring up an argument already ruled out | 09:51 |
|
OwiecPL1986
| why loose my time to do that everytime? | 09:51 |
|
cbreak-work
| mastro: I wouldn't know, I don't read the mailing list | 09:51 |
| ← mechanicalduck left | 09:52 |
|
cbreak-work
| OwiecPL1986: updating when ever you need it is more efficient and faster than fetching automatically | 09:52 |
|
| OwiecPL1986: you'll have to merge manyally in any case anyway | 09:52 |
|
OwiecPL1986
| cbreak-work but i need update always when new develop verion appear without expection | 09:52 |
|
cbreak-work
| OwiecPL1986: then push directly, or via some hook | 09:53 |
| → jatt joined | 09:53 |
|
OwiecPL1986
| i cant use hook, because i use bitbucket as hub | 09:53 |
| → wasanzy joined | 09:54 |
|
wasanzy
| hi | 09:54 |
|
| I want to know the different between gitosis, git, github. which one do I go for? | 09:55 |
|
OwiecPL1986
| wasanzy public or private repository? | 09:55 |
| → iokill joined | 09:55 |
| ← iokill left | 09:55 |
|
cbreak-work
| wasanzy: go for git | 09:56 |
|
| it's the best | 09:56 |
|
| and you'll need it either way | 09:56 |
|
wasanzy
| OwiecPL1986: private but will be access and used by a team of people | 09:56 |
|
cbreak-work
| forget about gitosis, it's ancient and unmaintained | 09:56 |
| → iokill joined | 09:56 |
| → simesy joined | 09:57 |
|
OwiecPL1986
| wasanzy bitbucket.org + git + GUI (if you want) sourcetree. | 09:57 |
|
| bitbucket.org to 5 users in team is free | 09:57 |
|
wasanzy
| I want to setup and maintain my own repo so I will go for git | 09:58 |
|
jast
| git is a system for versioning projects. gitosis is a tool for hosting git repositories yourself (but it's no longer maintained and there's a replacement called gitolite). github is a site that hosts repositories for you, for free if they're open source | 09:58 |
|
| gitosis and github are basically services related to git | 09:59 |
| ← buibex left | 10:00 |
|
wasanzy
| git has GUI? | 10:00 |
|
cbreak-work
| wasanzy: man git gui | 10:00 |
|
gitinfo
| wasanzy: the git-gui manpage is available at http://jk.gs/git-gui.html | 10:00 |
|
cbreak-work
| it's very ugly | 10:00 |
|
wasanzy
| cbreak-work: hehehe, how can it be made beautiful then? | 10:01 |
|
cbreak-work
| use something else | 10:01 |
|
| like sourcetree | 10:01 |
| ← simesy left | 10:02 |
|
wasanzy
| sourcetree can sit on git? | 10:02 |
| → mechanicalduck joined | 10:03 |
|
iveqy
| there should be css for tcl, so that you just could apply a css file and make git-gui handsome | 10:04 |
|
john2x
| what does `remote = .` mean in .git/config? | 10:04 |
|
wasanzy
| iveqy: ok | 10:04 |
|
iveqy
| wasanzy: there isn't such thing... | 10:04 |
|
| wasanzy: and most people just use git from the command line | 10:05 |
|
wasanzy
| what of gitweb? | 10:05 |
|
iveqy
| wasanzy: and afaik sourcetree isn't available for ubuntu | 10:05 |
|
| gitweb (and cgit, etc.) is a web interface for viewing a git repository | 10:05 |
|
| you cant work with gitweb | 10:05 |
|
wasanzy
| ok | 10:06 |
| ← mechanicalduck_ left | 10:06 |
| → Zeelot joined | 10:06 |
| → decci joined | 10:07 |
|
decci
| We have Stash installed and working with multiple projects, and multiple repositories; We need to be able to upon commit to have automatically push to either development web server, or production server, or both... in each instance (project) we need to be able to configure to which server information is pushed post-commit. | 10:07 |
|
wasanzy
| now how do I setup git? any good document? | 10:08 |
|
TMO
| wasanzy: http://git-scm.com/book | 10:08 |
| → Kicer86 joined | 10:08 |
| → iateadonut joined | 10:08 |
| → sqlnoob joined | 10:08 |
| → enr joined | 10:09 |
| → _iron joined | 10:10 |
|
cbreak-work
| john2x: man git remote | 10:11 |
|
gitinfo
| john2x: the git-remote manpage is available at http://jk.gs/git-remote.html | 10:11 |
| → Cromulent joined | 10:11 |
|
iveqy
| wasanzy: what TMO said, otherwise git init and you're done, however to grasph what you're doing, you need to read the book | 10:12 |
| → rob_w joined | 10:13 |
|
iveqy
| decci: what's Stash? You could use a post-commit hook for this. But the whole solution you're asking for sounds ugly. Why would you force a push? Are you trying to use git as centralized system? Why are you using git at all? | 10:13 |
| → beautifulmind joined | 10:14 |
|
mastro
| cbreak-work, https://groups.google.com/forum/?fromgroups#!topic/git-users/jtSoQ6Lv3eM | 10:14 |
|
decci
| iveqy: Atlassian Stash is the Git repository management solution for enterprise teams. It allows everyone in your organisation to easily collaborate on your Git repositories. | 10:14 |
| → cworth joined | 10:15 |
| ← beautifulmind left | 10:15 |
|
cbreak-work
| man git stash | 10:15 |
|
gitinfo
| the git-stash manpage is available at http://jk.gs/git-stash.html | 10:15 |
|
mastro
| cbreak-work, ouch! that's not maint for bug reports | 10:15 |
| → dkpi joined | 10:16 |
| → Latro joined | 10:16 |
|
iveqy
| decci: oh, so it's like a in-house github/bitbucket thing. It doesn't really concern how to use git (as in git.git, the program) | 10:16 |
| ← diegoviola left | 10:17 |
|
iveqy
| decci: so to my other question, why do you need a push after each commit? | 10:17 |
|
decci
| iveqy: We need to be able to upon commit to have automatically push to either development web server, or production server, or both... in each instance (project) we need to be able to configure to which server information is pushed post-commit. | 10:17 |
| ← enr left | 10:18 |
|
iveqy
| decci: why do you need that? | 10:18 |
| ← sqlnoob left | 10:19 |
|
Latro
| Hi to all. I'm begining to use GIT in my company and I hope than you can help me when need it. | 10:19 |
| → beautifulmind joined | 10:20 |
| → dhruvasagar joined | 10:20 |
|
Latro
| someone from spain, please? | 10:20 |
|
iveqy
| Latro: Hi, welcome to git. We try to offer you support but we have no guarantees. If you want professional git support that always will be availiable, you need to buy it from someone. | 10:20 |
|
OwiecPL1986
| is it possible to push directrly form my computer to server? When i want finish new develop version i want push that to bitbucket and also to develop server. But is it possible to push directly to working directory on server /hoem/user/www/public by sftp? | 10:20 |
|
Latro
| someone that speak Spanish? | 10:20 |
|
iveqy
| Latro: !anyone | 10:20 |
|
gitinfo
| Latro: Usually, it does not help to ask for someone specific to help you. Without knowing your specific problem, nobody knows if they can be of assistance. Please ask your questions and wait until somebody speaks up. | 10:20 |
|
Latro
| thanks, Iveqy | 10:21 |
|
iveqy
| OwiecPL1986: !deploy | 10:21 |
|
gitinfo
| OwiecPL1986: Git is not a deployment tool, but you can build one around it(in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/the-list-and-irc/deploy.html | 10:21 |
|
Latro
| Iveqy: Correct. At the moment, I am reading the tutorial of this page http://git-scm.com/book/es | 10:22 |
|
iveqy
| OwiecPL1986: short answer; no. a little longer answer; yes but you will eventually really screw up. The correct answer; it works perfectly fine if you use the right technics and read the docs I pointed you to | 10:22 |
|
OwiecPL1986
| iveqy but this is for situation when hub is on the same server as production? | 10:23 |
|
iveqy
| decci: I would appriciate if you try to explain to me. Because to me it sounds really stupid (however, much things seems really stupid when you don't have the whole picture) | 10:23 |
|
| Latro: okay, good luck. You will be easier off if you're able to use english, most documentation and all commands is in english | 10:24 |
|
| OwiecPL1986: what's hub? | 10:24 |
|
| OwiecPL1986: and you're still talking about a push, doesn't matter if it's to a local server or a remote server, it will still be threated as a remote git repository | 10:25 |
|
Latro
| but I will have questions later (sure) | 10:25 |
|
iveqy
| Latro: you're welcome to ask. If you don't get any help here, try [email@hidden.address] | 10:25 |
| → deuterium joined | 10:26 |
| ← mechanicalduck left | 10:27 |
|
Latro
| Thanks you very much, Iveqy | 10:27 |
|
| for now, all is well | 10:28 |
| → rapha joined | 10:28 |
| ← dhruvasagar left | 10:28 |
|
TMO
| for automatically deployment from git-repositor to test/Development environment. you might want to look at Jenkins. | 10:28 |
| → user_ joined | 10:29 |
| → dhruvasagar joined | 10:29 |
|
OwiecPL1986
| iveqy i have develop account on server, i want put here newest version branch develop. I am using bitbucket.org. So i see only this ways to update develop code: 1) checking in crone the newest version and pull then 2) send by sftp the newest version directrly to /home/user/www and run some scripts after 3) doing this manually (this one i dont want) | 10:29 |
| → ismlages joined | 10:30 |
|
OwiecPL1986
| TMO its to me? | 10:30 |
|
TMO
| could be.. you never said why you wanted to do the thing you asked for :) | 10:31 |
|
| but now youve elaborated a bit more. | 10:31 |
|
OwiecPL1986
| i dont want lose my time every time when new develop version out and want people to test newest version of develop | 10:31 |
|
iveqy
| OwiecPL1986: use hooks to do this automatic | 10:31 |
| ← decci left | 10:31 |
| → decci joined | 10:32 |
|
OwiecPL1986
| iveqy how? i am using bitbucket.org | 10:32 |
| ← alexander__b left | 10:32 |
| → alexander__b joined | 10:32 |
|
iveqy
| OwiecPL1986: doesn't bitbucket has support for hooks? | 10:32 |
|
OwiecPL1986
| iveqy somebody said on this channel no, but i didnt check this personaly | 10:32 |
| → sr78ger joined | 10:33 |
| → ntus1017 joined | 10:33 |
|
iveqy
| OwiecPL1986: in that case, stop using bitbucket... or your server needs to poll your bitbucket repo for new changes | 10:33 |
|
OwiecPL1986
| even if have hooks i cant run update on server? | 10:33 |
|
iveqy
| OwiecPL1986: why not? | 10:33 |
|
OwiecPL1986
| iveqy how server will know to start update? In that case i have to create repository in server and after update it will run update in /home/user/www ? | 10:34 |
| → pdurbin joined | 10:35 |
|
OwiecPL1986
| too long way, no sense | 10:35 |
|
| or its something what i dont know? | 10:35 |
|
iveqy
| OwiecPL1986: suppose you've hooks on bitbucket, you could just sftp the changed files to your server | 10:35 |
| ← Cromulent left | 10:36 |
| → Chryyz joined | 10:36 |
|
iveqy
| and it's not stupid to have a repo on the server, that will minimize traffic because you can just send the changed deltas to the server with help from git instead of the whole files | 10:36 |
|
Arafangion
| Although do be wary of who you give access to, as always. | 10:37 |
| → stephCoue joined | 10:37 |
| → the_cybersphinx joined | 10:37 |
| → daito joined | 10:37 |
|
OwiecPL1986
| iveqy mmm so how should look url by sftp to ~/www folder? add remote ssh://git@server/accountname/www ? | 10:39 |
| → Guest81169 joined | 10:39 |
| Guest81169 → jan1337z | 10:39 |
|
iveqy
| OwiecPL1986: look at how git-ftp does this. | 10:40 |
|
| https://github.com/git-ftp/git-ftp | 10:40 |
|
OwiecPL1986
| but cant do this with clear git? | 10:41 |
|
iveqy
| OwiecPL1986: no, as I said: !deploy | 10:41 |
|
gitinfo
| OwiecPL1986: Git is not a deployment tool, but you can build one around it(in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/the-list-and-irc/deploy.html | 10:41 |
| ← dhruvasagar left | 10:42 |
|
OwiecPL1986
| iveqy ok so the final question is: jenikins could be tool what solve my problems? | 10:42 |
| → dhruvasagar joined | 10:42 |
|
iveqy
| OwiecPL1986: it would be like buying a tank to get to school. It would work, but it would be able to do a lot more than you need it to do. | 10:42 |
| ← daito left | 10:43 |
| → sqlnoob joined | 10:43 |
| → RonScagz joined | 10:43 |
|
OwiecPL1986
| if it can testing etc. code it will be also needed in the close future | 10:44 |
|
| i will read about that | 10:44 |
|
| thx for help | 10:44 |
|
iveqy
| OwiecPL1986: then it would be an investment. Good luck! | 10:44 |
| → tinti_ joined | 10:45 |
| → decci_ joined | 10:45 |
|
TMO
| jenkins will do automatic testing as well. | 10:45 |
| ← sharpshooter left | 10:46 |
| → daito joined | 10:47 |
|
TMO
| dunno with bitbucket.. but with regular git-repository. you can have a post-receive hook in git telling jenkins to start a new build/test deployment | 10:48 |
| ← decci left | 10:48 |
| → keller joined | 10:49 |
| → shuaib joined | 10:51 |
| → babilen joined | 10:51 |
|
shuaib
| Any ideas on how to setup a local git mirror of a remote svn repo, so that I can work with my git repo, and at the end sync my changes into svn repo? | 10:51 |
| ← mikecmpbll left | 10:52 |
| → BashCoder joined | 10:52 |
|
shuaib
| I would want all the setup to be local for most part, as I don't want to get on the shady nerves of the svn system's admin | 10:52 |
| ← paul424 left | 10:53 |
|
iveqy
| shuaib why not just use git-svn? | 10:53 |
|
TMO
| git-svn clone -s http://example.com/my_subversion_repo local_dir | 10:53 |
|
shuaib
| iveqy: Doesn't git-svn do some magic everytime you push to svn repo (rebase?) | 10:54 |
|
| magic to my local repo that is | 10:54 |
| ← dhruvasagar left | 10:54 |
| → dhruvasagar joined | 10:54 |
|
Arafangion
| shuaib: It does a lot of magic. | 10:56 |
|
shuaib
| Arafangion: and I want to avoid that. As I would like to keep my local repo, in pure git form, i.e., later be able to sync with another git repo | 10:56 |
| → enr joined | 11:00 |
| ← pdurbin left | 11:00 |
|
iveqy
| shuaib: the magic it all on your side and it's done with you "pull" and commit, not when you push | 11:01 |
|
| however do have an "usual" git repo to sync with a svn repo is almost impossible (at least to do in a good way), svn has a linear history while git has a DAG | 11:01 |
| ← dhruvasagar left | 11:01 |
|
TMO
| dcommit | 11:01 |
|
iveqy
| you need to convert the DAG to a LINE | 11:02 |
| → dhruvasagar joined | 11:02 |
| → diegoviola joined | 11:03 |
| → mikaelj joined | 11:04 |
|
shuaib
| Lets see. I might just as well use git-svn | 11:04 |
| → spaceonline joined | 11:04 |
|
shuaib
| Does anyone know of a way to make git svn translate .gitignore to something svn specfic? | 11:04 |
|
| so my ignored files keep being ignored on svn too | 11:04 |
|
| anyone using svn to access repo that is | 11:05 |
| ← enr left | 11:06 |
| → enr joined | 11:06 |
| → lov joined | 11:07 |
| → emergion joined | 11:07 |
| → Octalot joined | 11:09 |
| → enr_ joined | 11:10 |
| ← enr left | 11:10 |
| → alorence joined | 11:11 |
| → chaw joined | 11:12 |
|
iveqy
| shuaib: your files won't be on svn if you're ignoring them in git | 11:14 |
|
| shuaib: otherwise just keep a .svnignore too (or whatever esvn uses) | 11:15 |
|
shuaib
| iveqy: yea but if someone else clones that repo, reproduces those files on his side while using svn, he is going to push them in | 11:15 |
|
iveqy
| shuaib: yes. That's onw of the downsides with using git and a svn server. I don't think a conversion of .gitignore can be made in a secure way | 11:16 |
|
shuaib
| iveqy: yea well, seems like I will have to handle some mess manually | 11:16 |
|
| How do I push dvcs down the management's throat? :/ | 11:17 |
| → rshetty joined | 11:17 |
|
iveqy
| shuaib: I don't know. dvcs is scarry and not always the right thing to use | 11:17 |
|
shuaib
| iveqy: not as scary as centralized vcs | 11:18 |
| → ToBeFree joined | 11:18 |
|
iveqy
| shuaib: IMHO dvcs is much scarrier because you can do more. Centralized repos are easy to understand, however they are hard to work with because they have limited features | 11:18 |
|
| shuaib: I guess you just have to prove that code quality and development speed increases with git | 11:19 |
|
shuaib
| iveqy: yea, so centralized vcs is easy to learn, hard to collaborate easily on. DVCS hard to learn, but heavens to use | 11:19 |
|
| anyway... | 11:19 |
|
| shuaib back to work | 11:19 |
| ← stamina left | 11:20 |
| ← daito left | 11:21 |
| ← Guest__ left | 11:21 |
| → CheckDavid joined | 11:21 |
| → daito joined | 11:21 |
| mitsuhiko_ → mitsuhiko | 11:22 |
| ← mitsuhiko left | 11:22 |
| → mitsuhiko joined | 11:22 |
| → Guest__ joined | 11:22 |
| → h0bbit joined | 11:24 |
| → sgambino joined | 11:24 |
| ← ryanhirsch left | 11:25 |
| ← daito left | 11:26 |
| ← ntus1017 left | 11:26 |
| → UnacceptableUse joined | 11:28 |
| → dsdeiz joined | 11:28 |
| ← dsdeiz_ left | 11:28 |
| → sajan joined | 11:29 |
| → plof joined | 11:29 |
| → FernandoBasso joined | 11:29 |
|
plof
| hi , i am trying to develop a website with my freind who is remotly distant from me , i wonder if we can host the files in git repos and develop in a smooth way ? (am totally beginner to git concept ) | 11:30 |
| → dfanjul joined | 11:31 |
| ← sqlnoob left | 11:32 |
| → marhaban joined | 11:33 |
| → buibex joined | 11:35 |
|
john2x
| is it possible to reset just one file? | 11:38 |
| → grilix joined | 11:38 |
| ← beautifulmind left | 11:39 |
|
dfanjul
| john2x: git reset -- <file> | 11:39 |
|
| john2x: or git checkout -- <file>, depending on what 'reset' means for you | 11:40 |
| → Somelauw joined | 11:40 |
| → blami joined | 11:40 |
| → Cromulent joined | 11:40 |
|
john2x
| dfanjul: it's already commited, so `reset` right? | 11:40 |
| ← fuzzybunny69y left | 11:40 |
| ← Somelauw left | 11:40 |
| → nicklasbo joined | 11:41 |
|
john2x
| wait, that doesn't sound right | 11:41 |
|
dfanjul
| john2x: then, do you want to create another commit restoring the old file? or do you want to amend the original commit? | 11:41 |
|
john2x
| dfanjul: I want another commit restoring the old file.. | 11:41 |
|
dfanjul
| so, then: git checkout <original commit> -- file | 11:42 |
|
john2x
| thanks! | 11:42 |
| → deed02392 joined | 11:42 |
| ← sajan left | 11:42 |
| ← eletuchy left | 11:43 |
| → eletuchy joined | 11:43 |
| ← rob_w left | 11:47 |
| ← eletuchy left | 11:48 |
| ← rednaks left | 11:48 |
| → tmcmahon joined | 11:48 |
| → saurabh joined | 11:49 |
|
Perdu
| plof: Of course, that's what git is for | 11:49 |
|
plof
| Perdu , thx :) | 11:50 |
| → godgodgodgo joined | 11:52 |
| → da5id joined | 11:53 |
| gitinfo set mode: +v | 11:53 |
| ← cenuij left | 11:53 |
| → frgtn joined | 11:53 |
| → anonymuse joined | 11:55 |
| ← Cromulent left | 11:56 |
| → simesy joined | 11:58 |
| → p1ng joined | 11:58 |
| → beautifulmind joined | 11:58 |
| → ffio joined | 11:59 |
| ← angelsl left | 12:00 |
| → guest171 joined | 12:01 |
| → mikecmpbll joined | 12:01 |
| → alphanyx joined | 12:01 |
| ← alphanyx left | 12:01 |
| → IrishPrime joined | 12:02 |
| ← simesy left | 12:02 |
| → amjam joined | 12:03 |
| → eletuchy joined | 12:05 |
|
Sp4rKy
| ␄/W 36 | 12:06 |
| ← dsdeiz left | 12:07 |
|
| shuaib bangs his head on the table as he figures that this new org he joined has one svn repo, having all their projects as subdirectories | 12:07 |
|
Arafangion
| shuaib: Nothing wrong with that. | 12:08 |
|
| shuaib shoots himself on hearing Arafangion | 12:08 |
|
Arafangion
| shuaib: It simplifies maintenance and backups, and it's a reasonable fit for SVN. | 12:08 |
|
alexander__b
| what do Windows users need to set in order to get line endings? | 12:08 |
|
| i.e. I want the Windows guy to get the same as me. I'm on GNU+Linux. | 12:08 |
|
Arafangion
| alexander__b: I suggest you just set up your .gitattributes and forget about it. | 12:09 |
|
| alexander__b: Make them text=auto. | 12:09 |
|
alexander__b
| Arafangion: I'm not changing anything. I want him to change whatever so that he doesn't send me files without \ns. | 12:09 |
|
Arafangion
| alexander__b: They always have \n's. | 12:09 |
|
alexander__b
| no they always send me commits where they the last line of my file and add a new end line without \n. | 12:10 |
|
| *delete the last | 12:10 |
|
Arafangion
| Oh, that. That's a text editor thingy. | 12:10 |
|
alexander__b
| yes but I seem to recall git being able to "fix" it for windowsers | 12:11 |
| → m0viefreak joined | 12:11 |
|
Arafangion
| alexander__b: That's not a windows issue. git allows conversion of line endings, from crlf to and from simple lf's. | 12:11 |
|
muep
| at least on GNU/Linux git will happily accept files without a newline as their last character | 12:11 |
|
Arafangion
| alexander__b: But I don't think it will arbituarily *add* or *remove* line endings. | 12:11 |
|
| muep: Likewise on windows. | 12:12 |
|
cbreak-work
| there's a pre-commit hook that can check for whitespace errors | 12:12 |
|
alexander__b
| Arafangion: so is there nothing I can tell him to do to not send me that crap? except... "fix ur editor"? | 12:12 |
|
| cbreak-work: I thought maybe it was builtin. | 12:12 |
|
cbreak-work
| alexander__b: you have to make the sample pre-commit hook executable and give it the correct name | 12:12 |
|
alexander__b
| i.e. that he could git config --stop-annoying-alexander and then I could be a happy camper. | 12:13 |
|
| cbreak-work: right. | 12:13 |
|
Arafangion
| alexander__b: Indeed, or you could take cbreak-work's suggestion, or use .gitattributes and setup filters. | 12:13 |
| → freeed joined | 12:13 |
| → normanrichards joined | 12:13 |
| → ntus1017 joined | 12:13 |
| → Wh1plash|m joined | 12:14 |
| → paul424 joined | 12:14 |
| ← amjam left | 12:14 |
|
alexander__b
| Arafangion: thanks. | 12:15 |
|
Arafangion
| It's amazing how crap windows editors are, though. | 12:15 |
| ← UnacceptableUse left | 12:16 |
| ← saurabh left | 12:17 |
|
EugeneKay
| Notepad++ works fine for me. | 12:17 |
|
jast
| I use vim | 12:17 |
| ← decci_ left | 12:18 |
|
Arafangion
| EugeneKay: That's one of the better ones. | 12:18 |
|
OwiecPL1986
| Arafangion use sublime text | 12:19 |
|
Arafangion
| Worser ones are, eg, thelikes of Borland's IDEs, Notepad.exe... | 12:19 |
|
alexander__b
| he uses sublime, which looks like a proprietary emacs without any of the... features... | 12:20 |
| ← Latro left | 12:20 |
|
alexander__b
| he saw my vim plugins for git and found a bunch for sublime though, so for git stuff it works nicely. except for line endings at the end of the file apparently. | 12:21 |
| → yshh joined | 12:21 |
| ← tmcmahon left | 12:23 |
|
jast
| sublime does have a few interesting features, e.g. being able to edit multiple lines simultaneously (and visually) | 12:23 |
|
| nothing that I need to switch away from vim for, though | 12:23 |
| ← dhruvasagar left | 12:23 |
|
Arafangion
| alexander__b: Strictly speaking, newlines at the end of the file shouldn't be needed. | 12:24 |
|
alexander__b
| it may be advanced and feature rich. he doesn't appear to be a poweruser of it, so my impressions are based on his knowledge of the editor. I read that it was proprietary and left interest. | 12:24 |
|
| Arafangion: it's just convention, so it's annoying that the windows crowd insist on filling every commit with --nothing ++nothing. | 12:25 |
| → netsroht joined | 12:25 |
| → mmitchell joined | 12:25 |
| → yacks joined | 12:25 |
| ← shuaib left | 12:25 |
|
EugeneKay
| No we don't. | 12:25 |
|
Arafangion
| yes, that's annoying. Get him to remove unneccessary changes. | 12:25 |
| → shwaiil joined | 12:25 |
|
shwaiil
| hi | 12:25 |
|
EugeneKay
| Hate the user, not the tools. | 12:25 |
|
alexander__b
| EugeneKay: sorry, a moderation: the ones I work with do. | 12:25 |
|
EugeneKay
| Except when PHP is involved. Then hate the tools. | 12:26 |
|
Arafangion
| EugeneKay: PHP is nicer than windows. | 12:26 |
| ← mikecmpbll left | 12:26 |
|
Arafangion
| But only barely. | 12:26 |
|
bremner
| plenty of hate to go around. | 12:26 |
|
alexander__b
| then again they also have a weird habit of doing git add -A && git commit -m "lol this fixes stuff". | 12:26 |
|
dfanjul
| j/win 15 | 12:26 |
|
| sorry, :( | 12:26 |
|
iveqy
| shwaiil: !welcome | 12:26 |
|
gitinfo
| shwaiil: Welcome to #git, a place full of helpful gits. If you have a question, feel free to just go ahead and ask—somebody should answer shortly. For more info on this channel, see http://jk.gs/git/ Take backups (type !backup to learn how) before taking advice. | 12:26 |
| ← ffio left | 12:27 |
| → ffio_ joined | 12:27 |
|
Arafangion
| alexander__b: reject it, then ask when he's going to fix a specific issue. | 12:27 |
|
| alexander__b: And then claim you can't find the commit. | 12:27 |
|
shwaiil
| how to delete a commit from remote repository ? I've made some changes and did git add -u instead of just add the changes I wanted then pushed git push origin branchX. I undo locally but I need to do the same in the repo, is there a way to delete that commit ?! | 12:27 |
|
cbreak-work
| force push | 12:27 |
|
alexander__b
| Arafangion: sadly I do not have enough time because it's a super short project, and interns and blah. but in srs projects I of course just reject that crap. | 12:27 |
|
iveqy
| alexander__b: git has some tools for helping with lineending conversion (as you've already beeing told) however I find it really creepy to have a SCM altering my files. That's what I've an editor for. | 12:28 |
|
alexander__b
| !force | 12:28 |
|
gitinfo
| [!force_push] If you need to overwrite the history of a remote git repository (very bad idea, see !rewrite), you can do so with `git push -f`. Note the remote server may reject this. See man git-config and search for receive.denyNonFastForwards. Best practice is for upstream servers to denyNonFastForwards. | 12:28 |
|
iveqy
| shwaiil: !public | 12:28 |
|
gitinfo
| shwaiil: [!rewriting_public_history] Rewriting public history is usually bad. Everyone who has pulled the old history have to do work (and you'll have to tell them to). If you must, you can use `git push -f` to force (and the remote may reject that, anyway). See http://goo.gl/waqum | 12:28 |
|
alexander__b
| iveqy: well these people do git add -A && git commit -m "lulz!!!!", so I doubt they'd care... or even notice... | 12:29 |
|
bremner
| that's what managers are for. | 12:29 |
|
Arafangion
| alexander__b: Bah. | 12:29 |
| ← diegoviola left | 12:29 |
|
alexander__b
| Arafangion: it's a prototype so thankfully this repo will never see daylight. the code... the horror... | 12:29 |
|
iveqy
| alexander__b: yeah I know, people are stupid (or rather, they don't understand why to use SCM). My suggestion is that they should just stick to subversion and be out of my way if possible | 12:30 |
|
Arafangion
| alexander__b: Lets pray you're right. | 12:30 |
|
alexander__b
| Arafangion: maybe I should remove myself from the copyright headers in case it ever gets used. :-P | 12:30 |
|
Arafangion
| iveqy: That reminds me. | 12:30 |
| → ffio joined | 12:30 |
| → mikecmpbll joined | 12:30 |
|
Arafangion
| How does one set text attributes such that the line endings are left as-is. | 12:30 |
|
| Arafangion runs and puts a '?' at the end of that. | 12:31 |
|
alexander__b
| though TBF the code I have committed is almost exclusively "Remove stupid redundant crap" or "Use a decorator instead of copypasting the same damn thing 103104302413241 things". | 12:31 |
|
iveqy
| Arafangion: I don't know. I don't use windows | 12:31 |
|
Arafangion
| iveqy: Irrelevant. | 12:31 |
| ← Guest__ left | 12:31 |
| → devoldmx3 joined | 12:32 |
| ← danicampa901 left | 12:32 |
| → scampbell joined | 12:33 |
| ← guest171 left | 12:35 |
| → troker joined | 12:35 |
| ← mmitchell left | 12:36 |
| → whaley joined | 12:37 |
|
iveqy
| Arafangion: AFAIK git doesn't care about your line endings by default on non-windows systems | 12:38 |
| ← wasanzy left | 12:38 |
| → TeckniX joined | 12:39 |
|
cbreak-work
| by default it doesn't care at all, even on windows | 12:40 |
| → TheBrainWork joined | 12:40 |
|
cbreak-work
| you have to enable autocrlf/core.eol/safecrlf/... stuff | 12:40 |
|
| or use attributes | 12:40 |
| ← RonScagz left | 12:41 |
| → diegoviola joined | 12:42 |
|
Arafangion
| iveqy: BUt it does on windows, by defaults. | 12:43 |
| → rnsanchez joined | 12:43 |
|
Arafangion
| cbreak-work: The team has that stuff enabled inconsistently, and we dont' use attributes. | 12:43 |
|
| cbreak-work: So how do you do it using attributes? | 12:43 |
|
jast
| Arafangion: -text | 12:43 |
|
cbreak-work
| Arafangion: git config -l | 12:43 |
|
| read it | 12:43 |
|
Arafangion
| jast: That prevents diff'ing, and all that, doesn't it? | 12:43 |
|
cbreak-work
| does it contain crlf or eol related things? | 12:44 |
|
jast
| not according to the docs | 12:44 |
|
| that's what the 'diff' attr is for | 12:44 |
|
Arafangion
| jast: I should read it again, then. | 12:44 |
| ← devoldmx3 left | 12:45 |
| ← BashCoder left | 12:46 |
| → kaldrenon joined | 12:46 |
| → hellopat joined | 12:46 |
| → krz joined | 12:48 |
| ← ffio left | 12:48 |
| ← ntus1017 left | 12:48 |
|
krz
| i accidently did git merge github/foo into the current branch. how would i undo this? | 12:48 |
| → nicknisi joined | 12:49 |
| ← jon_r left | 12:49 |
| → radiochatr joined | 12:50 |
|
radiochatr
| hi | 12:50 |
| ← normanrichards left | 12:50 |
|
gitinfo
| radiochatr: 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. | 12:50 |
| → wasanzy joined | 12:50 |
|
radiochatr
| anybody knows why after: git remote add drupal_facetapi http://git.drupal.org/project/facetapi.git | 12:51 |
|
| when I do: git fetch drupal_facetapi | 12:52 |
|
| the command hangs indefinitely ? | 12:52 |
| → zhost joined | 12:52 |
| → angelsl joined | 12:52 |
| → ShaPOC joined | 12:53 |
|
radiochatr
| but git clone http://git.drupal.org/project/facetapi.git works perfectly | 12:53 |
|
EugeneKay
| !repro | 12:55 |
|
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 help immensely with troubleshooting. | 12:55 |
| → rfoust joined | 12:55 |
| ← FernandoBasso left | 12:56 |
| → Cromulent joined | 12:56 |
| ← chaw left | 12:56 |
| → helpD joined | 12:56 |
| → ryanjh joined | 12:57 |
|
radiochatr
| why is git fetch -vv <remote_branch> showing | 12:57 |
| → konundra joined | 12:57 |
|
lb1a
| radiochatr, http://pastebin.mozilla.org/2700017 | 12:57 |
|
radiochatr
| POST git-upload-pack messages indefinitely? | 12:57 |
| → nerdfiles joined | 12:57 |
| → simesy joined | 12:58 |
| → macabre joined | 12:58 |
|
CheckDavid
| Hello. | 13:00 |
|
gitinfo
| CheckDavid: 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. | 13:00 |
| → hyperboreean joined | 13:00 |
|
CheckDavid
| OH well. I'm new to this and not very techie. So here it goes. | 13:00 |
| → geekbri joined | 13:01 |
|
CheckDavid
| I would like to take a course and do some tasks. But apparently I need a linux console to do it, based on a reply I got from someone who helped me, which was: "no problem....all u need is to use ur linux terminal to push code to github and your heroku account...that is the only reason a console is needed and to edit files...if your main operating system is ubuntu thats even better" | 13:01 |
| → devoldmx joined | 13:01 |
|
CheckDavid
| But I am having an very hard time running linux distros on my pc | 13:01 |
|
| Or even virtual box | 13:01 |
| ← buibex left | 13:02 |
| ← paul424 left | 13:02 |
| → breakingthings joined | 13:02 |
| → p0wn3d joined | 13:02 |
|
jordanm
| CheckDavid, this channel is not for linux distro support. try #linux or #ubuntu | 13:02 |
| ← simesy left | 13:03 |
|
jordanm
| windows can use git and push to github though | 13:03 |
|
muep
| CheckDavid: git can also be used just fine from operating systems that are not linux based | 13:03 |
|
CheckDavid
| I am not talking about linux distro support =_ | 13:03 |
|
jordanm
| CheckDavid, you were making it sound like you were requesting help getting linux on your PC | 13:03 |
|
CheckDavid
| Nope | 13:04 |
|
| #ubuntu, ##linux... etc etc... | 13:04 |
|
| if I wanted that. | 13:04 |
|
lb1a
| CheckDavid, git is available for windows too | 13:04 |
| ← devoldmx left | 13:04 |
| → rednaks joined | 13:05 |
|
CheckDavid
| I just wanted to maybe get some help interpreting that suggestion. | 13:05 |
|
| I got from a fellow coleague | 13:05 |
|
lb1a
| CheckDavid, the whole git thing is very linux centric and on linux it just works. on windows you'll have to do some extra steps, fiddeling with ssh for remote conections and stuff. but it is possible of course | 13:06 |
| → huoxito joined | 13:07 |
|
muep
| in my experience, it does not much differ on windows either | 13:07 |
|
TMO
| cygwin+git ? | 13:07 |
|
muep
| though it may seem a bit weird for someone who is only used to windows | 13:07 |
| ← ffio_ left | 13:07 |
|
EugeneKay
| msysgit works just fine with the included openssh tools | 13:08 |
|
| You /can/ fiddle with the GIT_SSH env var to make it use plink.exe+Pageant, but there's no need to. | 13:09 |
| ← plof left | 13:09 |
| → chaw joined | 13:09 |
| → hahuang65 joined | 13:09 |
| → jerius joined | 13:09 |
|
EugeneKay
| I hate the stereotype that "Windows is worse!", as perpetuated by FOSS zealots who've never sat down to learn it. The street goes both ways, y'know. | 13:10 |
| → natechan joined | 13:10 |
|
lov
| ^^ | 13:10 |
| → seigmann joined | 13:10 |
|
lov
| there are different focuses, of course. linux tends to be better for development, windows tends to be better for booting to a usable OS without having to edit your xorg.conf, etc. | 13:11 |
| ← nerdfiles left | 13:11 |
| → trungqtran joined | 13:11 |
| ← chaw left | 13:11 |
|
lov
| strangely, linux continues to be unpopular outside of developer crowds. | 13:11 |
|
EugeneKay
| "linux" as in traditional distributions perhaps; my mother loves her Chromebook. | 13:12 |
|
jordanm
| i haven't had to manually edit a xorg.conf is 5 years | 13:12 |
|
shadok
| EugeneKay: how could two things be worse than the other one? That makes them equal! ^^ | 13:12 |
| → danicampa901 joined | 13:12 |
| → mike_af joined | 13:12 |
| ← shruggar left | 13:12 |
| → mr_mustard joined | 13:13 |
| → sqlnoob joined | 13:13 |
| → hyperair joined | 13:13 |
|
EugeneKay
| shadok - imaginary numbers | 13:13 |
| ← hahuang65 left | 13:13 |
| ← rshetty left | 13:14 |
| ← dfanjul left | 13:14 |
|
osse
| they would have to be complex, otherwise it wouldn't make a difference | 13:15 |
| ← rednaks left | 13:15 |
|
osse
| and be non-trivial. in principle all numbers are complex numbers | 13:17 |
| → mechanicalduck joined | 13:18 |
| → snearch joined | 13:19 |
| → normanrichards joined | 13:19 |
| → OnlyMax joined | 13:19 |
| → gebi joined | 13:20 |
| → rednaks joined | 13:20 |
| ← anonymuse left | 13:21 |
| → decotii joined | 13:21 |
| → mechanicalduck_ joined | 13:22 |
| → mdhopkins joined | 13:22 |
|
CheckDavid
| Well, I would like to do it with a Linux console | 13:22 |
|
| for the learning purposes I guess | 13:23 |
|
| since it's an educational program that I want to do | 13:23 |
|
EugeneKay
| My advice? Rent a VPS. | 13:23 |
|
CheckDavid
| But I just can't get one. | 13:23 |
|
| Yeah, maybe I should do that. | 13:23 |
|
EugeneKay
| A Linode is $20/mo, and gives good performance, great stability, and it vomits unicorns. | 13:23 |
| → BashCoder joined | 13:23 |
| → AaronMT joined | 13:23 |
| ← gebi left | 13:23 |
| → mechanicalduck__ joined | 13:24 |
| → hetal_ joined | 13:24 |
| ← mdhopkins left | 13:24 |
| ← BashCoder left | 13:25 |
| ← trungqtran left | 13:25 |
| → BashCoder joined | 13:25 |
| ← wasanzy left | 13:25 |
| → gebi joined | 13:25 |
| ← mechanicalduck left | 13:26 |
|
canton7
| CheckDavid, or fire up an EC2 instance for a couple of hours a day, if you want | 13:26 |
| → Sigma[Mtp] joined | 13:26 |
| ← mechanicalduck_ left | 13:26 |
| → tplaner joined | 13:26 |
| → BashCode_ joined | 13:27 |
| → saml joined | 13:27 |
|
CheckDavid
| I was trying to do it without charging anything from my bank account | 13:27 |
|
EugeneKay
| You can get a free EC2 micro for 12 months | 13:27 |
|
| But the prices are exorbitant if you exceed the allowances | 13:28 |
| → trungqtran joined | 13:28 |
| ← beautifulmind left | 13:28 |
| ← BashCode_ left | 13:28 |
| → Uzk joined | 13:28 |
|
Uzk
| Olan | 13:28 |
| ← gebi left | 13:28 |
|
canton7
| micro instances are like $0.016/hr on the spot market | 13:29 |
|
EugeneKay
| I'd rather not have my development environment spontaneously combust | 13:29 |
|
canton7
| keep that on a ebs volume | 13:29 |
|
| s/a/sn | 13:30 |
|
EugeneKay
| Still annoying ;-) | 13:30 |
|
canton7
| slightly, but it's cheap! | 13:30 |
|
EugeneKay
| Free is cheaper | 13:30 |
| → gebi joined | 13:31 |
|
Arafangion
| Eh? I've learnt windows, and linux. Still prefer linux, despite the chaos. | 13:31 |
|
canton7
| I was assuming a lack of free tier. Of course that's preferable if it's available | 13:31 |
|
Arafangion
| It, at least, comes with a text editor. | 13:31 |
|
EugeneKay
| <EugeneKay> You can get a free EC2 micro for 12 months | 13:31 |
| ← OwiecPL1986 left | 13:32 |
| → Christi123 joined | 13:32 |
|
EugeneKay
| https://aws.amazon.com/free/ | 13:32 |
|
| You can even boot a Windows box, too | 13:32 |
|
CheckDavid
| Yeah,, well that's another problem | 13:32 |
|
Arafangion
| What does he want, anyway? | 13:32 |
|
CheckDavid
| apparently I made an account at Amazon long ago | 13:32 |
|
| And I didn't even use it | 13:33 |
| → mdhopkins joined | 13:33 |
|
alexander__b
| does anyone know of a vim plugin that lets me add a line/hunk? | 13:34 |
|
Arafangion
| alexander__b: I'd use interactive git add. | 13:34 |
| ← ryanjh left | 13:35 |
| → Adlai joined | 13:35 |
|
alexander__b
| Arafangion: I usually do too but sometimes I can't split it enough, and it'd be nice to just have vim deal with that | 13:35 |
|
Arafangion
| alexander__b: git gui's not so bad at that. | 13:35 |
|
alexander__b
| because line numbers etc gah. | 13:35 |
|
| Arafangion: gui? I use git add -p. | 13:35 |
| ← gebi left | 13:35 |
|
alexander__b
| but anyway this is very beside my question. | 13:35 |
|
Arafangion
| alexander__b: You haven't tried git add -i? | 13:35 |
|
alexander__b
| maybe I should take it to #vim though. | 13:35 |
|
| I don't like -i very much | 13:36 |
|
Arafangion
| alexander__b: I don't like vim very much. :) | 13:36 |
| → gebi joined | 13:36 |
| → dwmw2_gone joined | 13:37 |
| → Spyro joined | 13:37 |
| ← rapha left | 13:37 |
| → devoldmx joined | 13:37 |
| → ryanjh joined | 13:38 |
| ← BashCoder left | 13:38 |
| → wasanzy joined | 13:38 |
| → segher joined | 13:38 |
| ← CheckDavid left | 13:39 |
| ← sr78ger left | 13:40 |
| ← krz left | 13:40 |
| → dfanjul joined | 13:40 |
| → ojacobson joined | 13:40 |
| → eugenejen joined | 13:41 |
| → Sam_OTnosc joined | 13:42 |
| → dsdeiz joined | 13:42 |
| ← john2x left | 13:42 |
| ← radiochatr left | 13:43 |
| ← Cromulent left | 13:43 |
| → BashCoder joined | 13:43 |
| ← babilen left | 13:46 |
| ← gebi left | 13:46 |
| ← helpD left | 13:47 |
| → gebi joined | 13:47 |
| → kesha joined | 13:47 |
| → _BJFreeman joined | 13:48 |
| ← kesha left | 13:48 |
| → vedant joined | 13:48 |
| _BJFreeman → BJfreeman | 13:48 |
| → CodeShark joined | 13:49 |
| → valgrind joined | 13:49 |
| ← gebi left | 13:49 |
| → devoldmx3 joined | 13:50 |
| → gebi joined | 13:52 |
| ← tvw left | 13:52 |
| → buibex joined | 13:52 |
| → helpD joined | 13:53 |
| → nurey joined | 13:53 |
| ← CodeShark left | 13:53 |
| ← normanrichards left | 13:54 |
| ← carlos-huang left | 13:54 |
| ← devoldmx left | 13:55 |
| ← nicknisi left | 13:55 |
| → tdm00 joined | 13:56 |
| → helpD_ joined | 13:57 |
| ← gebi left | 13:58 |
| ← hetal_ left | 13:58 |
| → mmitchell joined | 13:58 |
| → simesy joined | 13:58 |
| → gebi joined | 13:59 |
| → jaequery joined | 13:59 |
| ← jaequery left | 14:00 |
| → donmichelangelo joined | 14:00 |
| ← helpD left | 14:00 |
| ← BashCoder left | 14:01 |
| → dougsland joined | 14:01 |
| ← dougsland left | 14:01 |
| → dougsland joined | 14:01 |
| ← gebi left | 14:01 |
| ← troker left | 14:01 |
| Sigma[Mtp] → Sigma | 14:02 |
| ← simesy left | 14:03 |
| → gebi joined | 14:04 |
| → johnnyfuchs joined | 14:05 |
| → stamina joined | 14:05 |
| → groglogic joined | 14:05 |
| → BashCoder joined | 14:05 |
| → aksnot joined | 14:06 |
| ← sqlnoob left | 14:07 |
| → v0n joined | 14:08 |
| → freeed_ joined | 14:08 |
| → salamanderrake joined | 14:09 |
| ← freeed left | 14:09 |
| → anonymuse joined | 14:09 |
| → scientes joined | 14:09 |
| ← scientes left | 14:09 |
| → scientes joined | 14:09 |
| → hahuang65 joined | 14:09 |
| → acharlieh joined | 14:10 |
|
wcwrel
| I found a bunch of commits using --grep= , how do i inspect each commit to see what files changed | 14:10 |
| → _BJFreeman joined | 14:10 |
|
iveqy
| wcwrel: git log | 14:10 |
| → OOPMan joined | 14:10 |
| → ClamShell joined | 14:11 |
| → drizzd joined | 14:11 |
| ← scientes left | 14:11 |
| BJfreeman → Guest24794 | 14:11 |
| → orafu joined | 14:11 |
| _BJFreeman → BJfreeman | 14:11 |
|
wcwrel
| i used git log, but it doesnt show me the diffs | 14:11 |
|
| just the commit message | 14:12 |
| → cannonball joined | 14:12 |
| ← Guest24794 left | 14:12 |
| ← gebi left | 14:12 |
| → rpg joined | 14:12 |
|
wcwrel
| I did: git log --all --grep=<ticket#> | 14:12 |
| → DonRichie joined | 14:12 |
| → gebi joined | 14:13 |
| ← hahuang65 left | 14:13 |
| → scientes joined | 14:13 |
| ← scientes left | 14:13 |
| → scientes joined | 14:13 |
| → cballenar joined | 14:14 |
|
iveqy
| wcwrel: then you might look for git show instead | 14:14 |
| → hetal_ joined | 14:14 |
| → ldh joined | 14:14 |
| → Etheco- joined | 14:14 |
|
wcwrel
| do i pass a specific hash to git show? | 14:15 |
|
iveqy
| wcwrel: yes, see man git show | 14:15 |
|
gitinfo
| wcwrel: the git-show manpage is available at http://jk.gs/git-show.html | 14:15 |
| ← Etheco left | 14:16 |
| ← emergion left | 14:16 |
|
wasanzy
| am having some issue here with pushing projects to my git server | 14:16 |
| ← nurey left | 14:16 |
|
wcwrel
| fatal: bad object 0083358fe2df12c07495bbb8612346287f4dfadd | 14:17 |
| → Etheco joined | 14:18 |
| ← tdm00 left | 14:18 |
|
osse
| wcwrel: git log -p | 14:18 |
| ← vedant left | 14:18 |
| ← hetal_ left | 14:18 |
|
wasanzy
| I created SSH public keys and in my gitadmin home, I did create .ssh directory and copied the key to authorized_keys but when I tried to push to the server, it is still asking for password | 14:18 |
|
wcwrel
| osse: what is -p? | 14:19 |
| ← grilix left | 14:19 |
|
jast
| show patches | 14:19 |
|
osse
| wcwrel: try it and see | 14:19 |
|
jast
| all explained in the manpage :P | 14:19 |
| ← gebi left | 14:19 |
|
osse
| git log -p --grep=foo | 14:19 |
| → normanrichards joined | 14:20 |
| → gebi joined | 14:20 |
| ← Etheco- left | 14:20 |
| → shamess joined | 14:20 |
| ← BJfreeman left | 14:21 |
| ← devoldmx3 left | 14:21 |
| → simesy joined | 14:21 |
| → oliveiraev joined | 14:21 |
| ← mr_mustard left | 14:21 |
| ← dsdeiz left | 14:22 |
| → devoldmx joined | 14:22 |
| ← ldh left | 14:24 |
| ← gebi left | 14:24 |
| → ldh1 joined | 14:24 |
| → gebi joined | 14:25 |
| michael_mbp → zz_michael_mbp | 14:25 |
|
bluj
| i've clone'd a repo for the first time and an tracking branch X... is there a way to go-back-in-time a little before they had merged branch Y and introduced problems? with repo's ive had around longer, i would use 'reflog' to checkout a certain state, but with a fresh clone my reflog is empty. do i just checkout HEAD~20 , for e.g, to go back? | 14:26 |
|
osse
| bluj: yes | 14:26 |
|
| you can checkout any commiy you want. no need for reflog | 14:26 |
|
bluj
| ok i'll try that | 14:26 |
| ← iokill left | 14:27 |
| → Fandekasp joined | 14:27 |
| ← snearch left | 14:28 |
|
wcwrel
| is there a way to do git log -p --grep=blah on github? | 14:29 |
| → vedant joined | 14:29 |
| → dhruvasagar joined | 14:29 |
|
iveqy
| wcwrel: I think you can get a better answer for that in #github. AFAIK you've to clone the repo first | 14:30 |
| → dsdeiz joined | 14:30 |
| ← mikecmpbll left | 14:30 |
| ← scientes left | 14:30 |
| → aldodelgado joined | 14:31 |
| ← buibex left | 14:31 |
| → jerius_ joined | 14:31 |
| ← gebi left | 14:32 |
| → gebi joined | 14:33 |
| → vedant_ joined | 14:33 |
| ← jerius left | 14:34 |
| ← vedant left | 14:34 |
| ← gebi left | 14:34 |
|
Arafangion
| wcwrel: github's search is crap, from what little I've seen. Much easier to just clone the repo first. :) | 14:35 |
|
wcwrel
| yeah they really needa better search | 14:36 |
| ← helpD_ left | 14:36 |
| → FernandoBasso joined | 14:36 |
| → gebi joined | 14:38 |
| → grilix joined | 14:38 |
| → Dougie187 joined | 14:40 |
| → bddy joined | 14:40 |
| gitinfo set mode: +v | 14:40 |
| → corni joined | 14:41 |
|
bddy
| Hi there. Are there any articles/books about how to code with git? E.g., when to commit, when to merge and etc? | 14:41 |
| → Guest____ joined | 14:42 |
|
j416
| bddy: there's always !book, but perhaps you need to think about what you need git for? | 14:42 |
|
gitinfo
| bddy: There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable | 14:42 |
| ← benoit left | 14:42 |
|
YoungFrog
| it's the more general question : what's a (D)VCS good for ? | 14:42 |
| → shuaib joined | 14:43 |
| → rabellamy joined | 14:44 |
|
ojacobson
| tracking, publishing, and discussing changes to a project over time, if the project is largely text | 14:44 |
|
| (there are very few distributed *asset-oriented* tools) | 14:44 |
| → lresende joined | 14:45 |
|
bddy
| For example, in my projects I chaotically jump from one piece of code to another and add some functionality, and I don't know how could git help here. | 14:45 |
| ← gebi left | 14:45 |
| → jcromartie joined | 14:46 |
| → gebi joined | 14:46 |
|
osse
| bddy: commit before each jump | 14:46 |
|
| bddy: or you can keep the stuff seperated so they don't interfer with eachother | 14:46 |
|
bddy
| And I use git instead of rsync :( | 14:46 |
| ← shuaib left | 14:47 |
| → shuaib joined | 14:47 |
| ← dougsland left | 14:48 |
| → dougsland joined | 14:48 |
| → kermit joined | 14:50 |
| → rudak joined | 14:50 |
| ← gebi left | 14:50 |
| ← shuaib left | 14:51 |
| → voila joined | 14:52 |
|
voila
| hello | 14:52 |
| ← bddy left | 14:52 |
|
voila
| helo | 14:52 |
|
ToxicFrog
| bddy: commit before jumping; if you forget to do this, use selective add (git add -p, git gui) to split your changes into logically separate commits/branches afterwards. | 14:52 |
| → tdm00 joined | 14:52 |
|
ToxicFrog
| I tend to write 3-4 logically distinct things at a time without remembering to commit, then split them up afterwards. | 14:53 |
| → hahuang65 joined | 14:53 |
| → bddy joined | 14:53 |
| → micah joined | 14:53 |
| ← bddy left | 14:53 |
|
iveqy
| voila: !welcome | 14:53 |
|
gitinfo
| voila: Welcome to #git, a place full of helpful gits. If you have a question, feel free to just go ahead and ask—somebody should answer shortly. For more info on this channel, see http://jk.gs/git/ Take backups (type !backup to learn how) before taking advice. | 14:53 |
| → mikecmpbll joined | 14:53 |
|
ojacobson
| in order to make sensible use of an SCM tool -- any SCM tool, not just git -- you need to care about making the "trajectory" of a project comprehensible, even if your working habits aren't | 14:54 |
|
micah
| i've got three stashes, and I'm trying to figure out which one is which. So I looked in gitk --all, but I only see one of the stashes listed | 14:54 |
|
ojacobson
| micah: git stash list | 14:54 |
|
micah
| ojacobson: yeah, i was looking at that, but I wanted more information, so that is why I ran gitk --all | 14:55 |
|
osse
| micah: git stash show -p <stash> | 14:55 |
| ← aksnot left | 14:55 |
|
micah
| i know i know... my question was about gitk only showing one stash | 14:55 |
|
| i'm familiar with the 'git stash' commands | 14:56 |
|
osse
| oh | 14:56 |
| → thiago joined | 14:56 |
| → gebi joined | 14:56 |
|
osse
| all but the first stash is kept in the reflog. maybe that's why gitk won't list them | 14:56 |
|
micah
| i see, thanks | 14:56 |
|
| does that mean only the first stash is shown in gitk? | 14:57 |
|
YoungFrog
| I guess you can force gitk to show other stashes by giving their sha on the command line | 14:57 |
| → jerius joined | 14:57 |
| ← jerius_ left | 14:57 |
| ← hahuang65 left | 14:57 |
| → shuaib joined | 14:58 |
| ← shuaib left | 14:58 |
| ← rednaks left | 14:58 |
|
ojacobson
| micah: gitk doesn't show reflogs (since that would be incredibly noisy for most refs) | 14:58 |
| ← Uzk left | 14:58 |
|
micah
| stash{0} is the earliest stash? | 14:58 |
|
ojacobson
| the stash *relies* on reflogs to store past stashes -- in fact, the {N} syntax is nothing more than reflog access, not specific to stash at all | 14:58 |
|
| latest stash | 14:58 |
|
| micah confused about what he was doing a month ago now :P | 14:59 |
|
osse
| micah: it's the latest stash | 14:59 |
| ← devoldmx left | 14:59 |
| ← Guest____ left | 15:00 |
|
lahwran
| if I git clone a local repo, then it will use hard links for the git objects, correct? | 15:00 |
| ← rudak left | 15:00 |
| → jaequery joined | 15:00 |
|
osse
| lahwran: by default yes, unless you use a "file://" URL thingy | 15:00 |
|
lahwran
| if I then pull a force-pushed history revision in the original repo, what happens? do the git objects get altered? | 15:01 |
|
| or do they get unlinked from the original repo and then replaced? | 15:01 |
|
| or what | 15:01 |
|
ojacobson
| lahwran: ref changes only ever add objects | 15:01 |
|
osse
| they probably stay in the remote repo | 15:01 |
|
| and get gc'd in time | 15:01 |
|
ojacobson
| even force-pushing a branch and removing objects from history doesn't delete or modify those objects (they're probably in pack files anyways) | 15:01 |
| ← lresende left | 15:01 |
|
ojacobson
| they might get gc'd eventually | 15:01 |
|
| note that pull is "fetch, then merge", though, which rarely goes well in the presence of force pushes | 15:02 |
|
lahwran
| so I have three imaginary repos here; [email@hidden.address] ~/repo (with a remote to the previous), and ~/repo2 (with a remote to ~/repo) | 15:02 |
| ← diegoviola left | 15:02 |
|
ojacobson
| you can happily pretend objects' physical representations are never deleted, and shared if possible | 15:02 |
| ← konundra left | 15:03 |
| → Guest__ joined | 15:03 |
|
ojacobson
| and if you touch them or rely on that assumption *directly* rather than through a git command, you get to keep both halves when your system breaks | 15:03 |
| ← daanavitch left | 15:03 |
| → devoldmx joined | 15:03 |
|
ojacobson
| (if you're really deeply concerned about storage requirements for multiple copies of the "same" repo on the same system, look at the alternates mechanism) | 15:03 |
| ← Guest__ left | 15:04 |
| ← gebi left | 15:04 |
| → nerdfiles joined | 15:04 |
|
lahwran
| I'm expecting a huge force-push of commit deletion soon in a very large repo | 15:04 |
| ← anonymuse left | 15:05 |
|
lahwran
| I would like to keep a local backup, but my main local copy of that repo should be in sync | 15:05 |
| → anonymuse joined | 15:05 |
| → gebi joined | 15:05 |
|
ojacobson
| make a local branch pointing to the current state you'd like to keep | 15:06 |
|
| then when the remote branch is rewritten to point to different history, you'll still have a local name for the original branch | 15:06 |
|
lahwran
| hm, I guess that is what branches do, isn't it | 15:06 |
|
| for some reason it feels more appropriate to throw it in a different repo, I'm not sure what about this scenario is making me pattern match that | 15:07 |
| → ozette joined | 15:07 |
| ← howlymowly left | 15:07 |
| ← enr_ left | 15:07 |
| → enr joined | 15:08 |
| ← cballenar left | 15:08 |
| → anonymus_ joined | 15:08 |
| ← dwmw2_gone left | 15:09 |
| → dwmw2_gone joined | 15:09 |
| → jackdempsey joined | 15:09 |
| → secondjeff joined | 15:09 |
| ← anonymuse left | 15:09 |
| → axl_ joined | 15:10 |
|
voila
| here somebody direct me for some book .. git for computer science .. or something like that .. Any one knows what was the exact name | 15:11 |
|
| :) | 15:11 |
| → ManiaArmyYurt joined | 15:11 |
|
ojacobson
| !cs | 15:11 |
|
gitinfo
| "Git for Computer Scientists" is a quick introduction to git internals for people who are not scared by phrases like Directed Acyclic Graph. http://eagain.net/articles/git-for-computer-scientists/ See also !concepts !bottomup | 15:11 |
|
lahwran
| oooohh | 15:11 |
|
| cool | 15:11 |
| → Rix joined | 15:11 |
| → ldh joined | 15:12 |
| ← enr left | 15:12 |
| → mklappstuhl joined | 15:12 |
| ← Spyro left | 15:12 |
| → pitzips joined | 15:12 |
| ← gebi left | 15:12 |
| → Spyro joined | 15:13 |
| ← simesy left | 15:13 |
| Spyro → Guest66630 | 15:13 |
| ← ldh1 left | 15:14 |
| → cballenar joined | 15:14 |
| → ValDuare joined | 15:14 |
| ← nicklasbo left | 15:14 |
|
ValDuare
| how do you pin a file that you don't want to over write in git pull | 15:15 |
| → lavaman joined | 15:15 |
| → Marquisk2 joined | 15:15 |
|
jast
| git pull doesn't overwrite files | 15:16 |
|
| that is, if they have uncommitted changes | 15:16 |
| → Destos joined | 15:16 |
|
jast
| if all content you care about has been committed, you can easily get it back at any point | 15:17 |
|
voila
| whenever we try to push commit on remote , it throw us error .. do pull first ... my question is , how git come to know that our local master does not incorporate latest merge ?? is it through any file or what ? | 15:17 |
|
ValDuare
| i.e. on my web server I just logged in and cloned my repo for a site I'm working on and made access restrictions to .git folder | 15:17 |
| → eletuchy_ joined | 15:18 |
|
jast
| voila: the git server and client communicate and figure out what history (i.e. which commits) the two sides have in common | 15:18 |
|
ValDuare
| so i'd like to not override the config file for the production db server | 15:18 |
|
jast
| !configfiles | 15:18 |
|
gitinfo
| 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 | 15:18 |
| → mechanicalduck joined | 15:18 |
|
ValDuare
| how do I untracked a file | 15:18 |
| → joevano joined | 15:18 |
|
jast
| !untrack | 15:19 |
|
gitinfo
| 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^ file` | 15:19 |
|
ValDuare
| whats the --cached option do? | 15:19 |
|
voila
| jast, So to be more precise .. Can I say ... Git want latest commit on remote in history of my master before pushing anything on server ? | 15:20 |
| → kenperkins joined | 15:20 |
|
ToxicFrog
| ValDuare: deletes it from the index. man git-rm | 15:20 |
|
gitinfo
| ValDuare: the git-rm manpage is available at http://jk.gs/git-rm.html | 15:20 |
|
voila
| this gitinfo is really nice | 15:20 |
|
ValDuare
| ok ty | 15:21 |
|
EugeneKay
| !botsnack | 15:21 |
|
gitinfo
| Om nom nom | 15:21 |
| → ldh1 joined | 15:21 |
|
| EugeneKay pets the bot | 15:21 |
|
EugeneKay
| Good boy! | 15:21 |
| ← eletuchy left | 15:21 |
|
voila
| So to be more precise .. Can I say ... Git want latest commit on remote in history of my master before pushing anything on server ? | 15:21 |
| ← ldh left | 15:22 |
| ← mechanicalduck__ left | 15:22 |
|
cmn
| by default your local git will refuse to change history on the remote | 15:23 |
| ← devoldmx left | 15:23 |
|
cmn
| which at the graph level means that what's on a remote branch must be an ancestor of what you want to set it to | 15:23 |
|
jast
| voila: yeah, that's correct. any remote history that you haven't merged yet will prevent a normal push. | 15:23 |
|
voila
| okies | 15:24 |
| ← |Freeman| left | 15:24 |
| → devoldmx joined | 15:24 |
| → breck7 joined | 15:25 |
| → causasui joined | 15:26 |
|
cmn
| but remember this has nothing to do with branch names | 15:26 |
| → Noldorin joined | 15:26 |
| → shruggar joined | 15:27 |
| → gusnan joined | 15:27 |
| → Guest__ joined | 15:27 |
| → bklane joined | 15:28 |
|
GarethAdams
| How can I display the git log for a file that doesn't exist any more? | 15:29 |
|
EugeneKay
| Same way you do for any file. `git log -- path/to.file` | 15:29 |
| → r04r joined | 15:29 |
| ← devoldmx left | 15:30 |
| ← jatt left | 15:31 |
| → PaulCapestany joined | 15:31 |
| → cods joined | 15:32 |
| ← bklane left | 15:32 |
| ← joevano left | 15:32 |
|
voila
| My branch is diverge by 1 commit on either side ... then i merge it .. then when i did git status .. it is saying ... 'Your branch is 2 commits' ahead of origin/experiment ... I know how it is ahead .. 1 for my changes , 2 for merge commit .... At this point HEAD points to merge commit and remote/experiment points to its latest commit .. But problem is I am now able to figure it out when i draw a DAG .. | 15:32 |
|
EugeneKay
| !lol | 15:33 |
|
gitinfo
| A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all | 15:33 |
|
EugeneKay
| Let git do the work for you | 15:33 |
|
voila
| let me try :) | 15:33 |
| → Davey joined | 15:33 |
| ← mklappstuhl left | 15:33 |
| ← marhaban left | 15:34 |
| → marhaban1 joined | 15:34 |
| → devoldmx joined | 15:35 |
| → sferry joined | 15:35 |
| ← sferry left | 15:35 |
| → sferry joined | 15:35 |
| → howlymowly joined | 15:35 |
| ← ryanjh left | 15:35 |
| → Wh1plash_ joined | 15:36 |
| → ryanjh joined | 15:37 |
| → rudak joined | 15:38 |
| ← groglogic left | 15:38 |
| ← marhaban1 left | 15:38 |
| ← Wh1plash|m left | 15:38 |
| ← blami left | 15:38 |
| → babilen joined | 15:38 |
|
| chernjie feels like bragging | 15:38 |
|
lahwran
| oh. | 15:38 |
| → enr joined | 15:38 |
|
milki
| ah. | 15:39 |
|
jast
| eh. | 15:39 |
|
lahwran
| goofballs | 15:39 |
|
chernjie
| :p | 15:39 |
| → aksnot joined | 15:39 |
|
milki
| spaceballs | 15:39 |
| ← kermit left | 15:39 |
| → mckendricks joined | 15:40 |
|
lov
| Silly question; I've modified a file and changed several lines. However, I realized that a good number of the changes that I've made are completely pointless, and want to rollback. One way to do this would be to commit the changes I do want, checkout the file, then do a git reset, but that seems a little odd. Is there a smarter way to do this? | 15:41 |
| → joevano joined | 15:41 |
| ← nerdfiles left | 15:41 |
| ← DonRichie left | 15:41 |
|
chernjie
| git revert ? | 15:41 |
|
ToxicFrog
| Why do you need the git reset in there? | 15:41 |
|
cmn
| reset -p or checkout -p | 15:41 |
|
ToxicFrog
| git add -p; git commit; git checkout -- file | 15:41 |
|
cmn
| depending on what you want to change | 15:41 |
|
chernjie
| ooo... have never tried "checkout -p" before | 15:42 |
|
| have always used add/reset with -p :D | 15:42 |
|
lahwran
| lov: I'm going to vouch for cmn's answer | 15:42 |
| → TomyLobo joined | 15:43 |
| → endiruna joined | 15:44 |
| ← mckendricks left | 15:44 |
| ← v0n left | 15:44 |
| → v0n joined | 15:45 |
| → paolooo joined | 15:45 |
| ← devoldmx left | 15:45 |
| → marhaban joined | 15:45 |
| ← deuterium left | 15:46 |
| → devoldmx joined | 15:46 |
| ← FernandoBasso left | 15:47 |
| ← enr left | 15:47 |
| ← jackdempsey left | 15:48 |
|
lov
| oh neat, I didn't know that reset and checkout supported -p. | 15:48 |
| ← micah left | 15:49 |
| ← trungqtran left | 15:50 |
| → schemanic joined | 15:50 |
| → kermit joined | 15:51 |
| ← Christi123 left | 15:51 |
| → api joined | 15:51 |
| → LuxuryMode joined | 15:51 |
| ← marhaban left | 15:51 |
| → Christi123 joined | 15:52 |
| → McEnroe joined | 15:52 |
| ← paolooo left | 15:52 |
| ← aksnot left | 15:52 |
| → mklappstuhl joined | 15:53 |
|
LuxuryMode
| Accidentally did git add && commit in the middle of a rebase with conflict. then, obviously, when i did rebase --continue git says "No changes - did you forget to use 'git add'?" etc.. What should I do now? I'm on HEAD (no branch) | 15:53 |
| ← dhruvasagar left | 15:54 |
| → paula_ joined | 15:54 |
| ← thiago left | 15:54 |
| → yoshx joined | 15:55 |
|
LuxuryMode
| Anyone? | 15:55 |
| ← paula_ left | 15:55 |
| → padhah joined | 15:55 |
|
Dougie187
| LuxuryMode: try `git rebase --abort` | 15:55 |
|
voila
| There are many files in my staging area . I want to remove them .. I know I can do git rm --cached <file> .. but point is there are huge .. is there any other efficient way | 15:56 |
| ← padhah left | 15:56 |
| ← kenperkins left | 15:56 |
|
Dougie187
| voila: are they tracked? | 15:56 |
|
voila
| Dougie187, yup .. | 15:56 |
|
LuxuryMode
| Dougie187, that will just put me back at where i was prior to the rebase, no? | 15:57 |
|
Dougie187
| voila: do you want to undo all of them? | 15:57 |
|
| LuxuryMode: yeah. | 15:57 |
|
| LuxuryMode: you'd have to start over with the rebase, but you'd know where you were at least. | 15:57 |
| → Cromulent joined | 15:57 |
|
LuxuryMode
| Dougie187, right | 15:57 |
|
| ok | 15:57 |
| → sniffells joined | 15:57 |
|
voila
| Dougie187, possibley ... ok if i do undo then can i add whatever i needed to tracked right ? | 15:58 |
|
| possibly* | 15:58 |
|
Dougie187
| maybe I don't quite understand your situation. | 15:58 |
| → oaoao joined | 15:58 |
| gitinfo set mode: +v | 15:58 |
|
Dougie187
| Basically, you do something like `git add .` when you didn't want a lot of the files staged? | 15:58 |
| → Anders_J joined | 15:59 |
|
voila
| ok .. there are many config files of eclipse and codeigniter .. I donot want them to be versioned .. I want to remove them from repository .. only from repository not from filesystem | 15:59 |
| ← devoldmx left | 15:59 |
|
EugeneKay
| !untrack | 15:59 |
|
gitinfo
| 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^ file` | 15:59 |
| → ldh joined | 16:00 |
| ← tdm00 left | 16:00 |
|
oaoao
| Hi. I'm using msysgit on windows and I don't want to enter password each time. I've tried all possible variants, but ssh-add always tells me that "Could not open a connection to your auth agent" | 16:00 |
| ← Guest__ left | 16:00 |
|
ojacobson
| oaoao: is ssh-agent or pageant running? | 16:00 |
|
TMO
| oaoao.. run pageant | 16:00 |
| → mckendricks joined | 16:00 |
|
TMO
| load your key.. | 16:00 |
| ← ldh left | 16:01 |
|
oaoao
| TMO: There is no ssh-pageant there... | 16:01 |
| → mmlac-bv joined | 16:01 |
|
oaoao
| There is ssh-agent.exe when I ps | grep ssh-agent | 16:01 |
| ← tplaner left | 16:02 |
| ← mklappstuhl left | 16:02 |
| ← endiruna left | 16:02 |
|
TMO
| download pageant.. from same place as putty | 16:02 |
|
oaoao
| I've tried this script also https://help.github.com/articles/working-with-ssh-key-passphrases but it hangs for30-35 seconds and then says the same error. | 16:02 |
|
ojacobson
| oaoao: ssh-agent and ssh-add rely on environment variables to find one another, sounds like ssh-agent's env vars aren't set in your current session | 16:03 |
| ← yoshx left | 16:03 |
| ← ldh1 left | 16:03 |
| ← alorence left | 16:03 |
|
oaoao
| TMO: But pageant works with putty only? | 16:03 |
| → kesha joined | 16:04 |
|
oaoao
| I can't see how to add id_rsa there. | 16:04 |
|
TMO
| right click icon in systray | 16:04 |
| → dreiss_ joined | 16:04 |
|
oaoao
| Yeah, it proposes to add a key. | 16:04 |
| → Mode-M joined | 16:05 |
|
TMO
| and what is id_rsa | 16:05 |
|
oaoao
| That's what I uploaded to github, id_rsa.pub | 16:05 |
| → maslowbeer joined | 16:05 |
|
oaoao
| And created it with ssh-keygen | 16:05 |
|
TMO
| pub yes.. | 16:05 |
| → vipzrx joined | 16:06 |
|
TMO
| add private to pageant | 16:06 |
| → Gonzo joined | 16:06 |
| ← Adlai left | 16:06 |
|
oaoao
| TMO: It definitely doesn't like it: Couldn't load this key (OpenSSH SSH-2 private key) | 16:06 |
| → kenperkins joined | 16:07 |
| ← kesha left | 16:07 |
| → melee joined | 16:08 |
| ← kermit left | 16:08 |
|
oaoao
| I also have a line "ForwardAgent yes" in ssh config, maybe it matters? | 16:08 |
| → Protux joined | 16:09 |
| → catcher joined | 16:09 |
| ← dreiss_ left | 16:09 |
| ← breck7 left | 16:10 |
| → tpollard joined | 16:10 |
|
oaoao
| SSH_AUTH_SOCK variable is set. | 16:10 |
|
catcher
| I intended to create a new branch from master, but created it from another feature branch instead. What's the best way to recover after several commits have been made? Cherry pick them into master? | 16:10 |
| → threesome joined | 16:12 |
| → devoldmx joined | 16:12 |
|
dfanjul
| catcher: git rebase --onto <the corret feature branch> <the incorrect feature branch, or the commit where you branched> <your new branch> | 16:13 |
| → simesy joined | 16:14 |
| → yoshx joined | 16:14 |
| ← yoshx left | 16:15 |
| ← valgrind left | 16:15 |
| → yoshx joined | 16:15 |
|
catcher
| so you're telling me I can't go through life without ever learning about rebase? | 16:15 |
| ← Arafangion left | 16:15 |
| ← devoldmx left | 16:16 |
|
dfanjul
| catcher: no, you can go through with cherry pick, but you asked for the best way | 16:17 |
| → valgrind joined | 16:17 |
| ← ShaPOC left | 16:18 |
| → deuterium joined | 16:18 |
| ← simesy left | 16:18 |
| → saintcajetan joined | 16:19 |
| ← mckendricks left | 16:19 |
| ← angelsl left | 16:20 |
| → knowj joined | 16:20 |
|
catcher
| cool, ty | 16:20 |
| → happyg0pher joined | 16:20 |
| → mklappstuhl joined | 16:20 |
| → nerdfiles joined | 16:21 |
| ← nerdfiles left | 16:21 |
| → hahuang65 joined | 16:21 |
| → dreiss_ joined | 16:21 |
|
knowj
| git pull (no options) what does it exactly do (yes I've read the man page)? From what I can see it updates your local repo branches with their remotes? | 16:21 |
| ← ValDuare left | 16:22 |
| → mckendricks joined | 16:23 |
|
knowj
| i.e. git fetch/git merge on each local branch? | 16:23 |
| → tplaner joined | 16:23 |
|
cmn
| no | 16:24 |
|
PerlJam
| knowj: did you also read the man page on "git fetch" and "git merge"? | 16:24 |
|
ojacobson
| on the current branch, from its tracked upstream branch & remote | 16:24 |
|
cmn
| it fetches with whatever args you passed and merges either that or the upstream branch | 16:24 |
|
ojacobson
| or on the current branch, from the passed branch | 16:24 |
| ← p1ng left | 16:24 |
|
knowj
| cmn: What if you have no arguments? | 16:24 |
| → dhruvasagar joined | 16:25 |
|
cmn
| the second part of the "or" | 16:25 |
| → shinnya joined | 16:25 |
| ← Christi123 left | 16:25 |
| → ewnd9 joined | 16:25 |
|
cmn
| knowj: see also the very first sentence in the manpage | 16:26 |
|
| though I notice the rest isn't accurate anymore | 16:26 |
|
| man git pull | 16:26 |
|
gitinfo
| the git-pull manpage is available at http://jk.gs/git-pull.html | 16:26 |
|
knowj
| cmn: Did read the man page but obviously very badly :) | 16:27 |
| → Christi123 joined | 16:27 |
|
cmn
| oh wait, it is accurate, just too specific | 16:27 |
| → ntus1017 joined | 16:27 |
| → p1ng joined | 16:27 |
|
voila
| When i create a new branch and push it to remote ... where should its first commit lie ?? Is it at master ?? | 16:28 |
| → paolooo joined | 16:29 |
|
cmn
| pushing isn't related to where a branch starts | 16:29 |
| ← donmichelangelo left | 16:30 |
| → rednaks joined | 16:30 |
|
cmn
| you branch off of whatever is the right place for the particular branch, the tip of the main branch, the latest stable release, something else... | 16:30 |
| → donmichelangelo joined | 16:31 |
| ← valgrind left | 16:31 |
|
voila
| cmn, actually I just create branch with git branch solr .. then git checkout solr .. git push origin solr ... I saw that git rev-parse solr .... points to where master is pointing .. | 16:32 |
| → m8 joined | 16:32 |
| ← mikecmpbll left | 16:32 |
| ← Christi123 left | 16:32 |
|
cmn
| just as you asked, yes | 16:33 |
|
| but the pushing is irrelevant | 16:33 |
| → Christi123 joined | 16:33 |
|
oaoao
| Okay, "ssh -T [email@hidden.address] says hello to me, but git push requires username and password. | 16:33 |
| ← ewnd9 left | 16:33 |
|
oaoao
| What could be the reason? | 16:33 |
|
cmn
| oaoao: you're using http | 16:34 |
|
voila
| cmn, yes i got it thanks :) | 16:34 |
| → goshawk joined | 16:34 |
| ← Christi123 left | 16:34 |
| ← sferry left | 16:35 |
| → Shusshu joined | 16:35 |
| ← acharlieh left | 16:35 |
| → Christi123 joined | 16:35 |
| → belak joined | 16:36 |
| ← freeed_ left | 16:36 |
| ← ryanjh left | 16:36 |
| → ryanjh joined | 16:37 |
| → _BJFreeman joined | 16:37 |
|
oaoao
| cmn: Thanks, now I don't need that ssh-agent. | 16:37 |
| ← rabellamy left | 16:37 |
| → ology joined | 16:37 |
|
cmn
| now? | 16:37 |
| → exoon joined | 16:37 |
| _BJFreeman → BJfreeman | 16:38 |
| → ewnd9 joined | 16:38 |
|
oaoao
| I was trying to stop github from asking me password and ssh-agent didn't work, but there was no need to use it. | 16:38 |
| jkremser → jkremser|bbl | 16:38 |
| ← Shusshu left | 16:38 |
|
oaoao
| Changing origin to ssh fixed the problem. | 16:38 |
| ← rednaks left | 16:38 |
|
SamB
| yeah, ssh-agent certainly isn't going to be much use with an http[s] transport | 16:39 |
|
TMO
| oaoao.. using a key without password? | 16:39 |
|
oaoao
| TMO: yeah | 16:39 |
| ← happyg0pher left | 16:39 |
|
knowj
| One of the guys on our repo has commit a file rename changing the casing of the filename. This resulted in the file disappearing from the repo. He fixed it on a new commit and pushed the fix into the repo. - I've now pulled the changes and it's merged fine apart from deleting the file he's fixed. | 16:40 |
| → bvi joined | 16:41 |
| → AWinterman joined | 16:41 |
| → Milossh joined | 16:41 |
|
knowj
| This is the result git pull origin env/dev -> git status -> # deleted: path/to/file/Importstatus.php | 16:42 |
|
| Before the pull I had nothing staged | 16:42 |
|
| Now this delete is staged and git reset isn't having any affect | 16:42 |
| → enr joined | 16:43 |
| ← enr left | 16:45 |
| ← oaoao left | 16:45 |
| → freeed joined | 16:46 |
| ← dreiss_ left | 16:46 |
| ← ozette left | 16:46 |
| → rabellamy joined | 16:47 |
| ← yoshx left | 16:48 |
| → yoshx joined | 16:49 |
| → DrGonzo joined | 16:49 |
| → Amandil joined | 16:50 |
| ← mklappstuhl left | 16:50 |
| → nfroidure joined | 16:50 |
| ← Gonzo left | 16:52 |
| → acharlieh joined | 16:52 |
| ← dfanjul left | 16:53 |
| ← rabellamy left | 16:53 |
| ← DrGonzo left | 16:53 |
| → Gonzo joined | 16:53 |
| ← m8 left | 16:54 |
| ← yoshx left | 16:55 |
| → dc5ala joined | 16:56 |
| → devoldmx joined | 16:56 |
| → troker joined | 16:57 |
| ← v0n left | 16:58 |
| ← exoon left | 16:59 |
| → helpD joined | 16:59 |
| ← Cromulent left | 16:59 |
| ← normanrichards left | 16:59 |
| ← shruggar left | 17:00 |
| → yoshx joined | 17:00 |
| → mribeirodantas joined | 17:00 |
|
giraffeslacks
| i have a branch that was create several commits back from master. i want to merge the changes in master to my branch. should i rebase to do that or checkout the other branch then merge master to the branch? | 17:01 |
| → rabellamy joined | 17:01 |
| ← kaldrenon left | 17:02 |
| → trungqtran joined | 17:02 |
|
PerlJam
| giraffeslacks: the latter sounds sane. | 17:02 |
|
giraffeslacks
| PerlJam: makes more sense to me too. | 17:03 |
| → breck7 joined | 17:03 |
| ← mdhopkins left | 17:04 |
| ← bvi left | 17:05 |
| ← cballenar left | 17:05 |
| → amjam joined | 17:06 |
| ← kenperkins left | 17:07 |
| ← mechanicalduck left | 17:08 |
| ← lavaman left | 17:09 |
| → mdhopkins joined | 17:09 |
| → Thra11 joined | 17:09 |
| → Balliad joined | 17:09 |
| ← Christi123 left | 17:09 |
| ← alexander__b left | 17:10 |
| → Christi123 joined | 17:10 |
| → lavaman joined | 17:10 |
| ← Christi123 left | 17:10 |
| → Christi123 joined | 17:10 |
| → bvi joined | 17:11 |
| → mechanicalduck joined | 17:11 |
| → v0n joined | 17:12 |
| ← Balliad left | 17:12 |
| → kaldrenon joined | 17:13 |
| → simesy joined | 17:14 |
| ← rabellamy left | 17:14 |
| → kenperkins joined | 17:16 |
| ← achadwick left | 17:16 |
| ← yoshx left | 17:17 |
| ← Sam_OTnosc left | 17:17 |
| ← zmike123 left | 17:17 |
| → zerorez joined | 17:18 |
| → ffualo joined | 17:18 |
| → uidzer0 joined | 17:18 |
| ← simesy left | 17:18 |
| ← seigmann left | 17:19 |
| ← donmichelangelo left | 17:20 |
| → tallest_red joined | 17:21 |
| → donmichelangelo joined | 17:21 |
| → endiruna joined | 17:21 |
| → btree joined | 17:22 |
| → maxmanders joined | 17:24 |
| ← trungqtran left | 17:24 |
| ← rudak left | 17:26 |
| ← Christi123 left | 17:26 |
| → kermit joined | 17:26 |
| → Christi123 joined | 17:27 |
| → covi joined | 17:27 |
|
covi
| Hi guys. I have a local branch A. I pushed it to remote at some point. Then, I made two commits in my local machine, but I regret adding them now (at this point I haven't pushed A again). Is there a way to somehow abandon these two commits on my local machine? | 17:28 |
| → evjsli joined | 17:29 |
| → boombatower joined | 17:31 |
| → f8l joined | 17:31 |
| ← maxmanders left | 17:31 |
| → zmike123 joined | 17:31 |
|
bret
| covi yes | 17:32 |
|
covi
| bret: git reset --hard origin/MYBRANCH? | 17:32 |
| ← devoldmx left | 17:32 |
|
bret
| find the SHA1 of the commit you want to roll back to, then do git reset --hard [the sha1 of the commit you want to roll back to] | 17:32 |
|
| assuming you are on the branch you want to roll back | 17:33 |
|
covi
| bret: done. works like a charm | 17:33 |
| ← amjam left | 17:33 |
|
covi
| so the rule of thumb is: any unpublished history can be safely modified? | 17:33 |
| ← v0n left | 17:33 |
| ← gusnan left | 17:34 |
|
ojacobson
| covi: for values of "safely" that cover what you probably care about, yeah | 17:34 |
| ← wasanzy left | 17:34 |
| → mishok13 joined | 17:34 |
| ← hyperair left | 17:35 |
| → boombatower_ joined | 17:35 |
| ← dsdeiz left | 17:36 |
|
bret
| you can unpublish safely as long someone else doesn't get mad at you | 17:36 |
| ← btree left | 17:36 |
|
ojacobson
| indeed | 17:36 |
| → Vampire0 joined | 17:36 |
|
ojacobson
| scm tools are not a replacement for communication | 17:36 |
| ← OOPMan left | 17:36 |
| ← boombatower left | 17:36 |
|
bret
| but if others are working with you, its generally not ideal to mess with master's history | 17:36 |
| → v0n joined | 17:36 |
|
osse
| if car companies can recall models then godammit I can push --force | 17:37 |
|
lov
| o_O | 17:37 |
| → hwrd|work joined | 17:37 |
|
bret
| ^_^ | 17:37 |
|
covi
| bret: how do you define 'working with you'? what if they only fetch my branches and look at them but will not make any commits? | 17:38 |
| ← acharlieh left | 17:38 |
|
bret
| thats fine | 17:38 |
| ← Mode-M left | 17:39 |
| ← boombatower_ left | 17:39 |
| → boombatower joined | 17:39 |
|
bret
| especially in your situation since you didnt even push your bad changes | 17:39 |
| → cballenar joined | 17:40 |
| → dreiss_ joined | 17:40 |
|
bret
| covi, it sounds like what you did deserved its own branch off of master | 17:40 |
| → umib0zu joined | 17:40 |
|
bret
| that way you dont have to mess with history | 17:40 |
| ← Davey left | 17:40 |
| → hugo_dc joined | 17:40 |
| → Davey joined | 17:41 |
|
bret
| covi, even if you end up just fastforwarding master into your feature branch, its worth the convinence of not having to deal with messing with resets (opinion) | 17:42 |
| ← ewnd9 left | 17:43 |
| ← ntus1017 left | 17:43 |
| ← mechanicalduck left | 17:44 |
| ← endiruna left | 17:44 |
| ← AWinterman left | 17:44 |
| → Cromulent joined | 17:45 |
| → mechanicalduck joined | 17:45 |
| → devoldmx joined | 17:46 |
| → trungqtran joined | 17:46 |
| → sheeny joined | 17:49 |
|
sheeny
| I just cloned from github and now im trying to push and im getting this.. | 17:50 |
|
| ERROR: Permission to craigsheen/paper_trail.git denied to craigsheen/date_output. | 17:50 |
| ← shwaiil left | 17:50 |
| → tdm00 joined | 17:50 |
|
sheeny
| why is it getting confused? | 17:50 |
| ← yshh left | 17:50 |
| → paul424 joined | 17:52 |
| → johnbenz_ joined | 17:53 |
| ← bandroidx left | 17:53 |
| ← oso96_2000 left | 17:54 |
| ← Octalot left | 17:54 |
| → yshh joined | 17:55 |
|
grawity
| you added your SSH key to the wrong location, it seems | 17:55 |
| ← bvi left | 17:56 |
|
grawity
| Github has two places to configure them – normally, you'd add your key to your own account, and it would allow access to all repos of yours | 17:56 |
|
| instead, you seem to have added your key to a repo directly, which allows access *only* to that repo | 17:56 |
|
sheeny
| ah | 17:56 |
|
grawity
| remove it from https://github.com/craigsheen/date_output/settings/keys and add it to https://github.com/settings/ssh | 17:57 |
|
| I'm assuming that's what you meant to do in the first place | 17:57 |
| → bandroidx joined | 17:57 |
| ← bandroidx left | 17:57 |
| → bandroidx joined | 17:57 |
| ← Cromulent left | 17:58 |
|
grawity
| but of course apply common sense | 17:58 |
|
sheeny
| I did indeed! thank you | 17:58 |
|
| i didnt realise you could just add to a repo | 17:58 |
|
| makes perfect sense now | 17:58 |
|
grawity
| The per-repo keys are called "Deploy keys" in the website, and that describes their intended use | 17:59 |
| → wong1275 joined | 17:59 |
| → oso96_2000 joined | 17:59 |
|
sheeny
| thank you :) | 18:00 |
|
| much appreciated | 18:00 |
| ← johnbenz_ left | 18:00 |
| → johnbenz_ joined | 18:01 |
| → acharlieh joined | 18:02 |
| → paulweb515_ joined | 18:03 |
| gitinfo set mode: +v | 18:04 |
| ← sheeny left | 18:05 |
| ← mribeirodantas left | 18:05 |
| ← stephCoue left | 18:07 |
| ← McEnroe left | 18:08 |
| → undecim joined | 18:08 |
| ← h0bbit left | 18:09 |
| → guest96 joined | 18:10 |
| → ffio joined | 18:12 |
| → hyperair joined | 18:12 |
| → variable joined | 18:13 |
| ← uidzer0 left | 18:13 |
| → Bluec joined | 18:14 |
| ← Gonzo left | 18:14 |
| → AnomalusUndrdog joined | 18:14 |
|
AnomalusUndrdog
| anyone here proficient in git subtrees? what if I rename my subtree's prefix folder? will that corrupt my repo? | 18:15 |
| ← v0n left | 18:15 |
| → Gonzo joined | 18:15 |
| → scorphus joined | 18:17 |
| ← mechanicalduck left | 18:19 |
| → uidzer0 joined | 18:19 |
| ← evjsli left | 18:19 |
| → mfulz joined | 18:19 |
| → mechanicalduck joined | 18:20 |
| ← mfulz left | 18:21 |
| ← johnbenz_ left | 18:22 |
| → bddy joined | 18:22 |
| → maxmanders joined | 18:22 |
| → tatsuya_o joined | 18:23 |
| ← ffio left | 18:23 |
| ← umib0zu left | 18:23 |
| → sferry joined | 18:23 |
| ← sferry left | 18:23 |
| → sferry joined | 18:23 |
|
gkatsev
| is there a way undo a rebase? Or should I just create a new branch and cherry-pick the commit range? | 18:24 |
| → AWinterman joined | 18:24 |
|
grawity
| you can always `git reset --hard` to the last-good commit | 18:25 |
|
| (which you can find in `git reflog` and/or `git reflog <branchname>`) | 18:25 |
|
| old commits that aren't part of history still remain available locally for a few weeks. | 18:26 |
| → johnbenz_ joined | 18:26 |
|
gkatsev
| so, basically reset --hard to where I last branched/rebased and then re-rebase? | 18:27 |
| → Guest__ joined | 18:28 |
| → Ngt joined | 18:28 |
|
grawity
| you asked how to undo a rebase; the answer is `git reset --hard` to the commit that you want to return to | 18:29 |
| ← AWinterman left | 18:29 |
| ← mechanicalduck left | 18:30 |
| ← danicampa901 left | 18:30 |
| → ozette joined | 18:31 |
| ← maxmanders left | 18:31 |
| → kerrick joined | 18:32 |
| → kesha joined | 18:33 |
| ← mdhopkins left | 18:34 |
| → rabellamy joined | 18:34 |
| → umib0zu joined | 18:35 |
| → ErKa joined | 18:35 |
| → SebanK joined | 18:37 |
|
AnomalusUndrdog
| I can't seem to make git subtree pushes anymore. it says "Updates were rejected because the tip of your current branch is behind its remote counterpart. Merge the remote changes (e.g. 'git pull') before pushing again." | 18:37 |
|
| I don't get that in the context of subtrees | 18:37 |
|
| is it because I moved my subtree's path within my repo? | 18:38 |
| → daanavitch joined | 18:38 |
| ← cballenar left | 18:38 |
| ← guest96 left | 18:39 |
|
SamB
| that seems to have nothing to do with subtrees and everything to do with some entity having pushed something to the same branch | 18:39 |
| → Dreamer3 joined | 18:40 |
| ← melee left | 18:40 |
| ← troker left | 18:41 |
| → melee joined | 18:41 |
| ← kerrick left | 18:41 |
| → cballenar joined | 18:41 |
| → troker joined | 18:42 |
| ← troker left | 18:43 |
| → kerrick joined | 18:43 |
| → sq-one joined | 18:43 |
| → maxmanders joined | 18:43 |
| → mfulz joined | 18:44 |
| ← maxmanders left | 18:45 |
| ← Sigma left | 18:46 |
| ← LuxuryMode left | 18:47 |
| → alexander__b joined | 18:49 |
| → creese joined | 18:49 |
| ← alexander__b left | 18:50 |
| → alexander__b joined | 18:50 |
| → SHyx0rmZ joined | 18:51 |
| → evjsli joined | 18:51 |
|
creese
| I have a merge conflict I don't understand... "CONFLICT (rename/delete): some_file delete in master and renamed in HEAD. Version HEAD of some__file left in tree." What does this mean? The file moved? | 18:52 |
| ← PaulCapestany left | 18:52 |
| → v0n joined | 18:52 |
| → Sam_OTnosc joined | 18:52 |
| → CodeShark joined | 18:53 |
| → troker joined | 18:53 |
| → gusnan joined | 18:54 |
| → AWinterman joined | 18:54 |
| → PaulCapestany joined | 18:54 |
| ← kerrick left | 18:54 |
| zz_michael_mbp → michael_mbp | 18:54 |
| → AWinterm_ joined | 18:57 |
| ← AWinterman left | 18:57 |
| → normanrichards joined | 18:58 |
| ← tatsuya_o left | 18:58 |
| → RonScagz joined | 18:58 |
|
cbreak
| creese: that means the branch deleted the file, you moved the file | 18:58 |
|
| creese: and git doesn't know who's changes to use | 18:58 |
|
SebanK
| creese: My guess: It got deleted in master, but renamed/moved in HEAD (your current branch). Therefore it conflicts and you have to choose what to do with it | 18:59 |
| → tatsuya_o joined | 18:59 |
| → Sigma joined | 18:59 |
|
SebanK
| damn i'm slow | 18:59 |
| → LuxuryMode joined | 18:59 |
| ← evjsli left | 18:59 |
| ← sniffells left | 18:59 |
| ← troker left | 19:00 |
| ← matteo left | 19:00 |
| ← spaceonline left | 19:00 |
| ← SHyx0rmZ left | 19:00 |
| → eightyeight joined | 19:00 |
| → SHyx0rmZ joined | 19:01 |
| → chuckharmston joined | 19:01 |
| → Irish` joined | 19:01 |
| ← AWinterm_ left | 19:02 |
| → nbouscal joined | 19:02 |
| → russt joined | 19:03 |
| → spaceonline joined | 19:04 |
| → ldh joined | 19:04 |
| ← mishok13 left | 19:04 |
|
creese
| we resolved with a git checkout --ours <wildcard match> | 19:05 |
|
| sound right? | 19:05 |
| ← IrishPrime left | 19:05 |
| → ffio joined | 19:05 |
| ← RonScagz left | 19:05 |
| → mattcen joined | 19:07 |
| ← TomyLobo left | 19:07 |
|
cbreak
| no | 19:09 |
|
| sounds dumb :) | 19:09 |
|
| why do you merge if you throw away everything? | 19:09 |
| ← mmlac-bv left | 19:10 |
| ← ozette left | 19:11 |
| ← Christi123 left | 19:11 |
| → Christi123 joined | 19:11 |
| → evjsli joined | 19:12 |
| ← aldodelgado left | 19:12 |
| dwmw2_gone → dwmw2 | 19:12 |
| michael_mbp → zz_michael_mbp | 19:13 |
|
creese
| the wildcard matches all the files in a certain directory | 19:13 |
| → kesha_ joined | 19:13 |
| ← Bluec left | 19:13 |
|
creese
| there were about 50 of them, we could add them one by one ... | 19:13 |
| ← kesha left | 19:13 |
| ← devoldmx left | 19:14 |
|
cbreak
| creese: use git add, not git checkout | 19:15 |
| → simesy joined | 19:15 |
| → CheckDavid joined | 19:15 |
| → Xiti joined | 19:16 |
|
ojacobson
| conflict resolution by throwing away one side of a merge entirely is pretty unusual | 19:16 |
| ← Christi123 left | 19:16 |
|
ojacobson
| if you really did want to throw away the incoming changes for that part of a merge, then yes, git checkout --ours will do that, though keep in mind that globs are expanded by your shell, not by git | 19:16 |
| → enr joined | 19:17 |
| → cenuij joined | 19:19 |
| ← cenuij left | 19:19 |
| → cenuij joined | 19:19 |
| ← voila left | 19:19 |
| → joebobjoe joined | 19:19 |
| ← simesy left | 19:20 |
| ← secondjeff left | 19:20 |
| ← tdm00 left | 19:22 |
| → pandeiro joined | 19:22 |
| ← ffio left | 19:22 |
| → kerrick joined | 19:22 |
| ← paul424 left | 19:23 |
| ← DolphinDream left | 19:23 |
| → DolphinDream joined | 19:23 |
| → petter joined | 19:23 |
| ← Guest__ left | 19:23 |
| → voila joined | 19:24 |
| ← maslowbeer left | 19:24 |
| → DolpheenDream joined | 19:24 |
| ← uidzer0 left | 19:24 |
| ← DolphinDream left | 19:25 |
| ← DolpheenDream left | 19:25 |
| → dijonyummy joined | 19:25 |
| → DolphinDream joined | 19:25 |
|
creese
| cbreak: I used git checkout, then git add | 19:25 |
|
cbreak
| forget about checkout | 19:26 |
|
Ngt
| do you usually put a drupal database dump when you push your on git? As a lot of information is stored in the Drupal database. | 19:26 |
|
| your work* | 19:26 |
|
cbreak
| Ngt: no. Databases are not part of source code | 19:26 |
|
creese
| how would you do the equivalent of git add --ours? | 19:26 |
|
cbreak
| they are completely worthless for a program | 19:26 |
| ← ErKa left | 19:26 |
|
cbreak
| since it must be able to create such things on its own | 19:27 |
|
| Ngt: see !config | 19:27 |
|
gitinfo
| Ngt: [!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 | 19:27 |
|
Ngt
| cbreak: so you use module like Features to export your work? | 19:27 |
|
cbreak
| creese: you don't need --ours | 19:27 |
|
| Ngt: what? | 19:27 |
| → irqq joined | 19:27 |
|
cbreak
| I commit my work of course | 19:27 |
| → mdhopkins joined | 19:28 |
| ← cballenar left | 19:28 |
|
cbreak
| Ngt: would you commit images in the repository of photoshop? Or mp3 in the repository for VLC? | 19:28 |
| → tdm00 joined | 19:28 |
| → konundra joined | 19:29 |
|
Ngt
| cbreak: when you use Drupal pretty much everything's is stored in your local database. There are no real source code like when you write your own PHP/HTML files to make a website | 19:29 |
| → private joined | 19:29 |
|
cbreak
| doesn't sound like you could store that in git | 19:29 |
| ← petter left | 19:29 |
| → Christi123 joined | 19:29 |
|
Ngt
| cbreak: so if you want to share your work with your co-workers then you have to make it into files to be able to share them | 19:30 |
|
cbreak
| git is not for sharing | 19:30 |
|
| git is for history management | 19:30 |
| → mecool joined | 19:30 |
|
cbreak
| that only works with human edited files on text basis well | 19:30 |
| → MacGyver joined | 19:30 |
| ← MacGyver left | 19:30 |
| → MacGyver joined | 19:30 |
|
cbreak
| everything else is very hard to merge | 19:30 |
|
| probably impossible | 19:30 |
|
| and the diffs are worthless in most cases when computer generation is involved | 19:31 |
|
Ngt
| cbreak: yeah but it allows other people to work with you as well right? | 19:31 |
|
creese
| cbreak: so I should just add or rm the file that is removed | 19:31 |
| → AWinterman joined | 19:31 |
| → devoldmx joined | 19:31 |
|
cbreak
| add it if you want to keep the rename, rm it if you want to keep the delete | 19:32 |
|
creese
| thanks | 19:32 |
| ← Sigma left | 19:32 |
| → koda joined | 19:32 |
| → RonScagz joined | 19:34 |
| → rickruby joined | 19:35 |
| ← ryanjh left | 19:35 |
| ← creese left | 19:35 |
| → ryanjh joined | 19:36 |
| → secondjeff joined | 19:38 |
| ← daanavitch left | 19:38 |
| ← harish left | 19:38 |
| → harish joined | 19:38 |
| ← devoldmx left | 19:39 |
| ← rabellamy left | 19:39 |
| → gmac joined | 19:40 |
| → s00pcan joined | 19:40 |
| ← paolooo left | 19:41 |
| → mmlac-bv joined | 19:42 |
| ← rickruby left | 19:43 |
| → devoldmx joined | 19:43 |
| → whoami joined | 19:44 |
| → enr_ joined | 19:44 |
| → rabellamy joined | 19:45 |
| → stephCoue joined | 19:45 |
| → ddv joined | 19:46 |
| ← stephCoue left | 19:48 |
| ← dhruvasagar left | 19:49 |
| ← RonScagz left | 19:49 |
| ← enr_ left | 19:49 |
| ← axl_ left | 19:51 |
| → dustinm joined | 19:51 |
| ← rabellamy left | 19:52 |
| → axl_ joined | 19:52 |
|
voila
| I have many files in stage .. some are modified and some are new , some are deleted .. How can I stage them all together? | 19:52 |
| → mklappstuhl joined | 19:53 |
| ← Irish` left | 19:53 |
| ← Christi123 left | 19:53 |
| → uidzer0 joined | 19:54 |
| → Christi123 joined | 19:54 |
| → CatYak joined | 19:54 |
| → groglogic joined | 19:55 |
|
gkatsev
| can I cherry-pick a range of commits? i.e. would `git cherry-pick foo..bar` pick all the commits from foo to bar? | 19:56 |
| ← joebobjoe left | 19:57 |
| ← kerrick left | 19:58 |
| → alvaro_o joined | 19:58 |
| ← evjsli left | 19:58 |
| ← tplaner left | 19:59 |
| → evjsli joined | 20:00 |
| ← rpg left | 20:00 |
| ← tdm00 left | 20:01 |
| → ffio joined | 20:01 |
| ← mklappstuhl left | 20:01 |
| ← acharlieh left | 20:02 |
| → oojacoboo joined | 20:04 |
| → pantsman joined | 20:04 |
| ← a-l-e left | 20:04 |
| ← pandeiro left | 20:04 |
| ← johnbenz_ left | 20:04 |
| ← evjsli left | 20:04 |
| ← lavaman left | 20:04 |
| ← zmike123 left | 20:05 |
| ← breck7 left | 20:05 |
| ← normanrichards left | 20:05 |
| → normanrichards joined | 20:05 |
| → mklappstuhl joined | 20:07 |
| → lavaman joined | 20:07 |
| → troulouliou_dev joined | 20:07 |
| → chrob joined | 20:07 |
| → insejn_ joined | 20:08 |
|
troulouliou_dev
| hi i would like to maintain a fork of an active project ; make some changes on the fork while keeping it up to date with the upstream/master | 20:08 |
|
| all i have to do is to merge/resolve conflict the upstream/master ? | 20:08 |
| → swair joined | 20:10 |
| ← LuxuryMode left | 20:10 |
| insejn_ → insejn | 20:10 |
|
gkatsev
| yeah | 20:10 |
| → tplaner joined | 20:11 |
| ← Ngt left | 20:12 |
| → Ngt joined | 20:12 |
| → cjz joined | 20:13 |
| ← ffio left | 20:14 |
| → paul424 joined | 20:14 |
| → nj3ma joined | 20:15 |
| ← rfoust left | 20:15 |
| → simesy joined | 20:15 |
| ← Thra11 left | 20:16 |
| ← ryanjh left | 20:16 |
| ← jordanm left | 20:16 |
| → benbloom joined | 20:17 |
| ← CheckDavid left | 20:18 |
| → CheckDavid joined | 20:18 |
| ← mklappstuhl left | 20:19 |
|
Marquisk2
| If you're using git checkout other-branch filename, does it remove it from the other branch or share the file between them? | 20:19 |
| ← simesy left | 20:20 |
| → mklappstuhl joined | 20:20 |
| → drasko joined | 20:21 |
|
ojacobson
| neither | 20:22 |
|
| it stages the file, as it exists in other-branch, on the current branch, and writes it to the work tree | 20:22 |
|
troulouliou_dev
| gkatsev, ok | 20:22 |
|
ojacobson
| effectively copying it from the other branch to (a) the work tree (b) the staging area | 20:22 |
|
drasko
| hi all, I have pulled with --rebase and have conflits on files I removed. How to resolve this? | 20:22 |
| ← dc5ala left | 20:23 |
| → Etheco- joined | 20:24 |
| → epicowl joined | 20:24 |
| ← nj3ma left | 20:24 |
| → devoldmx3 joined | 20:24 |
|
epicowl
| hello, I am wondering how to get all remote branches from a repo Im working on into my local machine? the remote is set up but all I see is master branch and running git pull origin master (or git fetch, git fetch --all) doesn't show the remote branches... | 20:25 |
| ← oojacoboo left | 20:25 |
| → rpg joined | 20:25 |
|
tango_
| epicowl: git branch -a will also show remote branches | 20:26 |
| ← sferry left | 20:26 |
|
tango_
| to check them out, git checkout localname origin/remotename | 20:26 |
|
| ehm git checkout -b | 20:26 |
|
| git checkout -b localname origin/remotename | 20:26 |
| ← Christi123 left | 20:26 |
| → mklappst_ joined | 20:27 |
|
epicowl
| tango: ah thank you! | 20:27 |
| ← mklappstuhl left | 20:27 |
| ← devoldmx left | 20:28 |
| → oojacoboo joined | 20:28 |
| ← Etheco left | 20:28 |
| → SinnerNyx joined | 20:28 |
| ← ojacobson left | 20:29 |
| ← sq-one left | 20:30 |
| → p3lim joined | 20:32 |
| → breck7 joined | 20:32 |
| ← freeed left | 20:32 |
| ← swair left | 20:34 |
| → Jim_Lahey joined | 20:36 |
| ← gusnan left | 20:36 |
| Jim_Lahey → Guest49357 | 20:36 |
| ← Guest49357 left | 20:37 |
| ← geekbri left | 20:38 |
| ← mdhopkins left | 20:38 |
| → mechanicalduck joined | 20:39 |
| → mdhopkins joined | 20:39 |
| → acharlieh joined | 20:40 |
| ← CatYak left | 20:40 |
| → malkomalko joined | 20:40 |
| → rfoust joined | 20:41 |
| ← rpg left | 20:41 |
| ← zerorez left | 20:42 |
| ← irqq left | 20:44 |
| → Cassiel joined | 20:44 |
| → valgrind joined | 20:45 |
| → happyg0pher joined | 20:45 |
| → enr_ joined | 20:45 |
| ← TeckniX left | 20:45 |
|
wcwrel
| can i set a title or description for a branch so i can always see it when i do "git branch" ? | 20:46 |
| → maslowbeer joined | 20:46 |
| → eijk joined | 20:46 |
| ← helpD left | 20:46 |
| ← TheBrainWork left | 20:47 |
| → byprdct joined | 20:49 |
| ← byprdct left | 20:49 |
| → byprdct joined | 20:49 |
| ← enr_ left | 20:49 |
| → joelpittet joined | 20:50 |
| ← Davey left | 20:50 |
| Guest66630 → Spyro | 20:51 |
| ← Spyro left | 20:51 |
| → Spyro joined | 20:51 |
| → psoo joined | 20:51 |
| → nathancahill joined | 20:51 |
| → cigarshark joined | 20:52 |
|
TMO
| git branch --edit-description ? | 20:53 |
| → gldn joined | 20:56 |
| ← p0wn3d left | 20:56 |
| ← spaceonline left | 20:56 |
| → sniffells joined | 20:57 |
| → kerrick joined | 20:57 |
| ← trungqtran left | 20:59 |
| → kcj joined | 20:59 |
| → SneakySnake joined | 20:59 |
| ← Ngt left | 21:00 |
| → trungqtran joined | 21:00 |
| ← zhost left | 21:00 |
| ← voila left | 21:01 |
| ← nicholasruunu left | 21:01 |
| ← api left | 21:01 |
| → blami joined | 21:01 |
| → jordanm joined | 21:01 |
| ← DolphinDream left | 21:01 |
| ← breakingthings left | 21:02 |
| ← schemanic left | 21:02 |
| ← kerrick left | 21:03 |
| ← ClamShell left | 21:04 |
| → goddard joined | 21:04 |
|
goddard
| hey if i have a file set in my .gitignore i can do a git add folder/* and it wont add that file if its in that folder correct? | 21:04 |
|
m0viefreak
| yes | 21:05 |
|
| no wait | 21:05 |
| ← AaronMT left | 21:06 |
|
m0viefreak
| if you do "git add folder/*" , the * is expanded by your shell, so you are passing the ignored filename literally to git add | 21:07 |
|
| in this case git will warn you | 21:07 |
|
| if you do "git add folder", it will just add the not-ignored ones | 21:07 |
|
goddard
| m0viefreak: hmm interesting | 21:08 |
| ← kesha_ left | 21:09 |
| → devoldmx joined | 21:09 |
| ← devoldmx3 left | 21:09 |
| ← kaldrenon left | 21:11 |
| → shuaib joined | 21:12 |
| → lresende joined | 21:12 |
| ← konundra left | 21:14 |
| ← devoldmx left | 21:14 |
| → kit joined | 21:15 |
| ← happyg0pher left | 21:17 |
| ← jkremser|bbl left | 21:17 |
| → johnbenz_ joined | 21:19 |
| ← johnbenz_ left | 21:19 |
| → paulweb515_1 joined | 21:19 |
| ← paulweb515_ left | 21:20 |
| → devoldmx joined | 21:20 |
| ← howlymowly left | 21:20 |
| ← gldn left | 21:21 |
| ← ldh left | 21:21 |
| ← SneakySnake left | 21:22 |
| ← Anders_J left | 21:22 |
| → mishok13 joined | 21:23 |
| ← groglogic left | 21:23 |
| ← mechanicalduck left | 21:24 |
| → kerrick joined | 21:25 |
| ← scampbell left | 21:27 |
| ← donmichelangelo left | 21:30 |
| ← eugenejen left | 21:30 |
| → donmichelangelo joined | 21:31 |
| ← r04r left | 21:33 |
|
goddard
| m0viefreak: thanks | 21:33 |
|
| m0viefreak: i like movies as well | 21:33 |
| → amjam joined | 21:34 |
| ← troulouliou_dev left | 21:35 |
| ← dougsland left | 21:37 |
| ← Dougie187 left | 21:37 |
| ← amjam left | 21:38 |
| ← macabre left | 21:39 |
| → fridim_ joined | 21:40 |
|
zachrab
| how can I check which branch I branched off of? | 21:41 |
| → nicedice joined | 21:42 |
| ← chuckharmston left | 21:43 |
| → ryanhirsch joined | 21:43 |
|
offby1
| zachrab: run "gitk --all" and eyeball it | 21:43 |
| ← mike_af left | 21:43 |
|
cbreak
| you can run git merge-base between your branch and all others | 21:44 |
|
| and just take the one with the closest base | 21:44 |
| ← tplaner left | 21:44 |
| → danicampa901 joined | 21:44 |
| → FernandoBasso joined | 21:44 |
|
offby1
| heh | 21:45 |
|
| cbreak: that's the job-interview-question answer :) | 21:45 |
| ← drasko left | 21:45 |
| → ClamShell joined | 21:45 |
| ← ClamShell left | 21:45 |
| → ClamShell joined | 21:45 |
| → enr_ joined | 21:45 |
| ← p1ng left | 21:47 |
| → setmeaway joined | 21:47 |
| → tplaner joined | 21:47 |
| ← enr_ left | 21:48 |
| ← valgrind left | 21:48 |
| → r04r|away joined | 21:49 |
| ← epicowl left | 21:50 |
| ← lresende left | 21:51 |
| ← bddy left | 21:51 |
| ← nicedice left | 21:52 |
| → nicedice joined | 21:52 |
| → lresende joined | 21:52 |
| ← mishok13 left | 21:52 |
| ← lresende left | 21:53 |
| ← mmitchell left | 21:55 |
| → endiruna joined | 21:58 |
| ← tplaner left | 21:59 |
| → lresende joined | 21:59 |
| r04r|away → r04r | 22:00 |
| → simon_weber joined | 22:01 |
|
simon_weber
| I'm forced into using git to deploy an app binary -- I know it's a bad idea. I'd like to not keep revisions of the binary around. Anyone have suggestions? | 22:02 |
|
| I'm thinking of something like filter-branch in a post-commit hook | 22:03 |
|
offby1
| yow | 22:05 |
|
| might | 22:05 |
|
| might be easier to just keep the revisions around :-| | 22:05 |
| ← lavaman left | 22:05 |
| ← jerius left | 22:05 |
|
cbreak
| simon_weber: use a separate repository | 22:06 |
| ← shuaib left | 22:06 |
|
cbreak
| a submodule | 22:06 |
|
simon_weber
| cbreak: what advantages does that have? | 22:06 |
| ← lresende left | 22:07 |
| ← axl_ left | 22:07 |
|
cbreak
| the bloat is separate | 22:07 |
| ← kit left | 22:07 |
|
simon_weber
| hah, fair enough | 22:07 |
| ← natechan left | 22:07 |
|
simon_weber
| I suppose if it's a real pain I'll just manually prune it when/if things get ridiculous | 22:08 |
|
cbreak
| you know about git annex? | 22:08 |
|
simon_weber
| oh, yes; good idea | 22:08 |
| ← dijonyummy left | 22:09 |
|
osse
| wouldn't filter-branch in a hook make the repo worthless? | 22:09 |
| ← acharlieh left | 22:10 |
| paulweb515_1 → paulweb515_ | 22:10 |
| ← paulweb515_ left | 22:10 |
| → paulweb515_ joined | 22:10 |
|
simon_weber
| osse: I'd do something similar to this: http://stackoverflow.com/questions/930612/git-remove-oldest-revisions-of-a-file | 22:10 |
|
cbreak
| you could forget about history | 22:10 |
| → acharlieh joined | 22:10 |
|
cbreak
| and commit new orphan branches every time :) | 22:10 |
| ← normanrichards left | 22:10 |
|
simon_weber
| hah | 22:10 |
| ← Destos left | 22:11 |
|
simon_weber
| I don't suppose there's something like "track this file without saving revisions", is there? | 22:11 |
|
sonOfRa
| Who is forcing you anyways? | 22:11 |
| ← mfulz left | 22:11 |
|
sonOfRa
| And why is it not an option to do it otherwise? | 22:11 |
|
cbreak
| simon_weber: you could just commit --amend every time | 22:11 |
| ← Protux left | 22:11 |
| ← FrobinRobin left | 22:12 |
| → Samcio joined | 22:16 |
| ← Sam_OTnosc left | 22:16 |
| ← pantsman left | 22:16 |
| ← paul424 left | 22:18 |
| ← v0n left | 22:18 |
|
wcwrel
| I'm getting a fatal: Unable to create '/..../.git/index.lock': File exists. error, any ideas? | 22:20 |
| → mfulz joined | 22:20 |
| ← psoo left | 22:21 |
| ← trungqtran left | 22:21 |
| ← mfulz left | 22:21 |
| → mfulz joined | 22:21 |
| → Balliad joined | 22:21 |
| → thiago joined | 22:21 |
| ← devoldmx left | 22:22 |
| ← Samcio left | 22:23 |
| → dijonyummy joined | 22:23 |
| → zerorez joined | 22:23 |
| → normanrichards joined | 22:24 |
| → madewokherd joined | 22:24 |
| → trungqtran joined | 22:24 |
| → tplaner joined | 22:24 |
| ← tinti_ left | 22:24 |
| ← dijonyummy left | 22:25 |
| ← tplaner left | 22:25 |
|
offby1
| From a script, what's the best way to see if a working tree has untracked files? "git ls-files --other"? "git status --porcelain"? Something else? | 22:26 |
| ← trungqtran left | 22:26 |
| ← kermit left | 22:26 |
| ← secondjeff left | 22:27 |
| ← rnsanchez left | 22:28 |
| → Rarrikins joined | 22:32 |
| → lavaman joined | 22:34 |
| ← private left | 22:34 |
| → noname001 joined | 22:35 |
| ← grilix left | 22:36 |
| ← whaley left | 22:36 |
| → devoldmx joined | 22:37 |
| → LuxuryMode joined | 22:39 |
| ← acharlieh left | 22:40 |
| ← mastro left | 22:41 |
| ← Balliad left | 22:42 |
| ← drizzd left | 22:43 |
| ← umib0zu left | 22:43 |
| → Wearos joined | 22:44 |
| → tjbiddle joined | 22:44 |
| → dijonyummy joined | 22:44 |
| → v0n joined | 22:45 |
| ← godgodgodgo left | 22:46 |
| ← dijonyummy left | 22:47 |
| → codemac joined | 22:48 |
| → mtk joined | 22:49 |
| → groglogic joined | 22:49 |
| ← hwrd|work left | 22:49 |
|
codemac
| Anyone know how to move a commit before an empty merge, and keep the merge there? like, commitA -> merge commit -> commitB to something like commitA -> commitB -> merge commit? git resolve man page warns me a bunch about doing git rebase -i and -p at the same time, so I'm probably thinking about this incorrectly. | 22:50 |
| ← saintcajetan left | 22:51 |
| ← nathancahill left | 22:51 |
| → hwrd|work joined | 22:52 |
| → rudak joined | 22:53 |
| → chuckharmston joined | 22:53 |
|
codemac
| The ending idea would be to squash commitA and commitB together. | 22:54 |
| ← eijk left | 22:54 |
| → zbcm joined | 22:54 |
| ← noname001 left | 22:56 |
| → jon_r joined | 22:57 |
| ← mfulz left | 22:57 |
| ← mckendricks left | 22:58 |
| ← chuckharmston left | 22:58 |
| ← _iron left | 22:59 |
| ← hwrd|work left | 22:59 |
| → hwrd|work joined | 22:59 |
| ← decotii left | 23:00 |
| ← anonymus_ left | 23:02 |
| → buu joined | 23:03 |
| → mmitchell joined | 23:03 |
| ← devoldmx left | 23:04 |
|
JakeSays
| if i have branches A and B, and i merge A in to B, can i still commit to A? | 23:04 |
| → dijonyummy joined | 23:04 |
| ← mdhopkins left | 23:05 |
| → alainus joined | 23:05 |
| → saintcajetan joined | 23:05 |
|
alainus
| is there a way in git to leave comments for other developpers in the code? (long shot here) | 23:05 |
| → kermit joined | 23:05 |
|
JakeSays
| alainus: not sure how git would help there - if you want comments, just leave comments | 23:06 |
| ← SHyx0rmZ left | 23:06 |
|
osse
| JakeSays: yes | 23:06 |
|
JakeSays
| osse: if that is the case, how would merging A to B be different than cherry picking all the commits in A to B? | 23:08 |
|
frogonwheels
| alainus: what kind of comments are you talking about? | 23:08 |
| ← kermit left | 23:08 |
|
alainus
| frogonwheels, for example: # Is this class the one that's required here? | 23:08 |
| ← mmitchell left | 23:08 |
|
alainus
| I realize that if I use that kind of comments, no one will ever see them | 23:08 |
|
| so adding them to the code like that is not optimal | 23:08 |
|
| I was hoping some kind of way that actually lets devs know about the comments | 23:09 |
|
osse
| JakeSays: cherry picking all commits in A to B is what rebase does in a way | 23:09 |
| → Liir joined | 23:09 |
|
osse
| JakeSays: a merge creates a seperate commit that has two parents: the tips of A and B | 23:09 |
| → mckendricks joined | 23:09 |
|
osse
| JakeSays: so the history will show that two lines of development combined into one | 23:09 |
| → R1KRDO joined | 23:09 |
| ← wong1275 left | 23:10 |
|
alainus
| The reason I'm asking this in #git | 23:10 |
| → kermit joined | 23:10 |
|
alainus
| is that it would be great if upon a merge, git could output these comments to the dev | 23:10 |
|
OMGOMG
| no | 23:10 |
|
| figure it out before committing | 23:10 |
| ← jaequery left | 23:10 |
|
OMGOMG
| and be less likely to get punched in the dick by the other devs | 23:10 |
|
JakeSays
| osse: up until this very moment i thought i understood git :( | 23:10 |
| ← dustinm left | 23:11 |
|
JakeSays
| alainus: those sorts of issues should be raised in a design review | 23:13 |
|
osse
| JakeSays: what do you not understand? | 23:13 |
|
JakeSays
| osse: lets start with rebase | 23:13 |
|
osse
| JakeSays: http://sprunge.us/gGSd | 23:15 |
|
JakeSays
| osse: actually let me ask you this. if i cherry pick A in to B and get 10 conflicts, would the number of conflicts be different if i did a merge instead | 23:15 |
| ← cannonball left | 23:15 |
| → simesy joined | 23:16 |
|
osse
| JakeSays: I don't know. In principle they could be different but I think in most cases they wouldn't. | 23:16 |
|
JakeSays
| osse: yeah thats what i was thinking. | 23:16 |
| ← sgambino left | 23:17 |
|
JakeSays
| i have a dev who is complaining because he had 300 conflicts after doing a cherry pick. he hates cherry picking. | 23:17 |
| → simesy_ joined | 23:17 |
| ← simesy left | 23:17 |
| ← LuxuryMode left | 23:17 |
|
osse
| after doing *one* cherry pick ? | 23:17 |
|
JakeSays
| lol yes | 23:17 |
|
osse
| *one* commit ? | 23:17 |
|
JakeSays
| it was a squash merge of two branches | 23:18 |
|
osse
| then you should merge between the branches more often | 23:18 |
|
JakeSays
| indeed | 23:18 |
|
osse
| keep B up to date on what's going on in A | 23:18 |
|
JakeSays
| i've been preaching that | 23:18 |
|
osse
| but since it was a squash merge I assume he won't like that | 23:18 |
|
JakeSays
| well, it was a release branch. the idea was branch for release, test, merge back to production if needed, then cherry pick any changes back to master | 23:19 |
| ← enr left | 23:19 |
|
JakeSays
| the idea being you only do very minor tweaks if needed | 23:20 |
|
preaction
| don't make changes in the release branch. cherry-pick from master to release | 23:20 |
|
| that's what we do, at least | 23:20 |
|
JakeSays
| but we've been on that release branch for six weeks now | 23:20 |
| ← R1KRDO left | 23:20 |
|
JakeSays
| preaction: that would be my preference | 23:20 |
|
osse
| I thought the custom was to tag releases :S | 23:21 |
|
preaction
| master should be what everyone develops on, cherry-picking commits to the release branch if necessary. otherwise you get problems | 23:21 |
|
JakeSays
| preaction: i totally agree. | 23:21 |
|
| i cant seem to sell it though | 23:21 |
|
preaction
| sure, you tag individual releases, but sometimes you have to have a "stable" release branch | 23:21 |
|
gkatsev
| why cherry-pick as opposed to just merge? | 23:21 |
| ← koda left | 23:21 |
|
preaction
| master contains both new features and bugfixes. only bugfixes go to the release branch | 23:22 |
|
JakeSays
| gkatsev: to only get what you want to release | 23:22 |
|
osse
| wouldn't it be better to do the bugfix on the release branch and then cherry-pick it from there if it is still relevant? | 23:22 |
| → griotspeak joined | 23:22 |
|
preaction
| JakeSays: i would think it sells itself, considering this problem | 23:22 |
|
JakeSays
| preaction: yup | 23:23 |
|
gkatsev
| osse: well, that's for hotfixes only, no? | 23:23 |
|
osse
| or: what do you do if you have a bug that isn't present in the current code anymore, but only in the release branch? | 23:23 |
|
JakeSays
| osse: well, that would work too, if you have the right devs. | 23:23 |
|
osse
| gkatsev: yes | 23:23 |
|
preaction
| if you have a bug that isn't present in master, you don't need to cherry-pick it anywhere | 23:23 |
| ← threesome left | 23:23 |
| ← joelpittet left | 23:23 |
|
JakeSays
| osse: in that case i'd patch the release branch and not pick it to master | 23:23 |
|
osse
| preaction: but you will have to commit directly on the release branch then. That seems to go against what you're saying | 23:24 |
|
| JakeSays: sure you need the right devs. There is no such thing as git-nanny :P | 23:24 |
|
preaction
| osse: i'm not writing laws in stone here | 23:24 |
|
JakeSays
| osse: yeah :( i'm to the point of suggesting we move to TFS. | 23:24 |
|
osse
| JakeSays: you could quit | 23:25 |
|
preaction
| i've had more problems with doing changes on the release branch and cherry-picking to master than i have doing them on master and cherry-picking to release. i realize that the plural of anecdote is not data | 23:25 |
|
osse
| I see | 23:25 |
|
JakeSays
| osse: that is an option, but i'd rather replace the other devs first | 23:25 |
|
osse
| It just seems reasonable to me that if you're doing something that is at all relevant to a release branch you should do it directly there. | 23:25 |
|
gkatsev
| well, usually when we're releasing we want whatever is on master, so we just merge. I guess it makes sense to cherry pick if we only want a specific item | 23:25 |
|
preaction
| honestly, i hate cherry-pick, and i hate the necessity for it. it does bad things | 23:26 |
| → grilix joined | 23:26 |
| ← stamina left | 23:26 |
|
preaction
| i've spent way too much time cleaning up after cherry-picks + merges | 23:26 |
|
osse
| I don't see how a cherry-picked commit could do any damage to a subsequent merge | 23:27 |
| ← griotspeak left | 23:27 |
| ← s00pcan left | 23:27 |
|
preaction
| when the cherry-pick conflicts, the subsequent merge will conflict. multiply by dozens of cherry-picks and create a messy messy repository | 23:28 |
|
| which is why i had to make the guideline: always go from master to release, never the reverse | 23:29 |
|
JakeSays
| so the idea of a rebase is to bring a feature branch up to date with master? (or a child branch up to date with its parent) | 23:30 |
| ← rudak left | 23:30 |
| → cannonball joined | 23:30 |
| ← groglogic left | 23:32 |
|
osse
| preaction: if hadn't cherry-picked wouldn't you get a merge conflict anyway? | 23:32 |
|
| JakeSays: yes | 23:32 |
|
| JakeSays: you're basically moving it to the front, so to speak | 23:33 |
|
JakeSays
| so thats how you would keep your feature branch up to date then | 23:33 |
|
| rebase daily, etc | 23:33 |
|
osse
| many people work that way, yep | 23:33 |
| ← lavaman left | 23:33 |
|
JakeSays
| that makes sense | 23:34 |
| ← normanrichards left | 23:36 |
| ← uidzer0 left | 23:37 |
| ← pitzips left | 23:38 |
| ← catcher left | 23:40 |
| ← saintcajetan left | 23:40 |
| → Kvothe joined | 23:42 |
| → troker joined | 23:42 |
| ← Kvothe left | 23:42 |
| → Cromulent joined | 23:42 |
| → Kvothe joined | 23:43 |
| ← SebanK left | 23:43 |
| → s00pcan joined | 23:44 |
| → relipse joined | 23:44 |
| → KernelPanicMK2 joined | 23:45 |
| ← Gonzo left | 23:46 |
| → VoidAtValhalla joined | 23:47 |
| → epicowl joined | 23:47 |
| → enr joined | 23:47 |
| ← chrob left | 23:50 |
| → spaceonline joined | 23:50 |
| → uidzer0 joined | 23:50 |
|
buu
| Help! I did a git pull, got a merge conflict, stupidly did git rm $file; and now I'd like the file back. git checkout $file; says "$file is not known to git" | 23:51 |
| ← Etheco- left | 23:51 |
| ← enr left | 23:52 |
|
buu
| Any suggestions? | 23:52 |
|
| I haven't yet committed the merge | 23:52 |
| → emergion joined | 23:52 |
| → w0ng joined | 23:53 |
| → Etheco joined | 23:54 |
| ← cjz left | 23:54 |
|
offby1
| buu: it might still be in the index. | 23:55 |
| → stliu joined | 23:55 |
|
offby1
| there's some weird syntax for pulling the various bits of a conflicted merge out of the index. I don't remember what it is, but I'm sure the man pages do ... | 23:56 |
| → jalama joined | 23:56 |
| ← epicowl left | 23:57 |
| ← Liir left | 23:57 |
| ← BJfreeman left | 23:57 |
| ← hahuang65 left | 23:58 |
| ← Milossh left | 23:59 |
| ← zerorez left | 23:59 |