| 2015-05-05 |
| ← whitby left | 00:00 |
| ← apurcell left | 00:00 |
| ← Ryanar left | 00:01 |
| ← cdown_ left | 00:01 |
| → modocache joined | 00:02 |
| ← SimonNa left | 00:02 |
| ← Impaloo left | 00:02 |
| → cdown joined | 00:03 |
| → Sonicbit joined | 00:04 |
| → e^0_ joined | 00:04 |
| → vgarg joined | 00:04 |
| ← beaconwriter left | 00:04 |
| ← Joseph__Silber left | 00:04 |
| ← vgarg left | 00:04 |
| ← sgen_ left | 00:05 |
| → dstarh joined | 00:06 |
| → ixjlyons joined | 00:06 |
| ← m0ltar left | 00:06 |
| ← modocache left | 00:06 |
| ← dstarh left | 00:07 |
| ← f3lp left | 00:07 |
| ← akiva left | 00:08 |
| ← robustus left | 00:08 |
| ← micechal_ left | 00:08 |
| ← baweaver left | 00:09 |
| ← jgardella left | 00:10 |
| ← mjuszczak left | 00:10 |
| → Impaloo joined | 00:10 |
| ← devoldmx left | 00:11 |
| → robustus joined | 00:11 |
| → duderonomy joined | 00:12 |
| AMERICAN_PSYCHO → AMERICA__ | 00:12 |
| ← Akagi201 left | 00:12 |
| → otter768 joined | 00:13 |
| → devoldmx joined | 00:13 |
| → baweaver joined | 00:13 |
| → ashokraj_ joined | 00:14 |
| → rcn joined | 00:15 |
| → jason237 joined | 00:15 |
| ← mizu_no_oto left | 00:15 |
| → sohail joined | 00:15 |
| ← FreezingCold left | 00:16 |
| ← PeterBooker left | 00:16 |
| ← stantonk left | 00:16 |
| → ErKa joined | 00:17 |
| ← otter768 left | 00:17 |
| ← ashokrajar left | 00:17 |
| ← MattMake_ left | 00:18 |
| ← EvilPenguin left | 00:18 |
|
Gianormagantrous
| Am I correct to assume that this http://www.git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server does give a user (given that said user has his public key in the user git authorized_keys file) access to every git repository that the user git has access to? | 00:19 |
| → Ryanar joined | 00:20 |
| → DerisiveLogic joined | 00:21 |
| → treehug88 joined | 00:21 |
| ← DerisiveLogic left | 00:21 |
| → DerisiveLogic joined | 00:21 |
|
Gianormagantrous
| With the authorisation schema presented in this tutorial, is every project bound to have a different unix user (git-shell bound)? | 00:22 |
| ← s8321414 left | 00:22 |
| ← devoldmx left | 00:22 |
| → f3lp joined | 00:22 |
| ← cdown left | 00:22 |
| ← r00tWearsRedHats left | 00:23 |
| → cdown joined | 00:23 |
| → MattMaker joined | 00:23 |
| → devoldmx joined | 00:24 |
| ← EminenceHC left | 00:25 |
| → r00tWearsRedHats joined | 00:25 |
| ← dsantiago left | 00:26 |
| ← rubyonr__ left | 00:26 |
| ← nottombrown left | 00:26 |
| ← dreiss left | 00:26 |
| ← cdown left | 00:28 |
| → nottombrown joined | 00:29 |
| → geomyidae_ joined | 00:29 |
| → zequence joined | 00:29 |
| ← AMERICA__ left | 00:30 |
| ← Quevin left | 00:30 |
| ← diegoviola left | 00:34 |
| → nottombr_ joined | 00:34 |
| ← nottombrown left | 00:34 |
| → mizu_no_oto joined | 00:35 |
| ← ashokraj_ left | 00:35 |
| ← bollullera left | 00:35 |
| → ashokrajar joined | 00:35 |
| → devoldmx3 joined | 00:38 |
| ← harish left | 00:38 |
| ← yqt left | 00:39 |
| → trang joined | 00:40 |
| ← ewong left | 00:41 |
| ← devoldmx left | 00:41 |
| ← gsingh93 left | 00:42 |
| → ewong joined | 00:44 |
| → soul11201 joined | 00:45 |
| → chrisgeorge joined | 00:45 |
| ← AaronMT_ left | 00:46 |
| ← cagedwisdom left | 00:47 |
| ← treehug88 left | 00:47 |
| ← nottombr_ left | 00:47 |
| ← mostlybadfly left | 00:48 |
| ← soul11201 left | 00:50 |
| → clarkpan joined | 00:51 |
| → ahr3n joined | 00:51 |
| ← clarkpan left | 00:53 |
| ← devoldmx3 left | 00:54 |
| → devoldmx joined | 00:55 |
| ← StuartMI left | 00:55 |
| → clarkpan joined | 00:56 |
| ← Sonicbit left | 00:56 |
| ← denete_ left | 00:57 |
| ← baweaver left | 00:57 |
| ← rcn left | 00:57 |
| → JosephSilber joined | 00:58 |
| ← Syzik left | 00:58 |
| ← JosephSilber left | 00:58 |
| → JosephSilber joined | 00:59 |
| → cagedwisdom joined | 00:59 |
| ← devoldmx left | 01:00 |
| ← Sasazuka left | 01:01 |
| → modocache joined | 01:02 |
| → oojacoboo joined | 01:05 |
| ← mikiones left | 01:05 |
| ← Vampire0 left | 01:05 |
| ← duderonomy left | 01:05 |
| → diegoviola joined | 01:06 |
| → dsantiago joined | 01:06 |
| → mikiones joined | 01:06 |
| → baweaver joined | 01:06 |
| → watabou joined | 01:07 |
| ← modocache left | 01:07 |
| → weiyang joined | 01:07 |
| → Vampire0 joined | 01:08 |
| ← hypera1r left | 01:09 |
| → devoldmx joined | 01:09 |
| → gsingh93 joined | 01:10 |
| → hyperair joined | 01:10 |
| ← mikiones left | 01:10 |
| ← tvw left | 01:12 |
| → Jelmer_ joined | 01:14 |
| → Akagi201 joined | 01:14 |
| → hahuang65 joined | 01:15 |
| → rubyonrailed joined | 01:15 |
| ← Wulf left | 01:19 |
| ← jokester left | 01:20 |
|
e^0_
| what are context lines in context diff ? | 01:22 |
| → skorgon joined | 01:23 |
|
deltab
| lines that aren't changed but help recognise where the changes fit in | 01:23 |
| ← excelsiora left | 01:24 |
| → edude03 joined | 01:25 |
|
e^0_
| deltab: ok so unchanged lines are known as context lines .. | 01:25 |
| → cppking joined | 01:25 |
| → mjuszczak joined | 01:26 |
|
deltab
| right | 01:26 |
|
| they're the ones that start with a space rather than + or - or @ | 01:27 |
| → stantonk joined | 01:27 |
| → denete joined | 01:27 |
| → EminenceHC joined | 01:27 |
| → m0ltar joined | 01:27 |
| → bb010g joined | 01:28 |
| gitinfo set mode: +v | 01:28 |
| ← rubyonrailed left | 01:29 |
| → hackel joined | 01:29 |
| ← ashokrajar left | 01:30 |
|
cppking
| hello guys , what's the appropriate way to add post-receive hook into a repo, just go to bare repo and modify it? | 01:30 |
| → linuxboytoo joined | 01:30 |
| ← daedeloth left | 01:31 |
| → devoldmx3 joined | 01:32 |
| ← EminenceHC left | 01:32 |
| → jokester joined | 01:32 |
| ← stantonk left | 01:32 |
| ← denete left | 01:33 |
| ← CheckDavid left | 01:34 |
| ← devoldmx left | 01:34 |
|
hackel
| I need some advice on best practice for maintaining a fork. I've created separate topic branches for each change I've made (for upstream PRs), but need to have each of them applied for my project, so I thought I would maintain a branch just for my specific project that applies the changes from each of these topic branches to the latest upstream. How should I be maintaining them? I was fetching upstream and rebasing on each topic branch, | 01:34 |
|
| but this is quite time-consuming and probably doesn't make sense. | 01:34 |
| ← edude03 left | 01:34 |
| ← Jelmer_ left | 01:35 |
| ← edmundinho left | 01:35 |
| ← oojacoboo left | 01:36 |
|
ldlework
| hackel: are you actively utilizing these branches for building/running? | 01:36 |
|
| if not, its probably not critical to keep each branch you're working on updated all the time | 01:36 |
|
| just do it when you start working on that branch, its just two commands. | 01:36 |
|
| this is not to say there is a better way, I don't know of one | 01:37 |
|
hackel
| ldlework: No, I'm really just thinking of them as patch files. | 01:37 |
|
ldlework
| hackel: then it only matters that you rebase when you're either submitting them for review/merge, or when you want to do additional work on them | 01:37 |
|
| It might not even matter for the second case, if your work doesn't change anything that has changed since you last rebased/branched | 01:38 |
| → ThinThread joined | 01:40 |
|
ThinThread
| hm. im new to git and after creating my first repo realize i want to do it under a different user. can i move it? | 01:40 |
| ← thiago left | 01:40 |
| ← ErKa left | 01:40 |
| ← linuxboytoo left | 01:41 |
|
hackel
| ldlework: So basically, I would just merge the changes from the topic branches if/when they change and not worry about rebasing? | 01:41 |
| ← gopar left | 01:41 |
|
hackel
| ldlework: I actually cherry-picked the specific commits from those branches into my project branch, but that probably wasn't necessary. | 01:42 |
|
kadoban
| ThinThread: repos are just files, you can move it, change ownership, etc., git won't care. Just make sure it's readable/writable as the user you want to use to mess with it. | 01:42 |
| ← pheaver left | 01:43 |
| → zacts joined | 01:43 |
| ← pks left | 01:43 |
| ← ixjlyons left | 01:44 |
| → nowhere_man_ joined | 01:44 |
| ← delinquentme left | 01:45 |
| ← nowhereman left | 01:45 |
| → jstimm joined | 01:45 |
| → pks joined | 01:45 |
| ← iamtakingiteasy left | 01:45 |
|
ldlework
| hackel: update when you work. update when you submit for review. there's probably no need to have something manage this for you. | 01:45 |
| → Sal joined | 01:45 |
|
Sal
| hi can someone help me? | 01:46 |
|
| i renamed a file from viewincomes to viewIncomes | 01:46 |
|
| and now it does commit it | 01:46 |
| ← imv left | 01:46 |
| → Dorf joined | 01:47 |
| ← lqi left | 01:47 |
|
Sal
| i get : pathspec 'viewIncomes' did not match any file(s) known to git. | 01:47 |
| → lqi joined | 01:48 |
|
kadoban
| Sal: Tell git about the move: 'git mv viewincomes viewIncomes', then you'll have to commit for it to actually record that change in a commit. | 01:48 |
| Briman → Briman|off | 01:48 |
|
Sal
| i'm using hit from intellij | 01:48 |
|
| and i haven's seen anything for that | 01:49 |
|
e^0_
| deltab: ok :) | 01:49 |
|
Sal
| kadoban, any of these commands: http://i.imgur.com/OiR8S9x.png | 01:50 |
|
kadoban
| Sal: *shrug* figuring out a gui is up to you. Not many people use them here. | 01:50 |
|
Sal
| oh | 01:50 |
|
kadoban
| Sal: IMO you should learn the command line, it's much more powerful and sane than any git gui I know about. | 01:50 |
|
Sal
| this is what i find really strange | 01:51 |
| → beaconwriter joined | 01:51 |
| ← majorseitan left | 01:51 |
|
Sal
| there are always more and more command line tools | 01:53 |
|
hackel
| ldlework: Thanks for the advice | 01:53 |
|
Sal
| didn't steve say that the future would be a mac with a mouse? | 01:53 |
|
milki
| mac and mouse | 01:54 |
|
Sal
| anyway, thanks for your help. | 01:54 |
| → edude03 joined | 01:54 |
|
hackel
| Sal: Steve also thought his users were too stupid to handle a second mouse button. Not someone you want to be taking advice from! | 01:54 |
|
Sal
| :) | 01:55 |
|
kadoban
| Sal: Well, git is highly related to linux, especially since linus wrote the thing to start with. So it'd be safe to say that the general 'git' community has different feelings on that. | 01:55 |
|
Sal
| yep, i understand that | 01:55 |
| → jonesinator joined | 01:56 |
|
kadoban
| But regardless, I just don't know of a GUI that could have a prayer of keeping up. Git commands are pretty intricate | 01:56 |
| → rubyonrailed joined | 01:56 |
|
ldlework
| tig is amazing | 01:56 |
|
| it doesn't do everything but it sure does 80% of what I do with git day to day | 01:56 |
|
| and its curses, so its just keybind based (in the terminal) | 01:57 |
| → gopar joined | 01:57 |
| → eka joined | 01:57 |
|
ldlework
| Sal: if you're going to go learn about how to be more proficient in a terminal, you should start with tmux (that's just some unrelated general advice, good luck) | 01:57 |
|
Sal
| ldlework, sincerely, i came from Unix system V and cp/m, returning to a command line doesn't give me a good feeling | 02:00 |
|
ldlework
| Sal: the commandline is amazing these days | 02:00 |
|
Sal
| i know, everything is returning command line. Guys are getting too lazy to make gui | 02:02 |
| ← rubyonrailed left | 02:02 |
|
deltab
| it's not that | 02:02 |
|
ldlework
| Sal: I just made a curses version of the docker cli, it was a substantial amount of UI work :) | 02:03 |
|
deltab
| there's a limit to how much you can put into menus etc. and remain comprehensible | 02:03 |
|
| back at the start of the Web people would find things by clicking through Yahoo's directory | 02:04 |
|
hackel
| Sal: "Returning"? When did it go away? | 02:04 |
| → zivester joined | 02:05 |
| → modocache joined | 02:05 |
|
Sal
| hey, about the mv syntax... | 02:05 |
|
deltab
| but that didn't scale as the web exploded: Yahoo, DMOZ etc. couldn't update quickly enough, and it took too long to find things in them | 02:05 |
|
Sal
| is it git mv newFile oldFile ? | 02:06 |
| → duderonomy joined | 02:06 |
|
deltab
| old new | 02:06 |
| ← dougsland left | 02:06 |
|
deltab
| same as with mv (and cp and ln) | 02:06 |
|
Sal
| no, mv A B moves A to B | 02:06 |
|
| so new to old | 02:06 |
|
deltab
| existing name first, then the new one | 02:07 |
| ← baweaver left | 02:07 |
| ← ewong left | 02:07 |
|
Sal
| fatal: destination exists | 02:07 |
|
| ok, i give up | 02:09 |
|
deltab
| you already did the rename, didn't you? | 02:09 |
| ← eka left | 02:09 |
|
Sal
| i had a file, lets say abc | 02:09 |
|
| i committed it as abc | 02:09 |
| ← gsingh93 left | 02:09 |
|
Sal
| then i renamed it to aBc | 02:09 |
|
| and now it doesn't commit anymore | 02:10 |
| ← Consuela left | 02:10 |
| ← modocache left | 02:10 |
| ← Noldorin left | 02:10 |
| ← scientes left | 02:10 |
|
Sal
| now, i have it on disk as aBc and in git as abc | 02:10 |
|
deltab
| you didn't rename it using git mv, so git doesn't know about it | 02:10 |
| → ewong joined | 02:10 |
|
Sal
| i know, but its not accepting mv | 02:10 |
|
deltab
| when you try to use git mv, it tries to move the file again | 02:11 |
|
Sal
| i get a fatal msg | 02:11 |
|
| ok, so what should i do then? | 02:11 |
|
deltab
| the file's already at its destination, and git doesn't understand that | 02:11 |
|
hackel
| You can just use git mv -f | 02:11 |
| ← mjuszczak left | 02:11 |
|
deltab
| no | 02:11 |
|
| the simplest thing is to rename it back, then git mv | 02:11 |
|
Sal
| oh | 02:12 |
|
| i got it | 02:12 |
|
hackel
| I always thought that git mv didn't actually do anything other than delete and re-add the file? | 02:12 |
| → echo-area joined | 02:12 |
|
deltab
| alternatively you can git add the new name and git rm --cached the old one | 02:12 |
| ← zacts left | 02:12 |
|
Sal
| ok, now on disk its abc, like on gits first commit | 02:12 |
|
| now? | 02:12 |
|
| mv aBc abc ? | 02:13 |
|
deltab
| git mv viewincomes viewIncomes | 02:13 |
|
Sal
| ok | 02:13 |
| → alex1a joined | 02:13 |
| → otter768 joined | 02:13 |
|
Sal
| datal, destination exists | 02:14 |
|
| fatal | 02:14 |
|
deltab
| huh | 02:14 |
|
| what does git status show? | 02:14 |
|
Sal
| i see that in destination it already is with uppercase char | 02:14 |
|
deltab
| is it listing the file as added/deleted? | 02:15 |
|
Sal
| i don't know about all that | 02:15 |
|
| sorry | 02:15 |
|
deltab
| what does git status show? | 02:15 |
|
Sal
| but liek i said, i just use it by a click | 02:15 |
| → modocache joined | 02:16 |
|
deltab
| looks like the GUI doesn't ahndle renaming within git | 02:16 |
| ← clarkpan left | 02:16 |
| Briman|off → Briman | 02:16 |
|
Sal
| no, i'm using the git bash terminal | 02:17 |
| → clarkpan joined | 02:17 |
|
Sal
| anyway, should i delete the .git dir? | 02:17 |
|
deltab
| no | 02:17 |
|
Sal
| is there a way to delete only that file from git? | 02:18 |
| ← sebhoss left | 02:18 |
| ← otter768 left | 02:18 |
|
deltab
| yes, but in a way that's what you're already trying to do | 02:18 |
|
Sal
| ok, so there's no solution? | 02:19 |
| → oojacoboo joined | 02:19 |
|
Sal
| i have to keep this file out of the repo? | 02:19 |
|
deltab
| to git a rename is simply deleting in one place and adding in another | 02:19 |
|
| there is a solution | 02:19 |
|
| I just don't fully understand the state of your system | 02:19 |
|
| the output of git status would help with that | 02:20 |
| → michaeljdennis joined | 02:20 |
| → Goplat joined | 02:20 |
|
deltab
| git status viewincomes viewIncomes | 02:20 |
| → felixjet joined | 02:21 |
| ← ahr3n left | 02:22 |
| ← michaeljdennis left | 02:22 |
| ← felixjet__ left | 02:23 |
| ← leeN left | 02:24 |
|
cppking
| how to add post-receive hook into a repo?? | 02:24 |
| → thiago joined | 02:24 |
| ← mizu_no_oto left | 02:24 |
|
cppking
| I can only do it in bare repo, If I add it in a non-bare repo, It won't be pushed when I use "git push" | 02:25 |
| → APerson_ joined | 02:26 |
|
Sal
| deltab, Your branch is ahead of 'origin/master' by 1 commit. | 02:26 |
|
| (use "git push" to publish your local commits) | 02:26 |
| → darkbasic joined | 02:26 |
|
deltab
| Sal: no mention of view[iI]ncomes? | 02:27 |
|
Sal
| nop | 02:27 |
|
deltab
| so what git knows matches the state of the files | 02:27 |
|
Sal
| last row was: nothing to commit. working directory clean | 02:27 |
|
deltab
| does the file have the name you want? | 02:28 |
|
| if not, git mv old-name new-name | 02:28 |
|
Sal
| its not commiting | 02:28 |
|
| i did that many ways | 02:29 |
|
| i don't know what does git have | 02:29 |
|
| i only know that the one i'm working on has a uppercase I | 02:29 |
| ← clarkpan left | 02:29 |
| → stantonk joined | 02:29 |
|
Sal
| many were telling me to now use git because soon or later you'll get messed up | 02:30 |
|
| :( | 02:30 |
| → rchavik joined | 02:31 |
| → dougsland joined | 02:31 |
| ← jason237 left | 02:33 |
| ← edude03 left | 02:33 |
|
Sal
| ok, i renamed it adding some chars at the end of the file, and it commit | 02:33 |
|
| renamed it back to original, and it commit again | 02:34 |
|
| i think it was a stupid problem of character case between windows sys and linux sys | 02:34 |
|
| thanks anyway | 02:35 |
| ← Sal left | 02:35 |
| → Lyqyd joined | 02:36 |
| ← cybersphinx left | 02:36 |
| ← hahuang65 left | 02:38 |
| → the_cybersphinx joined | 02:38 |
| → hahuang65 joined | 02:38 |
| ← dougsland left | 02:38 |
| → _2_misty joined | 02:40 |
| ← _2_misty left | 02:41 |
| ← Dorf left | 02:42 |
|
deltab
| oh, a Windows system | 02:42 |
|
| case-ignoring comparisons | 02:43 |
| → beaconwriter_ joined | 02:43 |
| ← durham left | 02:44 |
| ← hackel left | 02:45 |
| ← beaconwriter left | 02:45 |
| → felixjet_ joined | 02:46 |
| ← NightQuest left | 02:47 |
| → Jelmer_ joined | 02:48 |
| ← dustinm left | 02:48 |
| ← felixjet left | 02:48 |
| → nutron joined | 02:49 |
| → devoldmx joined | 02:49 |
| ← devoldmx3 left | 02:49 |
| ← lqi left | 02:50 |
| → donmichelangelo joined | 02:50 |
|
deltab
| can't rename the file just to change case because the new name is the 'same' as the existing one, so they conflict | 02:50 |
| ← mellernoia-work left | 02:51 |
| → lqi joined | 02:51 |
| ← APerson_ left | 02:51 |
| ← michelangelo left | 02:53 |
| ← weiyang left | 02:57 |
| ← Akagi201 left | 02:57 |
| → Akagi201 joined | 02:58 |
| ← modocache left | 02:59 |
| → modocache joined | 02:59 |
| ← Err404NotFound left | 03:03 |
| ← Akagi201 left | 03:04 |
| ← beaconwriter_ left | 03:05 |
| → Akagi201 joined | 03:05 |
| ← Dougie187 left | 03:07 |
| → dustinm joined | 03:08 |
| → beaconwriter_ joined | 03:09 |
| → weiyang joined | 03:09 |
| ← cavallari left | 03:10 |
| → apurcell joined | 03:10 |
| → clarkpan joined | 03:12 |
| → linuxboytoo joined | 03:12 |
| ← m0ltar left | 03:12 |
| → dreiss joined | 03:13 |
| → dol-sen_ joined | 03:15 |
| → cromero joined | 03:15 |
| → delinquentme joined | 03:16 |
| ← cgar left | 03:16 |
| ← beaconwriter_ left | 03:16 |
| → harish joined | 03:18 |
| → nettoweb joined | 03:21 |
| ← nettoweb left | 03:23 |
| → hgl- joined | 03:23 |
| ← hgl left | 03:24 |
| hgl- → hgl | 03:24 |
| → Error404NotFound joined | 03:24 |
| → otter768 joined | 03:25 |
| Hello71 → axu | 03:27 |
| → EvilPenguin joined | 03:27 |
| ← dol-sen_ left | 03:28 |
| → dol-sen_ joined | 03:28 |
| dol-sen_ → dol-sen | 03:29 |
| ← dol-sen left | 03:29 |
| → ahr3n joined | 03:31 |
| → Dragooon joined | 03:33 |
| ← otter768 left | 03:33 |
| ← stantonk left | 03:34 |
| → otter768 joined | 03:35 |
| ← duderonomy left | 03:35 |
| ← jr3 left | 03:36 |
| ← kadoban left | 03:37 |
| ← Dragooon left | 03:38 |
| ← dropdrive left | 03:39 |
| ← Ryanar left | 03:40 |
| → gfixler joined | 03:41 |
| → spinningarrow joined | 03:42 |
| → dropdrive joined | 03:43 |
|
spinningarrow
| git deleted one of my files, but I can't find this information in the history. what's going on? | 03:43 |
|
| git log --follow -p -- <file-path> only shows when the file was created | 03:43 |
|
| but not when it was deleted | 03:43 |
| → pheaver joined | 03:46 |
| ← e^0_ left | 03:46 |
| → clarkpan_ joined | 03:48 |
| → durham joined | 03:48 |
|
deltab
| spinningarrow: I don't know why that didn't work for you, but you could try an interactive viewer such as tig | 03:49 |
| ← durham left | 03:49 |
|
deltab
| (use t to switch to tree view for the selected commit) | 03:49 |
| → durham joined | 03:49 |
| → gsingh93 joined | 03:52 |
| → e^0_ joined | 03:52 |
| ← devoldmx left | 03:52 |
|
thiago
| spinningarrow: then it wasn't deleted | 03:52 |
|
| try without --follow | 03:52 |
| ← clarkpan left | 03:52 |
| → alvaro_o joined | 03:52 |
| ← weiyang left | 03:52 |
|
spinningarrow
| thiago: I don't see the file's removal anywhere :( | 03:53 |
|
thiago
| how do you know it was removed? | 03:53 |
|
spinningarrow
| it's not in my working copy? | 03:53 |
|
thiago
| that doesn't mean it was removed from Git | 03:53 |
|
| git status. Does it show? | 03:54 |
|
spinningarrow
| I didn't mean it was removed from git | 03:54 |
|
| nope it's not there | 03:54 |
|
| there's a merge commit where it disappears | 03:54 |
| ← clarkpan_ left | 03:54 |
|
spinningarrow
| but that or it's parents don't show anything either | 03:54 |
|
thiago
| was the file present in the first parent? | 03:54 |
| → clarkpan joined | 03:55 |
|
spinningarrow
| thiago: let me double check | 03:55 |
| ← alex1a left | 03:55 |
| → beneggett joined | 03:57 |
| → nettoweb joined | 03:57 |
| → effi joined | 03:59 |
| ← oojacoboo left | 03:59 |
| → mostlybadfly joined | 04:00 |
| ← effi_ left | 04:01 |
| ← nettoweb left | 04:02 |
| → Consuela joined | 04:03 |
| ← hcc23 left | 04:04 |
| ← sohail left | 04:05 |
| ← otter768 left | 04:09 |
| → Dragooon joined | 04:10 |
| ← sdothum left | 04:11 |
| ← linuxboytoo left | 04:11 |
| → linuxboytoo joined | 04:12 |
| ← aarobc left | 04:12 |
| → Tommy[D]_ joined | 04:13 |
| → subhojit777 joined | 04:13 |
| ← linuxboytoo left | 04:16 |
| ← trang left | 04:16 |
| ← Tommy[D] left | 04:16 |
| ← cbonobo left | 04:17 |
| ← JanC left | 04:17 |
| → edmundinho joined | 04:18 |
| → hithard joined | 04:18 |
| ← lqi left | 04:19 |
| ← subhojit777 left | 04:21 |
| → lqi joined | 04:22 |
| ← cssko left | 04:24 |
| → rubyonrailed joined | 04:24 |
| Briman → Briman|off | 04:25 |
| ← lindenle left | 04:28 |
| ← beneggett left | 04:29 |
| → trang joined | 04:30 |
| → JanC joined | 04:31 |
| ← madewokherd left | 04:32 |
| ← Dragooon left | 04:33 |
| → highcup joined | 04:36 |
| → swoorup__ joined | 04:36 |
| → subhojit777 joined | 04:37 |
| ← subhojit777 left | 04:38 |
| → subhojit777 joined | 04:38 |
| → lindenle joined | 04:38 |
| ← gsingh93 left | 04:40 |
| → moretti joined | 04:41 |
| ← durham left | 04:43 |
| → weiyang joined | 04:44 |
| → rubyonra_ joined | 04:44 |
| → scientes joined | 04:45 |
| ← scientes left | 04:45 |
| → scientes joined | 04:45 |
| → stantonk joined | 04:45 |
| ← scientes left | 04:45 |
| ← moretti left | 04:45 |
| → scientes joined | 04:45 |
| ← scientes left | 04:45 |
| → scientes joined | 04:45 |
| ← rubyonrailed left | 04:46 |
| ← scientes left | 04:46 |
| → scientes joined | 04:47 |
| ← scientes left | 04:47 |
| → scientes joined | 04:47 |
| ← scientes left | 04:47 |
| → scientes joined | 04:48 |
| ← scientes left | 04:48 |
| → scientes joined | 04:48 |
| → vgarg joined | 04:48 |
| → MechtiIde joined | 04:52 |
| ← stantonk left | 04:52 |
| → _1_itzmichael joined | 04:53 |
| ← michael_mbp left | 04:53 |
| ← _1_itzmichael left | 04:55 |
| → ReekenX joined | 04:56 |
| → jason237 joined | 04:56 |
| → michael_mbp joined | 04:56 |
| ← Consuela left | 04:57 |
| ← delinquentme left | 04:57 |
| → devoldmx joined | 04:57 |
| ← EvilPenguin left | 04:57 |
| ← skorgon left | 04:58 |
| → kp666 joined | 04:58 |
| ← geomyidae_ left | 04:58 |
| → Consuela joined | 04:58 |
| → _1_itzmichael joined | 04:59 |
| ← Consuela left | 04:59 |
| ← _1_itzmichael left | 04:59 |
| → Consuela joined | 05:00 |
| ← modocache left | 05:00 |
| → delinquentme joined | 05:01 |
| ← ReekenX left | 05:01 |
| ← devoldmx left | 05:01 |
| → nightspades joined | 05:02 |
| → duderonomy joined | 05:04 |
| → bannakaffalatta joined | 05:05 |
|
e^0_
| what are hunks exactly in contextual diff ? | 05:05 |
| ← traxo_ left | 05:06 |
|
e^0_
| it is the *** 1,3 *** random\n information\n ******* | 05:06 |
|
| the information between the asterisks or the starting and the end part specified in *** | 05:07 |
| → AMERICAN_PSYCHO joined | 05:07 |
|
grawity
| 'hunk' refers to the entire individual change – header, old version, new version | 05:07 |
|
| so everything between the ********* lines, I'd say | 05:08 |
|
e^0_
| ok | 05:08 |
|
grawity
| ...that said, where did you get a context diff from | 05:09 |
|
| is someone sending you patches from Plan9? >_> | 05:09 |
|
e^0_
| i was trying to understand how to work with diff and patch so stumbled upon a tutorial on the net which first states contextual diff and then unified diff | 05:09 |
| → luriv joined | 05:10 |
| → beautifulmind joined | 05:13 |
| ← apurcell left | 05:14 |
| → ReekenX joined | 05:14 |
| ← hithard left | 05:14 |
|
e^0_
| grawity: also what's the diff between *** 1,3 *** and --- 1,4 --- | 05:15 |
|
grawity
| that just seems to be how context diffs indicate "old version" and "new version" | 05:15 |
|
e^0_
| ok | 05:15 |
| → cbonobo joined | 05:17 |
| → hithard joined | 05:18 |
| → ehmatthes joined | 05:18 |
| ← trang left | 05:19 |
| ← gopar left | 05:20 |
| ← delinquentme left | 05:21 |
| Briman|off → Briman | 05:21 |
| → mutbuerger joined | 05:21 |
| ← roope left | 05:22 |
| ← antimatroid left | 05:22 |
| → antimatroid joined | 05:23 |
| ← lindenle left | 05:23 |
| → pantsman- joined | 05:23 |
| ← Akagi201 left | 05:24 |
| → brucelee joined | 05:25 |
| → roope joined | 05:25 |
| → Akagi201 joined | 05:25 |
|
brucelee
| i have access to a repo that contains a config file i need to change everytime i do a git pull, is there a way i can git pull and not pull that file? | 05:26 |
| ← Ratler left | 05:26 |
|
grawity
| nope | 05:26 |
| ← Akagi201 left | 05:27 |
|
brucelee
| any other options aside from having to change that file every single time? | 05:27 |
|
grawity
| convince the repo's owners to turn it into a "thing.conf.example" | 05:27 |
|
| or write some magic (post-?)checkout hook, maybe | 05:27 |
| → Akagi201 joined | 05:27 |
|
grawity
| or, git stash + merge + stash pop | 05:27 |
|
brucelee
| grawity: ah ok | 05:27 |
|
| grawity: thanks :P | 05:27 |
|
grawity
| stash generally works | 05:28 |
| → Akagi201_ joined | 05:28 |
| → Ratler joined | 05:28 |
| → Zadruga joined | 05:29 |
| ← Zadruga left | 05:29 |
| ← Lyqyd left | 05:29 |
|
quesker
| as files get added to somedir/ in a repo (from windows) they need to get git update-index --chmod +x is there some way to do that from a hook? | 05:29 |
| ← jason237 left | 05:30 |
| ← jacaballero left | 05:30 |
|
grawity
| quesker: a commit hook could fix things up, I think | 05:30 |
| ← Akagi201 left | 05:31 |
| → denete joined | 05:32 |
| → Alsr joined | 05:32 |
| ← Alsr left | 05:33 |
| → Dqqie joined | 05:34 |
| ← MechtiIde left | 05:35 |
| ← Dqqie left | 05:36 |
| → EminenceHC joined | 05:36 |
| → Caioe joined | 05:36 |
| ← Caioe left | 05:37 |
| ← lqi left | 05:37 |
| ← denete left | 05:37 |
| ← ahr3n left | 05:38 |
| ← pantsman- left | 05:38 |
| → Aaua joined | 05:39 |
| → lqi joined | 05:39 |
| ← scientes left | 05:40 |
| → delinquentme joined | 05:40 |
| ← Aaua left | 05:40 |
| → Encapsulation joined | 05:40 |
| → Eqef joined | 05:41 |
| ← EminenceHC left | 05:41 |
| → FreezingCold joined | 05:42 |
| ← Eqef left | 05:42 |
| → awnnm joined | 05:44 |
| ← nightspades left | 05:44 |
| ← clarkpan left | 05:45 |
| ← awnnm left | 05:45 |
| ← hithard left | 05:45 |
| → clarkpan joined | 05:47 |
|
osse
| brucelee: !config | 05:48 |
|
gitinfo
| brucelee: [!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 | 05:48 |
| → clarkpan_ joined | 05:48 |
| → jakke joined | 05:51 |
| ← clarkpan left | 05:52 |
| ← cbonobo left | 05:52 |
| → ThomasLocke joined | 05:53 |
| → joo-_ joined | 05:53 |
| ← rubyonra_ left | 05:54 |
| → EvilPenguin joined | 05:54 |
| → gfvf joined | 05:55 |
| ← LJT left | 05:57 |
| → momken joined | 05:57 |
|
momken
| hello | 05:57 |
|
foofin
| Hello! | 05:57 |
|
gitinfo
| momken: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on. | 05:57 |
| ← e^0_ left | 05:59 |
| ← EvilPenguin left | 06:00 |
|
momken
| I cloned a git repo from github, which I want to put on my own private repo | 06:01 |
| → contentsafe_ joined | 06:01 |
|
momken
| After running some bash scripts, it cloned another github repo as submodule of current repo | 06:01 |
| ← tpollard left | 06:02 |
| ← vgarg left | 06:02 |
|
momken
| I successfully put the main app to my private repo, but about the library (which was cloned as submodule) I couldn't clone it to my private repo | 06:02 |
|
iveqy
| what's "some bash scripts" | 06:03 |
|
momken
| How could I also put the library project (submodule) to my private repo | 06:03 |
|
iveqy
| is hard to know if those has anything to do with your submodule at all | 06:03 |
| → z8z joined | 06:03 |
| → Silmarilion joined | 06:04 |
|
iveqy
| momken: you'll have to create a seperate git repo for the submodule and then link them together. But most easily is just to use the submodule that the original project uses | 06:04 |
|
| momken: why do you need your own version of the submodule? I mean, are you sure that you need it? | 06:04 |
| → settermjd joined | 06:04 |
|
momken
| iveqy, Yeah. I don't trust github a lot | 06:05 |
| ← FreezingCold left | 06:05 |
|
momken
| iveqy, So instead of github fork, I am used to copy the repo to my private git server, develop and then push changes back to main repo if development went OK | 06:06 |
|
| And I have don't have permission for direct pushes too | 06:06 |
| ← akurilin left | 06:07 |
|
momken
| iveqy, First I used the submodule of the original project. But now my development extends so much that I change the lib project. | 06:07 |
|
iveqy
| momken: okay, well just threate you submodule as a ordinary repo and then alter the url in the superproject to wear it should look for the submodule | 06:08 |
| → akurilin joined | 06:10 |
| → otter768 joined | 06:10 |
|
momken
| iveqy, Hmmm. ok! let me try it | 06:12 |
| → rath joined | 06:12 |
| ← ehmatthes left | 06:12 |
| ← edmundinho left | 06:13 |
| ← brucelee left | 06:14 |
| → edmundinho joined | 06:14 |
| ← akurilin left | 06:14 |
| ← otter768 left | 06:14 |
| → acolson joined | 06:17 |
| ← edmundinho left | 06:18 |
| → roelmonnens joined | 06:18 |
| → Mathiasdm joined | 06:18 |
| → zoso joined | 06:20 |
| → jceb joined | 06:20 |
| → vgarg joined | 06:20 |
| ← MLM left | 06:23 |
| ← diegoviola left | 06:25 |
| ← watabou left | 06:27 |
| → rzeka joined | 06:29 |
| ← Fissure left | 06:30 |
| ← Gamecubic left | 06:30 |
| → devoldmx joined | 06:30 |
| ← delinquentme left | 06:31 |
| → Spriz joined | 06:32 |
| → akurilin joined | 06:33 |
| → b00^wk2 joined | 06:34 |
| ← devoldmx left | 06:35 |
| → brucelee joined | 06:35 |
| ← highcup left | 06:35 |
| → Saturn812 joined | 06:39 |
| → EminenceHC joined | 06:42 |
| → dc5ala joined | 06:43 |
| ← bgerber left | 06:46 |
| → beneggett joined | 06:46 |
| ← EminenceHC left | 06:47 |
| → Fissure joined | 06:47 |
| ← joo-_ left | 06:48 |
| ← Raging_Hog left | 06:48 |
| → Raging_Hog joined | 06:50 |
|
momken
| iveqy, ping | 06:51 |
| → ilmgb joined | 06:51 |
|
momken
| How can I change the URL of the submodule? | 06:51 |
| ← beneggett left | 06:52 |
| ← ilmgb left | 06:52 |
| → ilmgb joined | 06:52 |
| → PCatinean joined | 06:52 |
|
momken
| iveqy, I changed .git/config file, but after "git submodule sync", it reverted the URL to the original one | 06:52 |
|
_ikke_
| momken: update the .gitmodules file | 06:53 |
| → cdown joined | 06:53 |
| → thekodols_ joined | 06:53 |
|
_ikke_
| git submodule sync looks at that file | 06:54 |
| ← Saturn812 left | 06:55 |
|
momken
| _ikke_, Ah I found it | 06:55 |
| ← thekodols_ left | 06:55 |
|
momken
| _ikke_, Should I also change the "path" variable? | 06:55 |
| → thekodols_ joined | 06:55 |
|
_ikke_
| No, unless you moved the submodule | 06:56 |
| → Olipro_ joined | 06:56 |
|
_ikke_
| The path variable is used to match the submodule with the url | 06:56 |
| ← beautifulmind left | 06:56 |
| Olipro_ → Guest87507 | 06:56 |
| → fnky joined | 06:56 |
| ← thekodols left | 06:57 |
| ← spinningarrow left | 06:57 |
| ← aboccia left | 06:57 |
|
momken
| _ikke_, Ah! the path is the name of the folder the submodule is in, right? | 06:58 |
| → pobivan joined | 06:58 |
| → zadock joined | 06:58 |
| → Saturn812 joined | 06:58 |
| ← Guest62271 left | 06:58 |
| → devoldmx joined | 06:59 |
|
_ikke_
| yes | 06:59 |
| ← frdmn left | 07:00 |
| → Sceorem joined | 07:02 |
| → rajee joined | 07:03 |
| → frdmn joined | 07:03 |
| ← frdmn left | 07:03 |
| → frdmn joined | 07:03 |
| ← devoldmx left | 07:04 |
| ← cagedwisdom left | 07:04 |
| → encod3 joined | 07:06 |
| → aboccia joined | 07:07 |
| → lb1a joined | 07:07 |
| ← Goplat left | 07:08 |
| → bgerber joined | 07:09 |
| ← pheaver left | 07:09 |
| ← shauna left | 07:10 |
| ← glebihan left | 07:10 |
| ← vixterra left | 07:11 |
| → shauna joined | 07:11 |
| → Alienpruts joined | 07:11 |
| → Wulf joined | 07:12 |
| ← nuck left | 07:13 |
| → drag0niu1 joined | 07:15 |
| → nuck joined | 07:16 |
| → edmundinho joined | 07:17 |
| → apflieger joined | 07:17 |
| ← trepidaciousMB-1 left | 07:18 |
| ← drag0nius left | 07:18 |
| → glebihan joined | 07:18 |
| → TomyWork joined | 07:19 |
| → wicope joined | 07:20 |
| ← staafl left | 07:21 |
| ← apflieger left | 07:22 |
| ← thiago left | 07:22 |
| → cagedwisdom joined | 07:24 |
| → staafl joined | 07:24 |
|
staafl
| What are some advantages of Git over Mercurial? | 07:25 |
| → herr_jth joined | 07:25 |
| ← herr_jth left | 07:26 |
| → herr_jth joined | 07:26 |
| → SimonNa joined | 07:27 |
|
staafl
| I'm working in a company that recently switched from Hg to Git and I often get asked this question | 07:27 |
| ← b00^wk2 left | 07:27 |
| → darkbasic_ joined | 07:27 |
| ← clarkpan_ left | 07:28 |
| ← darkbasic left | 07:28 |
|
osse
| it's faster | 07:29 |
|
canton7
| staafl, !isgitbetter | 07:29 |
|
gitinfo
| staafl: We think so, but if you don't, please go away and use $YourFavoriteSystem instead. For a comparison to other VCSes, see http://thkoch2001.github.com/whygitisbetter/ | 07:29 |
|
canton7
| ah, broken link, yay | 07:29 |
| → intellix joined | 07:29 |
|
canton7
| .trigger_edit isgitbetter We think so, but if you don't, please go away and use $YourFavoriteSystem instead | 07:30 |
|
gitinfo
| canton7: Okay. | 07:30 |
| ← DerisiveLogic left | 07:31 |
|
staafl
| canton7, that's not very useful :-) | 07:31 |
|
cbreak
| staafl: git sucks considerably less than mercurial | 07:32 |
|
canton7
| staafl, all subjective but: better branching model, better support for things like cherry-picking, rebasing, etc. If nothing else, it's more ubiquitous | 07:32 |
|
cbreak
| in particular, git has proper branching, can work decentralized, is fast, portable | 07:32 |
|
canton7
| staafl, there used to be a pretty good comparison at that link. I'm sad it's gone :( | 07:32 |
|
cbreak
| the toolchain of git is vastly superior | 07:32 |
| → apflieger joined | 07:32 |
|
staafl
| canton7, I'll check it in the wayback machine | 07:32 |
| → lyang0 joined | 07:32 |
|
canton7
| staafl, iirc it was somewhat interactive, so I don't know how well the wayback machine might have captured it | 07:33 |
| → joo-_ joined | 07:33 |
|
osse
| http://www.whygitisbetterthanx.com/ - what the hell is this | 07:33 |
|
| looks like some sort of autogenerated clickbait thing | 07:33 |
|
canton7
| yeah - I was hopeful at first, but that looks shit | 07:33 |
|
osse
| isn't that the original url ? | 07:34 |
|
canton7
| some people have written well-thought-out rebuttals to whygitisbetterthanx.com, so I assume there was something decent there at some point | 07:34 |
|
osse
| https://raw.githubusercontent.com/schacon/whygitisbetter/master/index.html :P | 07:34 |
| → workerbeetwo joined | 07:35 |
|
canton7
| shame github always delivers html with a text/plain content-type header | 07:35 |
|
cbreak
| well, text/plain is correct | 07:35 |
|
staafl
| I'lm looking for an answer to the question "what are some important things we can do with Git that we can't with Hg" | 07:36 |
|
| e.g. is something like gitflow easy to accomplish in mercurial | 07:37 |
|
canton7
| aha, here we go: http://web.archive.org/web/20140714014915/http://thkoch2001.github.io/whygitisbetter/#hg | 07:37 |
|
| so that's got all of the hg-specific items pre-expanded | 07:37 |
| ← herr_jth left | 07:37 |
|
osse
| staafl: depends a bit on where you draw the line between possible and impossible, but my guess is there are none. | 07:37 |
| → herr_jth joined | 07:37 |
|
canton7
| if it's not expanded (and doesn't have the 'hg' tag), it's not an advantage over hg | 07:37 |
|
staafl
| canton7, thanks | 07:38 |
| ← jwmann left | 07:38 |
| → EvilPenguin joined | 07:39 |
| → jwmann joined | 07:40 |
| → kcj joined | 07:40 |
| → AAoK joined | 07:40 |
| → cbonobo joined | 07:41 |
| → dan_s joined | 07:41 |
| → sCiphre joined | 07:42 |
| → mtakkman joined | 07:43 |
| → darkbasic joined | 07:43 |
| ← darkbasic_ left | 07:44 |
| ← EvilPenguin left | 07:44 |
| ← rajee left | 07:45 |
| ← cbonobo left | 07:46 |
| ← govg left | 07:46 |
| → EminenceHC joined | 07:46 |
| → nnyk_ joined | 07:48 |
| ← nnyk_ left | 07:48 |
| → nnyk_ joined | 07:48 |
| → Hounddog joined | 07:49 |
| ← EminenceHC left | 07:50 |
| → bonswouar joined | 07:54 |
| ← bonswouar left | 07:54 |
| ← mutbuerger left | 07:55 |
| ← harish left | 07:55 |
| → Hounddog_ joined | 07:55 |
| → Hounddog__ joined | 07:57 |
| → Hounddog___ joined | 07:58 |
| ← luriv left | 07:58 |
| ← MattMaker left | 07:58 |
| ← cagedwisdom left | 07:58 |
| → luriv joined | 07:59 |
| → Hounddog____ joined | 07:59 |
| → fooforge joined | 08:00 |
| ← Hounddog left | 08:00 |
| ← Hounddog_ left | 08:00 |
| ← Hounddog__ left | 08:00 |
| ← Hounddog___ left | 08:01 |
| → Hounddog_____ joined | 08:01 |
| ← Hounddog____ left | 08:01 |
| ← Hounddog_____ left | 08:01 |
| → prillian5 joined | 08:01 |
| → Hounddog joined | 08:03 |
| ← Hounddog left | 08:03 |
| ← raven-au left | 08:03 |
| → JEEBcz joined | 08:03 |
| → snonez joined | 08:04 |
| ← snonez left | 08:05 |
| → trepidaciousMBR2 joined | 08:05 |
| → skylite joined | 08:05 |
| ← JEEB__ left | 08:05 |
| ← trepidaciousMBR2 left | 08:06 |
| → Hounddog joined | 08:06 |
|
Mathiasdm
| 09:32 < cbreak> in particular, git has proper branching, can work decentralized, is fast, portable <-- mercurial has all of those as well | 08:07 |
| ← jceb left | 08:07 |
| → psoo joined | 08:08 |
| ← psoo left | 08:08 |
| → Hounddog_ joined | 08:08 |
| → psoo joined | 08:08 |
| → granthatcher joined | 08:09 |
|
cbreak
| Mathiasdm: so, how do I switch to a different branch? | 08:09 |
|
Mathiasdm
| hg update -r BRANCHNAME ? | 08:10 |
|
cbreak
| update? | 08:11 |
|
Mathiasdm
| note though that there's a bit of a mismatch: if you want git branches in Mercurial, you need Mercurial bookmarks (Mercurial branches are more like svn branches) | 08:11 |
| → jottr joined | 08:11 |
|
osse
| cbreak: you can use checkout if you wish | 08:11 |
|
cbreak
| that makes less sense than checkout | 08:11 |
| → otter768 joined | 08:11 |
| ← sharkz left | 08:11 |
|
Mathiasdm
| yes, but perhaps this is too much off-topic for this list? | 08:11 |
|
| cbreak: Mercurial has 'checkout' as alias for 'update' | 08:11 |
| → cagedwisdom joined | 08:11 |
| → ferr joined | 08:11 |
|
Mathiasdm
| so you can use either :p | 08:11 |
|
cbreak
| good | 08:12 |
| → twb joined | 08:12 |
| ← edmundinho left | 08:12 |
|
twb
| I think I asked before, but didn't get a Super Sexy turnkey answer, so... | 08:13 |
|
| Is there a thing I can run on my repo, sort code lines by their age? | 08:13 |
|
| My theory is something like "if code hasn't changed for over two years, it's probably unreachable & broken" - so find that code and purge it | 08:14 |
| → apurcell joined | 08:14 |
| ← granthatcher left | 08:15 |
|
cbreak
| sounds like a braindead theory | 08:15 |
|
twb
| git blame gets me part of the way, but it's per-file not repo-wide, and iterating over ls-tree is tedious because I have to exclude images and stuff | 08:15 |
|
cbreak
| better kiss good bye to your { and }, and whitespace lines | 08:15 |
| ← otter768 left | 08:16 |
| → King_Hual joined | 08:16 |
|
twb
| cbreak: obviously you wouldn't just derpily delete individual lines | 08:16 |
|
cbreak
| obviously you wouldn't do that at all | 08:16 |
|
twb
| Sigh. | 08:16 |
|
| Fuck you too, then. | 08:16 |
| ← twb left | 08:16 |
|
cbreak
| if you want to remove unreachable code, do it via control flow | 08:16 |
| → granthatcher joined | 08:16 |
|
cbreak
| get some manners | 08:17 |
| → jseplae joined | 08:17 |
| → marcogmonteiro joined | 08:18 |
|
Seveas
| reminds me of https://github.com/mattdiamond/fuckitjs | 08:18 |
| ← apurcell left | 08:19 |
| ← Hounddog left | 08:19 |
| ← Hounddog_ left | 08:19 |
|
osse
| Seveas: this is similar but more serious: https://github.com/munificent/vigil | 08:19 |
| ← jottr left | 08:19 |
| → tinamanea joined | 08:20 |
| → bonswouar joined | 08:20 |
| → Hounddog joined | 08:20 |
| → trepidaciousMBR2 joined | 08:21 |
|
tinamanea
| Hi! I'm trying to use pre-commit hook to make some code checks. I've added my checks in the appropriate script but when I commit something, the hook is only run after I exit the editor, not before. Am I doing this wrong? | 08:21 |
|
Seveas
| osse: I approve | 08:21 |
| → jceb joined | 08:21 |
|
cbreak
| tinamanea: that's normal. | 08:22 |
|
Seveas
| tinamanea: no, that's when it's supposed to fire. | 08:22 |
| → arup_r joined | 08:22 |
| → ronskisika joined | 08:23 |
| → mikiones joined | 08:23 |
| ← Raging_Hog left | 08:23 |
|
tinamanea
| that's a bit weird because I see here: http://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks that pre-commit is run first, then prepare-commit-msg (which says that is run before the commit message editor is fired up) | 08:24 |
|
| is the documentation wrong or am parsing this incorrectly? | 08:24 |
|
_ikke_
| try man githooks | 08:24 |
|
gitinfo
| the githooks manpage is available at http://jk.gs/githooks.html | 08:24 |
| ← AAoK left | 08:25 |
|
Seveas
| the book is in disagreement with the manpage | 08:25 |
|
| I trust the manpage | 08:25 |
|
_ikke_
| Perhaps make a pull request then | 08:25 |
| ← Hounddog left | 08:25 |
|
tinamanea
| hm, ok, thanks for the help! | 08:26 |
| ← brucelee left | 08:26 |
| ← arup_r left | 08:26 |
| ← jstimm left | 08:27 |
| ← mikiones left | 08:27 |
| → morois joined | 08:28 |
|
Seveas
| after reading the code: the book is wrong. | 08:28 |
| → alip joined | 08:28 |
|
Seveas
| no, I suck at keeping track of what I read, hmm... | 08:29 |
| → mariuscc joined | 08:30 |
|
tinamanea
| my git is version 1.7.10, a friend tested with 2.1.4 and it works as the book says | 08:30 |
|
| perhaps the documentation is accurate for a newer version | 08:30 |
|
| will upgrade and report back | 08:30 |
|
Seveas
| builtin/commit.c:prepare_to_commit first calls run_commit_hook(..."pre-commit"...) and only later launches the editor | 08:30 |
|
tinamanea
| exactly | 08:30 |
|
| :) | 08:30 |
|
Seveas
| 1.7.10 is ancient :) | 08:30 |
| ← ilmgb left | 08:31 |
| → ilmgb joined | 08:31 |
| → devoldmx joined | 08:33 |
| → Hounddog joined | 08:33 |
| → DARSCODE joined | 08:33 |
| → tumulte joined | 08:33 |
| → denete joined | 08:34 |
| → arup_r joined | 08:34 |
| → fakenullie joined | 08:37 |
| → raven-au joined | 08:37 |
|
fakenullie
| Hello. Is it possible to use difftool to stage changes? | 08:38 |
| ← apflieger left | 08:39 |
| → apflieger joined | 08:39 |
| ← denete left | 08:39 |
| ← Hounddog left | 08:40 |
| → Hounddog joined | 08:41 |
|
iveqy
| fakenullie: maybe you should look at git add -p | 08:41 |
| ← Hounddog left | 08:41 |
|
fakenullie
| iveqy, difftool can use meld, so it's kinda visual | 08:41 |
| ← joo-_ left | 08:41 |
| → ryez joined | 08:42 |
|
fakenullie
| also I could edit changes with meld | 08:42 |
| → Hounddog joined | 08:43 |
| → borekb joined | 08:43 |
| → NwS joined | 08:43 |
| gitinfo set mode: +v | 08:45 |
|
borekb
| Hi, with Git 2.4 out I'm wondering why Windows binaries stay at 1.9.5. Is there some technical reason for this or does the project just lack Win build maintainers? Thanks | 08:45 |
|
Seveas
| the git for windows maintainers have been revamping their dev/build environment | 08:47 |
|
| they've announced a 2.4 preview, so I don't think they're too far away from releasing | 08:48 |
| → veganista joined | 08:48 |
|
NwS
| Heya guys, I've got a quick noob Q. I'm trying to create an offline copy of a website but I think I am missing something.. I've run git init, git add ., git commit -m "com" but I am not sure what I am supposed to do now in order to clone the project to my local offline machine.. Tried to search around but couldn't really figure it out.. | 08:48 |
|
borekb
| Seveas: Thanks, that's great to hear. | 08:49 |
|
NwS
| Tried to clone the .git but that failed.. lol | 08:49 |
| → Grimlock1 joined | 08:50 |
| → EminenceHC joined | 08:51 |
| ← raven-au left | 08:53 |
| ← apflieger left | 08:54 |
| → apfliege_ joined | 08:54 |
|
iveqy
| NwS: just use git clone, nothing else | 08:54 |
|
NwS
| iveqy, git clone the .git? It says that does not appear to be a git repository | 08:55 |
| → tvw joined | 08:55 |
|
iveqy
| NwS: !repro | 08:55 |
|
gitinfo
| NwS: [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://gist.github.com/2415442 ) of your terminal session. | 08:55 |
| ← jrnieder left | 08:56 |
| → raven-au joined | 08:56 |
| ← EminenceHC left | 08:56 |
| → donnib joined | 08:57 |
| ← borekb left | 08:57 |
| → bigsky joined | 08:57 |
| ← jceb left | 08:57 |
| ← apfliege_ left | 08:57 |
| → apflieger joined | 08:57 |
|
bigsky
| can git log show how many lines are inserted in each commit? | 08:57 |
|
donnib
| hi guys, this doc https://rtyley.github.io/bfg-repo-cleaner/ says after cleanup to run git gc --prune=now with —aggressive option, is it really required ? If i don’t do it is there a risk that the objects remain in the packs or ? | 08:58 |
|
iveqy
| bigsky: you're probably asking for git diff with -stat or something like that, see man git diff | 08:59 |
|
gitinfo
| bigsky: the git-diff manpage is available at http://jk.gs/git-diff.html | 08:59 |
| ← sparetire left | 08:59 |
|
iveqy
| donnib: yes | 08:59 |
|
donnib
| iveqy: yes that it is required ? | 08:59 |
| → astroduck joined | 08:59 |
|
donnib
| iveqy: because otherwise i risk the object stays there ? | 09:00 |
|
iveqy
| yes | 09:00 |
|
donnib
| :( | 09:00 |
|
iveqy
| why the sad face? | 09:00 |
|
donnib
| it just takes so much time :( oh well | 09:00 |
|
iveqy
| yeah, it's a pretty expensive operation. | 09:01 |
| → notze joined | 09:02 |
| → jrnieder joined | 09:03 |
| ← fakenullie left | 09:05 |
| → sword` joined | 09:05 |
| ← apflieger left | 09:06 |
| → Asenar joined | 09:07 |
| → apflieger joined | 09:07 |
| ← sword left | 09:07 |
| → ra0 joined | 09:07 |
| ← kcj left | 09:07 |
| → cllamas joined | 09:08 |
| → sword`` joined | 09:08 |
| ← bgerber left | 09:09 |
| ← devoldmx left | 09:10 |
| ← sword` left | 09:10 |
| ← dustinm left | 09:11 |
| → bgerber joined | 09:11 |
| → Cust0sL1men joined | 09:11 |
| → jnavila joined | 09:13 |
| ← apflieger left | 09:13 |
|
donnib
| iveqy: yeah that’s sad, i guess i have to live with it | 09:14 |
| → apflieger joined | 09:14 |
| → jceb joined | 09:14 |
| ← mtakkman left | 09:14 |
|
osse
| (music Get down and live with it, or shut your mouth you prick, before I strike you down | 09:16 |
| → dhilipsiva joined | 09:16 |
|
osse
| shit | 09:16 |
|
| ♫ ♪ I meant to do this ♪ | 09:16 |
|
jast
| donnib: AFAIK --aggressive affects only delta compression, it doesn't prune objects more aggressively | 09:17 |
| → mezod joined | 09:17 |
|
donnib
| jast: so actually i could leave it out | 09:18 |
|
jast
| and last time I checked the code that's all it did | 09:18 |
|
| I think so, yes | 09:18 |
|
donnib
| jast: but then again, i have just done a SVN -> Git migration so maybe a aggressive is good to do once before i push the repo to the server ? | 09:18 |
| → fakenullie joined | 09:18 |
| → harish_ joined | 09:20 |
|
jast
| it's up to you :) | 09:20 |
|
iveqy
| donnib: yes it probably would | 09:21 |
|
| if it's a one time thing speed might now bother you | 09:21 |
|
jast
| personally I wouldn't bother... storage is cheap, work time is not | 09:21 |
|
iveqy
| you might also want to checkout man git repack | 09:22 |
|
gitinfo
| the git-repack manpage is available at http://jk.gs/git-repack.html | 09:22 |
| → Ulrar joined | 09:22 |
|
Ulrar
| Hi, does the post-update hook need to be created on the client or the server ? Thought on the server but it doesn't look like it's executing it | 09:22 |
| → brucelee joined | 09:22 |
|
iveqy
| even if jast is right about that storage is cheap, you might wan't to consider that git is distributed. Let's say that you've 1000 developers and you are able to reduce the repo size with 100 MB. How will that affect your storage and (the not so cheap) bandwidth? | 09:23 |
|
| Ulrar: the hooks will be runned on the repo that recieve an update, most likely the server. What made you think that it does not run? | 09:23 |
| ← fakenullie left | 09:24 |
|
Ulrar
| iveqy: No output, and doesn't do what it's supposed to | 09:24 |
| → vishalud joined | 09:24 |
|
Ulrar
| (https://github.com/EugeneKay/scripts/blob/master/bash/git-deploy-hook.sh) | 09:24 |
|
| I did name it post-update | 09:24 |
|
iveqy
| is it runnable? | 09:25 |
|
| does it have the execute bit set? | 09:25 |
|
Ulrar
| iveqy: But does it need to be created on the client, and it will run on the server, or directly created on the server itself ? | 09:25 |
|
| It does | 09:25 |
|
jast
| iveqy: AFAIK push/fetch generate on-the-fly packs anyway | 09:25 |
|
Ulrar
| And it's owned by the correct user | 09:25 |
|
jast
| which is why cloning causes so much remote work before downloading even starts | 09:26 |
|
iveqy
| jast: even for clones? | 09:26 |
|
| jast: sounds expensive but then it totally makes more sense not to worry too much about optimizing you repo | 09:26 |
|
| Ulrar: it does not need to be created on the client. The client has nothing to do with the hook | 09:27 |
|
jast
| even for clones objects that are not reachable by any ref must be omitted from transmission | 09:27 |
| → fakenullie joined | 09:27 |
|
iveqy
| jast: true, I missed that | 09:27 |
| ← brucelee left | 09:27 |
|
Ulrar
| Then I don't understand why it doesn't execute it, I must be missing something | 09:27 |
|
iveqy
| jast: that will make --prune useless | 09:27 |
| → Zupoman joined | 09:27 |
|
iveqy
| Ulrar: yes probably. Time to investigate. Add some output to stderr from the hook and you should be able to see it from the client that does the push | 09:28 |
|
jast
| iveqy: well it does save disk space on the server :) | 09:28 |
|
| though I haven't been following the exact situation here | 09:28 |
|
| so I might be wrong about that | 09:28 |
|
iveqy
| I think it does. A svn to git conversion is usually not a good way to get a nice pack structure | 09:29 |
| → MattMaker joined | 09:29 |
| → cbonobo joined | 09:30 |
|
arup_r
| I want to merger this remote branch - https://gist.github.com/aruprakshit/54f6cd9b89b8f1357ec9#file-branch-txt-L4 with the master branch.. and then want to push the changes in local master to github origin/master | 09:31 |
|
| what is the command ? | 09:31 |
| ← vgarg left | 09:33 |
| ← Zupoman left | 09:33 |
| → BuenGenio joined | 09:33 |
|
iveqy
| arup_r: fetch the remote branch, merge it with your master branch and then push it to github. The commands are: fetch, merge, push | 09:33 |
| ← MattMaker left | 09:34 |
| ← cbonobo left | 09:34 |
| ← lqi left | 09:35 |
|
arup_r
| iveqy: Am I doing right ? git checkout master, git fetch origin/bootstraphtml, git merge origin/bootstraphtml, git push origin master ? | 09:35 |
| ← nikio_ left | 09:35 |
|
notze
| he guys, i have a git post-receive hook: http://pastebin.com/J18Ym2qt but i get : remote: /opt/projects/j1 | 09:36 |
|
| remote: fatal: Not a git repository: '.' | 09:36 |
| → imv joined | 09:36 |
|
notze
| if i do locally on the deployment server sh post-receive | 09:37 |
|
iveqy
| notze: your hook is trying to do git commands in something that's not a git repo | 09:37 |
|
notze
| all perfect | 09:37 |
| Briman → Briman|off | 09:37 |
|
notze
| iveqy, yes but its working if i do sh post-receive | 09:37 |
|
iveqy
| notze: your cwd is probably wrong | 09:37 |
| → lqi joined | 09:37 |
|
iveqy
| when the git hook is executed | 09:37 |
|
notze
| but git -C absiolute path will not care for current cwd ? | 09:37 |
|
arup_r
| iveqy: Am I doing right ? | 09:37 |
|
iveqy
| arup_r: depends on if the remote branch you want to merge is origin/bootstraphtml | 09:37 |
| → tirengarfio__ joined | 09:38 |
|
arup_r
| https://gist.github.com/aruprakshit/54f6cd9b89b8f1357ec9#file-branch-txt-L4 | 09:38 |
|
iveqy
| notze: true. | 09:38 |
|
notze
| iveqy, so what can be wrong ^^ | 09:38 |
|
iveqy
| arup_r: I've no idea what you call origin in your repo | 09:38 |
|
arup_r
| ok.. I call it origin ... | 09:38 |
|
| I didn't rename | 09:38 |
|
notze
| iveqy, http://pastebin.com/GasqjvAv | 09:39 |
| ← tirengarfio_ left | 09:39 |
|
iveqy
| notze: what's the git version on the server? Does it support -C? | 09:40 |
|
notze
| yes | 09:41 |
|
| check http://pastebin.com/GasqjvAv | 09:41 |
|
| sh post-receive | 09:41 |
| ← v0n left | 09:41 |
|
notze
| only from remote its not executing properly | 09:41 |
| Briman|off → Briman | 09:43 |
|
jast
| hooks are run with GIT_DIR=. | 09:45 |
| ← apflieger left | 09:45 |
|
jast
| so the -C option will probably only have limited effect... GIT_DIR has a rather high precedence | 09:45 |
| → sebhoss joined | 09:46 |
| → apflieger joined | 09:46 |
|
jast
| simply unsetting GIT_DIR might help | 09:46 |
| → devoldmx joined | 09:48 |
| ← nowhere_man_ left | 09:49 |
| → LJT joined | 09:49 |
| → dustinm joined | 09:50 |
|
notze
| iveqy, is it possible that one is treating it as sh script the other as bash | 09:51 |
| ← raven-au left | 09:51 |
|
iveqy
| notze: it does, when you tell it to use sh it will use sh and not bash. Pretty logical actually =). However jast had a really good point about GIT_DIR | 09:52 |
|
notze
| jast, thx man i will try that | 09:53 |
| → raven-au joined | 09:53 |
| → rcn joined | 09:53 |
| → nowhere_man joined | 09:53 |
|
iveqy
| notze: see man git for details about -C. I think you'll see you answer right there, there's an example on how to combine -C and GIT_DIR and it's not what you expect | 09:54 |
|
gitinfo
| notze: the git manpage is available at http://jk.gs/git.html | 09:54 |
| → EminenceHC joined | 09:55 |
|
osse
| -C is just like cd'ing first | 09:55 |
|
| that's it. end of stawrie | 09:55 |
| → m3hd1 joined | 09:56 |
|
Ulrar
| Looks like my hook doesn't get what it wants on stdin | 09:56 |
|
| while read old new ref | 09:56 |
| → Clint0n joined | 09:57 |
| ← tinamanea left | 09:57 |
|
Clint0n
| Hi all, when doing the first push to an empty Git repo how can I add all files that are not excluded by my .gitignore to stage for commit? | 09:58 |
|
Ulrar
| Those variables are empty for some reason | 09:58 |
|
osse
| Clint0n: git add --all | 09:58 |
|
Clint0n
| osse: Okay cheers, so that won't add what I have listed in my .gitignore? | 09:59 |
| ← EminenceHC left | 09:59 |
|
osse
| yes I am sure | 10:00 |
|
Clint0n
| osse: Okay thanks :) | 10:00 |
| → Gizburdt joined | 10:00 |
|
jast
| Clint0n: you can confirm by looking at 'git status' afterwards | 10:01 |
| ← ryez left | 10:01 |
|
Clint0n
| Yeah will do :) havent seen the media directory yet so looks like it is working :) Thanks | 10:01 |
| ← LJT left | 10:01 |
|
osse
| Clint0n: unless you use -f add will always respect .gitignore | 10:02 |
|
Clint0n
| osse: ahh makes sense, force add? :) | 10:02 |
|
osse
| oui | 10:02 |
| ← Gizburdt left | 10:03 |
| ← dustinm left | 10:03 |
| ← contentsafe_ left | 10:04 |
| → joo-_ joined | 10:04 |
| ← apflieger left | 10:04 |
| → apflieger joined | 10:04 |
|
notze
| jast, thx man unset was the perfect solution | 10:05 |
| ← Gitzilla left | 10:05 |
| → darkbasic_ joined | 10:07 |
| ← luriv left | 10:07 |
| → LJT joined | 10:07 |
| ← LJT left | 10:08 |
| → RaceCondition joined | 10:08 |
| → leeN joined | 10:08 |
| ← darkbasic left | 10:08 |
| → hithard joined | 10:11 |
| ← z8z left | 10:12 |
| ← Hounddog left | 10:12 |
| → otter768 joined | 10:12 |
| → jost joined | 10:12 |
|
astroduck
| Hi, I have a file that I want everyone who clones my repo to have but I dont want it to be in my git, I tried adding it and in next commit doing git rm --cached file, but that does work | 10:13 |
| → sohail joined | 10:14 |
|
tobiasvl
| astroduck: !xy | 10:14 |
|
gitinfo
| astroduck: Woah, slow down for a bit. Are you sure that you need to jump through that particular hoop to achieve your goal? We suspect you don't, so why don't you back up a bit and tell us about the overall objective... | 10:14 |
|
tobiasvl
| why don't you want it as part of the repo, if you want it to be part of the repo? | 10:15 |
| → z8z joined | 10:15 |
| → beaconwriter_ joined | 10:15 |
| → dustinm joined | 10:15 |
| ← otter768 left | 10:16 |
| ← morois left | 10:17 |
|
cbreak
| astroduck: git's history only contains files that are in git's history. | 10:18 |
| drag0niu1 → drag0nius | 10:19 |
| ← echo-area left | 10:19 |
|
astroduck
| tobiasvl: I have a local config file local.py, which needs to be there in development mode but not in production, I was thinking that everyone who'd work on this would have this file but also add this to .gitignore so its not in git and this not present when we put the webapp in production, what would be an ideal way to do this? | 10:21 |
| ← dan_s left | 10:21 |
| ← intellix left | 10:22 |
| ← jost left | 10:22 |
|
DARSCODE
| astroduck, sounds like you need to start using branches more :) | 10:22 |
|
cbreak
| astroduck: sounds like you need to commit a local.py.template | 10:23 |
| → m0nkmaster joined | 10:23 |
| ← jnavila left | 10:23 |
| → jnavila joined | 10:23 |
| → brucelee joined | 10:24 |
| ← m0nkmaster left | 10:24 |
|
tobiasvl
| and also you can't ignore a tracked file | 10:24 |
|
DARSCODE
| cbreak, how would that work with template ? Never heard of it. | 10:25 |
|
cbreak
| DARSCODE: you take the file, you copy it, and then you rename the copy to local.py | 10:25 |
|
| DARSCODE: and you have your local.py file, without it being part of the git repo | 10:25 |
|
DARSCODE
| lol.. nah that would not solve his problem. | 10:25 |
|
cbreak
| of course it would. | 10:25 |
|
DARSCODE
| I was thinking he could just make new branch for release | 10:25 |
|
cbreak
| the developers copy it, so it's there when developing | 10:25 |
|
| DARSCODE: branches won't work. | 10:26 |
|
DARSCODE
| rm --cache the file and add it to git ignore | 10:26 |
|
| in master branch ? | 10:26 |
|
| How not that is how I deal with that kind of problems | 10:26 |
|
cbreak
| branches won't work because branches are merged | 10:26 |
|
DARSCODE
| yea so what, | 10:26 |
|
| I dont think you should be mergen from master to dev | 10:26 |
|
tobiasvl
| what | 10:27 |
|
cbreak
| so the file he doesn't want would end up in the branch he doesn't want it in | 10:27 |
|
DARSCODE
| but from dev to master and then you don't have any problems with it. | 10:27 |
| ← BuenGenio left | 10:27 |
| ← chilversc_ left | 10:27 |
|
DARSCODE
| no it does not | 10:27 |
| ← imv left | 10:27 |
|
cbreak
| sure it would. Because every commit in develop has it | 10:27 |
|
DARSCODE
| I use it like this and it does not happen unless you do improper merges | 10:27 |
|
cbreak
| and once you merge those commits, master also has it | 10:27 |
|
DARSCODE
| nope bro, test it it not true what you saying. | 10:28 |
| ← Spriz left | 10:28 |
|
cbreak
| it's quite obvious how that would happen | 10:28 |
| → s8321414 joined | 10:28 |
|
cbreak
| just think a tiny bit about how merges work :) | 10:28 |
|
DARSCODE
| I use it so I KNOW | 10:28 |
|
| test it and then come back, don't just assume your ideas. | 10:28 |
| ← paulweb515 left | 10:28 |
| ← brucelee left | 10:29 |
| Briman → Briman|off | 10:29 |
|
cbreak
| I know how it works :) | 10:29 |
|
DARSCODE
| apparently not | 10:29 |
|
| because you should have know that if you merge from dev to master | 10:29 |
|
cbreak
| if you wouldn't get files from branches when merging them, git would be broken | 10:29 |
|
DARSCODE
| and you remove the file in master and add it to gitignore it will stay like that | 10:29 |
|
cbreak
| so you obviously get the file :) | 10:29 |
| ← raven-au left | 10:29 |
|
DARSCODE
| aslong you dont merge back master to develop which you should never do IMO. | 10:30 |
|
cbreak
| DARSCODE: gitignore doesn't apply. | 10:30 |
|
tobiasvl
| gitignore doesn't ignore tracked files | 10:30 |
|
cbreak
| it only affects untracked files. | 10:30 |
|
DARSCODE
| dude just test it | 10:30 |
|
cbreak
| DARSCODE: use your brain instead of blabbering garbage, honestly :) | 10:30 |
| → mikiones joined | 10:30 |
|
cbreak
| files in history are obviously tracked, so gitignore won't do a thing | 10:30 |
|
DARSCODE
| I am not talking trash bro I do it | 10:30 |
| → raven-au joined | 10:31 |
|
DARSCODE
| and I know it works I had this problem for long time and this was solution that has been working for long time | 10:31 |
|
| if you dont believe make a repo and you will see that it does in deed work | 10:31 |
|
| you gitignore can be differend on both branches | 10:31 |
| → freestyl3r joined | 10:32 |
|
_ikke_
| .gitignore doesn't do anything for tracked files | 10:32 |
| → sdothum joined | 10:32 |
|
_ikke_
| So the files would have to be untracked for anything to happen | 10:32 |
|
DARSCODE
| you remove tracking on master ofc | 10:32 |
|
_ikke_
| DARSCODE: Then you change something in develop, and you merge / checkout master. Then git will complain | 10:33 |
|
DARSCODE
| how ? | 10:33 |
|
| please tell me how, since the commit with the delete is only in master | 10:34 |
| ← jnavila left | 10:34 |
|
DARSCODE
| and master will always have that commmit | 10:34 |
| → jost joined | 10:34 |
|
_ikke_
| Yes, but if you merge for example master in develop, then it has to merge the removal also | 10:34 |
|
DARSCODE
| develop will have not and that is what will maintain difference between them, like I said before only dont merge from master back to develop and you will be okee. | 10:34 |
|
| ikke why you want to merge master in to develop ? | 10:35 |
|
| because you added code in master ??? which should not happen | 10:35 |
|
_ikke_
| In some workflows it does happen, but it's not necessary | 10:35 |
| ← jceb left | 10:35 |
|
DARSCODE
| if so then you workflow is not good, but I will behonest about that and say it is my opinion not fact. | 10:35 |
|
_ikke_
| for example, hot fixes should happen on master | 10:36 |
|
DARSCODE
| maybe if that is how you have it setup | 10:36 |
|
_ikke_
| when you have a bug in a release version that should be fixed, without any untested changes | 10:36 |
|
DARSCODE
| I fall back on in between branch for that dont like doing hotfixes on master. | 10:36 |
| ← ItSANg___ left | 10:37 |
| ← fahadash left | 10:37 |
| → t4nk601 joined | 10:37 |
| gitinfo set mode: +v | 10:39 |
| → Balliad joined | 10:39 |
| → ascarter_ joined | 10:39 |
|
t4nk601
| Hi I want to setup a git repository but while pushing the changes by user the destination should be </etc/puppetlabs/puppet/hieradata>, my question is where should i setup the repo ? | 10:40 |
|
_ikke_
| t4nk601: You are basically setting up a deployment through git. | 10:41 |
|
Seveas
| t4nk601: you need to read !deploy | 10:41 |
|
gitinfo
| t4nk601: 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/deploy.html | 10:41 |
| → Spriz joined | 10:41 |
| → cgar joined | 10:42 |
|
Seveas
| t4nk601: the way I solve this is have a puppet.git on our normal central git host, which has a post-receive hook that uses salt to trigger git fetch+reset on all puppet masters | 10:42 |
| ← beaconwriter_ left | 10:42 |
|
avar
| 2.4 release notes showing how "push to deploy" is now a thing: https://github.com/blog/1994-git-2-4-atomic-pushes-push-to-deploy-and-more | 10:42 |
|
| :) | 10:42 |
|
t4nk601
| +Seveas I am using r10k to deploy the environments | 10:43 |
|
| +Seveas I dont know whether we can setup multiple destinations for r10k.yaml | 10:43 |
| ← donnib left | 10:43 |
|
_ikke_
| I don't know r10k | 10:44 |
|
| avar: Note that things like configuration management is still an issue using this | 10:44 |
| ← weiyang left | 10:44 |
| ← nnyk_ left | 10:45 |
| ← devoldmx left | 10:47 |
| → devoldmx3 joined | 10:47 |
| ← devoldmx3 left | 10:47 |
| → devoldmx joined | 10:47 |
| ← seg left | 10:48 |
| ← dustinm left | 10:48 |
| → apfliege_ joined | 10:48 |
| ← apflieger left | 10:48 |
| → vrishab joined | 10:49 |
| ← fooforge left | 10:50 |
| → seg joined | 10:50 |
| ← seg left | 10:50 |
| → seg joined | 10:50 |
| → mfilipe_ joined | 10:50 |
| → dustinm joined | 10:50 |
| ← vrishab left | 10:50 |
| ← hithard left | 10:52 |
| ← zadock left | 10:53 |
| ← elektrinis left | 10:53 |
| ← m0viefreak left | 10:53 |
| → ItSANgo joined | 10:57 |
| → intellix joined | 10:58 |
| → contentsafe_ joined | 10:58 |
| → Nizumzen joined | 10:59 |
| → EminenceHC joined | 10:59 |
| ← wrouesnel3 left | 10:59 |
| ← jost left | 11:01 |
| ← Cust0sL1men left | 11:01 |
| → beautifulmind joined | 11:01 |
| → craigp joined | 11:03 |
| ← EminenceHC left | 11:04 |
| ← nedbat left | 11:04 |
| ← dustinm left | 11:04 |
| ← jamietech left | 11:08 |
| → jamietech joined | 11:11 |
| → imv joined | 11:12 |
| ← craigp left | 11:12 |
|
xace
| when i run git mergetool #it will prompt "Hit return to start merge resolution tool (meld):" when you type "gvimdiff<ENTER>" it ignores my answer and runs meld. Am I missunderstanding the prompt? | 11:12 |
|
| or is this a bug? git version 2.3.7 | 11:13 |
| → jost joined | 11:13 |
|
osse
| not a bug | 11:15 |
|
| it's telling you that it will run meld | 11:15 |
| → jceb joined | 11:15 |
| → Kicer86 joined | 11:15 |
|
xace
| according to http://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging i'm suppose to be able to do it | 11:15 |
| → rnsanchez joined | 11:16 |
|
xace
| If you want to use a merge tool other than the default ... Just type the name of the tool you’d rather use. | 11:16 |
| → jnavila joined | 11:17 |
|
osse
| huh | 11:17 |
| → MattMaker joined | 11:17 |
| → cavallari joined | 11:17 |
| → Cust0sL1men joined | 11:17 |
| → dustinm joined | 11:18 |
|
xace
| (I quoted the page/book) | 11:18 |
| → cbonobo joined | 11:18 |
| → EvilPenguin joined | 11:20 |
| ← cppking left | 11:21 |
| ← sohail left | 11:21 |
| ← blr left | 11:22 |
| ← MattMaker left | 11:22 |
| ← cbonobo left | 11:23 |
| ← ascarter_ left | 11:24 |
| → brucelee joined | 11:24 |
| ← EvilPenguin left | 11:25 |
| → dougsland joined | 11:26 |
| → beaconwriter joined | 11:27 |
| ← brucelee left | 11:29 |
| ← arup_r left | 11:30 |
| → arup_r joined | 11:33 |
| ← chrisgeorge left | 11:33 |
| ← staafl left | 11:33 |
| ← Balliad left | 11:35 |
| ← dustinm left | 11:36 |
| → cbonobo joined | 11:36 |
| → denete joined | 11:37 |
| ← arup_r left | 11:37 |
| ← mquin left | 11:37 |
| → fooforge joined | 11:37 |
| → mquin joined | 11:37 |
| ← effi left | 11:38 |
| ← cbonobo left | 11:41 |
| → arup_r joined | 11:41 |
| → dustinm joined | 11:41 |
| ← denete left | 11:42 |
| ← jnavila left | 11:42 |
| → jnavila joined | 11:43 |
| → effi joined | 11:44 |
| ← dsdeiz left | 11:44 |
| ← effi left | 11:45 |
| → StuartMI joined | 11:45 |
| ← jost left | 11:45 |
| → ErKa joined | 11:49 |
| → dramagods joined | 11:49 |
| ← moparisthebest left | 11:51 |
| → darkbasic joined | 11:51 |
| → moparisthebest joined | 11:51 |
| → edude03 joined | 11:52 |
| ← apfliege_ left | 11:52 |
| → apflieger joined | 11:52 |
| ← darkbasic_ left | 11:52 |
| ← devoldmx left | 11:53 |
|
Impaloo
| how can I check whether there is something to stash? | 11:53 |
|
iveqy
| Impaloo: git status | 11:53 |
|
Impaloo
| programmatically | 11:53 |
|
RichiH
| git status --porcelain | 11:53 |
|
Impaloo
| RichiH: thanks | 11:54 |
| ← dustinm left | 11:54 |
| ← subhojit777 left | 11:54 |
|
iveqy
| RichiH: don't forget the -z | 11:55 |
| ← apflieger left | 11:55 |
| → apfliege_ joined | 11:55 |
|
Impaloo
| if I want to run some tests on the last commit only, disregarding un-staged changes and un-tracked files, what would be the best way to do so? | 11:56 |
| → satanist joined | 11:56 |
|
Impaloo
| just do tmp commit then checkout head~1 then after tests reset the commit? | 11:56 |
|
xace
| Impaloo: git stash | 11:56 |
| ← moparisthebest left | 11:57 |
|
Impaloo
| xace: stash doesn't stash untracked files | 11:57 |
|
xace
| oh, sorry missed that part | 11:57 |
| → dustinm joined | 11:57 |
| → jost joined | 11:57 |
| → paulweb515 joined | 11:58 |
| → BuenGenio joined | 11:58 |
| ← fstd left | 11:59 |
| → marscher joined | 11:59 |
| → fstd joined | 11:59 |
| → moparisthebest joined | 12:00 |
| ← synthmeat left | 12:00 |
| ← fooforge left | 12:00 |
| → EminenceHC joined | 12:01 |
| ← mezod left | 12:01 |
| ← Akagi201_ left | 12:02 |
| → devoldmx joined | 12:02 |
| ← paulweb515 left | 12:02 |
| → synthmeat joined | 12:03 |
| ← apfliege_ left | 12:03 |
| → mizu_no_oto joined | 12:03 |
| → apflieger joined | 12:04 |
| → va joined | 12:04 |
| → twoface88 joined | 12:04 |
|
va
| I would like to programmatically determine the authoring date of a tag; I thought of using git show --pretty=, however, show also outputs the patch of the commit of the tag. What would be the preferable way to get the %ad date? | 12:04 |
| → pc_magas joined | 12:05 |
| ← edude03 left | 12:05 |
| ← EminenceHC left | 12:05 |
| ← arup_r left | 12:06 |
| ← apflieger left | 12:07 |
| → apflieger joined | 12:08 |
| → subhojit777 joined | 12:08 |
| ← synthmeat left | 12:09 |
|
pc_magas
| Hello fellows we are transfering a git5 repo to another server. | 12:09 |
|
xace
| va --format=ad ? | 12:09 |
|
| sry --format=%ad | 12:09 |
| → synthmeat joined | 12:09 |
|
pc_magas
| Also we are making a new user that has access only to the git repo | 12:09 |
|
| but we do not want to has login access | 12:10 |
| → doev joined | 12:10 |
|
pc_magas
| Would you sugest /bin/false or /dev/null as shell? | 12:10 |
| ← devoldmx left | 12:11 |
| ← synthmeat left | 12:11 |
|
pc_magas
| (I am using we instead of I cause are many coworkers doing that right now and I am asking behalf of them) | 12:11 |
| → edude03 joined | 12:11 |
| → synthmeat joined | 12:12 |
|
iveqy
| pc_magas: why not git-shell? How would the user otherwise get git access? | 12:12 |
|
xace
| pc_magas: i usuually use /bin/false for service accounts and /bin/nologin | 12:12 |
|
| for traditional accounts | 12:12 |
| ← ErKa left | 12:12 |
|
iveqy
| pc_magas: why don't you use gitolite? | 12:12 |
|
pc_magas
| iveqy, we are settinh up this now | 12:13 |
| → otter768 joined | 12:13 |
| ← SimonNa left | 12:13 |
| ← apflieger left | 12:13 |
|
iveqy
| pc_magas: My question still stands, why are you trying to setup this manually instead of using a finished solution like gitolite? | 12:13 |
| → apflieger joined | 12:14 |
|
pc_magas
| iveqy, we will use it. | 12:14 |
| → chuchunaku joined | 12:14 |
|
iveqy
| pc_magas: you've to give the user a shell if she are going to have access to the git repo. /bin/false or /bin/nologin won't work with ssh access but you should use git-shell | 12:14 |
| ← jnavila left | 12:15 |
| → rubyonrailed joined | 12:15 |
|
iveqy
| pc_magas: oh, in that case. Don't create a new user, gitolite only needs one unix-user for all git users | 12:15 |
| → effi joined | 12:15 |
| → airdisa joined | 12:16 |
|
pc_magas
| iveqy, also we will use git for code deployment to to amazon EC2 servers | 12:16 |
| → rcn_ joined | 12:16 |
|
pc_magas
| So we need and hooks too | 12:16 |
| ← dhilipsiva left | 12:17 |
|
va
| xace: that outputs the patch! | 12:17 |
|
iveqy
| pc_magas: sure, gitolite does hooks | 12:17 |
| → dhilipsiva joined | 12:17 |
| → paulweb515 joined | 12:17 |
| dhilipsiva → Guest54688 | 12:18 |
| ← otter768 left | 12:18 |
| → chrisgeorge joined | 12:18 |
|
iveqy
| va: man git show look at --format and -z, that's your options. You'll have to use an external tool to get more finegrained parsing (for example awk, sed, etc.) | 12:18 |
|
gitinfo
| va: the git-show manpage is available at http://jk.gs/git-show.html | 12:18 |
| ← edude03 left | 12:18 |
| ← m3hd1 left | 12:18 |
| → mellernoia joined | 12:18 |
| ← pc_magas left | 12:18 |
| ← effi left | 12:20 |
| ← rcn left | 12:20 |
| → Dorf joined | 12:20 |
|
va
| git show -s :) | 12:20 |
| ← harish_ left | 12:21 |
| → dvl_ joined | 12:21 |
| → matachi joined | 12:21 |
| → jnavila joined | 12:21 |
| rcn_ → rcn | 12:22 |
| → dsdeiz joined | 12:24 |
| → denete joined | 12:24 |
| ← dvl_ left | 12:25 |
| → brucelee joined | 12:25 |
| ← joo-_ left | 12:25 |
| → PeterBooker joined | 12:27 |
| → mikecmpbll joined | 12:29 |
| → Texan joined | 12:30 |
| ← raven-au left | 12:30 |
| ← brucelee left | 12:30 |
| → moreirapontocom joined | 12:32 |
| → raven-au joined | 12:33 |
| ← mizu_no_oto left | 12:34 |
| → c0mrad3 joined | 12:36 |
| → Asiajey joined | 12:36 |
| → mizu_no_oto joined | 12:36 |
|
xace
| say I create a branch: git branch -u public collab # when I want to puse collab to public, is it enough to write: git push collab # since it has a remote explicitly configured? | 12:36 |
|
| or do I still have to type git push public collab | 12:37 |
|
osse
| xace: if collab is checked out: just 'git push'. otherwise: the whole thing | 12:37 |
|
xace
| osse: yeah, in this case I'm not in collab | 12:38 |
| ← satanist left | 12:38 |
| → edude03 joined | 12:38 |
| → jds joined | 12:39 |
| ← dustinm left | 12:39 |
| → sgambino joined | 12:39 |
| ← va left | 12:39 |
| ← beaconwriter left | 12:39 |
| ← Nizumzen left | 12:40 |
| → arup_r joined | 12:40 |
| ← vishalud left | 12:40 |
| → linuxboytoo joined | 12:40 |
| → beckyconning_ joined | 12:41 |
| → dustinm joined | 12:41 |
| → nnyk_ joined | 12:41 |
| ← antimatroid left | 12:42 |
| ← toothrot left | 12:42 |
| → victortyau joined | 12:43 |
| ← edude03 left | 12:43 |
| → linuxboy_ joined | 12:44 |
| ← linuxboytoo left | 12:44 |
| → mojibake joined | 12:45 |
| → vishalud joined | 12:45 |
| → Gama11 joined | 12:46 |
| ← ronskisika left | 12:47 |
| → charlesr joined | 12:48 |
| → AcidNerd joined | 12:49 |
| ← linuxboy_ left | 12:49 |
| → CEnnis91 joined | 12:49 |
| ← tristanseifert left | 12:49 |
| → linuxboytoo joined | 12:50 |
| → nour joined | 12:50 |
| → vurma joined | 12:50 |
| → antimatroid joined | 12:52 |
| AcidNerd → benborges | 12:52 |
| ← benborges left | 12:54 |
| ← melter left | 12:54 |
| ← ferr left | 12:54 |
| ← ValicekB left | 12:55 |
| → melter joined | 12:55 |
| ← zumba_ad_ left | 12:57 |
| → Gabri joined | 12:57 |
| → cjwilburn joined | 12:58 |
| ← z8z left | 12:58 |
| → Technocrat7 joined | 12:59 |
| ← apflieger left | 12:59 |
| ← bsanford left | 12:59 |
| → apflieger joined | 13:00 |
| ← matachi left | 13:00 |
| → ivank joined | 13:01 |
|
ivank
| if i'm looking at an old commit, is there any simple way to find the next commit that touched a certain line? | 13:02 |
| ← cagedwisdom left | 13:02 |
| → ValicekB joined | 13:02 |
| → cybertron joined | 13:02 |
| → v0n joined | 13:03 |
|
iveqy
| ivank: next is a bit hard to determinate | 13:03 |
| → apfliege_ joined | 13:03 |
| → dhilipsiva joined | 13:04 |
|
ivank
| ya, going backwards is easy, playing forward not so much | 13:04 |
| ← apflieger left | 13:04 |
| → EminenceHC joined | 13:04 |
| dhilipsiva → Guest43373 | 13:04 |
| → jerius joined | 13:05 |
| ← Technocrat7 left | 13:05 |
| → zgzgzg joined | 13:06 |
| → MattMaker joined | 13:06 |
| gitinfo set mode: +v | 13:06 |
|
cybertron
| thanks | 13:07 |
| → Raging_Hog joined | 13:07 |
|
cybertron
| hi, I try to shrink my git repo, I removed some files and tried und shrink my repo by this http://stevelorek.com/how-to-shrink-a-git-repository.html but it doesn't shrink my remote .pack files, any idea? | 13:07 |
| ← fakenullie left | 13:07 |
| → ki0 joined | 13:07 |
| ← Raging_Hog left | 13:07 |
| ← Guest54688 left | 13:07 |
| ← EminenceHC left | 13:08 |
| → livingstn joined | 13:09 |
| → EvilPenguin joined | 13:09 |
|
iveqy
| cybertron: have you done a git gc --prune=now _ | 13:09 |
|
| ? | 13:09 |
|
cybertron
| yes | 13:09 |
| ← subhojit777 left | 13:10 |
|
cybertron
| and the local git repo is shrinked than but not my remote | 13:10 |
| ← MattMaker left | 13:10 |
| ← Scriptonaut left | 13:11 |
|
shafox
| I am trying to squash multiple commits into one. I am using: git rebase -i HEAD~5 , After selecting commits from pick to squash it is giving this error The previous cherry-pick is now empty, possibly due to conflict resolution. How to solve this ? | 13:12 |
| ← apfliege_ left | 13:12 |
| → apflieger joined | 13:12 |
| ← flaguy48 left | 13:12 |
| → lindenle joined | 13:13 |
| ← jseplae left | 13:14 |
| ← EvilPenguin left | 13:14 |
| → bsanford joined | 13:14 |
| → jr3 joined | 13:15 |
| → tomog999 joined | 13:15 |
| → jseplae joined | 13:15 |
| → leolrrj joined | 13:15 |
| → ascarter joined | 13:16 |
| → gamename joined | 13:17 |
| ← aboccia left | 13:17 |
| ← cavallari left | 13:17 |
| → cavallari joined | 13:17 |
| → cbonobo joined | 13:17 |
| ← tomog999_ left | 13:17 |
| → apfliege_ joined | 13:18 |
| ← apflieger left | 13:18 |
|
cybertron
| iveqy: any other idea? | 13:18 |
| ← lindenle left | 13:18 |
| → aboccia joined | 13:20 |
| → AMERICA__ joined | 13:20 |
| → jolda joined | 13:20 |
| ← gamename left | 13:20 |
| ← jseplae left | 13:20 |
|
iveqy
| cybertron: did you runned on your remote repo or just locally? | 13:21 |
| → jseplae joined | 13:21 |
| → gamename joined | 13:21 |
| ← woodruffw left | 13:21 |
|
cybertron
| iveqy: what you mean with remote? I have no access to the gitserver | 13:21 |
| ← AMERICAN_PSYCHO left | 13:22 |
| ← apfliege_ left | 13:22 |
| ← gamename left | 13:23 |
| → apflieger joined | 13:23 |
| → sburgess joined | 13:23 |
| → tmager joined | 13:23 |
| → gamename joined | 13:23 |
| ← jseplae left | 13:23 |
| ← gamename left | 13:24 |
| → gamename joined | 13:24 |
| ← charlesr left | 13:24 |
| → ErKa joined | 13:24 |
| ← bannakaffalatta left | 13:25 |
| → brucelee joined | 13:26 |
| → knownasilya joined | 13:26 |
| → liamkeily joined | 13:26 |
| ← phantombeta left | 13:27 |
| → Dragooon joined | 13:27 |
| ← sCiphre left | 13:28 |
| ← Guest43373 left | 13:28 |
| ← chuchunaku left | 13:28 |
| → joo-_ joined | 13:29 |
| → Akagi201 joined | 13:29 |
| → phantombeta joined | 13:30 |
| → Tommy[D] joined | 13:30 |
|
rivarun
| what's the difference between `git stash show stash@{10}` and `git show stash@{10}`? | 13:30 |
| ← brucelee left | 13:30 |
| ← Tommy[D]_ left | 13:31 |
| → haavstr joined | 13:32 |
|
osse
| rivarun: how it's displayed | 13:32 |
| → Tommy[D]_ joined | 13:32 |
| ← apflieger left | 13:32 |
|
rivarun
| osse: i should had explained a bit more. `git show [...]` shows a lot less output. 2 files instead of 31 | 13:32 |
| → apflieger joined | 13:33 |
| → zumba_addict joined | 13:33 |
| → zadock joined | 13:33 |
| → matachi joined | 13:34 |
| ← mikiones left | 13:34 |
| → flaguy48 joined | 13:34 |
| ← kp666 left | 13:34 |
| → mikiones joined | 13:34 |
| ← denete left | 13:34 |
|
iveqy
| cybertron: then you won't be able to run git-gc on it | 13:35 |
|
| cybertron: how do you then know that you have packs left on the server? | 13:35 |
|
osse
| rivarun: technically speaking a stash is a merge commit. by default 'git show' doesn't show very much for merges | 13:35 |
|
| rivarun: try git show -m stash@{10} | 13:35 |
| → denete joined | 13:35 |
| ← Tommy[D] left | 13:35 |
| → zumba_ad_ joined | 13:36 |
| ← zumba_addict left | 13:36 |
| → modocache joined | 13:36 |
| → benborges joined | 13:36 |
|
rivarun
| osse: "`-m??? option to any of these commands to force generation of diffs with individual parents of a merge" not completely following | 13:36 |
| ← jnavila left | 13:36 |
|
rivarun
| but i'll take it. thanks | 13:36 |
| ← ivank left | 13:37 |
| → jnavila joined | 13:37 |
| → unreal joined | 13:37 |
| ← Tommy[D]_ left | 13:38 |
| → nettoweb joined | 13:38 |
| ← mikiones left | 13:38 |
| ← zumba_ad_ left | 13:39 |
| → zumba_addict joined | 13:39 |
| ← matachi left | 13:39 |
| ← apflieger left | 13:39 |
| → johnkevinmbasco joined | 13:39 |
| ← mizu_no_oto left | 13:39 |
| → Tommy[D] joined | 13:39 |
| ← ErKa left | 13:40 |
| → apflieger joined | 13:40 |
|
osse
| rivarun: with GIT_TRACE=1 you can see the exact diff command git stash uses | 13:40 |
| ← rchavik left | 13:40 |
|
osse
| It's most likely diffing against it's first parent | 13:40 |
| ← modocache left | 13:41 |
| → zheng joined | 13:41 |
| → jason237 joined | 13:41 |
| ← zheng left | 13:42 |
| → zumba_ad_ joined | 13:42 |
| → zheng joined | 13:42 |
| ← gfvf left | 13:42 |
| → gfvf joined | 13:43 |
| ← zumba_addict left | 13:43 |
| → salutTEKI joined | 13:44 |
| → kadoban joined | 13:44 |
| → Ryanar joined | 13:44 |
| ← salutTEKI left | 13:44 |
| ← phantombeta left | 13:44 |
| ← Tommy[D] left | 13:45 |
| → bvi joined | 13:45 |
| ← apflieger left | 13:45 |
| → apfliege_ joined | 13:45 |
|
cjwilburn
| has anyone used git-lfs yet? if so, how is it? any caveats? | 13:45 |
| → chuchunaku joined | 13:46 |
| → jwhisnant joined | 13:46 |
| → IrishPrime joined | 13:46 |
| → beaconwriter joined | 13:46 |
| ← airdisa left | 13:48 |
| → tristanp_ joined | 13:48 |
| → m0ltar joined | 13:48 |
|
rivarun
| osse: now that i didn't know.thanks | 13:50 |
| → AaronMT joined | 13:50 |
| ← bsanford left | 13:50 |
| → phantombeta joined | 13:50 |
| → nszceta joined | 13:51 |
|
iveqy
| cjwilburn: what makes you consider git-lfs instead of git-annex? | 13:52 |
| ← apfliege_ left | 13:52 |
|
cjwilburn
| iveqy: i was just curious about it, and wanted to see if anyone had any brief practical experience | 13:52 |
| → apflieger joined | 13:53 |
| ← Xiti` left | 13:53 |
| ← s8321414 left | 13:53 |
| → fooforge joined | 13:53 |
| ← nszceta left | 13:54 |
| → mizu_no_oto joined | 13:54 |
| → apfliege_ joined | 13:55 |
| ← apflieger left | 13:55 |
| ← arup_r left | 13:55 |
| ← zivester left | 13:56 |
| → Xiti joined | 13:56 |
| ← acolson left | 13:57 |
| ← roelmonnens left | 13:57 |
| → roelmonnens joined | 13:57 |
| ← rzeka left | 13:58 |
| → acolson joined | 13:58 |
| → mezod joined | 13:58 |
| ← AMERICA__ left | 13:58 |
| ← astroduck left | 13:58 |
| ← fooforge left | 13:58 |
| ← dustinm left | 13:59 |
| → fooforge joined | 14:00 |
| → dallen joined | 14:00 |
| → thiago joined | 14:00 |
| → Hestil joined | 14:00 |
| → str joined | 14:01 |
| ← beautifulmind left | 14:01 |
| ← zumba_ad_ left | 14:01 |
| → m0nkmaster joined | 14:02 |
| → zumba_addict joined | 14:02 |
| ← m0nkmaster left | 14:02 |
| → bsanford joined | 14:03 |
| → airdisa joined | 14:03 |
| ← cbonobo left | 14:04 |
| ← zimablue left | 14:04 |
| → effi joined | 14:05 |
| ← tvw left | 14:05 |
| → ErKa joined | 14:06 |
| ← chuchunaku left | 14:06 |
| → MLM joined | 14:06 |
| → EminenceHC joined | 14:06 |
| → Nizumzen joined | 14:06 |
| ← ReekenX left | 14:07 |
|
cybertron
| iveqy: after my shrinking stuff...if I do a git pull I get back the old status why that? | 14:07 |
| ← str left | 14:07 |
| → zumba_ad_ joined | 14:08 |
|
iveqy
| cybertron: because you haven't pushed? | 14:08 |
| ← zumba_addict left | 14:08 |
| ← zumba_ad_ left | 14:08 |
|
cybertron
| iveqy: I have -.- | 14:08 |
| → zumba_addict joined | 14:09 |
| ← effi left | 14:09 |
| ← rath left | 14:10 |
| → MarkyC joined | 14:10 |
| → pm90_ joined | 14:10 |
| ← jakke left | 14:10 |
|
iveqy
| then !repro | 14:10 |
|
gitinfo
| [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://gist.github.com/2415442 ) of your terminal session. | 14:10 |
| ← skylite left | 14:10 |
| → cbonobo joined | 14:10 |
| ← EminenceHC left | 14:10 |
| → dustinm joined | 14:11 |
| → ciampix joined | 14:11 |
| → edude03 joined | 14:11 |
| ← zumba_addict left | 14:11 |
| → zumba_addict joined | 14:11 |
|
cybertron
| iveqy: my steps u mean? | 14:11 |
| ← pm90_ left | 14:12 |
| ← zumba_addict left | 14:12 |
| → pm90_ joined | 14:13 |
| → kevwil joined | 14:13 |
| → beneggett joined | 14:13 |
| → pheaver joined | 14:13 |
| → zumba_addict joined | 14:13 |
| → bollullera joined | 14:13 |
| → otter768 joined | 14:14 |
| → Tennis joined | 14:15 |
|
shafox
| Reposting: I am trying to squash multiple commits into one. I am using: git rebase -i HEAD~5 , After selecting commits from pick to squash it is giving this error The previous cherry-pick is now empty, possibly due to conflict resolution. How to solve this ? | 14:15 |
| → zimablue joined | 14:17 |
| ← antimatroid left | 14:18 |
| ← fooforge left | 14:18 |
| ← otter768 left | 14:18 |
|
kadoban
| shafox: Did you change them all to squash? | 14:19 |
| ← zumba_addict left | 14:19 |
|
shafox
| kadoban: I tried but same error message coming | 14:19 |
| ← cbonobo left | 14:19 |
| → antimatroid joined | 14:20 |
|
kadoban
| That wasn't a suggestion, it was a question … | 14:20 |
| → zumba_addict joined | 14:20 |
|
cybertron
| iveqy: https://gist.github.com/remotecode/7786074033e8a9566ab4 | 14:20 |
|
shafox
| if want i can give all the commands that i have run. including whats the commit sha as well. | 14:20 |
| ← tmager left | 14:20 |
| ← momken left | 14:21 |
| → highcup joined | 14:22 |
| ← ki0 left | 14:22 |
|
ojacobson
| shafox: I would expect kadoban wants you to answer the question, mostly -- just a theory though | 14:22 |
|
iveqy
| cybertron: rm -rf .git/refs/original/ that line make me curious | 14:22 |
|
| cybertron: I guess you're trying to remove all refs to the original commits | 14:22 |
|
| however you won't remove packed refs | 14:22 |
|
ojacobson
| git filter-branch doesn't create packed refs, so that's (accidentally) not broken right now | 14:23 |
| ← polyzen left | 14:23 |
| → ki0 joined | 14:23 |
|
iveqy
| cybertron: you also don't remove the refs from the remote repository. You only add new ones | 14:23 |
|
ojacobson
| def. the wrong way to do it, but the right way is unnecessarily awkward | 14:23 |
|
shafox
| kadoban: ojacobson . To answer that question: Yes I have done that, once i got that error i tried to do with small number of commits to do the squash, now i have only 4 commits which i want to squash but it is giving me that error. | 14:23 |
|
cybertron
| iveqy: ? | 14:23 |
| ← zumba_addict left | 14:24 |
| → rzeka joined | 14:24 |
|
iveqy
| ojacobson: even if filter-branch doesn't create packed refs, the old refs are still packed, right? | 14:24 |
|
cybertron
| iveqy: so if have to remove original and remote refs? | 14:24 |
| → zumba_addict joined | 14:24 |
|
ojacobson
| iveqy: I would be surprised if there were "old refs" in the refs/original namespace | 14:24 |
| → ehmatthes joined | 14:24 |
|
kadoban
| shafox: Pick a time that it happened. Was it when you tried to squash every commit in the rebase -i ? I no longer have any idea what you actually did or didn't do, and what happened, or didn't. | 14:24 |
|
ojacobson
| clone doesn't create them, unless you use --mirror, and it's unlikely (but not impossible) that e's repacked some previous filter-branch | 14:24 |
|
jast
| packed refs are overridden by non-packed ones | 14:25 |
|
iveqy
| ojacobson: isn't refs/original the refs before the filter branch? | 14:25 |
|
jast
| usually you won't accidentally pack the refs/original refs | 14:25 |
| → gargola joined | 14:25 |
|
shafox
| kadoban: let me redo the steps again. I can do a gist of what i did as well. | 14:25 |
|
ojacobson
| shafox: I would expect that you're rebasing onto upstream, yes? Maybe do this in two steps: rebase your branch (with no changes) onto upstream, clean up any conflicts that causes, and _then_ start squashing commits | 14:25 |
|
| iveqy: it's created by git-filter-branch | 14:25 |
|
| ("yes") | 14:25 |
| ← prillian5 left | 14:26 |
| ← Asiajey left | 14:26 |
|
cybertron
| iveqy: can u explain now? :) | 14:26 |
| → zumba_ad_ joined | 14:26 |
|
iveqy
| ojacobson: so does that mean that git-filter-branch removes refs from packed-refs if that refs is added to refs/original? | 14:26 |
|
kadoban
| shafox: That would probably be helpful. Although ojacobson's suggestion sounds quite good, maybe try that first. | 14:26 |
|
iveqy
| cybertron: you've to delete the refs on the remote | 14:26 |
|
| cybertron: rm -rf just delete your local refs | 14:26 |
|
ojacobson
| No, but the 'rm' is likely intended to remove the backups created by the immediately-preceding filter-branch | 14:26 |
| ← zumba_ad_ left | 14:26 |
|
ojacobson
| I say "likely" because SOMEONE DIDN'T COMMENT THEIR SHELL SCRIPT so it's impossible to know intent for sure | 14:26 |
|
jast
| there's pretty much no chance the refs/original stuff will end up in packed-refs | 14:27 |
|
cybertron
| iveqy: so rm -rf .git/refs/original/ | 14:27 |
|
| erm | 14:27 |
|
| iveqy: so rm -rf .git/refs/remote | 14:27 |
|
shafox
| ojacobson: The branch I am doing squashing is synced with upstream. No conflicts whatsoever. | 14:27 |
| → zumba_ad_ joined | 14:27 |
| ← Dragooon left | 14:27 |
|
ojacobson
| shafox: prove it. | 14:27 |
|
| ('git rebase' with no arguments should do fine) | 14:27 |
|
shafox
| ojacobson: gimme a sec | 14:27 |
|
iveqy
| jast: I don't understand. There should be a chance that the refs in .git/refs/original already was in packed-refs before the git-filter-branch was runned. Right? | 14:27 |
|
| cybertron: no | 14:28 |
| ← zumba_addict left | 14:28 |
|
shafox
| ojacobson: git rebase requires branch name | 14:28 |
|
iveqy
| cybertron: the reason you get "your commits back" is that on your remote, there exists refs to your old commits. You have to delete those refs. | 14:28 |
| ← apfliege_ left | 14:28 |
|
shafox
| https://www.irccloud.com/pastebin/YnLiVLYI | 14:28 |
|
cybertron
| iveqy: and how? | 14:28 |
| → apflieger joined | 14:28 |
|
shafox
| ojacobson: ^^ | 14:28 |
|
ojacobson
| shafox: neat :) | 14:29 |
| ← BuenGenio left | 14:29 |
|
cybertron
| iveqy: and does I loose my history then? | 14:29 |
|
iveqy
| cybertron: git push :<refname> | 14:29 |
|
| cybertron: and yes it will | 14:29 |
| → BuenGenio joined | 14:29 |
|
cybertron
| uhhh :( | 14:29 |
|
| I need that | 14:29 |
|
shafox
| ojacobson: shall i start from scratch ? | 14:29 |
|
jast
| iveqy: only if ran 'git gc' or 'git pack-refs --all' between the previous filter-branch and the current one | 14:29 |
|
ojacobson
| shafox: nope, that's sufficient | 14:30 |
|
cybertron
| iveqy: I loose my complete history or just of the delete files? | 14:30 |
|
ojacobson
| can you gist the rebase command + the list rebase -i makes you write, now? I'm curious about kadoban's side | 14:30 |
| → trang joined | 14:30 |
|
shafox
| ojacobson: ok. I was referring to this:: let me redo the steps again. I can do a gist of what i did as well. | 14:30 |
| → Clint0n_ joined | 14:31 |
|
shafox
| ojacobson: shall I just get the branch from upstream and then try to do rebase on it and make a gist ? | 14:31 |
|
iveqy
| cybertron: git doesn't track files, just content and history so yes your history will be lost | 14:31 |
|
| that's what filter-branch DO | 14:31 |
|
cybertron
| thats shit :/ is there any other way to get my .git smaller? | 14:32 |
| → zumba_addict joined | 14:32 |
|
jast
| that's technically correct but also potentially misleading | 14:32 |
|
iveqy
| jast: hmm, this seems strange to me. I guess I've to do some experiments to understand this fully. | 14:32 |
|
jast
| your *rewritten* history is preserved | 14:32 |
| ← joo-_ left | 14:32 |
|
cybertron
| jast? | 14:32 |
|
jast
| well | 14:32 |
| → fooforge joined | 14:32 |
|
ojacobson
| git is not a source control system | 14:32 |
|
jast
| from what I understand, you've removed some files from some or all of your branches, right? | 14:32 |
|
ojacobson
| it's a bucket of pieces for building source control systems | 14:32 |
| → Asiajey joined | 14:33 |
| ← Asiajey left | 14:33 |
| → Asiajey joined | 14:33 |
|
cybertron
| jast: yes and I wanna shrink my .pack | 14:33 |
| → Dragooon joined | 14:33 |
|
ojacobson
| that's not what filter-branch does | 14:33 |
|
cybertron
| because I have fails when I clone my repo to my server | 14:33 |
|
jast
| sure, but it's a necessary step :) | 14:33 |
|
ojacobson
| filter-branch rewrites history | 14:33 |
|
qsuscs
| ojacobson: years ago, this was true. nowadays, it’s a pretty decent SCM | 14:33 |
| ← johnkevinmbasco left | 14:33 |
|
jast
| cybertron: did you run filter-branch in your local repository or in the remote one? | 14:33 |
| ← zumba_ad_ left | 14:34 |
| ← zheng left | 14:34 |
|
cybertron
| jast: I have done this git filter-branch --tag-name-filter cat --index-filter 'git rm -r --cached --ignore-unmatch filename' --prune-empty -f -- --all <-- I thinks its local or? | 14:34 |
| ← Dragooon left | 14:34 |
| ← Clint0n left | 14:34 |
|
jast
| unless you logged into the server and ran it there, yes | 14:34 |
|
cybertron
| jast: what u mean with that? logged in per ssh and run there? | 14:35 |
|
jast
| yes. I'm not saying that's what you need to do, I just wanted to know which you did. :) | 14:35 |
| → Dougie187 joined | 14:35 |
|
cybertron
| hehe ok | 14:35 |
|
| jast: so just on my local host :) | 14:35 |
| ← tristanp_ left | 14:36 |
|
shafox
| ojacobson: kadoban These are the commits that i want to squash together and get a new single commit. These are being generated through git log. https://gist.github.com/shadow-fox/a6ebde7d9ec70c0445df | 14:36 |
|
cybertron
| so I thought I won't loose my history if I use filter-branch? | 14:36 |
| ← zumba_addict left | 14:36 |
| → pm90__ joined | 14:37 |
| → zumba_addict joined | 14:37 |
| ← Consuela left | 14:37 |
| ← phantombeta left | 14:37 |
| ← pm90__ left | 14:37 |
| → Dragooon joined | 14:37 |
|
jast
| cybertron: it's a matter of definitions. filter-branch works by altering your history such that you get an entirely new history which is about the same, except it excludes all references to the file(s) you removed | 14:37 |
| → nnyk joined | 14:38 |
| → joo-_ joined | 14:38 |
| ← pm90_ left | 14:38 |
|
jast
| it's pretty much the point of this whole operation, in your case, to "lose" the old history :) | 14:38 |
|
cybertron
| jast: If I loose the history of my removed files...that is ok | 14:38 |
| → pm90_ joined | 14:38 |
|
shafox
| ojacobson: kadoban I am going to update that gist on what I am doing and where I will get the error itself. | 14:38 |
|
cybertron
| jast: important is that I hold the history of the rest | 14:38 |
|
jast
| okay, and in the end you ran those commands to expire/prune/gc, and then you pushed, once with --all and once with --tags? | 14:39 |
| ← nnyk_ left | 14:39 |
| → devoldmx joined | 14:39 |
| ← joo-_ left | 14:39 |
|
cybertron
| jast yes to origin | 14:39 |
|
jast
| and those succeeded without error? | 14:39 |
|
cybertron
| jast: yes | 14:39 |
| ← apflieger left | 14:39 |
|
jast
| okay... so far, so good | 14:40 |
|
cybertron
| jast: http://stevelorek.com/how-to-shrink-a-git-repository.html I worked with this | 14:40 |
|
jantje
| hi, I would like to 'push logging' in a git pre/post receive hook. I'm thinking of writing git notes to the commit. Does anyone knows if such hook already exists so I can use it as an example? | 14:40 |
| → apflieger joined | 14:40 |
|
jast
| and your local repo blows back up again after a pull? | 14:40 |
|
cybertron
| jast jep | 14:40 |
| → Peter_Occ joined | 14:40 |
| ← dsdeiz left | 14:40 |
|
shafox
| ojacobson: funny thing. when i started again. it didnt complain. it went through without any errors. | 14:41 |
|
jast
| cybertron: okay. let's first see whether there's any superfluous stuff on the server... please put the output of this in a !paste@* somewhere: git ls-remote origin | 14:41 |
|
gitinfo
| Please paste snippets longer than one line at a pastebin site, such as https://gist.github.com/ rather than in-channel. | 14:41 |
|
jast
| if it's super secret, you may want to use a private pastebin and send the URL in a private message or something :} | 14:41 |
| ← RaceCondition left | 14:42 |
|
kadoban
| shafox: So there's no error anymore then? | 14:42 |
|
cybertron
| jast: http://pastebin.com/1UWakmxL | 14:42 |
| → phantombeta joined | 14:42 |
|
shafox
| kadoban: nope. it just rebased without any error. | 14:42 |
|
ska-fan
| Can I configure, "regardless of the current branch, fetch -p this remote and pull branch "develop" in one command? | 14:42 |
| ← nettoweb left | 14:42 |
|
jast
| okay, that looks clean enough | 14:42 |
|
ska-fan
| s/ in one command/" in one command" | 14:42 |
| → psoo_ joined | 14:43 |
|
cybertron
| jast: ok so I atm I just have filtered some files | 14:44 |
|
| and cleaned up with gc prune | 14:44 |
| → tmager joined | 14:44 |
|
cybertron
| so know I would git push origin --force --all | 14:44 |
|
kadoban
| ska-fan: pull is a fetch + a merge. So … do the correct fetch and then do the correct merge. You can make an alias for it if you want. What's the point of making it one command? | 14:44 |
|
cybertron
| know=now | 14:44 |
|
jast
| cybertron: you're doing this all over again? | 14:45 |
| ← tmager left | 14:45 |
|
cybertron
| jast: I remvoed and cloned again ;) | 14:45 |
|
| first thing... .git/refs/original/ | 14:45 |
|
jast
| okay... | 14:46 |
|
cybertron
| das I need to remove that or not? | 14:46 |
|
jast
| let me know when you're done, before pulling again | 14:46 |
|
| after filter-branch? yes, highly recommended | 14:46 |
|
cybertron
| ok | 14:46 |
| ← droid909 left | 14:46 |
|
jast
| if you're sure you've filtered away the right thing, that is | 14:46 |
| → Droolio joined | 14:46 |
| ← apflieger left | 14:46 |
|
jast
| one comment on the procedure: running both 'git gc' and 'git gc --aggressive' is unnecessary | 14:46 |
|
cybertron
| jast: done: everying up-to-date | 14:47 |
|
jast
| they do the same thing, only with different levels of compression | 14:47 |
| ← psoo left | 14:47 |
| → apflieger joined | 14:47 |
| → The_Phoenix joined | 14:47 |
|
cybertron
| ok ;) | 14:47 |
| ← The_Phoenix left | 14:47 |
|
cybertron
| jast so git push is done | 14:47 |
|
jast
| okay, now do that 'git ls-remote origin' again, and also this: git log --graph --pretty=format:%H%d | 14:47 |
| → nfk joined | 14:48 |
|
jast
| we can use that to make sure there is absolutely no unexpected differences between local and remote | 14:48 |
|
| there shouldn't be in the first place, but better safe than sorry | 14:48 |
| → The_Phoenix joined | 14:48 |
| ← The_Phoenix left | 14:48 |
| → The_Phoenix joined | 14:48 |
| → gsingh93 joined | 14:48 |
| ← The_Phoenix left | 14:48 |
|
cybertron
| jast: u wanna see ALL? | 14:48 |
|
jast
| nah, cut off after a few dozen lines, I guess | 14:49 |
|
| I'll complain loudly if that's not enough ;) | 14:49 |
| → Zupoman joined | 14:49 |
| → The_Phoenix joined | 14:50 |
| ← devoldmx left | 14:50 |
|
cybertron
| jast: http://pastebin.com/PBrXJrfR | 14:50 |
| ← crose left | 14:50 |
| → tmager joined | 14:51 |
| → crose joined | 14:51 |
| ← apflieger left | 14:51 |
| → apflieger joined | 14:51 |
| → delinquentme joined | 14:52 |
| → Bootinbull joined | 14:52 |
| → im8bit joined | 14:53 |
|
ojacobson
| heh | 14:53 |
|
| just sent a CI service an email politely suggesting they stop using shallow clones | 14:53 |
| → tang^ joined | 14:53 |
|
ojacobson
| "thanks", git, for that lovely misfeature | 14:53 |
| → modocache joined | 14:53 |
| → jstimm joined | 14:54 |
|
cybertron
| jast: ?^^ | 14:54 |
| ← The_Phoenix left | 14:54 |
| ← dreiss left | 14:54 |
| ← antimatroid left | 14:54 |
|
jast
| okay, modul_w isn't completely visible there but master looks fine, so that should be okay | 14:54 |
| ← haavstr left | 14:54 |
| → MattMaker joined | 14:55 |
|
jast
| git pull should be a no-op at this point | 14:55 |
| ← tmager left | 14:55 |
| → Akagi201_ joined | 14:55 |
| → SimonNa joined | 14:55 |
|
iveqy
| cybertron: what's git-revparse modul_w | 14:55 |
|
jast
| git rev-parse modul_w | 14:56 |
| → Technocrat7 joined | 14:56 |
|
jast
| should output 400d4f3f1cd5c5ac93a7605caa929f8e8d9983b8 | 14:56 |
| ← Dragooon left | 14:56 |
|
jast
| actually we already know that one | 14:56 |
| → The_Phoenix joined | 14:56 |
|
jast
| no, disregard | 14:56 |
|
cybertron
| hmm | 14:56 |
|
jast
| I'm confused :) | 14:56 |
|
iveqy
| jast: do we? | 14:56 |
| ← The_Phoenix left | 14:57 |
|
qsuscs
| jast: !beer | 14:57 |
|
gitinfo
| jast: Beer! It's what's for dinner! | 14:57 |
|
iveqy
| jast: we know that it should be the sha1 | 14:57 |
|
cybertron
| unknown revision or path not in the working tree. | 14:57 |
|
iveqy
| you mentioned. But we don't know | 14:57 |
|
jast
| oh | 14:57 |
|
iveqy
| so it seems like we have a problem... | 14:57 |
|
jast
| did you, in the howto you followed, maybe skip the step in which you ran a script that iterated over all refs? | 14:57 |
| → The_Phoenix joined | 14:57 |
| → woodruffw joined | 14:57 |
| ← joki left | 14:58 |
| ← The_Phoenix left | 14:58 |
| → EvilPenguin joined | 14:58 |
|
cybertron
| jast: which itaration?? the modul_w is a branch where I changed nothing | 14:58 |
|
jast
| so that branch doesn't contain any undesired files? | 14:58 |
| → The_Phoenix joined | 14:58 |
|
cybertron
| jast: yes | 14:58 |
|
jast
| okay, so we can ignore it | 14:58 |
|
cybertron
| :) | 14:58 |
| → uri_ joined | 14:58 |
| ← MattMaker left | 14:59 |
| ← The_Phoenix left | 14:59 |
| ← zumba_addict left | 14:59 |
| ← Akagi201 left | 14:59 |
|
ska-fan
| kadoban: Good idea, thanks! | 14:59 |
|
cybertron
| jast: and now? | 15:00 |
|
kadoban
| 'welcome | 15:00 |
| → The_Phoenix joined | 15:00 |
| ← The_Phoenix left | 15:00 |
|
kadoban
| ojacobson: Out of curiosity, why does it matter if CI tools use that? | 15:01 |
| → The_Phoenix joined | 15:01 |
|
jast
| cybertron: try a pull, hope for the best :) | 15:01 |
| ← Silmarilion left | 15:01 |
|
ojacobson
| kadoban: I work for Heroku. In my capacity there, I care because I have to support 'git push' deployment, and shallow clones break that horribly. :) | 15:01 |
|
cybertron
| jast: no I get back my old stand | 15:01 |
|
ojacobson
| shallow clone source repo, attempt git push heroku master from clone, sad trombone | 15:02 |
|
jast
| that doesn't make sense, because master on local and remote are identical | 15:02 |
|
cybertron
| jast: :/ | 15:02 |
| ← acolson left | 15:02 |
| → joki joined | 15:02 |
|
kadoban
| ojacobson: Ah, I see. | 15:02 |
| ← EvilPenguin left | 15:02 |
| ← roelmonnens left | 15:02 |
|
jast
| cybertron: another run of this one? git log --graph --pretty=format:%H%d | 15:02 |
|
| also, what did 'git pull' output? | 15:03 |
|
cybertron
| jast: it takes some minutes before the pull is finished and I hvae to go now :/ | 15:03 |
|
jast
| strange | 15:03 |
|
cybertron
| jast: it pulls the complete repo | 15:03 |
| → Corey84 joined | 15:03 |
|
jast
| oh, maybe dumb HTTP or something | 15:04 |
|
cybertron
| ssh ;) | 15:04 |
| ← __main__ left | 15:04 |
|
jast
| hmm | 15:04 |
| → cdown_ joined | 15:04 |
|
iveqy
| cybertron: please come back and continue this problem. I'm really curious about what's causing this | 15:04 |
|
cybertron
| jast: much thanks for your help, perhaps we can check tomorrow again | 15:04 |
|
| iveqy: I'll do ;) | 15:04 |
|
bigsky
| iveqy: i want to know how many lines are added to each commit | 15:04 |
| ← cdown left | 15:04 |
| cdown_ → cdown | 15:04 |
|
jast
| okay, see you, perhaps :) | 15:04 |
|
iveqy
| bigsky: git log --stat? | 15:05 |
|
cybertron
| :) | 15:05 |
| → mikiones joined | 15:05 |
|
cybertron
| bye | 15:05 |
| → __main__ joined | 15:05 |
| → EminenceHC joined | 15:05 |
| ← D-Boy left | 15:05 |
|
iveqy
| bigsky: or even git show --numstat | 15:05 |
| ← c0mrad3 left | 15:05 |
|
iveqy
| bigsky: you can read details on man git show | 15:06 |
|
gitinfo
| bigsky: the git-show manpage is available at http://jk.gs/git-show.html | 15:06 |
| ← ThomasLocke left | 15:06 |
| ← __main__ left | 15:07 |
| ← Asiajey left | 15:07 |
| → Dragooon joined | 15:08 |
| ← ascarter left | 15:08 |
| → fakenullie joined | 15:08 |
| → ayylemayo joined | 15:08 |
| ← Ryanar left | 15:08 |
| ← nnyk left | 15:08 |
| ← Hestil left | 15:09 |
| → Asiajey joined | 15:09 |
| → cbonobo joined | 15:10 |
| → __main__ joined | 15:10 |
| → MechtiIde joined | 15:10 |
| → joo-_ joined | 15:10 |
| ← Kulrak left | 15:10 |
| ← jceb left | 15:11 |
| → nnyk joined | 15:11 |
| ← vishalud left | 15:11 |
| → Gamecubic joined | 15:12 |
| ← boblee left | 15:13 |
| → boblee joined | 15:13 |
| → lg188 joined | 15:14 |
| ← Sceorem left | 15:16 |
| ← airdisa left | 15:16 |
| → nettoweb joined | 15:17 |
| → D-Boy joined | 15:17 |
| ← beneggett left | 15:17 |
| ← nettoweb left | 15:18 |
| → airdisa joined | 15:19 |
| ← The_Phoenix left | 15:19 |
| → nettoweb joined | 15:19 |
| ← zoso left | 15:19 |
| ← Alienpruts left | 15:19 |
| → dreiss joined | 15:20 |
| → AMERICAN_PSYCHO joined | 15:21 |
| → The_Phoenix joined | 15:21 |
| ← rcn left | 15:22 |
| ← contentsafe_ left | 15:23 |
| ← joki left | 15:23 |
| → joki joined | 15:24 |
| ← StuartMI left | 15:24 |
| → zumba_addict joined | 15:25 |
|
bigsky
| iveqy: i wannt to get a list of how much lines inserted on each commit, that is diff HEAD~1, HEAD~1..HEAD~2, HEAD~2..HEAD~3 | 15:26 |
| → soc42 joined | 15:26 |
| ← The_Phoenix left | 15:26 |
| ← pheaver left | 15:27 |
| ← nettoweb left | 15:27 |
| → chuchunaku joined | 15:28 |
| ← Dorf left | 15:28 |
| → The_Phoenix joined | 15:28 |
| ← MarkyC left | 15:28 |
| ← The_Phoenix left | 15:29 |
| → The_Phoenix joined | 15:30 |
| ← The_Phoenix left | 15:30 |
| → The_Phoenix joined | 15:31 |
| ← ende_____ left | 15:31 |
| ← The_Phoenix left | 15:31 |
|
qsuscs
| bigsky: grep man git show for stat | 15:32 |
|
gitinfo
| bigsky: the git-show manpage is available at http://jk.gs/git-show.html | 15:32 |
|
qsuscs
| iirc there was such an option | 15:32 |
| → ende_____ joined | 15:32 |
| → StuartMI joined | 15:32 |
| → The_Phoenix joined | 15:32 |
| → Dorf joined | 15:32 |
| ← The_Phoenix left | 15:32 |
| ← cdown left | 15:33 |
| ← apflieger left | 15:33 |
| → apflieger joined | 15:33 |
| ← doev left | 15:33 |
| → cdown joined | 15:34 |
| → martinr joined | 15:34 |
| → The_Phoenix joined | 15:34 |
| ← gv left | 15:34 |
| ← TomyWork left | 15:34 |
| ← Spriz left | 15:34 |
|
iveqy
| bigsky: didn't I just told you how to do that? | 15:35 |
| ← trang left | 15:36 |
| ← ayylemayo left | 15:36 |
| ← psoo_ left | 15:37 |
| → incredible joined | 15:37 |
| ← modocache left | 15:37 |
| ← apflieger left | 15:37 |
| ← cromero left | 15:37 |
| → Clint0n joined | 15:37 |
| → modocache joined | 15:37 |
| → apflieger joined | 15:37 |
| → gv joined | 15:37 |
| → cromero joined | 15:38 |
| → KeroroGunsou joined | 15:38 |
| gitinfo set mode: +v | 15:38 |
| → odin22 joined | 15:38 |
| → EvilPenguin joined | 15:38 |
|
martinr
| I've got a project that was forked from a git repo, but I don't know the commit ID that it was branched from. Is there a tool that will help me determine that? | 15:39 |
| → Noldorin joined | 15:39 |
|
kadoban
| martinr: forked how? Is the git history intact? | 15:39 |
|
martinr
| no, it was taken over to an svn repo. | 15:39 |
| ← The_Phoenix left | 15:39 |
|
martinr
| so I have no git history. | 15:40 |
| ← Clint0n_ left | 15:41 |
| ← ehmatthes left | 15:41 |
|
martinr
| I was thinking of writing a script that would do a diffstat on each commit id to try to figure it out, but don't want to write it if it already exists. | 15:41 |
| ← ende_____ left | 15:41 |
| ← fakenullie left | 15:42 |
| → The_Phoenix joined | 15:42 |
| ← modocache left | 15:42 |
| ← The_Phoenix left | 15:42 |
| ← cromero left | 15:42 |
| → apfliege_ joined | 15:42 |
| → stantonk joined | 15:42 |
| → Hestil joined | 15:42 |
| ← apflieger left | 15:43 |
|
kadoban
| I don't know of it if it exists. Definitely not something that's part of git, although some of the git plumbing could be helpful I'm sure. | 15:43 |
| → The_Phoenix joined | 15:43 |
| ← nour left | 15:43 |
|
jast
| martinr: if there's definitely a common commit and no merge have been made since the fork, this can be figured out with built in tools | 15:44 |
|
| *merges | 15:44 |
| ← lb1a left | 15:44 |
| ← Gianormagantrous left | 15:44 |
| → Technocrat786 joined | 15:44 |
|
martinr
| I suspect that there have been changes, although I'm not positive of that. | 15:45 |
| KeroroGunsou → d0lph1n98 | 15:45 |
|
jast
| what do you mean by 'changes'? | 15:45 |
| → Es0teric joined | 15:45 |
| → Ryanar joined | 15:46 |
|
jast
| anyway, if you fetch the history from both repositories into a common repo, you can use 'git merge-base' to find the "most recent" commit common to both repositories | 15:46 |
|
martinr
| I assume that the code has been modified, so I can't just get a sha hash to compare. | 15:46 |
| ← apfliege_ left | 15:46 |
|
jast
| well, depends on how the forking was done | 15:46 |
| ← jzk left | 15:46 |
|
jast
| if the fork started over with a new initial commit that happened to contain the same files, then no, there's no common commit ID | 15:46 |
| → apflieger joined | 15:47 |
| → Gianormagantrous joined | 15:47 |
| ← Gianormagantrous left | 15:47 |
| → Gianormagantrous joined | 15:47 |
|
osse
| but then there is a common tree ID | 15:47 |
|
jast
| that would be a strange way to fork, though. generally you'd clone the original repo and then simply start committing different things | 15:47 |
| → devoldmx joined | 15:47 |
|
jast
| in that case you'll have all of the pre-fork history in common | 15:47 |
| → _tpavel joined | 15:48 |
|
martinr
| great. that gives me a place to start. Thanks. | 15:49 |
|
iveqy
| martinr: how was this svn repo converted to be a git repo? | 15:49 |
| → ncd|leeN joined | 15:49 |
| → kpease joined | 15:49 |
|
martinr
| we got a tarball of the directory with no version information. | 15:49 |
| → trang joined | 15:50 |
| → rcn joined | 15:50 |
| ← apflieger left | 15:50 |
| → apfliege_ joined | 15:50 |
|
martinr
| It's actually in svn now, the opensource project is in git. | 15:50 |
| ← Mrbitterness left | 15:51 |
| ← _tpavel left | 15:51 |
|
iveqy
| oh :(, what a mess | 15:52 |
| → dhilipsiva joined | 15:52 |
| ← ilmgb left | 15:52 |
| dhilipsiva → Guest42923 | 15:52 |
| ← The_Phoenix left | 15:52 |
|
martinr
| that was my thought too. | 15:52 |
|
osse
| martinr: you can create a tree hash of the contents of the tarball and compare to the trees in the git repo | 15:52 |
| → FreezingCold joined | 15:53 |
|
osse
| that'll only work if there are NO changes. but worth a try since it's pretty fast | 15:53 |
| ← leeN left | 15:53 |
| ← ashnur left | 15:54 |
| → nettoweb joined | 15:54 |
| → effi joined | 15:54 |
| → ashnur joined | 15:54 |
| → The_Phoenix joined | 15:54 |
| ← The_Phoenix left | 15:55 |
| → echelon joined | 15:55 |
|
echelon
| i tried to manually install git-svn from the source tarball | 15:55 |
| ← dreiss left | 15:55 |
| ← KennyRayFL left | 15:55 |
| → The_Phoenix joined | 15:56 |
| ← The_Phoenix left | 15:56 |
| ← veganista left | 15:57 |
| → The_Phoenix joined | 15:57 |
| ← The_Phoenix left | 15:57 |
| ← apfliege_ left | 15:58 |
| → The_Phoenix joined | 15:58 |
| → apflieger joined | 15:58 |
| ← The_Phoenix left | 15:58 |
| ← ashnur left | 15:59 |
| → The_Phoenix joined | 15:59 |
| → eka joined | 15:59 |
| ← The_Phoenix left | 15:59 |
| → ashnur joined | 15:59 |
| → polyzen joined | 15:59 |
| ← airdisa left | 15:59 |
| → The_Phoenix joined | 16:00 |
| ← The_Phoenix left | 16:00 |
| ← bb010g left | 16:00 |
|
echelon
| but i get this error.. http://pastebin.com/tUGaFwky | 16:00 |
|
| after i did make git-svn | 16:00 |
| ← effi left | 16:01 |
| → The_Phoenix joined | 16:01 |
| ← apflieger left | 16:01 |
|
echelon
| i copied git-svn to ~/.local/bin which is in $PATH | 16:01 |
| → apflieger joined | 16:01 |
|
iveqy
| echelon: you're missing the perl-svn modules | 16:02 |
|
echelon
| and SVN.pm, SVN/, to ~/share/perl/5.18.2/Git | 16:02 |
| ← mikiones left | 16:03 |
| → fooforge_ joined | 16:03 |
| ← fooforge left | 16:03 |
| ← apflieger left | 16:03 |
| ← rubyonrailed left | 16:03 |
|
echelon
| iveqy: which files do i still need | 16:03 |
| → apflieger joined | 16:04 |
| → mikiones joined | 16:04 |
| → hackel joined | 16:04 |
| ← The_Phoenix left | 16:04 |
| ← intellix left | 16:04 |
| ← ashnur left | 16:05 |
| ← cdown left | 16:05 |
| → cdown_ joined | 16:05 |
| → ashnur joined | 16:05 |
| cdown_ → cdown | 16:05 |
|
iveqy
| echelon: I don't know since I don't know perl good enough | 16:05 |
| ← bittyx left | 16:06 |
| → intellix joined | 16:06 |
| ← Gabri left | 16:06 |
| → moretti joined | 16:06 |
| ← Ryanar left | 16:07 |
| ← tumulte left | 16:07 |
| → Edgeline joined | 16:07 |
| → The_Phoenix joined | 16:07 |
| ← Edgeline left | 16:07 |
|
echelon
| i guess i need to install the SVN::Core module | 16:07 |
|
iveqy
| echelon: yes | 16:07 |
| ← mikiones left | 16:08 |
| ← The_Phoenix left | 16:08 |
| ← Guest42923 left | 16:09 |
| → shinnya joined | 16:09 |
| ← Peter_Occ left | 16:09 |
| ← jafa left | 16:09 |
| ← apflieger left | 16:10 |
| → apflieger joined | 16:10 |
| → The_Phoenix joined | 16:10 |
| ← bonswouar left | 16:10 |
| ← eka left | 16:11 |
| ← The_Phoenix left | 16:11 |
| ← Dragooon left | 16:12 |
| → bittyx joined | 16:12 |
| ← joo-_ left | 16:12 |
| → arnaud____ joined | 16:13 |
| ← lqi left | 16:13 |
| → bakednotfried joined | 16:13 |
| → joo-_ joined | 16:13 |
| ← trepidaciousMBR2 left | 16:13 |
| ← bakednotfried left | 16:14 |
| → otter768 joined | 16:15 |
| → imachuchu joined | 16:15 |
| → lqi joined | 16:15 |
| → lindenle joined | 16:16 |
| → scarabx joined | 16:16 |
| → bakednotfried joined | 16:16 |
| ← gsingh93 left | 16:16 |
| ← bittyx left | 16:17 |
| ← gfixler left | 16:17 |
| ← scarabx left | 16:17 |
| → mikiones joined | 16:18 |
| → Dragooon joined | 16:18 |
| ← loz-- left | 16:18 |
| ← encod3 left | 16:18 |
| → eka joined | 16:19 |
| ← lindenle left | 16:19 |
| → moreirap_ joined | 16:19 |
| → lindenle joined | 16:19 |
| → rubyonrailed joined | 16:19 |
| → loz-- joined | 16:19 |
| ← otter768 left | 16:20 |
| ← apflieger left | 16:20 |
| ← eka left | 16:20 |
| → apfliege_ joined | 16:20 |
| → Quevin joined | 16:20 |
| → jafa joined | 16:21 |
| ← moreirapontocom left | 16:21 |
| ← jolda left | 16:22 |
| ← mikiones left | 16:22 |
| ← mizu_no_oto left | 16:23 |
| ← apfliege_ left | 16:23 |
| → apflieger joined | 16:23 |
| → durham joined | 16:24 |
| ← darkbasic left | 16:24 |
| ← workerbeetwo left | 16:25 |
| → darkbasic joined | 16:25 |
| → TomyLobo joined | 16:25 |
| ← thiago left | 16:25 |
| → bittyx joined | 16:25 |
| ← ki0 left | 16:26 |
| → apfliege_ joined | 16:28 |
| ← apflieger left | 16:28 |
| ← joo-_ left | 16:29 |
| ← bittyx left | 16:30 |
| → Kulrak joined | 16:30 |
| ← Kulrak left | 16:30 |
| → Kulrak joined | 16:30 |
| ← Clint0n left | 16:30 |
| → ende_____ joined | 16:31 |
| ← devoldmx left | 16:31 |
| → alex1a joined | 16:31 |
| ← chuchunaku left | 16:34 |
| ← King_Hual left | 16:34 |
| ← Tennis left | 16:35 |
| ← cdown left | 16:35 |
| ← mikecmpbll left | 16:35 |
|
Kronuz
| hello | 16:35 |
|
foofin
| Hello! | 16:35 |
| ← apfliege_ left | 16:36 |
|
Kronuz
| hey, is there something like `git status --ignore-submodules=dirty` but for `git add` ? | 16:36 |
| → apflieger joined | 16:36 |
| → cdown joined | 16:36 |
|
Kronuz
| Like I wanted to do `git add -p --ignore-submodules=dirty`, but it's not allowed | 16:36 |
|
| I just don't wat to have ignore = dirty in my .gitmodules | 16:37 |
| → skapunker joined | 16:37 |
| → Techno786 joined | 16:37 |
| → Sasazuka joined | 16:37 |
| ← arnaud____ left | 16:37 |
| ← d0lph1n98 left | 16:37 |
|
Kronuz
| (I'd want to ignore dirty while updating .gitmodules, but not for git status) | 16:37 |
| → modocache joined | 16:38 |
| → diegoviola joined | 16:38 |
| → mikiones joined | 16:38 |
| ← Asenar left | 16:39 |
| ← soc42 left | 16:39 |
| ← trang left | 16:39 |
| ← liamkeily left | 16:39 |
| → eka joined | 16:40 |
| → MattMaker joined | 16:40 |
| → gsingh93 joined | 16:40 |
| → CheckDavid joined | 16:41 |
| → trang joined | 16:42 |
| ← granthatcher left | 16:42 |
| ← ende_____ left | 16:42 |
| → King_Hual joined | 16:42 |
| ← King_Hual left | 16:42 |
| → King_Hual joined | 16:42 |
| → cssko joined | 16:42 |
| → ende_____ joined | 16:43 |
| → Pistos joined | 16:43 |
| ← settermjd left | 16:43 |
| ← modocache left | 16:43 |
| → devoldmx joined | 16:43 |
|
Pistos
| I am trying to do a git revert, but I previously made a wrong conflict resolution with that revert. I have done a `git revert --abort` to try again, but every time I redo the revert, it re-applies the rerere, even though I have tried to use `git rerere forget filename`. | 16:44 |
| ← dramagods left | 16:44 |
|
Pistos
| I have rerere.enabled = true in my ~/.gitconfig . Is that overriding things? | 16:44 |
| ← apflieger left | 16:44 |
|
Pistos
| No, even commenting that out doesn't help. | 16:44 |
| ← pm90_ left | 16:45 |
| ← MattMaker left | 16:45 |
| ← fooforge_ left | 16:48 |
| ← Cust0sL1men left | 16:48 |
|
ojacobson
| git -c rerere.enabled=false revert ... | 16:48 |
|
| that'll suppress rerere forcibly for that one command | 16:48 |
| ← Droolio left | 16:49 |
| → mjuszczak joined | 16:49 |
| ← AugustoCesar left | 16:50 |
| → bittyx joined | 16:50 |
|
Pistos
| ojacobson: I'll give it a shot, thanks. | 16:52 |
| ← intellix left | 16:52 |
|
Pistos
| ojacobson: Brilliant, that did it. Thank you! | 16:52 |
| → Ryanar joined | 16:54 |
| → Jackneill joined | 16:54 |
| ← Hestil left | 16:55 |
| ← bittyx left | 16:55 |
| → m0viefreak joined | 16:56 |
| ← MKCone`Office left | 16:56 |
| ← Dragooon left | 16:57 |
| → chuchunaku joined | 16:57 |
| Briman|off → Briman | 16:57 |
| ← ncd|leeN left | 16:57 |
| ← moretti left | 16:57 |
| → kukks joined | 16:58 |
| ← kukks left | 16:58 |
| → kukks joined | 16:58 |
| → Dragooon joined | 16:58 |
| ← Ryanar left | 16:58 |
| → kofione joined | 16:58 |
| → maqr joined | 17:00 |
| → bittyx joined | 17:00 |
| → jacaballero joined | 17:00 |
| → thiago joined | 17:01 |
|
PerlJam
| Wee! A student worker just committed a 1.8 GB text file of generated numbers. | 17:01 |
| → mikecmpbll joined | 17:02 |
|
iveqy
| PerlJam: congratulations | 17:02 |
|
ojacobson
| I'm sorry for your impending rewrite | 17:02 |
| → seishun joined | 17:02 |
| → Gabri joined | 17:03 |
|
seishun
| is there a single command for rebasing a branch onto master and then merging it into master? | 17:03 |
|
ojacobson
| no | 17:03 |
| ← hackel left | 17:03 |
|
iveqy
| seishun: !alias | 17:03 |
|
gitinfo
| seishun: You can set up alias to be used by git, see: http://git-scm.com/book/en/v2/Git-Basics-Git-Aliases | 17:03 |
| ← Grimlock1 left | 17:05 |
| ← Es0teric left | 17:05 |
| → akiva joined | 17:05 |
| ← Error404NotFound left | 17:05 |
| → Err404NotFound joined | 17:05 |
|
Pistos
| Maybe git should have a "big file warning threshold" or something. | 17:05 |
| ← trang left | 17:06 |
| ← bvi left | 17:06 |
|
iveqy
| Pistos: nah, it will be caught in the review process anyway | 17:06 |
| → jskt joined | 17:06 |
|
_ikke_
| You can always add a pre-commit hook | 17:07 |
| → RedShift joined | 17:07 |
|
Pistos
| _ikke_: This... is true. | 17:07 |
| ← mjuszczak left | 17:07 |
| ← jnavila left | 17:07 |
| → intellix joined | 17:08 |
| → jolda joined | 17:08 |
|
iveqy
| but that would just solve your adding big files problems. There's a lot of other stuff that are more dangerous to commit that it won't catch | 17:08 |
| ← intellix left | 17:08 |
| → pecg joined | 17:08 |
|
_ikke_
| iveqy: But getting rid of big files is quite a nuissance if they've been pushed | 17:08 |
| ← Dorf left | 17:09 |
|
qsuscs
| introduce some sort of review | 17:09 |
|
iveqy
| _ikke_: I see your point, but there should be a review process where commits gets disgarded easily | 17:09 |
| ← bittyx left | 17:09 |
|
qsuscs
| gerrit, those hipster pull request GUIs, mailing lists (hf with >1G via mail), … | 17:09 |
| ← noname1 left | 17:10 |
|
_ikke_
| iveqy: Sure | 17:10 |
|
| iveqy: But the earlier mistakes are caught, the better | 17:10 |
|
| iveqy: defense in depth | 17:10 |
|
iveqy
| yeah, there's already a 10 MB limit for emails, so then it's already fixed ;) | 17:10 |
|
| _ikke_: yeah, you've a point. | 17:11 |
|
_ikke_
| iveqy: There are few companies that use email patches | 17:11 |
|
iveqy
| _ikke_: internally yes | 17:11 |
| → daedeloth joined | 17:11 |
| → mizu_no_oto joined | 17:11 |
| ← Gabri left | 17:12 |
| ← mikiones left | 17:12 |
| ← kukks left | 17:12 |
| → mikiones joined | 17:12 |
| → Gabri joined | 17:13 |
| ← jason237 left | 17:13 |
| → pheaver joined | 17:15 |
| → iodt joined | 17:17 |
| → ilmgb joined | 17:17 |
| ← mikiones left | 17:18 |
| ← shafox left | 17:18 |
| → vreo joined | 17:18 |
| ← vreo left | 17:18 |
| → dreiss joined | 17:18 |
| → bittyx joined | 17:18 |
| → xcesariox joined | 17:19 |
| → Hestil joined | 17:19 |
| → tristanp_ joined | 17:20 |
| ← iodt left | 17:21 |
| ← bittyx left | 17:23 |
| → ki0 joined | 17:24 |
| → Uouwb joined | 17:24 |
| → joeyDB joined | 17:24 |
| ← Uouwb left | 17:25 |
| → sCiphre joined | 17:25 |
| → noname1 joined | 17:25 |
| → ropav joined | 17:26 |
| ← Dragooon left | 17:26 |
| ← twoface88 left | 17:26 |
| → vishalud joined | 17:27 |
| → KennyRayFL joined | 17:28 |
| → jdctx joined | 17:28 |
| → moretti joined | 17:28 |
| ← vishalud left | 17:28 |
| → Es0teric joined | 17:28 |
| → liamkeily joined | 17:28 |
| ← m0ltar left | 17:29 |
| → vishalud joined | 17:29 |
| ← Pistos left | 17:29 |
| → hackel joined | 17:29 |
| ← ki0 left | 17:29 |
| ← zgzgzg left | 17:29 |
| → Dragooon joined | 17:30 |
| ← marcogmonteiro left | 17:31 |
| → Malsasa joined | 17:31 |
| → apurcell joined | 17:32 |
| ← ThinThread left | 17:33 |
| ← Dragooon left | 17:33 |
| ← vishalud left | 17:33 |
| → Dragooon joined | 17:34 |
| → kavelot joined | 17:34 |
| → Orko joined | 17:34 |
| ← dallen left | 17:34 |
| ← xcesariox left | 17:35 |
| → Dorf joined | 17:35 |
|
kavelot
| I made a branch from "master" a while ago, and master got a few patches. Is it possible to update my current branch as if I just had made a branch now and applied my changes (I understand I might need to do some merging)? | 17:35 |
|
_ikke_
| kavelot: that's rebasing | 17:35 |
| → pantsman- joined | 17:35 |
|
kavelot
| tks | 17:36 |
| ← Orko left | 17:36 |
| ← jacaballero left | 17:36 |
| ← hahuang65 left | 17:36 |
| → someircname joined | 17:36 |
| ← Dragooon left | 17:36 |
| → ixjlyons joined | 17:36 |
| ← jskt left | 17:36 |
| → Dragooon joined | 17:37 |
| ← ropav left | 17:37 |
| ← chuchunaku left | 17:38 |
| ← BuenGenio left | 17:38 |
| → xcesariox joined | 17:38 |
| ← mellernoia left | 17:38 |
| ← shinnya left | 17:38 |
| → orko joined | 17:38 |
| ← KennyRayFL left | 17:39 |
| → Aune joined | 17:39 |
| → kukks joined | 17:40 |
| → Error404NotFound joined | 17:40 |
| → chuchunaku joined | 17:40 |
| ← moretti left | 17:40 |
| ← Err404NotFound left | 17:41 |
| → a-l-e joined | 17:42 |
| ← MechtiIde left | 17:43 |
| ← edude03 left | 17:43 |
| → vivekananda joined | 17:44 |
| ← liamkeily left | 17:44 |
| ← kavelot left | 17:45 |
| ← ashnur left | 17:45 |
| ← EminenceHC left | 17:45 |
| → effi joined | 17:45 |
| ← Ulrar left | 17:47 |
| ← devoldmx left | 17:47 |
| ← pheaver left | 17:47 |
| → ashnur joined | 17:47 |
| → devoldmx joined | 17:47 |
| → pheaver joined | 17:48 |
| ← jolda left | 17:49 |
| gitinfo set mode: +v | 17:50 |
|
orko
| anyone see my message? | 17:50 |
| → KennyRayFL joined | 17:50 |
| ← effi left | 17:50 |
|
Dougie187
| orko: yes | 17:50 |
| → oonska joined | 17:51 |
|
orko
| ok I was seeing the message cannot send to #git | 17:51 |
| ← jrnieder left | 17:51 |
|
orko
| ok guys I am new here. This is my first day here. And I am new in git too. I am going to ask many foolish and childish questions to you from now until I learn a bit of git | 17:52 |
| → m0ltar joined | 17:52 |
|
orko
| please dont mind. Rather help me to learn Git :) | 17:52 |
|
| first question is How can I install Github on my Ubuntu 14.04LTS? | 17:52 |
| → EminenceHC joined | 17:52 |
| → pm90_ joined | 17:53 |
|
qsuscs
| there is no github client for linux | 17:53 |
| ← chuchunaku left | 17:53 |
|
qsuscs
| just install git | 17:53 |
| ← Corey84 left | 17:53 |
|
orko
| is git and github same? so if I install Git then Github will be installed too? | 17:53 |
|
qsuscs
| package name should be git, so apt-get install git or aptitude install git | 17:53 |
|
| no | 17:53 |
|
| !github is a hosting provider, using the git SCM | 17:53 |
|
gitinfo
| Feel free to ask us about Github-specific features (Forks, Pull Requests, Wikis, etc), but there are no guarantees. There is a #github channel, which might help too (again, no guarantees) | 17:53 |
| ← MLM left | 17:53 |
|
qsuscs
| … wrong factoid. | 17:53 |
|
| orko: it’s roughly like “is ubuntu and linux the same?” | 17:54 |
| ← EminenceHC left | 17:54 |
| → EminenceHC joined | 17:54 |
|
orko
| I see | 17:54 |
| → jrnieder joined | 17:55 |
| → chuchunaku joined | 17:55 |
|
orko
| ok got it. So Git is a software and Github is actually the host of it? | 17:56 |
|
qsuscs
| no | 17:56 |
| → LACabeza joined | 17:56 |
|
qsuscs
| git is a distributed SCM, so there’s no need for a server | 17:57 |
|
| but usually you’ll want one | 17:57 |
|
orko
| then? | 17:57 |
| → jecra joined | 17:57 |
|
qsuscs
| and GitHub is a service that hosts git repositories and some stuff around that (wikis, bug trackers, …) | 17:57 |
|
orko
| scm or VCS? | 17:57 |
|
qsuscs
| whatever you like | 17:57 |
| ← Hestil left | 17:57 |
|
qsuscs
| the README calls it “information manager from hell” ;) | 17:57 |
| ← highcup left | 17:58 |
|
orko
| I know that git is a DVCS. Can you tell me full meaning of SCM? | 17:58 |
| → _chad joined | 17:58 |
| ← mezod left | 17:58 |
| ← Nizumzen left | 17:58 |
| ← EvilPenguin left | 17:58 |
|
osse
| depends on who you ask | 17:58 |
|
| Some say SCM = Source Code Management, in which case I guess that VCS ~ SCM | 17:59 |
|
qsuscs
| (great weechat. both orko and osse are 4 chars long, both have voice … both are the same color.) | 17:59 |
|
osse
| others say Software Configuration Management which I think means a lot more | 17:59 |
| ← KennyRayFL left | 17:59 |
|
bigsky
| meow | 17:59 |
| → highcup joined | 17:59 |
|
j416
| qsuscs: just define more colours :) | 17:59 |
|
osse
| VCS, build config tracking, artifact archiving, etc etc etc | 17:59 |
|
qsuscs
| osse: i interpret it as source code manager, comes to the same thing | 18:00 |
|
| j416: i already did :( | 18:00 |
|
_ikke_
| source code management | 18:00 |
| → AugustoCesar joined | 18:00 |
|
osse
| qsuscs: chat_nick_colors = "1,2,3,4,5,6,9,10,11,12,13,14,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,56,57,58,61,62,63,64,65,66 ,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,104,105,106,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,1 | 18:00 |
|
| 25,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,146,147,148,149,150,151,152,153,154,155,156,157,160,161,162,163,164,165,166,167,168,169,170,171,172,173,17 4,175,176,177,178,179,180,181,182,183,184,185,186,190,191,192,193,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,226,227,228,229" | 18:00 |
|
_ikke_
| osse: I would necessarily call it artifact archiving | 18:00 |
|
| osse: auch :P | 18:00 |
| → MLM joined | 18:00 |
|
_ikke_
| osse: gesundheit | 18:01 |
| ← t4nk601 left | 18:01 |
|
osse
| oh it was on purpose | 18:01 |
|
| but danke | 18:01 |
|
_ikke_
| yeah, noticed | 18:01 |
|
orko
| asaik Git can be used for many works beyond programming. So VCS is correct I guess | 18:01 |
|
ojacobson
| orko: git's a system for storing snapshots of a tree of files, comparing them, and describing how those snapshots relate to one another. What you do with those capabilities is more or less up to you. | 18:02 |
|
orko
| the irc is very crowdy! I am often loosing the answers. | 18:02 |
|
| can I pm anyone? | 18:02 |
| ← marscher left | 18:02 |
| ← imv left | 18:02 |
|
orko
| hm | 18:03 |
| → baweaver joined | 18:03 |
|
orko
| well is a central server necessary for git? | 18:03 |
|
| I mean for DVCS? | 18:03 |
|
| or local repos can serve for each other? | 18:04 |
| → liamkeily joined | 18:04 |
| ← zadock left | 18:05 |
|
iveqy
| orko: !books !talks | 18:05 |
|
gitinfo
| orko: [!book] 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 | 18:05 |
|
| orko: Some good video talks about Git: [yt] http://goo.gl/z72s (Linus Torvalds: History&Concepts); [yt] http://goo.gl/R9H2q (Scott Chacon: Git basics, live examples); http://vimeo.com/35778382 (Randal Schwartz: Git basics, descriptional); http://vimeo.com/46010208 (Jesica Kerr: Git basics, descriptional) | 18:05 |
|
iveqy
| orko: a central server is not needed. But usually you need a common place to fetch the current version from | 18:05 |
| → nottombrown joined | 18:05 |
|
iveqy
| orko: or rather, someone | 18:05 |
|
orko
| iveqy got it :) | 18:06 |
|
| yes I am seeing some tutorials. But asking questions here to clarify some confusions | 18:06 |
|
| I am seeing tutorialspoint | 18:06 |
|
| and githubs interactive tutorial | 18:07 |
| ← jecra left | 18:07 |
|
orko
| I dont want to go deep. Just want to learn basic and start working. Once I get some lessons I would be able to search more from internet without asking anyone | 18:07 |
| → hahuang65 joined | 18:08 |
|
orko
| well so on my Ubuntu I can install git using apt-get and then I can use github using the installed git? | 18:08 |
|
| or to access github I have to do something more? | 18:08 |
|
osse
| to access github you need to create an account | 18:08 |
|
| you don't need github to get started | 18:08 |
| ← EminenceHC left | 18:09 |
|
orko
| yes I know this | 18:09 |
| ← lamont left | 18:09 |
|
orko
| ok | 18:09 |
|
| then I will be using my local repo? | 18:09 |
| → EminenceHC joined | 18:09 |
|
osse
| yes | 18:09 |
|
orko
| lets say I and my friend we 2 want to work on a file. Then do you mean one of our PC can be used as central repo? | 18:10 |
| → KennyRayFL joined | 18:10 |
| → styx_ joined | 18:11 |
|
styx_
| hi! is it possible to reject a commit done by the ecplise git plugin? | 18:11 |
|
_ikke_
| orko: Can be, but you need a transport mechanism | 18:11 |
|
| styx_: reject? | 18:11 |
|
orko
| hm | 18:11 |
|
| I guess this is kinda advanced lesson. So not going to dig into deep now | 18:12 |
|
_ikke_
| orko: What os are you using? | 18:12 |
|
orko
| Ubuntu 14.04LTS | 18:12 |
|
styx_
| _ikke_: it should not be possible to push the commit to the remote repository | 18:12 |
| → twoface88 joined | 18:12 |
|
orko
| how are you making the beep? | 18:13 |
|
| when I write you here the beep too? | 18:13 |
|
osse
| styx_: do you have a reliable way of detecting whether eclipse created it? | 18:13 |
|
ojacobson
| your client is beeping when you're mentioned | 18:13 |
| → macabre joined | 18:13 |
|
_ikke_
| orko: Probably because I mention your name | 18:13 |
|
ojacobson
| if you don't like it, reconfigure your client: nobody here's causing your client to beep specifically :) | 18:13 |
|
_ikke_
| orko: And no, that doesn't happen for me | 18:14 |
|
orko
| _ikke_ you here me? :) | 18:14 |
| → siprbaum joined | 18:14 |
| → d3r1ck joined | 18:15 |
|
orko
| ojacobson :) | 18:15 |
| ← KennyRayFL left | 18:15 |
|
d3r1ck
| hi | 18:15 |
|
orko
| osse :) | 18:15 |
|
| d3r1ck hi | 18:15 |
|
styx_
| osse: i dont know, i never tried to do a commit hook. does the commit arrive as a plain diff? | 18:15 |
| → otter768 joined | 18:15 |
|
osse
| styx_: no. it arrives in a pack consisting of trees and blobs and such | 18:16 |
|
| but you can look at the diff in a hook | 18:16 |
|
orko
| My another question is , is working directory and local repo same? Or local repos is the .git folder created after git init command run? | 18:16 |
| ← nnyk left | 18:16 |
|
_ikke_
| The local repo is considered everything you have locally, (.git dir and working tree), the working tree are the files you work with | 18:17 |
| ← mizu_no_oto left | 18:17 |
| ← johtso- left | 18:18 |
| ← Malsasa left | 18:18 |
| ← SmashingX2 left | 18:19 |
|
orko
| +_ikke_ you mean if my directory name is Orko and if I init within Orko then the Orko will be local repo and working directory both? | 18:19 |
| → johtso_ joined | 18:19 |
|
orko
| or only the directory .git (which is hidden dir) inside of the Orko will be local repo? | 18:20 |
| ← cebor left | 18:20 |
|
osse
| tomato potato | 18:20 |
| ← otter768 left | 18:20 |
| → mizu_no_oto joined | 18:20 |
| ← joeyDB left | 18:21 |
| → cebor joined | 18:21 |
|
orko
| what does you meand osse? | 18:21 |
| ChanServ set mode: +o | 18:21 |
| ← Aune left | 18:21 |
| → denisMone joined | 18:22 |
|
osse
| orko: I mean it's not important and people use the same term for different things | 18:22 |
| ← nottombrown left | 18:22 |
| → Zoddo joined | 18:22 |
|
d3r1ck
| orko: please do you know about translation in git? | 18:22 |
|
orko
| osse well then people actually confusing newbies | 18:23 |
| ← lqi left | 18:23 |
| → hs366 joined | 18:23 |
|
osse
| yes | 18:23 |
|
| I for one would call the whole thing the repo | 18:23 |
|
| .git + all the other stuff = repo | 18:23 |
| ← AugustoCesar left | 18:23 |
| → mjuszczak joined | 18:23 |
|
d3r1ck
| osse: i just asked a question, can you help me? | 18:24 |
|
orko
| I guess the second one is much better | 18:24 |
|
osse
| d3r1ck: I don't know whether orko knows about translation, but I assume he doesn't | 18:24 |
|
orko
| d3r1ck no dude. I am more new than you | 18:24 |
| ← tachoknight left | 18:25 |
| → ki0 joined | 18:25 |
| → m8 joined | 18:25 |
|
_ikke_
| probably autocompletion fail | 18:25 |
| ← vurma left | 18:25 |
|
_ikke_
| d3r1ck: !anyone | 18:25 |
|
gitinfo
| d3r1ck: 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. | 18:25 |
| → arnaud____ joined | 18:25 |
|
_ikke_
| d3r1ck: Can I give you an honest tip? Please don't try to claim people, it will only work against you. | 18:26 |
| ← paulweb515 left | 18:26 |
|
_ikke_
| d3r1ck: People are busy, and they'll help you if they know the answer | 18:26 |
| → vixterra joined | 18:26 |
| → MattMaker joined | 18:26 |
|
_ikke_
| d3r1ck: So it helps far better to just ask a question in this channel | 18:27 |
| → edude03 joined | 18:27 |
|
orko
| ok my another question is git add . does these command add all the files inside of a working directory? | 18:27 |
|
| I mean stage | 18:27 |
| ← systmkor left | 18:27 |
| → KWhat_Work joined | 18:27 |
|
osse
| yes | 18:27 |
|
| except the ones that are ignored by any .gitignore files | 18:27 |
| → tachoknight joined | 18:27 |
|
_ikke_
| note that the behaviour recently changed | 18:27 |
| ← bigsky left | 18:28 |
|
d3r1ck
| orko: ohhh | 18:28 |
|
KWhat_Work
| hey, I am trying to do a git submodule update --init --recursive and it keeps telling me that error: The requested URL returned error: 403 Forbidden while accessing https://github.com/Site/project.git/info/refs | 18:28 |
|
qsuscs
| KWhat_Work: try git ls-remote https://github.com/Site/project.git | 18:28 |
|
_ikke_
| KWhat_Work: Hmmm, someone else had it too | 18:28 |
| ← f3lp left | 18:28 |
|
orko
| actually I want to know lets say there are 4 folders including .get folder inside of my Orko working directory. So git add . will add all the files even within the folders too? | 18:29 |
|
d3r1ck
| _ikke_: i have taken note and thanks | 18:29 |
| ← howlymowly left | 18:29 |
|
d3r1ck
| i am learning day by day :) | 18:29 |
|
_ikke_
| orko: git ignores the .git directory of course | 18:29 |
|
KWhat_Work
| qsuscs: its still returns 403, the effed part is i can clone the submoulde just fine | 18:29 |
|
ojacobson
| Over http? | 18:30 |
|
KWhat_Work
| via git | 18:30 |
|
| ssh | 18:30 |
|
orko
| _ikke_ okay | 18:30 |
|
_ikke_
| KWhat_Work: He means, using the http protocl | 18:30 |
| ← ki0 left | 18:30 |
| ← arnaud____ left | 18:30 |
|
_ikke_
| KWhat_Work: Aparently github is in the transition of dropping dumb http support | 18:30 |
|
orko
| now what is the purpose of this command git add -A . ? _ikke_ | 18:30 |
|
qsuscs
| KWhat_Work: simplest solution: edit .git/config, adjust the submodule URL to use SSH | 18:30 |
|
ojacobson
| KWhat_Work: well, you're not using SSH to clone the submodule | 18:30 |
| ← MattMaker left | 18:30 |
|
ojacobson
| so what works with SSH is currently irrelevant | 18:31 |
|
| qsuscs' suggestion may be useful :) | 18:31 |
| → jottr joined | 18:31 |
| ← baldfat left | 18:31 |
|
qsuscs
| they always are. | 18:31 |
| → Neozonz joined | 18:31 |
| ← Neozonz left | 18:31 |
| → Neozonz joined | 18:31 |
|
qsuscs
| if not for solving problems, then for learning :Þ | 18:31 |
| → DerisiveLogic joined | 18:31 |
|
_ikke_
| https://github.com/gitster/git.git/info/refs | 18:31 |
|
d3r1ck
| Does anyone know about statement translation in git? I wish to understand something that is troubling me | 18:31 |
|
KWhat_Work
| ahh thanks qsuscs | 18:31 |
|
_ikke_
| d3r1ck: Anything specific? | 18:32 |
|
qsuscs
| KWhat_Work: out of interest, git --version please | 18:32 |
| → moretti joined | 18:32 |
|
d3r1ck
| in the porcelain commands, when i meet a statement: die("something"); | 18:32 |
| ← kukks left | 18:32 |
|
d3r1ck
| i translate to die(_("something")); | 18:32 |
| → denete_ joined | 18:32 |
| ← moretti left | 18:32 |
|
qsuscs
| (1.6.6? turning off in 2011?! wtf.) | 18:33 |
|
d3r1ck
| i don't know if that is what its all about but i need some clarifications | 18:33 |
| → moretti_ joined | 18:33 |
|
grawity
| most of the time, yeah | 18:33 |
| → sgen_ joined | 18:33 |
| ← hackel left | 18:33 |
|
grawity
| you just wrap the string in the _(…) function | 18:33 |
|
d3r1ck
| i am to figure out porcelain commands and translate them | 18:33 |
|
ojacobson
| ...and provide translations in the appropriate message bundle | 18:33 |
|
orko
| well I just initialized git in a dir and I see the .git file instantly! | 18:33 |
| → jonmorehouse joined | 18:34 |
|
_ikke_
| qsuscs: someone with 1.7.10 also had the issue | 18:34 |
|
d3r1ck
| also what about statement with placeholders | 18:34 |
|
orko
| asaik the .git is a hidden dir | 18:34 |
|
KWhat_Work
| qsuscs: this is 1.7.1 | 18:34 |
|
qsuscs
| hrmmm. | 18:34 |
|
d3r1ck
| die("%s something", var); | 18:34 |
| ← baweaver left | 18:34 |
|
qsuscs
| i wonder whether those try dumb transport first | 18:34 |
|
d3r1ck
| i translate to die(_("%s something"), var); | 18:34 |
|
| is that the correct pattern or way? | 18:34 |
| ← sgen_ left | 18:34 |
|
ojacobson
| d3r1ck: that should work, provided all of the translations contain the same placeholders in the same order, but it's fragile -- if one of the translations has the wrong placeholders, you'll get anything from unpredictable output to segfaults | 18:35 |
| → Ryanar joined | 18:35 |
|
qsuscs
| KWhat_Work: besides, i’d upgrade. i think 1.7.1. even suffers from the remote code execution bug (which might not be relevant if you’re on something unixy and using a case-sensitive fs, aka most linux and *BSD setups, _not_ os x and windows) | 18:35 |
| Eugene changed the topic to: Welcome to #git, the place for git help and existential permanence | Current stable version: 2.4.0 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | Why did the commit cross the rebase? To git to the other repo | 18:35 |
| Eugene set mode: +v | 18:35 |
| Eugene set mode: -o | 18:35 |
| ← denete left | 18:35 |
|
KWhat_Work
| qsuscs: rhel for the win | 18:35 |
|
orko
| anybody giving me answers or I am just missing due to huge floods of strings? | 18:35 |
| → jason237 joined | 18:35 |
|
_ikke_
| d3r1ck: the po/README covers that | 18:36 |
|
KWhat_Work
| qsuscs: those changes to the .git/config, how can I make them for the repo so i dont get this issue again | 18:36 |
| ← Nikhil_D left | 18:36 |
|
d3r1ck
| meaning i am on the right track? | 18:36 |
| → Nikhil_D joined | 18:36 |
|
qsuscs
| KWhat_Work: you mean change the submodule URL in the super-repo’s .gitmodules? edit it right there. but this might not be what you want | 18:36 |
|
_ikke_
| orko: git add -A also stages files that are removed, which git add . doesn't do | 18:36 |
| ← nutron left | 18:37 |
|
orko
| define removed. You mean which are removed from staging area or deleted/removed from the Orko directory? | 18:37 |
|
_ikke_
| orko: the latter | 18:37 |
|
orko
| hm | 18:38 |
| ← liamkeily left | 18:38 |
|
qsuscs
| (olol, compiling 1.7.1.4 throws warnings for about every file) | 18:38 |
|
d3r1ck
| i submitted some patches on what i did about the translation but i got some feedbacks | 18:38 |
| → liamkeily joined | 18:38 |
|
d3r1ck
| meaning i have to start all over | 18:38 |
| ← herr_jth left | 18:38 |
| → modocache joined | 18:38 |
|
_ikke_
| d3r1ck: It's a learning process | 18:38 |
|
d3r1ck
| the feedbacks i had mostly where about working only on the porcelain commands and also to work on my commit messages | 18:39 |
| ← liamkeily left | 18:39 |
|
d3r1ck
| _ikke_: yes i understand | 18:39 |
| → KennyRayFL joined | 18:39 |
|
d3r1ck
| and that is why i am very happy | 18:39 |
| ← DARSCODE left | 18:39 |
|
orko
| well then lets say I have created a file in Orko working directory name _ikke_.txt. Now I shift+deleted the file. Now if I use git add -A . then the file _ikke_ will be staged? | 18:39 |
| ← denete_ left | 18:40 |
|
qsuscs
| ls-remote for any github repo with 1.7.1.4 does not print an error | 18:40 |
|
_ikke_
| orko: Only if the file was tracked before. and the file will be staged for removal | 18:41 |
| → denete joined | 18:41 |
|
_ikke_
| so: git add file.txt; git commit -m file; rm file.txt | 18:41 |
| ← totesmuhgoats left | 18:41 |
|
d3r1ck
| _ikke_: wow, the po/README explains everything detaily | 18:41 |
|
_ikke_
| if you know do git add -A, then file.txt wil be staged for removal | 18:41 |
|
d3r1ck
| _ikke_: i am already enjoying it | 18:41 |
| ← jdctx left | 18:41 |
|
_ikke_
| d3r1ck: That's why it's called README :-) | 18:42 |
|
| You are encouraged to read those | 18:42 |
|
Eugene
| README? I hardly KNOWME! | 18:42 |
|
orko
| _ikke_ you mean if I stage the file before then after git reset the file will be removed from staging area. And then if I shift+delete the file from working directory the file can be staged again using git add -A command? | 18:43 |
| ← wowaname left | 18:43 |
| ← axu left | 18:44 |
| → sgen joined | 18:44 |
|
_ikke_
| orko: When you remove a file from disk (shift + delete as you call it), then git will not automically commit that removal | 18:44 |
|
| orko: You have to stage the removal | 18:44 |
| → Hello71 joined | 18:44 |
|
_ikke_
| git add . add all the files in the current directory and below to the staging area | 18:45 |
|
orko
| then why should I use -A as I have to stage it manually | 18:45 |
| → kukks joined | 18:45 |
|
_ikke_
| orko: git add -A does that | 18:45 |
|
| let me explain further | 18:45 |
|
orko
| ok | 18:45 |
|
d3r1ck
| but i noticed string which are to be translated should be marked for translation only by core developers | 18:45 |
|
qsuscs
| (wtf, 1.7.1.4 creates .git/branches/) | 18:45 |
|
orko
| well I just installed git on my pc and I see the version number is 1.9.0 | 18:46 |
|
d3r1ck
| i am not a hard-core now, so how will i do that? | 18:46 |
|
_ikke_
| orko: removed files are not a part of the working tree, so git never does anything with them when you do "git add ." | 18:46 |
| → effi joined | 18:46 |
|
orko
| ok got it _ikke_ | 18:46 |
|
| err 1.9.1 | 18:46 |
|
| I guess this is the latest git | 18:46 |
|
_ikke_
| nope | 18:46 |
|
| 2.4.0 | 18:46 |
| ← modocache left | 18:47 |
| → yqt joined | 18:47 |
|
orko
| oh then I had to run update command? | 18:47 |
| → modocache joined | 18:47 |
| → boombatower joined | 18:48 |
| ← boombatower left | 18:48 |
| → boombatower joined | 18:48 |
|
orko
| _ikke_ now what should I do to get the latest one? | 18:48 |
| → devoldmx3 joined | 18:48 |
| ← devoldmx3 left | 18:48 |
| → devoldmx3 joined | 18:49 |
|
_ikke_
| orko: Add a PPA which contains it | 18:49 |
|
orko
| do you know the command? | 18:49 |
| ← devoldmx left | 18:49 |
|
_ikke_
| orko: nope | 18:49 |
|
| d3r1ck: I think they mean the core developers as opposed to the translators | 18:50 |
| ← tachoknight left | 18:50 |
| → jskt joined | 18:50 |
| ← Techno786 left | 18:50 |
| → matachi joined | 18:50 |
| ← Technocrat7 left | 18:50 |
| → Guest96510 joined | 18:50 |
| ← Technocrat786 left | 18:51 |
| ← effi left | 18:51 |
| → ropav joined | 18:51 |
| ← AMERICAN_PSYCHO left | 18:51 |
| ← uri_ left | 18:52 |
| ← IrishPrime left | 18:53 |
| → jzk joined | 18:53 |
| ← Ryanar left | 18:54 |
| → liamkeily joined | 18:54 |
| ← souther left | 18:55 |
| → EvilPenguin joined | 18:55 |
| → tachoknight joined | 18:55 |
| → souther joined | 18:55 |
| ← orko left | 18:55 |
| ← cdown left | 18:56 |
| ← d3r1ck left | 18:56 |
| → tmager joined | 18:57 |
| → lokodo joined | 18:58 |
| ← mojibake left | 18:58 |
| → Hestil joined | 18:58 |
| ← nettoweb left | 18:58 |
| ← kofione left | 18:59 |
| → joo-_ joined | 18:59 |
| ← ashnur left | 18:59 |
| → Ryanar joined | 19:00 |
| ← EvilPenguin left | 19:00 |
| ← Hestil left | 19:03 |
| ← chuchunaku left | 19:03 |
| → ferr joined | 19:04 |
| ← beckyconning_ left | 19:04 |
| → sparetire joined | 19:04 |
| ← EminenceHC left | 19:05 |
| ← jonmorehouse left | 19:05 |
| ← modocache left | 19:06 |
| → modocache joined | 19:08 |
| → Hestil joined | 19:10 |
| ← jhermann left | 19:10 |
| ← bakednotfried left | 19:10 |
| ← dc5ala left | 19:12 |
| → jhermann joined | 19:13 |
| → WaReZ joined | 19:13 |
| ← ferr left | 19:13 |
| ← cavallari left | 19:14 |
| → cavallari1 joined | 19:14 |
| → ashnur joined | 19:14 |
| ← ashnur left | 19:14 |
| → ashnur joined | 19:14 |
| ← modocache left | 19:15 |
| → durham_ joined | 19:15 |
| ← ashnur left | 19:15 |
| → jonmorehouse joined | 19:17 |
| → chuchunaku joined | 19:18 |
| ← durham left | 19:18 |
| → modocache joined | 19:19 |
| ← tristanp_ left | 19:19 |
| ← belak left | 19:20 |
| → belak joined | 19:20 |
| → justtobe joined | 19:20 |
| ← Guest96510 left | 19:20 |
| ← incredible left | 19:20 |
| ← moretti_ left | 19:21 |
| → modocach_ joined | 19:21 |
| ← dougsland left | 19:21 |
| ← floppyea1s left | 19:22 |
| ← belak left | 19:22 |
| ← sebhoss left | 19:22 |
| → belak joined | 19:22 |
| ← KWhat_Work left | 19:23 |
| ← modocache left | 19:23 |
| ← belak left | 19:25 |
| → belak joined | 19:25 |
| ← pobivan left | 19:25 |
| ← chuchunaku left | 19:26 |
| → EminenceHC joined | 19:26 |
| → dvl_ joined | 19:27 |
| → arnaud____ joined | 19:27 |
| → nikio_ joined | 19:27 |
|
dvl_
| I've been reading http://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration and wonder: Can these settings work the repo server, or are they all client-side? | 19:27 |
| ← belak left | 19:27 |
| → belak joined | 19:27 |
| ← kukks left | 19:28 |
| → hcc23 joined | 19:28 |
| ← swoorup__ left | 19:28 |
| → tristanp_ joined | 19:28 |
| → roelmonnens joined | 19:29 |
|
ojacobson
| dvl_: git settings are (effectively) per repo, per user, and per host, resolved in that order | 19:29 |
| → kofione joined | 19:29 |
|
ojacobson
| a clone is a new repo | 19:29 |
|
iveqy
| dvl_: depends on your usecase. You can definitely set them on a git server but they won't be used | 19:29 |
|
ojacobson
| note that a bunch of git options are shell-equivalent, so trusting some random repo's config is unwise | 19:29 |
| ← gsingh93 left | 19:30 |
| → beckyconning_ joined | 19:30 |
| ← ende_____ left | 19:31 |
| → swoorup__ joined | 19:31 |
| ← EminenceHC left | 19:31 |
|
dvl_
| iveqy: That's what I thought. It seems that in order to do Kerberos-based authentication (without having to enter a password) via https, the URL must have a foo@ (any value of foo; it's not used). This can be fixed client side via the insteadOf directive in 'git config'. Now I'm considering using Apache rewrite to achieve the same thing. | 19:31 |
| → ende_____ joined | 19:31 |
| ← arnaud____ left | 19:32 |
| → dougsland joined | 19:32 |
|
dvl_
| ojacobson: the beauty of Kerberos is no need to type your password. The awkward bit about git Kerberos Auth is ... that password entry unless you have the URL just so... | 19:32 |
| → autonomoid joined | 19:35 |
| ← rcn left | 19:36 |
| ← twoface88 left | 19:36 |
| → jacaballero joined | 19:36 |
| ← liamkeily left | 19:37 |
| → sq-one joined | 19:37 |
| → paulweb515 joined | 19:37 |
| ← mizu_no_oto left | 19:38 |
| → dhilipsiva joined | 19:38 |
| ← ropav left | 19:38 |
|
_ikke_
| dvl_: weren't you here earlier with a question about kerberos? | 19:39 |
| dhilipsiva → Guest20323 | 19:39 |
| → ropav joined | 19:39 |
| ← pantsman- left | 19:39 |
| ← wicope left | 19:39 |
|
dvl_
| _ikke_: I bet I was. I've been working this solution for some time. First step was get a bug in git fixed. ;) | 19:40 |
| → twoface88 joined | 19:40 |
|
_ikke_
| dvl_: Cool! | 19:42 |
| ← twoface88 left | 19:42 |
| ← tristanp_ left | 19:42 |
| ← mjuszczak left | 19:43 |
| → tristanp_ joined | 19:44 |
| ← tristanp_ left | 19:46 |
| → nnyk joined | 19:46 |
| → apflieger joined | 19:46 |
| → mariuscc2 joined | 19:47 |
| → Josh|SYN joined | 19:47 |
| ← cbonobo left | 19:48 |
| ← edude03 left | 19:49 |
| ← swoorup__ left | 19:49 |
| → skylite joined | 19:49 |
| → edude03 joined | 19:49 |
| ← durham_ left | 19:49 |
| → pantsman- joined | 19:49 |
| ← mariuscc left | 19:49 |
| ← matachi left | 19:50 |
| → durham joined | 19:50 |
| ← skylite left | 19:50 |
| → Amandil joined | 19:50 |
| ← apflieger left | 19:51 |
| ← devoldmx3 left | 19:51 |
| → afs joined | 19:51 |
| → dsdeiz joined | 19:51 |
| ← sq-one left | 19:52 |
| ← roelmonnens left | 19:53 |
| ← macabre left | 19:54 |
| → liamkeily joined | 19:54 |
| ← modocach_ left | 19:55 |
| → zadock joined | 19:55 |
| → modocache joined | 19:55 |
| ← crose left | 19:56 |
| → tristanp_ joined | 19:57 |
| → MattMaker joined | 19:57 |
| ← rzeka left | 19:57 |
| → Alienpruts joined | 19:57 |
| ← blahdodo left | 19:58 |
| ← a-l-e left | 19:58 |
| ← stantonk left | 20:00 |
| ← dsdeiz left | 20:00 |
| ← tristanp_ left | 20:01 |
| ← duderonomy left | 20:01 |
| ← Dougie187 left | 20:02 |
| ← MattMaker left | 20:02 |
| → nikio__ joined | 20:02 |
| ← sword`` left | 20:02 |
| → blahdodo joined | 20:03 |
| → stantonk joined | 20:03 |
| ← DistantStar left | 20:04 |
| → vrishab joined | 20:05 |
| ← modocache left | 20:05 |
| ← nikio_ left | 20:05 |
| ← luksaur left | 20:05 |
|
jrnieder
| d3r1ck: welcome to core git development :) | 20:05 |
| → sid__ joined | 20:06 |
| → mjuszczak joined | 20:06 |
| ← weaksauce left | 20:07 |
| → gsingh93 joined | 20:07 |
| → EminenceHC joined | 20:07 |
| → Ggaby joined | 20:08 |
| → editshare-ericf joined | 20:08 |
| → basiclaser joined | 20:09 |
| → mizu_no_oto joined | 20:09 |
| ← vrishab left | 20:09 |
| ← jost left | 20:10 |
| ← sid__ left | 20:10 |
| → tristanp_ joined | 20:10 |
| → DistantStar joined | 20:10 |
| → EvilPenguin joined | 20:11 |
| → jstrong joined | 20:12 |
|
jstrong
| can someone help me with this? http://i.imgur.com/yo99ClE.png | 20:12 |
| ← ropav left | 20:12 |
| ← jstimm left | 20:12 |
|
jstrong
| Basically, the feature branches off of develop. So, if I try to merge the feature branch into master, it brings in a bunch of commits on develop that are not directly related to the feature itself. (the blue commits) | 20:13 |
|
| I want to splitstream the feature commits and those commits only onto master without the rest of the develop commits in the timeline | 20:13 |
|
| I understand this could create conflicts that would need to be resolved | 20:13 |
|
ojacobson
| rebase the feature branch onto the merge base of master and develop | 20:13 |
| → oojacoboo joined | 20:13 |
|
jstrong
| so basically git rebase master? | 20:13 |
|
ojacobson
| (yes, this may mean it will no longer contain some of develop; you have to pick which is more important to you) | 20:13 |
|
| no | 20:13 |
| ← ilmgb left | 20:13 |
|
ojacobson
| I meant what I said | 20:13 |
| → SoFLy joined | 20:14 |
| ← tristanp_ left | 20:14 |
|
ojacobson
| "onto" as in "--onto", "merge base" as in "git merge-base" | 20:14 |
|
jstrong
| ah, wasn’t familiar with the merge-base feature | 20:14 |
|
ojacobson
| it's the last commit both branches shre | 20:14 |
|
| share | 20:14 |
|
| possibly several, but in most cases either none or one commit | 20:15 |
|
jstrong
| gotcha | 20:15 |
| → baweaver joined | 20:15 |
|
jstrong
| awesome dude, thanks :) | 20:15 |
| ← Padawan left | 20:15 |
| → devoldmx joined | 20:16 |
| ← EvilPenguin left | 20:16 |
| → Padawan joined | 20:16 |
| → otter768 joined | 20:16 |
| ← netameta left | 20:17 |
| ← pm90_ left | 20:17 |
| → unknwn- joined | 20:17 |
| ← ErKa left | 20:17 |
| → luksaur joined | 20:17 |
| ← quentusrex left | 20:18 |
| → nottombrown joined | 20:18 |
| ← StuartMI left | 20:19 |
| → AMERICAN_PSYCHO joined | 20:19 |
| → modocache joined | 20:20 |
| → modocach_ joined | 20:20 |
| ← mariuscc2 left | 20:20 |
| ← chrisgeorge left | 20:20 |
| → Giannino joined | 20:21 |
| ← Giannino left | 20:21 |
| ← nottombrown left | 20:21 |
| ← otter768 left | 20:21 |
| ← AMERICAN_PSYCHO left | 20:21 |
| ← diegoviola left | 20:22 |
| → netameta joined | 20:23 |
| → cagedwisdom joined | 20:23 |
| ← junecaz left | 20:23 |
| ← Hestil left | 20:23 |
| → AMERICAN_PSYCHO joined | 20:23 |
| ← Josh|SYN left | 20:24 |
| ← jacaballero left | 20:24 |
| ← modocache left | 20:24 |
| ← mjuszczak left | 20:24 |
| ← Jackneill left | 20:24 |
| ← babilen left | 20:25 |
| → junecaz joined | 20:25 |
| → jacaballero joined | 20:25 |
|
_ikke_
| Note that git rebase already calculates the merge-baes | 20:26 |
| → babilen joined | 20:26 |
| ← modocach_ left | 20:27 |
| ← RedShift left | 20:27 |
| ← DerisiveLogic left | 20:28 |
| → ropav joined | 20:28 |
| → systmkor joined | 20:29 |
| ← jstrong left | 20:29 |
|
ojacobson
| yeah, and in jstrong's case it includes parts of history that are, in eir head, not part of the branch in question | 20:29 |
|
| (git can't know that, of course) | 20:29 |
| → cbonobo joined | 20:30 |
| → Neozonz|Disc joined | 20:30 |
| ← moreirap_ left | 20:31 |
| → wowaname joined | 20:31 |
| → gopar joined | 20:32 |
| ← Kage left | 20:32 |
| ← rubyonrailed left | 20:33 |
| ← Arsonide left | 20:33 |
| → Arsonide joined | 20:33 |
| ← AaronMT left | 20:33 |
| ← Neozonz left | 20:34 |
| ← jamietech left | 20:35 |
| ← jumpman left | 20:35 |
| ← Ggaby left | 20:35 |
| ← gfvf left | 20:36 |
| → jumpman joined | 20:36 |
| → nottombrown joined | 20:38 |
| ← mehdi left | 20:38 |
| ← reinrag left | 20:39 |
| ← xyNNN left | 20:39 |
| ← gamename left | 20:39 |
| ← alanwill left | 20:39 |
| ← mostlybadfly left | 20:39 |
| ← jmfcool____ left | 20:39 |
| ← lacrosse__ left | 20:39 |
| ← markelite left | 20:39 |
| ← Trozz left | 20:39 |
| ← wcpan left | 20:39 |
| ← shauna left | 20:39 |
| → gamename joined | 20:39 |
| → Trozz joined | 20:39 |
| ← jskt left | 20:39 |
| → reinrag joined | 20:40 |
| ← pacbard left | 20:40 |
| → mehdi joined | 20:40 |
| → mostlybadfly joined | 20:40 |
| ← sfr^ left | 20:40 |
| ← Aa4on left | 20:40 |
| → shauna joined | 20:40 |
| ← tmager left | 20:41 |
| ← jhermann left | 20:41 |
| ← uidzer0 left | 20:41 |
| ← potteratt left | 20:41 |
| ← tgummerer left | 20:41 |
| ← crane_ left | 20:41 |
| → lacrosse__ joined | 20:41 |
| → jmfcool____ joined | 20:41 |
| ← kofione left | 20:41 |
| → wcpan joined | 20:41 |
| ← Hello71 left | 20:41 |
|
_ikke_
| git rebase develop feature --onto master is enough | 20:41 |
| → xyNNN joined | 20:42 |
| ← deste left | 20:42 |
| ← aseidl left | 20:42 |
| → jamietech joined | 20:42 |
| → potteratt joined | 20:42 |
|
ojacobson
| well, maybe | 20:42 |
|
_ikke_
| In the scenario he posted, it is | 20:42 |
|
ojacobson
| depends on the desired history, and on whether it's interesting to be able to merge the feature back to _develop_ without dragging along divergent changes from _master_ as well | 20:42 |
| → alanwill joined | 20:42 |
|
ojacobson
| git: all the rope you could possibly want | 20:42 |
| ← sburgess left | 20:43 |
|
_ikke_
| ojacobson: I heard a funny joke about the difference between mercurial and git the other dya | 20:43 |
|
| day | 20:43 |
|
ojacobson
| do tell | 20:43 |
|
_ikke_
| "git user using mercurial: why doesn't it let me do this. mercurial user using git: why did it let me do that" | 20:44 |
|
ojacobson
| heh | 20:44 |
|
| that's fairly apt | 20:44 |
| → tristanp_ joined | 20:44 |
| ← Alienpruts left | 20:45 |
| ← gamename left | 20:45 |
| → sfr^ joined | 20:45 |
| → aseidl joined | 20:45 |
| → Aa4on joined | 20:45 |
| → uidzer0 joined | 20:45 |
| → Hello71 joined | 20:45 |
| ← seishun left | 20:45 |
| → deste joined | 20:45 |
| → crane_ joined | 20:46 |
| → dvl__ joined | 20:46 |
| ← cavallari1 left | 20:46 |
| ← brandonw left | 20:46 |
| → pacbard joined | 20:46 |
| → hackel joined | 20:46 |
| ← pheaver left | 20:46 |
|
xace
| is i omit the password in ~/.gitconfig for the sendemail and imap sections, will I be prompted for the password when I try to use them? | 20:46 |
| → tgummerer joined | 20:46 |
| → tvw joined | 20:46 |
| ← dvl_ left | 20:46 |
| ← Ryanar left | 20:46 |
| → rubyonrailed joined | 20:46 |
|
xace
| I really don't want to put the password there, especially in cleartext.. | 20:47 |
| tgummerer → Guest77108 | 20:47 |
| ← tristanp_ left | 20:47 |
| → brandonw joined | 20:47 |
| → dvl_ joined | 20:47 |
| → jhermann joined | 20:47 |
| ← tang^ left | 20:48 |
| ← jhermann left | 20:49 |
| → neonalpine joined | 20:49 |
| → jhermann joined | 20:49 |
| → kofione joined | 20:50 |
|
xace
| yeah, seems like it prompts me instead | 20:50 |
| → markelite joined | 20:50 |
| ← dvl__ left | 20:50 |
| → tang^ joined | 20:50 |
| ← neonalpine left | 20:50 |
| → rzeka joined | 20:50 |
| → ManikM joined | 20:50 |
| ← im8bit left | 20:52 |
| → mellernoia joined | 20:53 |
| ← Gabri left | 20:54 |
| → cavallari joined | 20:54 |
| ← cavallari left | 20:54 |
| ← ropav left | 20:56 |
| → im8bit joined | 20:57 |
| → frobware_ joined | 20:58 |
| ← tvw left | 20:58 |
| → neonalpine joined | 20:58 |
| ← rnsanchez left | 20:59 |
| → cavallari joined | 20:59 |
| ← cavallari left | 21:00 |
| ← zumba_addict left | 21:00 |
| ← Texan left | 21:00 |
| ← liamkeily left | 21:01 |
| → cdown joined | 21:01 |
|
Brain
| hmm | 21:01 |
| → pheaver joined | 21:01 |
|
Brain
| in tortoisegit when i right click my project folder and go 'commit' i get a box where it shows which files may be added to the project and it hangs with that box saying 'please wait'. the bigger my project the more it hangs | 21:02 |
|
| native git doesnt do this, so its obviously because its scanning the folder structure for unversioned objects to list | 21:02 |
|
| so, is there some way anyone knows of i can disable this feature and just have it only reference versioned objects? | 21:02 |
| → nikio_ joined | 21:02 |
| ← Arsonide left | 21:03 |
| ← PCatinean left | 21:03 |
| → Arsonide joined | 21:03 |
|
_ikke_
| Brain: sorry, I don't know enough about tortoisegit to be able to help you | 21:03 |
| ← nemesit|znc left | 21:03 |
| ← jonmorehouse left | 21:04 |
| ← Guest20323 left | 21:04 |
| → ErKa joined | 21:04 |
| ← rika left | 21:04 |
| → Nizumzen joined | 21:04 |
| → rika joined | 21:04 |
| → cheetah2 joined | 21:04 |
|
cheetah2
| I've done git add * on a folder in my repository but it doesnt show on the remote repository. it shows the folder but no files on it | 21:05 |
| → Ryanar joined | 21:05 |
|
cheetah2
| then git commit -m "commiit" | 21:05 |
|
| is there someting im doing wrong? | 21:06 |
| ← nikio__ left | 21:06 |
| ← baweaver left | 21:06 |
| ← th3fallen left | 21:06 |
| ← jhermann left | 21:06 |
|
Brain
| cheetah2: git push | 21:07 |
|
| commits only go to the local repository unless you push them to your remote | 21:07 |
| ← vlt left | 21:07 |
| ← dsantiago left | 21:07 |
|
cheetah2
| i get current branch is behind remote counterpart | 21:08 |
|
Brain
| git pull && git push | 21:08 |
|
cheetah2
| is a git pull going to erase the changes ive done locally? | 21:08 |
|
Brain
| someones done some commits and pushed them and you need to pull them into your local copy and merge them first before pushing | 21:08 |
|
| no | 21:08 |
|
| it will merge them | 21:08 |
| ← ManikM left | 21:08 |
| → ManikM joined | 21:09 |
|
Brain
| if it can't, it will tell you and abort the process, marking the conflicts for you to resolve by hand before pushing... but that is infrequent at least for me | 21:09 |
| ← JonasF left | 21:09 |
| → blr joined | 21:10 |
|
cheetah2
| it looks like it took the files from the folder and just put them in the root directory | 21:11 |
|
| is there a way to preserve those files in the folder? | 21:11 |
|
Brain
| you could make a copy of your working tree before you pull/push | 21:11 |
| → jhermann joined | 21:11 |
|
Brain
| it is just a directory after all | 21:11 |
|
| then if anything goes wrong that you dont like, you can manually fix it up | 21:11 |
|
| generally these days though i just trust that git will get it right, and if it doesnt thats what rollbacks are for | 21:12 |
| ← cdown left | 21:12 |
| → MattMaker joined | 21:13 |
|
cheetah2
| is this normal behavior for git? My files were inside a folder on my repository. It just put them all in the root in the github and put the folder but empty in there as well. Is that what is supposed to happen or did I do something wrong? | 21:13 |
| → mikiones joined | 21:13 |
|
Brain
| im not sure what you mean | 21:13 |
|
cheetah2
| was i supposed to git add just the folder or the files as well? | 21:13 |
|
Brain
| if you do git add foldername it will just add the folder | 21:14 |
|
| if you do git add -r foldername it will add the folder plus all files within, recursively | 21:14 |
|
| similarly if you do git add * | 21:14 |
| ← MattMaker left | 21:14 |
|
cheetah2
| in the directory where i did git init, there was a folder with the files inside. WHen i pushed in github it shows the files in the root and the empty folder in there no longer with files | 21:14 |
| → MattMaker joined | 21:14 |
|
cheetah2
| I did git add * on the entire directory | 21:15 |
| → devoldmx3 joined | 21:15 |
| ← denete left | 21:15 |
| → tpollard joined | 21:16 |
| → arnaud____ joined | 21:16 |
| ← sgen left | 21:16 |
| → jojovem joined | 21:17 |
| ← devoldmx left | 21:17 |
|
cheetah2
| is there supposed to be a .git on every directory of the repository | 21:18 |
|
| ? | 21:18 |
| ← mikiones left | 21:18 |
| → cdown joined | 21:18 |
| ← jojovem left | 21:18 |
| ← scriptThis left | 21:19 |
|
kadoban
| cheetah2: No, there's generally one .git directory, in the root of the working directory. | 21:19 |
| ← jwhisnant left | 21:19 |
| → AMERICA__ joined | 21:20 |
|
cheetah2
| hmmm i think I've done something wrong then to have two | 21:20 |
| ← Zupoman left | 21:20 |
| → linuxboy_ joined | 21:20 |
| → ropav joined | 21:20 |
| ← arnaud____ left | 21:21 |
| ← Fenikkusu left | 21:21 |
| → zumba_addict joined | 21:21 |
| ← AMERICAN_PSYCHO left | 21:22 |
| ← lg188 left | 21:22 |
| → Raverix joined | 21:23 |
|
Raverix
| Is there a way to prevent git commit? | 21:23 |
| gitinfo set mode: +v | 21:23 |
|
Raverix
| I want to restrict access to git commit from the production environment. | 21:23 |
| ← livingstn left | 21:24 |
| ← linuxboytoo left | 21:24 |
|
HedgeMage
| Raverix: I'm sorry...are you trying to restrict access to a commit, or to pushing commits to an authoritative repo? | 21:24 |
| ← jerius left | 21:25 |
| ← Dragooon left | 21:25 |
| ← sCiphre left | 21:25 |
| → beastd joined | 21:26 |
| ← pantsman- left | 21:26 |
| → ashnur joined | 21:26 |
| → baweaver joined | 21:27 |
| → EvilPenguin joined | 21:27 |
| ← Amandil left | 21:28 |
| → ende______ joined | 21:29 |
| → liamkeily joined | 21:30 |
| → Cust0sL1men joined | 21:30 |
| ← Nizumzen left | 21:30 |
| → sCiphre joined | 21:31 |
|
spaceone
| hi ;) | 21:31 |
| → tristanp_ joined | 21:31 |
|
spaceone
| someone commited a merge commit into my repo | 21:31 |
|
| because he did not pull --rebase | 21:31 |
| ← darkbasic left | 21:31 |
|
spaceone
| can i simply remove this and do a forced push? | 21:31 |
| ← liamkeily left | 21:31 |
| ← EvilPenguin left | 21:32 |
| → liamkeily joined | 21:32 |
| ← baweaver left | 21:32 |
| ← rzeka left | 21:32 |
| ← ende_____ left | 21:32 |
| → darkbasic joined | 21:33 |
| → TrentonDAdams joined | 21:33 |
| ← TrentonDAdams left | 21:33 |
| → TrentonDAdams joined | 21:33 |
| ← bball left | 21:33 |
|
TrentonDAdams
| Is there a config option to use --name-only for git log, by default? | 21:33 |
| → baweaver joined | 21:34 |
| → Balliad joined | 21:35 |
| → mmakunas joined | 21:35 |
| ← zumba_addict left | 21:35 |
| → zumba_addict joined | 21:36 |
| ← Saturn812 left | 21:36 |
| ← TomyLobo left | 21:36 |
| ← Dorf left | 21:37 |
| ← dvl_ left | 21:38 |
| ← KennyRayFL left | 21:38 |
| → Dorf joined | 21:39 |
| → tmager joined | 21:39 |
| ← jr3 left | 21:40 |
| → jr3 joined | 21:40 |
| ← gopar left | 21:40 |
| ← jr3 left | 21:40 |
| ← hackel left | 21:40 |
| → devoldmx joined | 21:41 |
| → _2_sexy joined | 21:41 |
| ← Asiajey left | 21:42 |
| ← devoldmx3 left | 21:42 |
| ← m8 left | 21:43 |
| ← konr left | 21:43 |
| → m0nkmaster joined | 21:45 |
| ← sgambino left | 21:45 |
| → jonmorehouse joined | 21:46 |
| ← _2_sexy left | 21:48 |
| → MacWinner joined | 21:48 |
| ← Kicer86 left | 21:49 |
| ← sCiphre left | 21:49 |
| ← zumba_addict left | 21:49 |
| ← nottombrown left | 21:49 |
| → zumba_ad_ joined | 21:49 |
| ← zumba_ad_ left | 21:50 |
| → zumba_addict joined | 21:50 |
| ← tmager left | 21:50 |
| → tmager joined | 21:51 |
| → nottombrown joined | 21:51 |
| → mikiones joined | 21:52 |
| ← nottombrown left | 21:52 |
| → arez joined | 21:52 |
| ← zumba_addict left | 21:53 |
| → nottombrown joined | 21:53 |
| ← rubyonrailed left | 21:53 |
| ← m0nkmaster left | 21:53 |
| → zumba_addict joined | 21:54 |
| → ahr3n joined | 21:54 |
| → rcn joined | 21:55 |
| ← michael_mbp left | 21:55 |
| → whitby joined | 21:55 |
| → hackel joined | 21:56 |
| ← afs left | 21:56 |
| → afs joined | 21:57 |
| → michael_mbp joined | 21:58 |
| ← mizu_no_oto left | 21:59 |
| ← mmakunas left | 22:00 |
| → BuenGenio joined | 22:01 |
| ← odin22 left | 22:01 |
| ← robbyoconnor left | 22:02 |
| ← cjwilburn left | 22:03 |
| ← ende______ left | 22:04 |
| ← justtobe left | 22:04 |
| → robbyoconnor joined | 22:04 |
| → ende______ joined | 22:04 |
| ← gsingh93 left | 22:04 |
| → jan joined | 22:04 |
| ← jan left | 22:05 |
|
jayne
| what does "warning: only found copies from modified paths due to too many files." mean? | 22:05 |
| ← Es0teric left | 22:05 |
| → Tekilla joined | 22:06 |
|
Eugene
| It means you need a !beer | 22:06 |
|
gitinfo
| Beer! It's what's for dinner! | 22:06 |
| ← stakewinner00 left | 22:06 |
| ← linuxboy_ left | 22:06 |
| → mjuszczak joined | 22:07 |
| → moretti joined | 22:07 |
| ← tristanp_ left | 22:07 |
| → linuxboytoo joined | 22:07 |
|
jayne
| the stuff I find searching seems to imply an issue with either diff or remotes, but neither in the case here. It's just "git log --author=foo" on the local repo. | 22:07 |
| → NosBit joined | 22:08 |
| ← NosBit left | 22:08 |
| → NosBit joined | 22:08 |
|
jast
| hmm, the message seems pretty unrelated to that. is that the full command you're using? | 22:08 |
| ← NosBit left | 22:08 |
| ← hs366 left | 22:10 |
|
jayne
| the alias adds options... looks like it ends up executing "git log -M -C --find-copies-harder --color --name-status --date=local --author=foo" | 22:10 |
|
jast
| that's... pretty unnecessary for what you actually want to do, I think :) | 22:11 |
| ← linuxboytoo left | 22:11 |
| ← nnyk left | 22:11 |
|
jayne
| hm. It doesn't do it the second time though, even with the same options. | 22:12 |
| → mmakunas joined | 22:12 |
|
jast
| strange, that | 22:12 |
| ← PeterBooker left | 22:12 |
| ← mmakunas left | 22:12 |
|
jayne
| sometimes NFS seems to induce weird behaviors, but it's not even an NFS mount this time | 22:13 |
| ← zumba_addict left | 22:13 |
| → leeN joined | 22:13 |
| ← victortyau left | 22:13 |
| ← edude03 left | 22:14 |
| ← beckyconning_ left | 22:14 |
| → sohail joined | 22:15 |
| ← devoldmx left | 22:15 |
|
jayne
| happens about 3 out of 5... and it seems like it doesn't happen without --find-copies-harder | 22:15 |
| ← moparisthebest left | 22:16 |
| → devoldmx joined | 22:16 |
| ← dlitz left | 22:16 |
|
jayne
| on the one hand, I don't care that much in this particular instance whether it misses some moves/copies, but I don't understand the warning either, so I don't know if I should care about it or just ignore it. | 22:17 |
| → otter768 joined | 22:17 |
| → s8321414 joined | 22:17 |
| → zumba_addict joined | 22:18 |
| → sgambino joined | 22:18 |
| → linuxboytoo joined | 22:18 |
| → haavstr joined | 22:18 |
|
ojacobson
| Are git's filesystem consistency guarantees actually documented anywhere? | 22:19 |
|
| (Does it have any?) | 22:19 |
| → mmakunas joined | 22:19 |
| ← mmakunas left | 22:19 |
| → dlitz joined | 22:20 |
| ← Zoddo left | 22:20 |
| ← dlitz left | 22:20 |
| → lamont joined | 22:21 |
| → moparisthebest joined | 22:21 |
| ← zumba_addict left | 22:21 |
| → zumba_addict joined | 22:22 |
| ← otter768 left | 22:22 |
| ← jottr left | 22:22 |
| ← m0ltar left | 22:22 |
|
TrentonDAdams
| Is there a config option to use --name-only for git log, by default? | 22:22 |
| ← nottombrown left | 22:23 |
| ← jason237 left | 22:24 |
| → King_Hual` joined | 22:24 |
| ← arez left | 22:25 |
| → Gamecubic_ joined | 22:26 |
| ← bollullera left | 22:26 |
| ← Balliad left | 22:27 |
| → thorie_ joined | 22:27 |
| → sess_ joined | 22:28 |
| → akitada_ joined | 22:28 |
| → bbhoss_ joined | 22:28 |
| → EvilPenguin joined | 22:28 |
| → Mixologic_ joined | 22:28 |
| → aboccia_ joined | 22:28 |
| → Slush-_ joined | 22:29 |
| → c74d3 joined | 22:29 |
| ← neonalpine left | 22:29 |
| → antimatroid joined | 22:29 |
| → jave_ joined | 22:29 |
| → Ravana- joined | 22:29 |
| → brewmast1r joined | 22:29 |
| ← antimatroid left | 22:29 |
| → neunon_ joined | 22:29 |
| → Somasis_ joined | 22:29 |
| → mtscout6 joined | 22:29 |
| ← King_Hual left | 22:29 |
| ← akitada left | 22:29 |
| ← bbhoss left | 22:29 |
| ← CheckDavid left | 22:29 |
| ← tfnico left | 22:29 |
| ← thorie left | 22:29 |
| ← hellschreiber left | 22:29 |
| ← relgar left | 22:29 |
| ← Wulf left | 22:29 |
| ← neunon left | 22:29 |
| ← sess left | 22:29 |
| ← brewmaster left | 22:29 |
| ← [diecast] left | 22:29 |
| ← sparetire left | 22:29 |
| ← Gamecubic left | 22:29 |
| ← mariorz left | 22:29 |
| ← Ravana left | 22:30 |
| ← shennyg left | 22:30 |
| ← aboccia left | 22:30 |
| ← jave left | 22:30 |
| ← Werring left | 22:30 |
| ← jds left | 22:30 |
| ← ribasushi left | 22:30 |
| ← Somasis left | 22:30 |
| ← Slush- left | 22:30 |
| ← mtscout6_ left | 22:30 |
| ← c74d left | 22:30 |
| ← linduxed left | 22:30 |
| ← tobiasvl left | 22:30 |
| ← lokodo left | 22:30 |
| ← glebihan left | 22:30 |
| ← Tuna-Fish left | 22:30 |
| ← Mixologi- left | 22:30 |
| ← clone1018 left | 22:30 |
| ← Phtes left | 22:30 |
| ← falstaff left | 22:30 |
| ← King_Hual` left | 22:30 |
| → Phtes_ joined | 22:30 |
| → Tuna-Fish2 joined | 22:30 |
| → tvl joined | 22:30 |
| tvl → tobiasvl | 22:30 |
| → glebihan__ joined | 22:30 |
| → [diecast] joined | 22:30 |
| → Werring joined | 22:30 |
| → sparetire joined | 22:30 |
| bbhoss_ → bbhoss | 22:30 |
| neunon_ → neunon | 22:30 |
| → shennyg joined | 22:30 |
| akitada_ → akitada | 22:30 |
| → relgar joined | 22:30 |
| → lokodo joined | 22:30 |
| → hellschreiber joined | 22:30 |
| ← zadock left | 22:31 |
| → falstaff joined | 22:31 |
| → linduxed joined | 22:31 |
| → jds joined | 22:32 |
| ← KeelOfSteel left | 22:32 |
| → tfnico joined | 22:33 |
| Phtes_ → Phtes | 22:33 |
| → ribasushi_ joined | 22:33 |
| ← baweaver left | 22:33 |
| → mariorz joined | 22:34 |
| → baweaver joined | 22:34 |
| ← EvilPenguin left | 22:34 |
| ← denisMone left | 22:34 |
| ← Somasis_ left | 22:35 |
| → clone1018 joined | 22:35 |
| → Somasis_ joined | 22:35 |
| ← bgerber left | 22:35 |
| Somasis_ → Somasis | 22:35 |
| ← tang^ left | 22:36 |
| → cdown_ joined | 22:36 |
| ← ropav left | 22:36 |
| ← beastd left | 22:37 |
| → ropav joined | 22:37 |
| → bgerber joined | 22:37 |
| → Gitzilla joined | 22:38 |
| → dsdeiz joined | 22:38 |
| ← baweaver left | 22:39 |
| ← WaReZ left | 22:39 |
| → micechal joined | 22:39 |
| → Wulf joined | 22:40 |
| → antimatroid joined | 22:41 |
| → DARSCODE joined | 22:41 |
| ← ropav left | 22:41 |
| → CheckDavid joined | 22:42 |
| → baweaver joined | 22:43 |
| → hololeap joined | 22:43 |
| → weaksauce joined | 22:43 |
|
hololeap
| is there a way to execute a command on the remote machine using ssh after `git push`? | 22:44 |
| ← Guest77108 left | 22:44 |
| → mezod joined | 22:44 |
| ← basiclaser left | 22:44 |
|
hololeap
| there's no git server running, just ssh and a bare git directory in $HOME | 22:45 |
| ← autonomoid left | 22:47 |
|
TrentonDAdams
| hololeap, I'd imagine you can do that with ANY ssh session. | 22:47 |
| → ecksit joined | 22:47 |
|
TrentonDAdams
| hololeap, Just use .ssh/authorized_keys, and have it run a command afterward. Be careful it's not changing input/output, as that very well may break things for git | 22:48 |
|
kadoban
| hololeap: Setting up a hook would probably be the correct way. | 22:48 |
|
ecksit
| heya, i have a patch which has a file in it which i no longer want in the patch. is there a simple way to reroll the patch without it? the patch was made about 1 year ago and a fair way back in the history | 22:48 |
| ← mostlybadfly left | 22:48 |
|
TrentonDAdams
| kadoban, Yes, good point. If it's entirely related to git version control, and not some other process. | 22:48 |
|
kadoban
| Right, if it's not though, it'd be weird to want it to happen after a push you'd think. | 22:49 |
|
| ecksit: Can't you just remove the parts of the patch mentioning that file? | 22:49 |
|
ecksit
| i could but will that break the sha or history? | 22:50 |
| ← jerematic left | 22:50 |
| ← ahr3n left | 22:50 |
|
kadoban
| ecksit: Patches don't really have history or any errorchecking as far as I know. | 22:50 |
| ← Padawan left | 22:50 |
|
ecksit
| ok - will give it a go. | 22:51 |
| ← _chad left | 22:51 |
| → jerematic joined | 22:51 |
|
ecksit
| many thanks kadoban | 22:51 |
| → Padawan_ joined | 22:51 |
|
kadoban
| 'welcome, good luck. I'm like 99% sure it'll work fine. | 22:51 |
|
ojacobson
| ecksit: I suspect kadoban understands "patch" as "a text file containing the output of diff(1)" | 22:52 |
| → dlitz joined | 22:52 |
| → jeremati_ joined | 22:52 |
|
ojacobson
| (possibly "git diff", but the important part is that it's text, not git structures) | 22:52 |
| ← jerematic left | 22:52 |
|
hololeap
| what i'd like to do is restart my daemon after i do a push. i could just use ssh and authorized_keys, but i want it to happen automatically _after_ i run `git push` and there doesn't seem to be a post-push hook | 22:52 |
|
ecksit
| the patch contains the attributed commits - not just a diff | 22:52 |
| ← mjuszczak left | 22:53 |
|
ojacobson
| hololeap: !deploy | 22:53 |
|
gitinfo
| hololeap: 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/deploy.html | 22:53 |
|
kadoban
| Err, that's not what we're talking about? What is it then? | 22:53 |
|
hololeap
| ojacobson: thanks | 22:53 |
|
ojacobson
| hololeap: honestly at the point where you're talking about restarting services you probably want to look at a dedicated deployment tool | 22:53 |
|
| obligatory plug for my day job, heroku dot com, too :) | 22:54 |
| → mjuszczak joined | 22:54 |
|
hololeap
| ojacobson: i was wanting something like heroku but i need it to be deployed on my LAN | 22:54 |
|
ojacobson
| deis? | 22:54 |
|
| dokku? | 22:54 |
|
| flynn? | 22:54 |
|
hololeap
| beuler? | 22:54 |
|
kadoban
| XD | 22:54 |
|
ecksit
| or even something like gitrecieve hololeap | 22:54 |
| ← dlitz left | 22:55 |
| → jgardella joined | 22:55 |
| → iio7 joined | 22:56 |
| → madewokherd joined | 22:56 |
| ← zumba_addict left | 22:56 |
|
hololeap
| ok those are deployment systems. i didn't understand that right away | 22:56 |
|
iio7
| I have a large repo with lots of history, I want to delete everything except the last commit, how can I do that without actually just deleting .git and reinitialzing? | 22:56 |
| ← mjuszczak left | 22:56 |
|
ecksit
| rebasing iio7? | 22:57 |
|
iio7
| It is a whiteliste git repo (ie, files are only added using -f), so I can't simply delete .git | 22:57 |
|
| ecksit, I cannot see that rebase deletes all other commits, histori etc. | 22:58 |
|
kadoban
| iio7: git checkout --orphan I guess, and then dump the rest of the branches? | 22:58 |
|
| I don't really understand why you're doing that exactly, but … it'll work I guess. | 22:58 |
|
ecksit
| rebasing will rewrite the history - you can just squash all the others | 22:58 |
| → snockerton joined | 23:00 |
| ← pheaver left | 23:00 |
| → dhilipsiva joined | 23:00 |
| dhilipsiva → Guest14803 | 23:00 |
|
snockerton
| i have a branch with 10+ commits as well as merges with master mixed in - how do I squash/rebase this all into one commit before going to a pull request? | 23:01 |
| → dlitz joined | 23:01 |
| ← dlitz left | 23:01 |
| ← blr left | 23:01 |
| ← someircname left | 23:02 |
| → devoldmx3 joined | 23:02 |
| ← cdown_ left | 23:02 |
| ← iio7 left | 23:02 |
| → dlitz joined | 23:02 |
| → devoldmx27 joined | 23:03 |
|
kadoban
| snockerton: Not really sure it matters, but … master was merged into the branch, or the branch was merged into master? Or both? | 23:03 |
| → cdown_ joined | 23:03 |
|
ecksit
| snockerton: https://git-scm.com/book/en/v2/Git-Branching-Rebasing | 23:03 |
| ← gargola left | 23:03 |
| ← dlitz left | 23:03 |
| ← editshare-ericf left | 23:04 |
| ← Gama11 left | 23:04 |
| ← unknwn- left | 23:04 |
|
xace
| Could anyone suggest on how to handle this: I maintain patches for a project. I apply my patches to my own copy (master). Every now and then I have to re-adjust my patches so they work on upstream/master. eventually I'll have to merge upstream/master to master. Is there a suggested way to handle this? | 23:05 |
| → arnaud____ joined | 23:05 |
| ← Guest14803 left | 23:05 |
| ← joo-_ left | 23:05 |
|
xace
| currently the patches are in their own branches. | 23:05 |
| ← linuxboytoo left | 23:05 |
| ← devoldmx left | 23:05 |
|
xace
| but I suppose when they've been merged into master, it may be hard to merge them again after they've been updated for upstream/master | 23:05 |
| → devoldmx joined | 23:05 |
| ← Neozonz|Disc left | 23:05 |
| ← moretti left | 23:06 |
| ← Dorf left | 23:06 |
| → blr joined | 23:06 |
|
kadoban
| xace: I don't really understand. The patches /are/ the branches? | 23:06 |
| → DolphinDream joined | 23:06 |
| ← devoldmx3 left | 23:06 |
|
xace
| kadoban: correct. | 23:07 |
| ← devoldmx27 left | 23:08 |
|
kadoban
| xace: And you … rebase them onto origin/master occasionally you mean? | 23:08 |
| → clarkpan joined | 23:08 |
| ← ManikM left | 23:08 |
| → ManikM joined | 23:09 |
|
xace
| kadoban: currently merging, but i could switch to rebase. | 23:09 |
| ← arnaud____ left | 23:09 |
| ← pecg left | 23:09 |
|
kadoban
| xace: Hmm, merging which way? into origin/master or you merge origin/master into the branch? | 23:09 |
|
| Just trying to figure out what the current situation is, heh, sorry. | 23:10 |
|
xace
| kadoban: from the branches (patches) to origin/master | 23:10 |
|
| kadoban: for example: http://dwm.suckless.org/patches/autoresize this person has released 2 versions of the patch | 23:10 |
| → dlitz joined | 23:10 |
| → toothrot joined | 23:10 |
| ← leolrrj left | 23:11 |
| AMERICA__ → AMERICAN_PSYCHO | 23:11 |
| AMERICAN_PSYCHO → AMERICA__ | 23:11 |
|
kadoban
| xace: Err, how does that work though? Usually origin/master is a remote tracking branch that you don't modify. | 23:11 |
|
xace
| kadoban: well, i guess i should referr to it as the local branch "master" | 23:11 |
| → shinnya joined | 23:11 |
|
kadoban
| Oh okay, and you have like a devel branch, that's the other version you were talking about? | 23:12 |
|
xace
| kadoban: correct. | 23:12 |
|
| kadoban: i can draw a picture if it helps | 23:12 |
|
kadoban
| xace: It might :) I'm still having trouble picturing how that's working and what changes you routinely do. | 23:13 |
|
xace
| kadoban: ill rename the branches so it makes more sense for you | 23:14 |
| → ropav joined | 23:14 |
|
kadoban
| Thanks | 23:15 |
| → joo-_ joined | 23:15 |
| ← dlitz left | 23:16 |
| → Neozonz joined | 23:17 |
| ← Neozonz left | 23:17 |
| → Neozonz joined | 23:17 |
| ← mikecmpbll left | 23:17 |
| ← davioroc1a left | 23:17 |
| → daviorocha joined | 23:17 |
| → linuxboytoo joined | 23:18 |
| ← ropav left | 23:18 |
| → scientes joined | 23:18 |
| ← scientes left | 23:18 |
| → scientes joined | 23:18 |
| → duderonomy joined | 23:18 |
| → KennyRayFL joined | 23:18 |
|
kadoban
| xace: Back in a few minutes. I'm not even close to the smartest person here though, so someone else can probably help in the meantime if you get done drawing. | 23:20 |
|
xace
| kadoban: Alright. | 23:20 |
| ← devoldmx left | 23:21 |
| ← whitby left | 23:21 |
| → drupald joined | 23:21 |
| ← Zarthuss left | 23:21 |
| ← Neozonz left | 23:22 |
| ← scientes left | 23:23 |
| → scientes joined | 23:24 |
| → harish_ joined | 23:24 |
| → jeffmjack joined | 23:24 |
| → mjuszczak joined | 23:24 |
|
jeffmjack
| I am in non-fast forward land and confused | 23:25 |
|
| my server is live; so I'd rather not just git pull into the server to resolve conflicts | 23:25 |
| ← mjuszczak left | 23:25 |
| → mjuszczak joined | 23:26 |
| → dsantiago joined | 23:26 |
| ← KennyRayFL left | 23:27 |
| → pecg joined | 23:28 |
|
xace
| kadoban: I hope it makes more sense http://i.imgur.com/JWjHBhq.png | 23:28 |
| → zumba_addict joined | 23:28 |
| → dlitz joined | 23:30 |
| ← MacWinner left | 23:31 |
| → EvilPenguin joined | 23:31 |
| ← kevwil left | 23:31 |
|
xace
| kadoban: my problem with the patch branches are a few of them collide with each other. so each time i want to update anything i have to go through it manually. Currently I run 25 patches.. Everynow and then i update "stable-private" so that it matches "master", and then I have to reapply all those patches again | 23:32 |
| ← stantonk left | 23:32 |
| → tgummerer joined | 23:33 |
| → Neozonz joined | 23:33 |
| ← Neozonz left | 23:33 |
| → Neozonz joined | 23:33 |
| ← kofione left | 23:33 |
|
xace
| realised some mistakes in the graph, but hopefully it makes more sense than my phrasing | 23:33 |
|
kadoban
| xace: Okay so your workflow goes something like … merge master into patches, merge master into patches, merge patches into stable-private, repeat a bunch of times. And then you're going to want to merge master into stable-private later and expect that to be bad I guess? I'm actually not seeing the problematic part, it should Just Work (TM) minus some merge conflicts and stuff. | 23:34 |
|
| Which … I don't know if I'm missing the part that's a problem, or if it's just not actually a problem, heh … | 23:34 |
| → nettoweb joined | 23:34 |
|
xace
| kadoban: the merge conflict are very complex... some of them require huge rewrites | 23:34 |
|
| * some of the merge conflicts | 23:34 |
|
snockerton
| is there a way to do a pull request with including all 20+ of my commits on a branch? I need a clean, single commit to show in master after PR + merge, something like "feature X added" | 23:35 |
|
| *without including | 23:35 |
|
kadoban
| Hmmmm | 23:35 |
| ← scientes left | 23:35 |
|
kadoban
| snockerton: That's what a pull request already does. Or you mean you want it squashed into one commit? | 23:35 |
| → modocache joined | 23:35 |
| ← EvilPenguin left | 23:35 |
|
snockerton
| yes squashed, although I tried doing that on my local branch copy and it effed everything up and introduced conflicts | 23:36 |
|
xace
| kadoban: im currently considering rewriting the patches so they can be applied ontop of each other in a special order... | 23:36 |
| ← AMERICA__ left | 23:36 |
|
snockerton
| i'm thinking about making a new branch, then just coping all my files into it | 23:36 |
| → diegoviola joined | 23:36 |
| ← hexagoxel left | 23:37 |
| ← cbonobo left | 23:37 |
| → sword joined | 23:37 |
|
snockerton
| git rebase / reset just hurt my brain | 23:37 |
| ← yqt left | 23:37 |
| ← hololeap left | 23:37 |
|
kadoban
| xace: Hmm. I'm afraid I don't really have good advice that comes to mind :-/ Sorry. I mean I'm sure you'll get merge conflicts sometimes, but … yeah I don't know how to avoid that. There's rerere, but … that sounds like it's not really for what you're doing I don't think. | 23:38 |
| → hexagoxel joined | 23:39 |
|
xace
| kadoban: there's a mailing list for the project, i bet someone there has solved this, ill check with them. and yes, rerere may help | 23:39 |
|
kadoban
| Okay, sure. You may want to ask again in a while too, some other people here have more experience with big projects and workflows more exciting than mine. (People tend to tune out once someone starts interacting with a questioner, so some might have skipped all of this) | 23:40 |
| ← modocache left | 23:40 |
| ← drbean left | 23:40 |
| ← hahuang65 left | 23:40 |
| ← nettoweb left | 23:43 |
| ← akiva left | 23:43 |
| → devoldmx joined | 23:44 |
| → scientes joined | 23:45 |
| → nettoweb joined | 23:45 |
| → soreau joined | 23:46 |
| → c0mrad3 joined | 23:47 |
| ← joako left | 23:47 |
| ← freestyl3r left | 23:51 |
| ← liamkeily left | 23:51 |
| ← nettoweb left | 23:52 |
| → ahr3n joined | 23:53 |
| → leolrrj joined | 23:53 |
| → modocache joined | 23:54 |
| → joako joined | 23:54 |
| → DerisiveLogic joined | 23:55 |
| ← DerisiveLogic left | 23:55 |
| → BuenGenio_ joined | 23:56 |
| ← daedeloth left | 23:56 |
| ← cagedwisdom left | 23:56 |
| ← snockerton left | 23:58 |
| ← BuenGenio left | 23:59 |
| ← fstd left | 23:59 |
| → Lyqyd joined | 23:59 |
| → fstd joined | 23:59 |