| 2014-10-10 |
| ← fstd left | 00:00 |
| → fstd joined | 00:00 |
| ← zhangxaochen left | 00:00 |
| ← kriks left | 00:00 |
| → zhangxaochen joined | 00:00 |
| ← brandonshowers left | 00:03 |
| → ajustrun joined | 00:04 |
| ← jave left | 00:04 |
| ← ojacobson left | 00:05 |
| → alanwill joined | 00:06 |
| ← imachuchu left | 00:07 |
| → robbyoconnor joined | 00:08 |
| ← robbyoconnor left | 00:08 |
| → robbyoconnor joined | 00:09 |
| → ojacobson joined | 00:10 |
| → durianshredder joined | 00:10 |
| → Zifre joined | 00:10 |
| ← alanwill left | 00:10 |
| ← mhall left | 00:11 |
| → BuenGenio joined | 00:11 |
| ← _Atom_ left | 00:12 |
| → gregsmith joined | 00:12 |
| ← zhangxaochen left | 00:12 |
| ← mueslo left | 00:13 |
| ← Zifre_ left | 00:13 |
| → zhangxaochen joined | 00:13 |
| ← daedeloth left | 00:13 |
| → frivol joined | 00:13 |
| ← Gamecubic left | 00:13 |
| ← gregsmith left | 00:14 |
| ← Asenar left | 00:14 |
| ← mizu_no_oto left | 00:14 |
| → Gamecubic joined | 00:14 |
| ← mechanicalduck_ left | 00:14 |
| → Asenar joined | 00:15 |
| ← whitby left | 00:15 |
| ← kristofferR left | 00:15 |
| ← a_le left | 00:17 |
| → a_le joined | 00:17 |
| → jave joined | 00:18 |
| ← spareproject left | 00:18 |
| ← jonmorehouse left | 00:18 |
| → CKyle joined | 00:19 |
| ← evildmp left | 00:20 |
| ← a_le left | 00:21 |
| ← treehug88 left | 00:22 |
| ← Asenar left | 00:23 |
| → Asenar joined | 00:24 |
| ← LLaurent left | 00:24 |
| ← in_deep_thought left | 00:24 |
| ← konr left | 00:25 |
| Radivarig_ → Radivarig | 00:26 |
| sqrrl → sq | 00:27 |
| ← Sleepy63 left | 00:27 |
| → kukks joined | 00:28 |
| ← CKyle left | 00:29 |
| → loz--_ joined | 00:30 |
| → codeFiend joined | 00:30 |
| ← codeFiend left | 00:30 |
| ← loz-- left | 00:31 |
| ← atlantan left | 00:32 |
| ← EminenceHC left | 00:35 |
| → EminenceHC joined | 00:35 |
| ← durianshredder left | 00:36 |
| ← BuenGenio left | 00:37 |
| → dsantiago joined | 00:39 |
| ← EminenceHC left | 00:40 |
| → toothrot joined | 00:40 |
| ← pandeiro left | 00:40 |
| → pandeiro joined | 00:41 |
| ← dreiss left | 00:41 |
| → Sleepy63 joined | 00:41 |
| ← tinti left | 00:42 |
| → Lyqyd joined | 00:43 |
| → eduardtm joined | 00:44 |
| → CKyle joined | 00:44 |
| → durianshredder joined | 00:44 |
| ← desposo left | 00:44 |
| ← eduardtm left | 00:46 |
| ← CheckDavid left | 00:47 |
| ← lmat left | 00:48 |
| → neonixcoder joined | 00:49 |
| → weemsledeux joined | 00:51 |
| ← weemsledeux left | 00:51 |
| → weemsledeux joined | 00:51 |
| → TheTopBloke joined | 00:52 |
| ← Sasazuka left | 00:53 |
| ← TheTopBloke left | 00:53 |
| → tmcmahon joined | 00:53 |
| ← robustus left | 00:53 |
| → Sasazuka joined | 00:54 |
| → otter768 joined | 00:55 |
| ← kukks left | 00:55 |
| → FreezingCold joined | 00:55 |
| → yosito joined | 00:55 |
| ← jgardella left | 00:55 |
| ← m0viefreak left | 00:56 |
| → robustus joined | 00:56 |
| ← maestrojed left | 00:57 |
| → alanwill joined | 00:58 |
| ← skylite left | 00:58 |
| ← Celm left | 00:59 |
| ← tmcmahon left | 00:59 |
| → Celm joined | 01:00 |
| → a_le joined | 01:00 |
| ← ajustrun left | 01:00 |
| ← Sasazuka left | 01:00 |
| → Sasazuka joined | 01:01 |
| → BuenGenio joined | 01:02 |
| → jgardella joined | 01:03 |
| ← holodoc left | 01:03 |
| ← Celm left | 01:04 |
| ← rylinaux left | 01:04 |
| → diegoviola joined | 01:07 |
| → rylinaux joined | 01:07 |
| ← freeman42 left | 01:07 |
| ← Radivarig left | 01:07 |
| → Goplat joined | 01:08 |
| → ghostenter joined | 01:08 |
| ← kballou left | 01:09 |
| ← alexwhitman left | 01:10 |
| → waveclaw joined | 01:10 |
| → alexwhitman joined | 01:11 |
| ← ghostenter left | 01:11 |
| ← diegoviola left | 01:11 |
| → fuli joined | 01:11 |
| ← oojacoboo left | 01:13 |
| → oojacoboo joined | 01:15 |
| ← toothrot left | 01:16 |
| ← pheaver left | 01:17 |
| ← hcc23 left | 01:17 |
| → brucelee joined | 01:17 |
| ← CKyle left | 01:18 |
|
brucelee
| i have some changes in staging area so icant do a git pull | 01:18 |
|
| how do i just clear the staging area? | 01:18 |
| → justinmburrous joined | 01:19 |
| ← mikiones left | 01:19 |
| → tokik joined | 01:20 |
| ← Sasazuka left | 01:20 |
| ← justinmburrous left | 01:20 |
| → justinmburrous joined | 01:21 |
| → znode joined | 01:21 |
| ← d10n-work left | 01:21 |
| → ivan\ joined | 01:22 |
| ← ausjke left | 01:22 |
| ← magic left | 01:23 |
| → Radivarig joined | 01:23 |
| → magic joined | 01:24 |
| ← kaendfinger left | 01:26 |
| ← aidalgol left | 01:26 |
| ← a_le left | 01:28 |
|
brucelee
| my branch is 1 or 2 ahead of origin master | 01:28 |
|
| and i want to git reset it backwards to get rid of my 1 or 2 commits that are ahead | 01:28 |
|
| so i do git reset HEAD~2 | 01:28 |
| ← magic left | 01:28 |
|
brucelee
| now i have a bunch of stuff thats "modified" in my staging area | 01:28 |
|
| and a bunch of stuff that are untracked | 01:29 |
|
| what command should i have used instead to go backwards but not end up having all this "modified" and "untracked" stuff? | 01:29 |
| → magic joined | 01:29 |
| → atlantan joined | 01:33 |
| ← LucasKA left | 01:33 |
| ← seanmerron left | 01:35 |
| ← oojacoboo left | 01:36 |
| → skylite joined | 01:37 |
| → oojacoboo joined | 01:37 |
| ← quix left | 01:37 |
| ← atlantan left | 01:37 |
| ← neonixcoder left | 01:38 |
| → toothrot joined | 01:38 |
| ← diegoaguilar left | 01:39 |
| ← baweaver left | 01:40 |
| → aidalgol joined | 01:40 |
| ← meatmanek left | 01:40 |
| → NoNMaDDeN joined | 01:41 |
| → Celm joined | 01:41 |
| → baweaver joined | 01:41 |
| ← durianshredder left | 01:43 |
| ← brucelee left | 01:45 |
| → brucelee joined | 01:45 |
|
brucelee
| can anyone hear me? | 01:45 |
| ← yosito left | 01:45 |
| ← KeelOfSteel left | 01:45 |
| ← baweaver left | 01:45 |
| ← znode left | 01:46 |
| ← NoNMaDDeN left | 01:47 |
| → meatmanek joined | 01:47 |
| ← justinmburrous left | 01:48 |
| → diegoviola joined | 01:48 |
| → nkouevda joined | 01:49 |
| → KeelOfSteel joined | 01:50 |
| ← BuenGenio left | 01:51 |
| ← darkbasic_ left | 01:52 |
| → Celm_ joined | 01:53 |
| ← alanwill left | 01:53 |
| → darkbasic joined | 01:53 |
| → bezet joined | 01:54 |
| → yosito joined | 01:55 |
| ← ivan\ left | 01:55 |
| → dreiss joined | 01:56 |
| ← Celm left | 01:57 |
| → fling joined | 01:58 |
| → ag4ve joined | 01:58 |
| ← bezet left | 01:58 |
| → alanwill joined | 01:59 |
| → neonixcoder joined | 02:00 |
| → pwnz0r joined | 02:00 |
| ← diegoviola left | 02:00 |
| → jpf_ joined | 02:00 |
| → MutSbeta joined | 02:01 |
| → daito_ joined | 02:02 |
| ← eliasr left | 02:02 |
| ← jpf left | 02:04 |
| ← ValicekB left | 02:05 |
| ← jpf_ left | 02:05 |
| ← RaceCondition left | 02:05 |
| → vincentor joined | 02:06 |
| ← neonixcoder left | 02:06 |
| ← dreiss left | 02:06 |
| ← brucelee left | 02:08 |
| ← skylite left | 02:08 |
| → Pyrogerg joined | 02:09 |
| → zumba_ad_ joined | 02:10 |
| → ValicekB joined | 02:10 |
| ← shpoont left | 02:11 |
| ← blubberbop left | 02:12 |
| ← zumba_addict left | 02:14 |
| ← aidalgol left | 02:15 |
| → aidalgol joined | 02:16 |
| → luc_ joined | 02:17 |
| → durianshredder joined | 02:17 |
| ← moritzschaefer left | 02:19 |
| ← Noldorin left | 02:20 |
| → watabou joined | 02:20 |
| → Sasazuka joined | 02:21 |
| ← KeelOfSteel left | 02:21 |
| → KeelOfSteel joined | 02:22 |
| → brucelee joined | 02:23 |
|
milki
| brucelee: !fixup | 02:25 |
|
gitinfo
| brucelee: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history! | 02:25 |
| ← maletor left | 02:26 |
| ← alvaro_o left | 02:26 |
| ← tokik left | 02:26 |
| → ivan\ joined | 02:28 |
| ← sgen_ left | 02:31 |
| ← pbrobst left | 02:31 |
| → tokik joined | 02:31 |
| → sean__ joined | 02:32 |
| ← Sleepy63 left | 02:32 |
| → jayeshsolanki joined | 02:32 |
| → atlantan joined | 02:33 |
| ← Dougie187 left | 02:36 |
| ← watabou left | 02:37 |
| ← msonntag left | 02:37 |
| ← atlantan left | 02:39 |
| → msonntag joined | 02:39 |
| → jason237 joined | 02:39 |
| ← weemsledeux left | 02:41 |
| → CKyle joined | 02:43 |
| ← thibaultcha left | 02:44 |
| → ajustrun joined | 02:47 |
| ← FreezingCold left | 02:48 |
| → iliketurtles joined | 02:49 |
| → mizu_no_oto joined | 02:52 |
| → P4_Denis joined | 02:54 |
| ← kadoban left | 02:56 |
| ← MattMaker left | 02:56 |
| → kadoban joined | 02:57 |
| ← Slush- left | 02:58 |
| ← jstimm left | 02:59 |
| ← P4_Denis left | 02:59 |
| ← toothrot left | 02:59 |
| ← durianshredder left | 02:59 |
| → Slush- joined | 03:00 |
| ← ajustrun left | 03:00 |
| → Sleepy63 joined | 03:01 |
| ← nb_bez___ left | 03:02 |
| ← msmith_ left | 03:03 |
| → rdbell joined | 03:03 |
| → msmith_ joined | 03:05 |
| ← jgardella left | 03:06 |
| ← Consuela left | 03:08 |
| → a_le joined | 03:09 |
| ← pwnz0r left | 03:10 |
| → Consuela joined | 03:11 |
| ← Consuela left | 03:13 |
| ← Celm_ left | 03:15 |
| → pwnz0r joined | 03:16 |
| ← alanwill left | 03:16 |
| → alanwill joined | 03:18 |
| ← alvaro_o_ left | 03:19 |
| ← a_le left | 03:19 |
| ← solution left | 03:20 |
| → a_le joined | 03:20 |
| → solution joined | 03:21 |
| ← rvsjoen left | 03:21 |
| → pheaver joined | 03:22 |
| ← mizu_no_oto left | 03:22 |
| ← jayeshsolanki left | 03:22 |
| ← LucasTT left | 03:24 |
| ← a_le left | 03:24 |
| ← brucelee left | 03:26 |
| → SumDude_ joined | 03:28 |
| ← alanwill left | 03:29 |
| ← moberberger left | 03:29 |
| → justinmburrous joined | 03:29 |
| ← CKyle left | 03:31 |
| → a_le joined | 03:31 |
| ← SumDude left | 03:31 |
| ← fold left | 03:31 |
| ← robbyoconnor left | 03:32 |
| → fold joined | 03:33 |
| → TheTopBloke joined | 03:33 |
| → SjB joined | 03:33 |
| → fatalhalt joined | 03:35 |
| ← a_le left | 03:35 |
| ← TheTopBloke left | 03:36 |
| ← pheaver left | 03:36 |
| ← Turicas left | 03:37 |
| → pheaver joined | 03:37 |
| ← FabTG left | 03:37 |
| → alanwill joined | 03:39 |
| → jgardella joined | 03:41 |
| ← danemacmillan left | 03:41 |
| ← madewokherd left | 03:41 |
| ← rdbell left | 03:42 |
| → BuenGenio joined | 03:44 |
| ← msmith_ left | 03:45 |
| → brucelee joined | 03:46 |
| ← pheaver left | 03:47 |
| variable → constant | 03:47 |
| → Asiajey joined | 03:48 |
| → neonixcoder joined | 03:48 |
| → d10n-work joined | 03:48 |
| ← ojacobson left | 03:49 |
| → EminenceHC joined | 03:51 |
| → FabTG joined | 03:53 |
| → bezet joined | 03:54 |
| ← neonixcoder left | 03:54 |
| → a_le joined | 03:55 |
| ← EminenceHC left | 03:56 |
| ← FabTG left | 03:58 |
| → NoNMaDDeN joined | 03:58 |
| ← zumba_ad_ left | 03:58 |
| → zumba_addict joined | 03:58 |
| ← bezet left | 03:58 |
| ← iliketurtles left | 03:59 |
| ← brucelee left | 03:59 |
| → neonixcoder joined | 04:00 |
| ← neonixcoder left | 04:02 |
| ← NoNMaDDeN left | 04:03 |
| ← Sasazuka left | 04:03 |
| → LucasKA joined | 04:03 |
| → moberberger joined | 04:03 |
| ← zumba_addict left | 04:03 |
| → armyriad joined | 04:04 |
| → jstimm joined | 04:06 |
| ← cgar left | 04:06 |
| → kcj joined | 04:08 |
| → EminenceHC joined | 04:08 |
| → robotomr joined | 04:09 |
| → thibaultcha joined | 04:10 |
| → robbyoconnor joined | 04:10 |
| → King_Hual joined | 04:11 |
| ← SumDude_ left | 04:11 |
| ← pwnz0r left | 04:11 |
| ← EminenceHC left | 04:13 |
| → dccc_ joined | 04:13 |
| ← thibaultcha left | 04:15 |
| ← otter768 left | 04:15 |
| ← dccc__ left | 04:16 |
| → Celm joined | 04:16 |
| ← Mitchbones left | 04:17 |
| → kyb3r_ joined | 04:18 |
| ← wakd left | 04:18 |
| ← moberberger left | 04:18 |
| → moberberger joined | 04:19 |
| ← polyzen left | 04:19 |
| ← robotomr left | 04:20 |
| ← daito_ left | 04:20 |
| ← Celm left | 04:21 |
| ← King_Hual left | 04:22 |
| → atlantan joined | 04:22 |
| → wakd joined | 04:22 |
| → eletuchy joined | 04:23 |
| ← robbyoconnor left | 04:23 |
| → robbyoconnor joined | 04:24 |
| → fairuz joined | 04:24 |
| ← nutron left | 04:26 |
| ← atlantan left | 04:27 |
| ← BuenGenio left | 04:27 |
| → BuenGenio joined | 04:31 |
| → atlantan joined | 04:32 |
| → desposo joined | 04:34 |
| → nutron joined | 04:34 |
| ← codeman left | 04:34 |
| ← LucasKA left | 04:35 |
| ← moberberger left | 04:36 |
| → ehmatthes joined | 04:36 |
| ← atlantan left | 04:37 |
| ← Juxtapositional left | 04:37 |
| ← nutron left | 04:37 |
| → jceb joined | 04:37 |
| ← eletuchy left | 04:38 |
| ← desposo left | 04:38 |
| → eletuchy joined | 04:38 |
| → chiemseesurfer joined | 04:39 |
| ← Lyqyd left | 04:39 |
| ← robbyoconnor left | 04:39 |
| → robbyoconnor joined | 04:40 |
| → Juxtapositional joined | 04:41 |
| ← eletuchy left | 04:42 |
| → joo-_ joined | 04:44 |
| → pwnz0r joined | 04:44 |
| → User458764 joined | 04:45 |
| ← aidalgol left | 04:48 |
| → QshelTier joined | 04:48 |
| ← Sleepy63 left | 04:48 |
| ← pwnz0r left | 04:48 |
| ← simesy left | 04:48 |
| ← atomx_ left | 04:48 |
| QshelTier → Bombe | 04:49 |
| ← teran left | 04:49 |
| ← jceb left | 04:49 |
| → phoenixz joined | 04:49 |
| → unixpro1970 joined | 04:50 |
| ← User458764 left | 04:52 |
| → LucasKA joined | 04:52 |
| ← lindenle left | 04:53 |
| → User458764 joined | 04:54 |
| → kiran joined | 04:55 |
| → subhojit777 joined | 04:55 |
| ← jonyfive left | 04:57 |
| → NoNMaDDeN joined | 04:58 |
| ← phoenixz left | 04:59 |
| → mscook joined | 05:00 |
| → tvw joined | 05:00 |
| ← UmbraMalison left | 05:01 |
| → blubberbop joined | 05:01 |
| → Sleepy63 joined | 05:02 |
| ← tpollard left | 05:03 |
| → UmbraMalison joined | 05:05 |
| ← robbyoconnor left | 05:05 |
| → robbyoconnor joined | 05:08 |
| ← robbyoconnor left | 05:09 |
| → robbyoconnor joined | 05:09 |
| → daito joined | 05:10 |
| ← yosito left | 05:10 |
| ← chiemseesurfer left | 05:10 |
| → felixjet_ joined | 05:11 |
| → JSharpe_ joined | 05:11 |
| ← robbyoconnor left | 05:11 |
| ← felixjet__ left | 05:14 |
| ← JSharpe left | 05:14 |
| ← kiran left | 05:14 |
| ← aucecil left | 05:15 |
| → Chinorro joined | 05:15 |
| → nnyk_ joined | 05:16 |
| ← agileadam left | 05:16 |
| → FabTG joined | 05:18 |
| → jceb joined | 05:20 |
| → Suchit joined | 05:20 |
| ← joo-_ left | 05:23 |
| ← starkhalo left | 05:23 |
| → lindenle joined | 05:24 |
| → ryez joined | 05:24 |
| → nezZario joined | 05:25 |
| ← Suchit left | 05:25 |
|
nezZario
| ok | 05:25 |
| ← Goplat left | 05:25 |
| → aucecil joined | 05:26 |
|
nezZario
| I'm desparately trying to get control over this project I just took over. These guys had some parts of the site in repos that were used in some crazy rollout scheme, but most of the project wasn't under VC | 05:26 |
|
| I'm wanting to just put the root directory of the site in a git repo, but there are git repo's under that dir tree, is there a way to make the upper repo ignore that fact and keep it under VC normally (but, possibly, not that .git directory) | 05:27 |
|
ryez
| will there be a repository specific .gitconfig file that could be checked in | 05:27 |
| → kiran joined | 05:27 |
| → CheckDavid joined | 05:28 |
| ← lindenle left | 05:28 |
|
nezZario
| all this old stuff is going to go...mainly because i'm reorganizing the server layout as soon as I get a chance..but I need the old repos that live deep under the root dir to exist for now because they're used for staging/deployment | 05:28 |
|
| ryez: not sure what you mean? | 05:30 |
| ← eXeC64 left | 05:31 |
| ← User458764 left | 05:31 |
|
nezZario
| these old repos are pretty much trash...i mean, better than nothing, but they weren't even "real" commits..they just had a script to add/commit all, then push to a remote to use it as an rsync with history i guess | 05:31 |
| → Celm joined | 05:32 |
| ← justinmburrous left | 05:33 |
| → justinmburrous joined | 05:34 |
| → GT4066 joined | 05:34 |
| → beautifulmind joined | 05:35 |
| → harish joined | 05:36 |
| → jpf joined | 05:39 |
| ← beautifulmind left | 05:39 |
| → pantsman- joined | 05:39 |
| → beautifulmind joined | 05:40 |
| ← LucasKA left | 05:40 |
| → joo-_ joined | 05:41 |
| → codeman joined | 05:41 |
| → ThomasLocke joined | 05:42 |
|
nezZario
| is it not possible? | 05:43 |
|
| git add --dry-run subDirWithRepo/ isn't adding anything since it's a repo.. I tried adding the .git dir to the gitignore but no go | 05:43 |
| ← blubberbop left | 05:44 |
| ← NoNMaDDeN left | 05:44 |
| → brandonshowers joined | 05:44 |
| → Suchit joined | 05:46 |
| → Junior joined | 05:47 |
| → evildmp joined | 05:47 |
| ← beautifulmind left | 05:47 |
| ← jceb left | 05:47 |
| → beautifulmind joined | 05:48 |
| → otakbeku joined | 05:48 |
| → hoijuiL joined | 05:50 |
| → eXeC64 joined | 05:50 |
| ← jgardella left | 05:50 |
| → mihaicris joined | 05:51 |
| → FunkyAss joined | 05:52 |
| → SwedFTP joined | 05:53 |
| → EminenceHC joined | 05:54 |
| → bezet joined | 05:55 |
| → teran joined | 05:57 |
| → Silmarilion joined | 05:57 |
| → diegovio1 joined | 05:58 |
| diegovio1 → diegoviola | 05:58 |
| ← Gamecubic left | 05:58 |
| ← EminenceHC left | 05:59 |
| ← bezet left | 05:59 |
| ← pantsman- left | 06:00 |
| → whitby joined | 06:01 |
| → iliketurtles joined | 06:01 |
| → ciampix joined | 06:02 |
| ← harish left | 06:04 |
| ← scarcry left | 06:04 |
| → scarcry joined | 06:05 |
| → ra0 joined | 06:05 |
| ← mihaicris left | 06:05 |
| ← unixpro1970 left | 06:05 |
| ← JosephFerano left | 06:06 |
| → papegaaij joined | 06:07 |
| ← scarcry left | 06:07 |
| → NoNMaDDeN joined | 06:07 |
| → JosephFerano joined | 06:08 |
| → francisfish joined | 06:08 |
| ← JosephFerano left | 06:08 |
| → scarcry joined | 06:09 |
| → JosephFerano joined | 06:10 |
| ← Junior left | 06:10 |
| ← fatalhalt left | 06:10 |
| → unixpro1970 joined | 06:12 |
| → Sora_cl joined | 06:14 |
| ← Sora_cl left | 06:14 |
| ← Mobutils left | 06:16 |
| → roelmonnens joined | 06:17 |
| ← beautifulmind left | 06:19 |
| → saurabh joined | 06:19 |
| saurabh → Guest18647 | 06:20 |
| ← SjB left | 06:20 |
| → yosito joined | 06:21 |
| → acolson joined | 06:21 |
| → Diaoer joined | 06:22 |
| → Junior joined | 06:22 |
| ← Junior left | 06:22 |
| → Junior joined | 06:23 |
| ← Junior left | 06:23 |
| ← Diaoer left | 06:23 |
| → Junior joined | 06:23 |
| ← Junior left | 06:23 |
| → Junior joined | 06:23 |
| ← Junior left | 06:23 |
| → beautifulmind joined | 06:24 |
| → Junior joined | 06:24 |
| ← Junior left | 06:24 |
| → robbyoconnor joined | 06:24 |
| → Junior joined | 06:24 |
| ← Junior left | 06:24 |
| → Junior joined | 06:24 |
| ← Junior left | 06:25 |
| ← brandonshowers left | 06:25 |
| → Junior joined | 06:25 |
| ← Junior left | 06:25 |
| ← evildmp left | 06:25 |
| → Junior joined | 06:25 |
| ← yosito left | 06:25 |
| ← Junior left | 06:25 |
| → Junior joined | 06:26 |
| ← Junior left | 06:26 |
| → Junior joined | 06:26 |
| ← Junior left | 06:26 |
| → Junior joined | 06:26 |
| ← Junior left | 06:26 |
| → Junior joined | 06:27 |
| ← Junior left | 06:27 |
| → Junior joined | 06:27 |
| ← Junior left | 06:27 |
| ← ciampix left | 06:27 |
| → Bpit joined | 06:27 |
| → jceb joined | 06:27 |
| → Junior joined | 06:27 |
| ← Junior left | 06:28 |
| → Junior joined | 06:28 |
| ← Junior left | 06:28 |
| → Junior joined | 06:28 |
| ← Junior left | 06:28 |
| ← Bpit left | 06:28 |
| ← diegoviola left | 06:29 |
| → Pitb joined | 06:29 |
| → Junior joined | 06:29 |
| ← Junior left | 06:29 |
| → checkers joined | 06:29 |
| → Junior joined | 06:29 |
| ← Junior left | 06:29 |
|
checkers
| hi, is there any way to get the name of the most recent tag in a given branch? | 06:29 |
| → rob_w joined | 06:29 |
| → Junior joined | 06:29 |
| ← mscook left | 06:29 |
| ← Junior left | 06:29 |
| → Junior joined | 06:30 |
| ← Junior left | 06:30 |
| → dreiss joined | 06:30 |
| → Junior joined | 06:30 |
| ← Junior left | 06:30 |
| → Junior joined | 06:31 |
| ← Junior left | 06:31 |
|
bremner
| roughly speaking, "git describe --tags" | 06:31 |
| → Junior joined | 06:31 |
| ← Junior left | 06:31 |
| → Junior joined | 06:31 |
| ← Junior left | 06:31 |
| → Junior joined | 06:32 |
| ← Junior left | 06:32 |
|
checkers
| bremner: nice, thanks | 06:32 |
| → Junior joined | 06:32 |
| ← Junior left | 06:32 |
| → Junior joined | 06:32 |
| ← Junior left | 06:33 |
| → Junior joined | 06:33 |
| ← Junior left | 06:33 |
| → Junior joined | 06:33 |
| ← Junior left | 06:33 |
| → Junior joined | 06:34 |
| ← Junior left | 06:34 |
| ChanServ set mode: +o | 06:34 |
| ← zmuser3 left | 06:34 |
| → ghostlines joined | 06:34 |
| → Junior joined | 06:34 |
| jast set mode: +b | 06:34 |
| jast kicked Junior (Junior) | 06:34 |
| ← ghostlines left | 06:34 |
| jast set mode: -b | 06:35 |
| → jonmorehouse joined | 06:36 |
| jast set mode: -o | 06:36 |
| ← neversleepz left | 06:37 |
| ← otakbeku left | 06:37 |
|
checkers
| bremner: even better: git describe --abbrev=0 | 06:37 |
| → neversleepz joined | 06:37 |
| ← daito left | 06:39 |
| ← robbyoconnor left | 06:40 |
|
bremner
| jast: I feel like I missed some drama. Join/part spam? | 06:41 |
| → robbyoconnor joined | 06:41 |
| → weyer joined | 06:41 |
| ← BuenGenio left | 06:41 |
| ← NoNMaDDeN left | 06:41 |
| ← ehmatthes left | 06:42 |
| ← neversleepz left | 06:42 |
| → NoNMaDDeN joined | 06:42 |
| → zmuser3 joined | 06:43 |
| → jottr joined | 06:43 |
| → nilg joined | 06:43 |
| → daito joined | 06:44 |
| → mennea joined | 06:44 |
| → Mobutils joined | 06:45 |
|
_ikke_
| aparently | 06:45 |
|
| Junior (~Juni@unaffiliated/junior) has joined #git | 06:46 |
|
| Junior (~Juni@unaffiliated/junior) has quit (Excess Flood) | 06:46 |
| ← nnyk_ left | 06:46 |
| → mkaesz joined | 06:47 |
| → BuenGenio joined | 06:49 |
| → eologolo joined | 06:50 |
| → jnavila joined | 06:53 |
| ← checkers left | 06:53 |
| → aswen joined | 06:54 |
| → Qvazar joined | 06:54 |
| → lb1a joined | 06:54 |
| → wojtasfs joined | 06:54 |
| ← codeman left | 06:56 |
| ← joo-_ left | 06:57 |
| → yarco joined | 06:57 |
| → EminenceHC joined | 06:57 |
| → codecutter joined | 06:58 |
| → joo-_ joined | 07:00 |
| → PinkSpecs joined | 07:01 |
| ← codecutter left | 07:01 |
| ← jottr left | 07:02 |
| → groolot joined | 07:02 |
| ← EminenceHC left | 07:02 |
| ← groolot left | 07:04 |
| → jargon joined | 07:04 |
| ← oojacoboo left | 07:04 |
| → ciampix joined | 07:04 |
| ← francisfish left | 07:05 |
| → avvs joined | 07:05 |
| → jenni_naiaretti joined | 07:05 |
| → oojacoboo joined | 07:06 |
| → flowinho joined | 07:06 |
| ← Juzzika left | 07:07 |
| → jottr joined | 07:07 |
| → TomyWork joined | 07:08 |
| → zanchoPansa joined | 07:08 |
| → evildmp joined | 07:09 |
| → jagob joined | 07:10 |
| ← zanchoPa1sa left | 07:11 |
| → neversleepz joined | 07:12 |
| ← sean__ left | 07:13 |
| ← tirengarfio left | 07:13 |
| → justinmb_ joined | 07:14 |
| ← mennea left | 07:14 |
| → x0s_ joined | 07:14 |
| ← jenni_naiaretti left | 07:14 |
| ← sohail left | 07:14 |
| ← BuenGenio left | 07:14 |
| → mennea joined | 07:14 |
| → tirengarfio joined | 07:16 |
| → tirengarfio_ joined | 07:16 |
| → zoso joined | 07:17 |
| ← beautifulmind left | 07:17 |
| ← luc_ left | 07:17 |
| → encod3 joined | 07:18 |
| ← justinmburrous left | 07:18 |
| → BuenGenio joined | 07:18 |
| ← Lunatrius left | 07:19 |
| → Lunatrius joined | 07:19 |
| → Raging_Hog joined | 07:20 |
| → nnyk_ joined | 07:20 |
| → luc_ joined | 07:20 |
| ← yarco left | 07:20 |
| → LeMike joined | 07:21 |
| ← jonmorehouse left | 07:21 |
| → weemsledeux joined | 07:23 |
| ← weemsledeux left | 07:23 |
| → weemsledeux joined | 07:23 |
| → dangerousdave joined | 07:23 |
| → alorence joined | 07:24 |
| → ki0 joined | 07:24 |
| → gua_ould joined | 07:24 |
| → mueslo joined | 07:24 |
| ← neversleepz left | 07:25 |
| → neversleepz joined | 07:25 |
| → cbr_ joined | 07:26 |
| → petersr joined | 07:27 |
| ← neversleepz left | 07:30 |
| → User458764 joined | 07:31 |
| → beautifulmind joined | 07:33 |
| ← dangerousdave left | 07:34 |
| → mikiones joined | 07:34 |
| ← revolve left | 07:34 |
| → mechanicalduck joined | 07:35 |
| → Novitsh_ joined | 07:37 |
| ← mikiones left | 07:39 |
| → skylite joined | 07:39 |
| → fairuz1 joined | 07:40 |
| → ferreum_ joined | 07:41 |
| ← fairuz left | 07:41 |
| → yarco joined | 07:44 |
| ← User458764 left | 07:44 |
| ← kwc left | 07:45 |
| → punchagan joined | 07:46 |
| ← Asiajey left | 07:46 |
| → GGflags joined | 07:46 |
| → khmarbaise joined | 07:47 |
| → Asiajey joined | 07:47 |
| → hexagoxel joined | 07:48 |
| ← Celm left | 07:49 |
| ← jorj left | 07:50 |
| ← evildmp left | 07:51 |
| → Warrior-kk joined | 07:51 |
| ← punchagan left | 07:51 |
| gitinfo set mode: +v | 07:51 |
|
wojtasfs
| Hello, i have local gitolite v3.x server which i would like to use as a mirror to gitlab origin. How can i achieve that? Gitolite ssh user is gitolite and gitlab user is git | 07:51 |
|
jast
| bremner: no drama, just protecting us from many status messages, and the ban is long gone :) | 07:52 |
| → blackmes1 joined | 07:53 |
| → mikiones joined | 07:54 |
| → Celm joined | 07:54 |
|
yarco
| how to get parent controller's state in sub template (for example, route = index/node, i want to use `IndexController.hide` in node template) | 07:55 |
|
_ikke_
| yarco: wrong channel | 07:55 |
| → bezet joined | 07:55 |
|
yarco
| sorry | 07:55 |
| ← mennea left | 07:55 |
| → evildmp joined | 07:55 |
| → mennea joined | 07:56 |
| ← jottr left | 07:56 |
|
_ikke_
| yarco: No problem, but other channels might give you better help ;-) | 07:56 |
|
yarco
| :) , you are right. | 07:57 |
|
_ikke_
| wojtasfs: You could use gitlab webhooks to trigger the mirror repo to update | 07:57 |
| → seschwar_ joined | 07:57 |
| ← mikiones left | 07:58 |
|
wojtasfs
| i would like to use gitolite and pre-fetch hook, but first i need to be able gitolite to connect to gitlab, and this is where i have problem already | 07:58 |
| ← dreiss left | 07:59 |
| → mikiones joined | 07:59 |
| ← bezet left | 08:00 |
| → EminenceHC joined | 08:00 |
| → jpf_ joined | 08:01 |
| → jottr joined | 08:01 |
| ← daito left | 08:02 |
| ← nikita left | 08:02 |
| ← mikiones left | 08:03 |
| → daito joined | 08:04 |
| → nikita joined | 08:04 |
| ← jpf left | 08:04 |
| → W0rmDr1nk joined | 08:04 |
| ← EminenceHC left | 08:05 |
| → autonomousdev joined | 08:05 |
| → psoo joined | 08:05 |
| → intellix joined | 08:05 |
| ← Asiajey left | 08:06 |
| ← blackmes1 left | 08:06 |
| → khmarbaise_ joined | 08:06 |
| ← khmarbaise_ left | 08:06 |
| → khmarbaise_ joined | 08:06 |
| → rchavik joined | 08:07 |
| → zumba_addict joined | 08:07 |
| → francisfish joined | 08:08 |
| → thiago joined | 08:08 |
| ← khmarbaise left | 08:08 |
| khmarbaise_ → khmarbaise | 08:08 |
| ← Celm left | 08:08 |
| → darkbasic_ joined | 08:08 |
| ← darkbasic left | 08:09 |
| → jenni_naiaretti joined | 08:10 |
| → ghostlines joined | 08:10 |
| ← plushwork left | 08:10 |
| → aidalgol joined | 08:10 |
| → shpoont joined | 08:11 |
| ← beautifulmind left | 08:13 |
| ← skylite left | 08:13 |
| → mikiones joined | 08:14 |
| → maqr joined | 08:14 |
| ← weyer left | 08:14 |
| → weyer joined | 08:14 |
| → nour joined | 08:15 |
| → kriks joined | 08:15 |
|
sitaram
| wojtasfs: I don't know how gitlab works but I suspect (a) create a gitlab user who is allowed to read the repo you want (b) copy those ssh keys across to gitolite server and put them in ~/.ssh should allow the gitolite user to fetch from gitlab no? | 08:16 |
| → King_Hual joined | 08:16 |
|
wojtasfs
| sitaram, so i made it, but how can i specify in gitolite to connect to remote server as a git user not gitolite ? | 08:16 |
| ← boombatower left | 08:17 |
| ← weyer left | 08:17 |
|
sitaram
| wojtasfs: that's got nothing to do with gitolite. In the PRE_GIT trigger in gitolite you just say "git fetch gitlab@host:reponame" or something like that I suppose | 08:17 |
| → Wiz_KeeD joined | 08:17 |
|
sitaram
| gitolite has no role here, though you're using the gitolite **hosting user** as a **client** for gitlab | 08:17 |
|
guardian
| morning, every time I git fetch, it says it needs to git gc. But doesn't launch git gc. When I launch git gc manually, everything seems to go well and nexte time I git fetch it stills tell me it needs to git gc without actually doing it | 08:18 |
| → brucelee joined | 08:18 |
| → weyer joined | 08:18 |
| → groolot joined | 08:20 |
| ← daito left | 08:20 |
| ← glebihan left | 08:21 |
|
wojtasfs
| sitaram: ok thanks, i will give a try | 08:21 |
| → jaggz- joined | 08:22 |
|
jaggz-
| okay.. so I have a folder of files and I want to create a bare repository at /foo/bar/ .. and then get all my files committed to it.. | 08:23 |
|
osse
| guardian: there is a bug where git will discover it needs to gc, but the gc doesn't fix it. can't remember the solution:/ | 08:23 |
|
jaggz-
| what's the step to get the current directory of files to be considered a checked-out version of a bare repo? | 08:24 |
| ← justinmb_ left | 08:24 |
|
tobiasvl
| jaggz-: a bare repo doesn't have a "checked-out version". that's why it's !bare | 08:24 |
|
gitinfo
| jaggz-: an explanation of bare and non-bare repositories (and why pushing to a non-bare one causes problems) can be found here: http://bare-vs-nonbare.gitrecipes.de/ | 08:24 |
|
osse
| jaggz-: git --git-dir=path/to/there --work-tree=/path/to/somewhere status | 08:24 |
|
jaggz-
| mkdir bare_repo; cd bare_repo; git init --bare; cd /path/non_repo_project ... | 08:25 |
| → blackmes1 joined | 08:25 |
| → daedeloth joined | 08:26 |
|
jaggz-
| gitinfo: bad url | 08:26 |
| → Kicer86 joined | 08:26 |
| ← aidalgol left | 08:26 |
|
jaggz-
| tobiasvl: hmm? but I mean, remote (or in this case, in another dir), I'll have the "checked out" | 08:26 |
|
wojtasfs
| where can i find hooks manual for gitolite3 ? | 08:26 |
| → punchagan joined | 08:27 |
|
wojtasfs
| and how should i control repo hooks using gitolite-admin repository ? | 08:28 |
|
jaggz-
| I want to create a new /path/git/my_repo and then /somewhere/my_project my_project is a bunch of existing files, and I want them in the repo, and then checked out | 08:28 |
| ← evildmp left | 08:28 |
| ← teran left | 08:28 |
| ← alanwill left | 08:28 |
| → aidalgol joined | 08:29 |
|
osse
| then do what I said | 08:29 |
|
| specify --work-tree and --git-dir | 08:29 |
|
jaggz-
| work-tree is the existing files, and git-dir is the bare repo? | 08:29 |
| ← shpoont left | 08:30 |
|
osse
| you can also use environment variables. | 08:30 |
|
| yes | 08:30 |
| → liamkeily joined | 08:30 |
|
jaggz-
| do I need anything else on the git line you gave? it's not being accepted.. perhaps no command? | 08:32 |
| ← aucecil left | 08:32 |
| → martinklepsch joined | 08:33 |
|
osse
| I wrote status at the end | 08:34 |
| ← iliketurtles left | 08:34 |
|
jaggz-
| man.. completely blind to that.. weird.. | 08:34 |
|
| thanks | 08:34 |
|
| sorry | 08:34 |
| ← hexagoxel left | 08:34 |
| → P4_Denis joined | 08:34 |
| → silence-simple joined | 08:35 |
| ← blackmes1 left | 08:35 |
| ← Mobutils left | 08:36 |
|
jaggz-
| that doesn't create a .git folder in the work-tree though, so git add complains (that it's not a repository).. it does show all the untracked files/folders in the current dir though. | 08:36 |
| ← petersr left | 08:36 |
| ← nikita left | 08:36 |
| → daito joined | 08:37 |
|
osse
| jaggz-: you need --git-dir and --work-tree for all commands | 08:38 |
|
jaggz-
| ohh... | 08:38 |
| → DarkKnightCZ joined | 08:38 |
|
jaggz-
| that's not normal though right? so what if I create a bare repo, check it out in a new dir, copy all my files over and git add them and commit? | 08:39 |
| → nikita joined | 08:39 |
|
osse
| what's not normal ? | 08:39 |
|
jaggz-
| I don't normally need to specify those for all commands | 08:40 |
| → bezet joined | 08:40 |
|
osse
| correct | 08:40 |
|
| because usually .git inside the work tree and you are inside the work tree when you run git. | 08:40 |
| → punchagan1 joined | 08:40 |
| → evildmp joined | 08:41 |
| ← robbyoconnor left | 08:43 |
|
wojtasfs
| anyone? where should i create gl-pre-git hook file ? i tried in /var/lib/gitolite3: hooks/reponame/gl-pre-git , repositories/reponame/hooks/gl-pre-git but none of them work | 08:43 |
|
| and of course +x mode has been set | 08:43 |
| → dangerousdave joined | 08:43 |
| → skylite joined | 08:43 |
| ← jpf_ left | 08:43 |
| ← punchagan left | 08:43 |
| ← liamkeily left | 08:44 |
|
jaggz-
| so I did: cd /new/goal/repo; git init --bare; git clone /new/goal/repo /new_working; mv /non_git_working/* /new_working/ | 08:44 |
| → blackmes1 joined | 08:44 |
| → shigosei joined | 08:44 |
|
tobiasvl
| wojtasfs: sounds like a #gitolite question, that's neither a standard git hook nor a standard git hook location | 08:44 |
|
jast
| tobiasvl: it's part of an ongoing conversation, partially involving the gitolite maintainer :} | 08:45 |
|
osse
| jaggz-: if you use clone then you have to repos anyway, and no need to mess with those options. use git as normal and then push | 08:45 |
|
tobiasvl
| oh ;) | 08:45 |
| ← joo-_ left | 08:46 |
| ← weemsledeux left | 08:47 |
| → liamkeily joined | 08:47 |
| → robbyoconnor joined | 08:47 |
| → weemsledeux joined | 08:47 |
| ← weemsledeux left | 08:47 |
| → weemsledeux joined | 08:47 |
| → skylite_ joined | 08:47 |
| → Embassy joined | 08:48 |
| → Trudko joined | 08:48 |
| → Gizburdt joined | 08:49 |
| ← martinklepsch left | 08:50 |
| → anaran joined | 08:51 |
| ← ki0 left | 08:51 |
|
jaggz-
| osse, hmm.. but git understands the repo is /new/goal/repo .. | 08:51 |
| ← joki left | 08:51 |
| ← d10n-work left | 08:51 |
| ← zarubin left | 08:51 |
|
jaggz-
| hmm.. what am I missing in my understanding here.. | 08:52 |
|
| isn't that normal? you clone from a remote.. get a complete copy of the repo, and when you commit, the changes go to the remote | 08:52 |
|
tobiasvl
| when you push, your commits go to the remote | 08:52 |
|
| you commit locally | 08:53 |
| → ki0 joined | 08:53 |
| ← dangerousdave left | 08:53 |
|
jaggz-
| oh, right.. thank you :) | 08:53 |
|
| so, I could technically avoid having the duplicate repo information (.git dir) by using the --git-dir and --work-tree (or environmental) overrides | 08:54 |
|
| but in this case I want it to be unimportant that the origin is local.. I might move it to another computer | 08:54 |
|
| and in that case I'd need the complete local clone anyway, correct? | 08:54 |
| → teran joined | 08:54 |
|
osse
| yes | 08:55 |
| ← unixpro1970 left | 08:55 |
|
jaggz-
| interesting. options options... thank you very much for your help and patience with me. | 08:55 |
| → simesy joined | 08:56 |
| → codecutter joined | 08:56 |
| ← whitby left | 08:56 |
| → joki joined | 08:56 |
| → iliketurtles joined | 08:57 |
| ← iliketurtles left | 08:57 |
| → ladislaw joined | 08:58 |
| ← teran left | 08:58 |
| ← silence-simple left | 08:59 |
| → hexagoxel joined | 09:00 |
| ← simesy left | 09:00 |
| ← liamkeily left | 09:00 |
| ← codecutter left | 09:01 |
| ← staafl left | 09:02 |
| ← ciampix left | 09:02 |
| ← Gizburdt left | 09:02 |
| ← groolot left | 09:03 |
| → Gizburdt joined | 09:03 |
| → iamjarvo joined | 09:03 |
| → skylite__ joined | 09:03 |
| ← DarkKnightCZ left | 09:04 |
| → User458764 joined | 09:04 |
| ← sebumd left | 09:04 |
| ← skylite_ left | 09:05 |
| ← punchagan1 left | 09:06 |
| → punchagan joined | 09:06 |
| → EminenceHC joined | 09:06 |
| ← mennea left | 09:06 |
| → mennea joined | 09:07 |
| ← NoNMaDDeN left | 09:07 |
| ← Gizburdt left | 09:07 |
| → NoNMaDDeN joined | 09:07 |
| → RaceCondition joined | 09:08 |
| ← Embassy left | 09:09 |
| → aucecil joined | 09:09 |
| ← jstimm left | 09:10 |
| ← jimmyy left | 09:10 |
| → sohail joined | 09:11 |
| ← EminenceHC left | 09:11 |
| ← anaran left | 09:12 |
| → D4v33__ joined | 09:14 |
| → dangerousdave joined | 09:14 |
| → joo-_ joined | 09:14 |
| → teran joined | 09:14 |
| ← autonomousdev left | 09:14 |
| → FrancescoV joined | 09:14 |
| ← FrancescoV left | 09:14 |
| ← sohail left | 09:15 |
| ← PinkSpecs left | 09:16 |
| → arup_r joined | 09:16 |
| ← D4v33_ left | 09:16 |
| → PinkSpecs joined | 09:18 |
|
sitaram
| wojtasfs: "gl-pre-git" is v2. Not supported. V3 has been out for more than 2.5 years now | 09:18 |
| → glebihan joined | 09:18 |
| → Embassy joined | 09:18 |
|
wojtasfs
| @sitaram, yeah found it out, i am using v3. struggling with this, but i will continue subject in gitolite channel | 09:19 |
| ← teran left | 09:20 |
| → evildmp_ joined | 09:20 |
| ← alexwhitman left | 09:23 |
| ← evildmp left | 09:23 |
| → vtunka joined | 09:23 |
| → ockham joined | 09:24 |
| → alexwhitman joined | 09:26 |
| → moritzschaefer joined | 09:27 |
| → Mobutils joined | 09:27 |
| → threenuc joined | 09:29 |
| ← evildmp_ left | 09:29 |
| ← khmarbaise left | 09:32 |
| → eliasr joined | 09:33 |
| ← darkbasic_ left | 09:34 |
| → darkbasic joined | 09:35 |
| ← weemsledeux left | 09:36 |
| ← mennea left | 09:36 |
| → cvanball joined | 09:37 |
| → mennea joined | 09:37 |
| ← thiago left | 09:40 |
| → nick1234 joined | 09:41 |
| → Holden joined | 09:42 |
| Holden → Guest5948 | 09:43 |
| ← ladislaw left | 09:43 |
| ← nick1234 left | 09:45 |
| → dotpot joined | 09:47 |
| ← BuenGenio left | 09:48 |
| ← skylite__ left | 09:49 |
| ← tvw left | 09:50 |
| → teran joined | 09:51 |
| → teran_ joined | 09:52 |
| ← iamjarvo left | 09:52 |
| → tvw joined | 09:53 |
| → simesy joined | 09:56 |
| ← teran left | 09:56 |
| → nettoweb joined | 09:58 |
| → evildmp joined | 10:00 |
| ← simesy left | 10:01 |
| → atomx joined | 10:01 |
| ← joo-_ left | 10:01 |
| → FreezingCold joined | 10:01 |
| ← evildmp left | 10:01 |
| ← tokik left | 10:01 |
| ← dangerousdave left | 10:02 |
| ← Guest5948 left | 10:03 |
| ← jottr left | 10:05 |
| ← aidalgol left | 10:06 |
| ← mennea left | 10:07 |
| → mennea_ joined | 10:07 |
| → evildmp joined | 10:07 |
| ← evildmp left | 10:07 |
| → SumDude_ joined | 10:07 |
| → stamina joined | 10:08 |
| ← dalafa left | 10:08 |
| → evildmp joined | 10:08 |
| → dalafa joined | 10:08 |
| → EminenceHC joined | 10:08 |
| ← robbyoconnor left | 10:09 |
| → gain joined | 10:09 |
| → joo-_ joined | 10:09 |
| → robbyoconnor joined | 10:10 |
| ← kadoban left | 10:10 |
| ← evildmp left | 10:10 |
| → evildmp joined | 10:11 |
| ← Warrior-kk left | 10:11 |
| ← bezet left | 10:11 |
| → petersr joined | 10:12 |
| ← SumDude_ left | 10:12 |
| ← ferreum_ left | 10:13 |
| ← alexwhitman left | 10:13 |
| ← EminenceHC left | 10:13 |
| → curiousmansi_ joined | 10:14 |
| → nilg` joined | 10:14 |
| → alexwhitman joined | 10:15 |
| ← nilg left | 10:15 |
| ← maqr left | 10:15 |
| ← ki0 left | 10:16 |
| → ferreum_ joined | 10:16 |
| → ki0 joined | 10:16 |
| ← wojtasfs left | 10:18 |
| → mkoskar joined | 10:20 |
| ← israelpattison left | 10:20 |
| → israelpattison joined | 10:21 |
| → brammm joined | 10:22 |
| ← GarethAdams left | 10:23 |
| ← blackmes1 left | 10:23 |
| ← MutSbeta left | 10:26 |
| ← tgunr left | 10:28 |
| ← Embassy left | 10:29 |
| → GarethAdams joined | 10:29 |
| → BlaXpirit joined | 10:29 |
| → wojtasfs joined | 10:30 |
| ← mkoskar left | 10:31 |
| → jottr joined | 10:31 |
| ← kyb3r_ left | 10:31 |
| ← punchagan left | 10:31 |
| ← lazors left | 10:32 |
| ← ruukasu left | 10:32 |
| ← daito left | 10:34 |
| → beautifulmind joined | 10:35 |
| → seanmerron joined | 10:36 |
| ← jottr left | 10:36 |
| ← joo-_ left | 10:36 |
| → punchagan joined | 10:36 |
| → bezet joined | 10:37 |
| ← mennea_ left | 10:37 |
| → mennea joined | 10:37 |
| ← luc_ left | 10:38 |
| → danemacmillan joined | 10:38 |
| ← evildmp left | 10:38 |
| ← fairuz1 left | 10:39 |
| ← atomx left | 10:40 |
| → evildmp joined | 10:40 |
| → mkoskar joined | 10:40 |
| ← fuli left | 10:42 |
| → simesy joined | 10:42 |
| → Not_Whatever joined | 10:42 |
| → spareproject joined | 10:43 |
| → kwc joined | 10:44 |
| ← punchagan left | 10:44 |
| ← wojtasfs left | 10:45 |
| ← nkouevda left | 10:46 |
| → palcu joined | 10:46 |
| ← mikiones left | 10:46 |
| → joo-_ joined | 10:46 |
| → mscook joined | 10:47 |
| ← simesy left | 10:47 |
| ← Tuna-Fish left | 10:48 |
| → Tuna-Fish joined | 10:48 |
| → numdig joined | 10:50 |
| ← NoNMaDDeN left | 10:51 |
| ← joo-_ left | 10:54 |
| → martinklepsch joined | 10:55 |
| ← cbr_ left | 10:56 |
| ← rchavik left | 10:56 |
| → carandraug joined | 10:58 |
| ← vincentor left | 10:58 |
| → mikiones joined | 11:00 |
| → autonomousdev joined | 11:01 |
| → nfk joined | 11:02 |
| ← kcj left | 11:02 |
| ← mikiones left | 11:04 |
| ← CussBot left | 11:04 |
| → mikiones joined | 11:04 |
| → netcarver joined | 11:05 |
| ← kwc left | 11:05 |
| → dangerousdave joined | 11:06 |
| ← mennea left | 11:07 |
| → mennea joined | 11:07 |
| ← evildmp left | 11:08 |
| → CussBot joined | 11:08 |
| ← knoch left | 11:08 |
| → evildmp joined | 11:09 |
| → Embassy joined | 11:10 |
| ← UmbraMalison left | 11:10 |
| → Celm joined | 11:10 |
| → mizu_no_oto joined | 11:10 |
| → maqr joined | 11:11 |
| → sohail joined | 11:11 |
| ← netcarver left | 11:12 |
| → BuenGenio joined | 11:12 |
| → rchavik joined | 11:13 |
| → chiromante joined | 11:13 |
| → UmbraMalison joined | 11:14 |
| ← d33tah left | 11:14 |
| → cbr_ joined | 11:14 |
| ← Celm left | 11:14 |
| → EminenceHC joined | 11:14 |
| ← zoso left | 11:15 |
| ← sohail left | 11:16 |
| ← Embassy left | 11:16 |
| ← maqr left | 11:16 |
| ← joelm left | 11:16 |
| ← martinklepsch left | 11:17 |
| → joelm joined | 11:17 |
| → Embassy joined | 11:17 |
| → arup_r_ joined | 11:18 |
| ← dccc_ left | 11:18 |
| ← intellix left | 11:18 |
| ← ghostlines left | 11:19 |
| ← EminenceHC left | 11:19 |
| → d33tah joined | 11:19 |
| → ghostlines joined | 11:20 |
| ← mscook left | 11:21 |
| ← arup_r left | 11:22 |
| ← brucelee left | 11:23 |
| → pyrobisqit joined | 11:23 |
| → teran joined | 11:25 |
| ← pyrobisqit left | 11:25 |
| → jstimm joined | 11:25 |
| → pyrobisqit joined | 11:25 |
| ← RaceCondition left | 11:26 |
| ← Embassy left | 11:27 |
| ← Novitsh_ left | 11:27 |
| ← teran_ left | 11:28 |
| → wojtasfs joined | 11:28 |
| → lindenle joined | 11:29 |
| Wiz_KeeD → pcatinean | 11:30 |
| ← evildmp left | 11:32 |
| → kopparam joined | 11:33 |
| ← lindenle left | 11:33 |
| → jdmf joined | 11:34 |
| ← comps left | 11:34 |
| → cgar joined | 11:35 |
| ← UmbraMalison left | 11:36 |
| → Droolio joined | 11:37 |
| ← kopparam left | 11:37 |
| ← mennea left | 11:37 |
| → mennea joined | 11:37 |
| → toothrot joined | 11:38 |
| ← jenni_naiaretti left | 11:39 |
| → jenni_naiaretti joined | 11:40 |
| ← palcu left | 11:40 |
| → palcu joined | 11:40 |
| → evildmp joined | 11:40 |
| ← zyla left | 11:41 |
| → zyla joined | 11:41 |
| → maqr joined | 11:41 |
| ← User458764 left | 11:42 |
| ← Guest18647 left | 11:42 |
| → simesy joined | 11:43 |
| → alp82 joined | 11:43 |
| ← alp82 left | 11:44 |
| → FunkybAss joined | 11:44 |
| ← palcu left | 11:45 |
| ← FunkyAss left | 11:45 |
| → alicef joined | 11:46 |
| ← maqr left | 11:46 |
| → justinmburrous joined | 11:47 |
| → nkouevda joined | 11:47 |
| ← simesy left | 11:47 |
| → Juzzika joined | 11:48 |
|
alicef
| how to import svn tags trunk and branch from svn in git way | 11:48 |
| ← alexwhitman left | 11:49 |
| → CKyle joined | 11:49 |
| ← ghostlines left | 11:50 |
| ← dangerousdave left | 11:50 |
| ← evildmp left | 11:51 |
| → ghostlines joined | 11:51 |
| ← nkouevda left | 11:51 |
| ← justinmburrous left | 11:51 |
| → dangerousdave joined | 11:52 |
| → alexwhitman joined | 11:54 |
| → NoNMaDDeN joined | 11:55 |
|
Jupelius
| All remote tracking branches shown in red can be safely deleted? | 11:56 |
|
osse
| no | 11:56 |
|
tobiasvl
| well, define "safely" | 11:56 |
|
| but the color just means they're remote tracking | 11:56 |
|
Jupelius
| Ah | 11:56 |
| ← jenni_naiaretti left | 11:56 |
|
tobiasvl
| not that they "can be safely deleted", whatever that means | 11:57 |
|
Jupelius
| 'git branch -r' listst branches that have been deleted from origin a while ago | 11:57 |
|
osse
| unless you use git in a weird way they *can* actually be safely deleted. but they will repappear next time you fetch :p | 11:57 |
|
| Jupelius: ahh. git fetch --prune takes care of that | 11:57 |
| ← petersr left | 11:57 |
| → jenni_naiaretti joined | 11:57 |
|
osse
| you can even configure that to be default | 11:58 |
|
Jupelius
| Great, thanks | 11:58 |
| → intellix joined | 11:58 |
| ← CKyle left | 11:59 |
| → fstd_ joined | 12:00 |
| ← fstd left | 12:00 |
| fstd_ → fstd | 12:00 |
| → martinklepsch joined | 12:01 |
| → cannonball joined | 12:01 |
| → inad922 joined | 12:02 |
| ← eliasr left | 12:02 |
|
inad922
| If I want to recreate a local branch do I just do "git branch -d <branch_name>; git checkout -b <branch_name>"? | 12:02 |
|
osse
| yes | 12:03 |
| ← tirengarfio left | 12:03 |
|
osse
| you might want to use branch -D | 12:03 |
|
| in which case you can do git checkout -B as a shorthand | 12:04 |
| → tirengarfio joined | 12:04 |
| ← tirengarfio left | 12:04 |
| ← tvw left | 12:05 |
| → tirengarfio joined | 12:05 |
| ← arup_r_ left | 12:06 |
| ← mennea left | 12:07 |
| → mennea joined | 12:08 |
| ← subhojit777 left | 12:09 |
| ← PinkSpecs left | 12:10 |
| ← cagedwisdom left | 12:10 |
| → Celm joined | 12:11 |
| ← roelmonnens left | 12:11 |
| → spatialbrew joined | 12:12 |
| → roelmonnens joined | 12:12 |
| → dccc_ joined | 12:14 |
| ← mizu_no_oto left | 12:14 |
| → evildmp joined | 12:14 |
| → vurma joined | 12:14 |
| ← Celm left | 12:15 |
| ← threenuc left | 12:16 |
| → AaronMT joined | 12:16 |
| ← roelmonnens left | 12:17 |
| ← pyrobisqit left | 12:17 |
| ← cvanball left | 12:17 |
| → EminenceHC joined | 12:17 |
| robustus → robustus|Off | 12:18 |
| → roelmonnens joined | 12:18 |
| ← roelmonnens left | 12:19 |
| → roelmonnens joined | 12:19 |
| → luc__ joined | 12:20 |
| → subhojit777 joined | 12:20 |
| ← intellix left | 12:21 |
| ← EminenceHC left | 12:22 |
| ← rchavik left | 12:22 |
|
cbreak
| alicef: man git-svn, look at -s | 12:22 |
|
gitinfo
| alicef: the git-svn manpage is available at http://jk.gs/git-svn.html | 12:22 |
| ← chiromante left | 12:24 |
| ← subhojit777 left | 12:25 |
| → PinkSpecs joined | 12:26 |
| → agileadam joined | 12:26 |
| ← evildmp left | 12:27 |
| ← agileadam left | 12:27 |
| → Embassy joined | 12:27 |
| → User458764 joined | 12:29 |
| → CKyle joined | 12:30 |
| ← luc__ left | 12:30 |
| ← King_Hual left | 12:30 |
| → King_Hual joined | 12:31 |
| → BlakeRG joined | 12:31 |
| ← Cheaterman1 left | 12:31 |
| → jerius joined | 12:32 |
| ← curiousmansi_ left | 12:33 |
| ← Embassy left | 12:33 |
| ← mikiones left | 12:33 |
| ← ghostlines left | 12:33 |
|
inad922
| osse: thanks | 12:34 |
|
| I didn't know about checkout's -B flag | 12:34 |
|
guardian
| osse: I'll google for that gc bug, thx | 12:34 |
|
inad922
| Basically it's does what my 2 commands would do I guess | 12:34 |
| robustus|Off → robustus | 12:35 |
| ← nilg` left | 12:35 |
| → ghostlines joined | 12:35 |
| ← bezet left | 12:36 |
| → lsiv568 joined | 12:36 |
| ← Raging_Hog left | 12:37 |
| ← mennea left | 12:37 |
| → arup_r joined | 12:37 |
| ← jerius left | 12:37 |
| → mennea joined | 12:37 |
| ← yarco left | 12:38 |
| → palcu joined | 12:38 |
| ← BuenGenio left | 12:38 |
| → autochthon joined | 12:38 |
| → metRo_ joined | 12:38 |
| → hcc23 joined | 12:38 |
| ← lsiv568 left | 12:39 |
| → evildmp joined | 12:39 |
| → yarco joined | 12:40 |
| ← yarco left | 12:40 |
| → atlantan joined | 12:40 |
| → arup_r_ joined | 12:40 |
| → yarco joined | 12:40 |
| → kcj joined | 12:41 |
| → maqr joined | 12:42 |
| → polyzen joined | 12:42 |
| ← Suchit left | 12:43 |
| → Suchit joined | 12:43 |
| ← arup_r left | 12:43 |
| → simesy joined | 12:44 |
| → bezet joined | 12:44 |
| ← CKyle left | 12:45 |
| → lsiv568 joined | 12:45 |
|
osse
| inad922: yes | 12:45 |
| ← jenni_naiaretti left | 12:45 |
| → subhojit777 joined | 12:45 |
|
osse
| guardian: how many files are there in .git/objects/17 ? | 12:46 |
| → Sebtoast joined | 12:46 |
| → jenni_naiaretti joined | 12:46 |
| ← maqr left | 12:46 |
| ← Suchit left | 12:47 |
| → nkouevda joined | 12:48 |
| ← lsiv568 left | 12:48 |
| ← simesy left | 12:48 |
| → lsiv568 joined | 12:48 |
| → fuli joined | 12:49 |
| ← stamina left | 12:50 |
| ← fuli left | 12:50 |
| → fuli joined | 12:50 |
| ← canton7 left | 12:51 |
| → tristanp joined | 12:51 |
| → charon joined | 12:52 |
| ← charon left | 12:52 |
| → charon joined | 12:52 |
| ← nkouevda left | 12:52 |
| → EvRburnt joined | 12:53 |
| → canton7 joined | 12:53 |
| ← canton7 left | 12:53 |
| → canton7 joined | 12:53 |
| → mat__ joined | 12:54 |
| → jgardella joined | 12:54 |
| mat__ → Guest69038 | 12:54 |
| ← Guest69038 left | 12:55 |
| → Gizburdt joined | 12:55 |
| ← fuli left | 12:55 |
| → tvw joined | 12:58 |
| ← kcj left | 12:58 |
| ← lsiv568 left | 12:58 |
| ← x0s_ left | 12:59 |
| ← toothrot left | 12:59 |
| → tmcmahon joined | 12:59 |
| → x0s_ joined | 12:59 |
| → lsiv568 joined | 13:00 |
| ← lsiv568 left | 13:00 |
| ← govg left | 13:00 |
| → groolot joined | 13:01 |
| → lsiv568 joined | 13:01 |
| ← rob_w left | 13:01 |
| ← User458764 left | 13:02 |
| ← tmcmahon left | 13:02 |
| → Aune joined | 13:02 |
| → govg joined | 13:02 |
| ← lb1a left | 13:03 |
| → Embassy joined | 13:03 |
| ← atlantan left | 13:04 |
| → msmith_ joined | 13:04 |
| → lasers joined | 13:05 |
| → jottr joined | 13:05 |
| → User458764 joined | 13:05 |
| ← evildmp left | 13:06 |
| ← palcu left | 13:06 |
| → palcu joined | 13:07 |
| ← mennea left | 13:07 |
| → mennea joined | 13:08 |
|
EvRburnt
| I | 13:09 |
| ← FunkybAss left | 13:09 |
| ← lsiv568 left | 13:09 |
|
EvRburnt
| how do I put color to my name not text | 13:09 |
| ← taptapdan left | 13:09 |
| → atlantan joined | 13:10 |
|
canton7
| huh? | 13:10 |
| → shinnya joined | 13:10 |
| → lsiv568 joined | 13:11 |
| → RaceCondition joined | 13:11 |
| → Celm joined | 13:11 |
| → tesaf joined | 13:11 |
| ← jgardella left | 13:12 |
| ← Embassy left | 13:12 |
| → Embassy joined | 13:12 |
| → mizu_no_oto joined | 13:13 |
| ← Tuna-Fish left | 13:14 |
| → Tuna-Fish joined | 13:15 |
| ← lsiv568 left | 13:15 |
| → lsiv568 joined | 13:16 |
| ← Celm left | 13:16 |
| → SonikBoom joined | 13:16 |
| ← jenni_naiaretti left | 13:17 |
| → clayball joined | 13:18 |
| → mezod joined | 13:18 |
| ← Gizburdt left | 13:18 |
| → Gizburdt joined | 13:19 |
| → EminenceHC joined | 13:20 |
| ← atlantan left | 13:20 |
| ← inad922 left | 13:23 |
| → livingstn joined | 13:25 |
| ← EminenceHC left | 13:25 |
| → totte joined | 13:26 |
| ← lsiv568 left | 13:27 |
| → lsiv568 joined | 13:27 |
| ← jargon left | 13:29 |
| → jenni_naiaretti joined | 13:29 |
| → fgqvne joined | 13:30 |
| ← User458764 left | 13:30 |
| → jargon joined | 13:30 |
| → lindenle joined | 13:31 |
| → CKyle joined | 13:31 |
| ← kermit left | 13:32 |
| ← livingstn left | 13:32 |
| → kermit joined | 13:32 |
| ← groolot left | 13:33 |
| → livingstn joined | 13:33 |
| ← lsiv568 left | 13:34 |
| ← bezet left | 13:34 |
|
cbreak
| EvRburnt: git doesn't support colored names in commit messages | 13:34 |
|
bremner
| you can hard code VT100 escape codes ;) | 13:35 |
| → Dougie187 joined | 13:36 |
|
bremner
| you might get fired, but that wasn't the question ;). | 13:36 |
| ← lindenle left | 13:36 |
| → mellernoia joined | 13:36 |
| → Ankhers joined | 13:37 |
| ← mennea left | 13:37 |
|
grawity
| yeah, you can basically do something like https://github.com/EugeneKay/test/commit/cbe5378fadf8011c08cbe33df7db38f8d10f5100 | 13:37 |
| → atomx joined | 13:37 |
| → mennea joined | 13:38 |
|
osse
| actually, you can't | 13:38 |
|
| git show will print a commit message in color, but not the author name | 13:38 |
| → atlantan joined | 13:39 |
|
osse
| I tried git commit -m "$(tput setaf 1)Foo" --author="$(tput setaf 1)bar" | 13:40 |
|
| git show will show Foo in color, but not the author. | 13:40 |
| ← CKyle left | 13:41 |
| → UmbraMalison joined | 13:41 |
|
bremner
| this is clearly an enterprise critical feature. Also, why no animated gif avatars? | 13:41 |
| ← robbyoconnor left | 13:41 |
| ← Gizburdt left | 13:41 |
| → robbyoconnor joined | 13:42 |
|
osse
| I agree with those opinions. Both the explicit and implicit | 13:42 |
| ← EvRburnt left | 13:42 |
| → Gizburdt joined | 13:43 |
| → ruukasu joined | 13:43 |
| → maqr joined | 13:43 |
| → simesy joined | 13:44 |
| → yosito joined | 13:44 |
| → Gamecubic joined | 13:45 |
| ← dangerousdave left | 13:45 |
| → ZoeB joined | 13:46 |
| ← psoo left | 13:46 |
|
ZoeB
| Hi! Is there an easy to find out what branch I was working on Tuesday afternoon? | 13:46 |
| → dangerousdave joined | 13:47 |
| ← maqr left | 13:47 |
| → intellix joined | 13:48 |
|
osse
| ZoeB: try git show 'HEAD@{3 days ago}' | 13:48 |
|
grawity
| `git log -g HEAD` or `git checkout HEAD@{last.tuesday}` should work | 13:48 |
| ← mennea left | 13:48 |
|
ZoeB
| Wonderful, thank you! :D | 13:49 |
| ← simesy left | 13:49 |
| → Neozonz joined | 13:49 |
| ← _Vi left | 13:50 |
| ← Gizburdt left | 13:51 |
| ← yarco left | 13:52 |
| ← tinanoo left | 13:52 |
| → yarco joined | 13:53 |
| ← yarco left | 13:53 |
| → mennea joined | 13:53 |
| → yarco joined | 13:53 |
| ← yarco left | 13:53 |
| → lb1a joined | 13:54 |
| → yarco joined | 13:54 |
| ← yarco left | 13:54 |
| → blackmes1 joined | 13:54 |
| → yarco joined | 13:54 |
| ← yarco left | 13:55 |
| ← tristanp left | 13:55 |
| → yarco joined | 13:55 |
| ← yarco left | 13:55 |
| → SpaghettiCat joined | 13:55 |
| → yarco joined | 13:55 |
| ← yarco left | 13:55 |
| → yarco joined | 13:56 |
| ← yarco left | 13:56 |
| ← nettoweb left | 13:56 |
| ← BlaXpirit left | 13:56 |
| → yarco joined | 13:56 |
| ← yarco left | 13:57 |
| ← CheckDavid left | 13:57 |
| ← atlantan left | 13:57 |
| → yarco joined | 13:57 |
| ← yarco left | 13:57 |
| → SpaghettiCat_ joined | 13:57 |
| → yarco joined | 13:58 |
| ← yarco left | 13:58 |
| ← arup_r_ left | 13:58 |
| → yarco joined | 13:59 |
| ← yarco left | 13:59 |
| → yarco joined | 13:59 |
| → evildmp joined | 13:59 |
| ← yarco left | 13:59 |
| ← SpaghettiCat_ left | 13:59 |
| → tinanoo joined | 13:59 |
| ← evildmp left | 13:59 |
| → yarco joined | 14:00 |
| ← yarco left | 14:00 |
| → t4nk304 joined | 14:00 |
| ← Juxtapositional left | 14:00 |
| → yarco joined | 14:00 |
| ← yarco left | 14:00 |
| ← blackmes1 left | 14:01 |
| ← palcu left | 14:01 |
| → Juxtapositional joined | 14:01 |
| ← t4nk304 left | 14:01 |
| → yarco joined | 14:01 |
| → mike_af joined | 14:01 |
| ← mike_af left | 14:01 |
| → mike_af joined | 14:01 |
| ← SpaghettiCat left | 14:01 |
| → treehug88 joined | 14:01 |
| → jacob___ joined | 14:02 |
|
jacob___
| hello | 14:02 |
|
gitinfo
| jacob___: 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. | 14:02 |
| → SpaghettiCat joined | 14:02 |
|
jacob___
| i am looking for the orginal git website, but i am confused , it seems to be associated with github | 14:02 |
|
| this is the site? http://git-scm.com/ | 14:02 |
|
canton7
| there isn't really an official website | 14:03 |
| → Vampire0 joined | 14:03 |
|
canton7
| ^ that's the closest we've got, and it's very got, but it's not official | 14:03 |
|
| it's run by a guy from github (who's also heavily involved in git dev) | 14:03 |
|
| *very good | 14:03 |
| ← Trudko left | 14:04 |
|
bremner
| got good git? | 14:04 |
| ← hyperair left | 14:04 |
| → hyperair joined | 14:04 |
| → shizzle joined | 14:04 |
| ← treehug88 left | 14:05 |
|
SpaghettiCat
| Good afternoon, I non-fast-forward-merged a local branch 'foo' into 'next', then deleted 'foo', then pushed. 3 monhs later, how can I undo that 'foo' branch now (as the branch doesn't exist anymore | 14:05 |
|
| )? | 14:05 |
| → atlantan joined | 14:05 |
| → evildmp joined | 14:05 |
| → IIT joined | 14:05 |
| ← ZoeB left | 14:05 |
| ← evildmp left | 14:05 |
| ← granden_ left | 14:06 |
|
jacob___
| o cmon,.., who maintains git? and do they have a website ? | 14:06 |
| → evildmp joined | 14:06 |
|
jacob___
| if you say there is no offficial website, that makes no sense to me | 14:06 |
| ← evildmp left | 14:06 |
|
SpaghettiCat
| jacob___: kernel.org I presume | 14:07 |
| → evildmp joined | 14:07 |
|
canton7
| jacob___, there's an official repository :P | 14:07 |
| ← Malsasa left | 14:07 |
| ← evildmp left | 14:07 |
|
grawity
| people these days... | 14:07 |
| ← seanmerron left | 14:08 |
|
grawity
| "if it doesn't have a website, then it doesn't exist"? | 14:08 |
|
canton7
| and official manpages. then there's the semi-official website, the semi-official book, etc | 14:08 |
| ← UmbraMalison left | 14:08 |
|
bremner
| sometimes real life makes no sense. that is true. | 14:08 |
|
Eugene
| ! list | 14:08 |
|
SpaghettiCat
| jacob___: here you go, the extra official "website": https://git.kernel.org/cgit/git/git.git/ | 14:08 |
| → evildmp joined | 14:08 |
| ← msmith_ left | 14:08 |
|
jast
| the maintainer is Junio Hamano | 14:08 |
|
Eugene
| Damned phone. !list | 14:08 |
|
gitinfo
| [!official] Some official resources for git. Homepage: http://git-scm.com/ | Source repo: https://www.kernel.org/pub/scm/git/git.git/ (Mirrrored: https://github.com/git/git/) | IRC channel: You're in it. | Mailing list: http://vger.kernel.org/vger-lists.html#git | 14:08 |
| ← evildmp left | 14:08 |
|
osse
| The maintainer proposed to make the de facto official webpage into the official webpage. Don't know what happened to it. | 14:09 |
|
Eugene
| of those, only the repo and list are officially official | 14:09 |
|
jast
| his website is http://git-blame.blogspot.com/ :} | 14:09 |
|
osse
| but I guess that means that it's slightly more de facto official | 14:09 |
|
Eugene
| git-badge | 14:10 |
|
| For managing officials | 14:10 |
| → Cheaterman1 joined | 14:10 |
| ← jstimm left | 14:11 |
| → bezet joined | 14:11 |
| → smerron joined | 14:12 |
| ← eologolo left | 14:12 |
| → sohail joined | 14:12 |
| → ciampix joined | 14:12 |
| → Malsasa joined | 14:13 |
| → Shusshu joined | 14:13 |
| ← nikita left | 14:14 |
| ← beautifulmind left | 14:14 |
| ← jottr left | 14:14 |
| ← jck left | 14:14 |
| ← nnyk_ left | 14:14 |
| ← kcm1700_ left | 14:14 |
| → kcm1700 joined | 14:14 |
|
osse
| for the bored and curious: http://thread.gmane.org/gmane.comp.version-control.git/245945 | 14:14 |
| ← shizzle left | 14:15 |
|
osse
| For the even more bored: http://thread.gmane.org/gmane.comp.version-control.git/245945 | 14:15 |
| ← joelm left | 14:15 |
|
osse
| I mean http://media.tumblr.com/tumblr_lanj33OYmK1qb25dg.jpg | 14:15 |
| → jck joined | 14:15 |
| → nikita joined | 14:16 |
| ← weyer left | 14:16 |
| → nnyk_ joined | 14:16 |
| → ArSn joined | 14:16 |
| ← Shusshu left | 14:17 |
| → joelm joined | 14:18 |
|
Eugene
| I like that infographic, but hate the jpg. PNG represent | 14:18 |
|
osse
| Eugene: just for you (and a buddy of mine I gave it to a couple of hours ago): http://needsmorejpeg.com/i/bso6.jpeg | 14:19 |
| ChanServ set mode: +o | 14:19 |
| ← ajf- left | 14:20 |
| Eugene kicked osse (Crimes against graphics) | 14:20 |
| Eugene set mode: -o | 14:20 |
| → eletuchy joined | 14:20 |
| ← SpeakerToMeat left | 14:21 |
| → osse joined | 14:22 |
| ← mennea left | 14:23 |
| → mennea joined | 14:23 |
| → [diablo] joined | 14:24 |
| → palcu joined | 14:24 |
| → EminenceHC joined | 14:24 |
|
bremner
| now we see the violence inherent in the system | 14:24 |
| ← palcu left | 14:24 |
| ← Qvazar left | 14:25 |
| → codetroll joined | 14:25 |
| → palcu joined | 14:25 |
| ← livingstn left | 14:25 |
|
osse
| *sigh* | 14:26 |
|
| osse goes to youtube | 14:26 |
| ← alorence left | 14:27 |
| → metts joined | 14:27 |
| → jwhite007 joined | 14:27 |
|
osse
| I didn't vote for Eugene | 14:27 |
| ← cdleonard left | 14:27 |
| ← King_Hual left | 14:28 |
| ← jwhite007 left | 14:28 |
| → King_Hual joined | 14:28 |
| ← EminenceHC left | 14:29 |
| → lsiv568 joined | 14:30 |
| → FunkyAss joined | 14:30 |
| → jiskiras joined | 14:31 |
| → SumDude joined | 14:31 |
| → ajf- joined | 14:32 |
| ← atlantan left | 14:32 |
| ← jagob left | 14:32 |
| ← dangerousdave left | 14:33 |
| ← hebz0rl left | 14:33 |
| → punchagan joined | 14:33 |
| → atlantan joined | 14:34 |
| → dangerousdave joined | 14:35 |
| ← papegaaij left | 14:35 |
| → papegaaij_ joined | 14:35 |
| → irqq joined | 14:36 |
| → mihaicris joined | 14:37 |
| → TheTopBloke joined | 14:37 |
| ← ki0 left | 14:38 |
| ← Radivarig left | 14:38 |
|
irqq
| how do I create a sharable master git repository with push rights to selected users on a local system? | 14:38 |
| → Radivarig joined | 14:38 |
| ← skylite left | 14:39 |
| → skylite joined | 14:39 |
|
Eugene
| !gitolite | 14:39 |
|
gitinfo
| Gitolite is a tool to host git repos on a server. It features fine-grained access control, custom hooks, and can be installed without root. Download: https://github.com/sitaramc/gitolite Docs: http://gitolite.com/gitolite/ | 14:39 |
| → StarManta joined | 14:40 |
| → ki0 joined | 14:40 |
|
irqq
| but without gitolite? Just to make sure the "remote" repo, but on local system is sharable between several users having acounts on this system | 14:41 |
| → jottr joined | 14:41 |
| ← lb1a left | 14:41 |
| ← TheTopBloke left | 14:41 |
|
bremner
| well, you can also (partially) re-invent gitolute, if you prefer | 14:42 |
|
Eugene
| That'll be regular Unix permissions | 14:42 |
|
| Which you don't want | 14:42 |
|
bremner
| oh good point. I missed the local part. | 14:42 |
|
Eugene
| Note that you can use gitolite without ssh, by invoking the gitolite wrapper | 14:42 |
| ← xSmurf left | 14:42 |
| → treehug88 joined | 14:43 |
| ← acolson left | 14:43 |
|
Eugene
| The user will still need permissions to the repo, possibly involving sudo. Or just do it the already-established way | 14:43 |
|
canton7
| irqq, in a nutshell, filesystem permissions tend to get in the way. it's possible, but error-prone. gitolite over a network is much easier | 14:43 |
| → maqr joined | 14:44 |
| → MachineChild joined | 14:44 |
| → Gizburdt joined | 14:44 |
| → rajeshk joined | 14:44 |
| → taptapdan joined | 14:45 |
| ← MachineChild left | 14:45 |
| → simesy joined | 14:45 |
| ← kriks left | 14:45 |
| ← rajeshk left | 14:46 |
| → livingstn joined | 14:46 |
| ← roelmonnens left | 14:46 |
| ← dangerousdave left | 14:47 |
|
irqq
| OK, but do I need to tweak file permissions manually on an already inited/cloned --bare repository, or git init/clone can be told to use particular (group?) permissions? | 14:47 |
| ← atlantan left | 14:47 |
|
canton7
| irqq, read up on the --shared docs for man git clone, and there's some shared stuff in man git config | 14:47 |
|
gitinfo
| irqq: the git-clone manpage is available at http://jk.gs/git-clone.html | 14:47 |
|
| irqq: the git-config manpage is available at http://jk.gs/git-config.html | 14:47 |
|
canton7
| oops | 14:48 |
|
| ignore clone --shared - I mis-remembered. that's not relevent | 14:48 |
| ← maqr left | 14:48 |
|
canton7
| man git init --shared, rather | 14:48 |
|
gitinfo
| the git-init manpage is available at http://jk.gs/git-init.html | 14:48 |
| → a-l-e joined | 14:49 |
| → xSmurf joined | 14:49 |
| ← simesy left | 14:49 |
|
irqq
| OK. The --shared keyword seems what I missed. You helped me, thanks. | 14:49 |
| → kwc joined | 14:50 |
| → codehotter joined | 14:51 |
| ← flowinho left | 14:51 |
| ← paulweb515 left | 14:52 |
| ← smerron left | 14:52 |
| ← mennea left | 14:53 |
|
codehotter
| Hi, I have a branch with a timeline like upstream v7.1.0 ... my own changes ... merge upstream v7.1.1 .. some more of my own changes - HEAD. Now upstream in the meantime released v7.2.0. But the common ancestor of 7.2.0 and myself is 7.1.0, 7.1.1 is diverged from 7.2.0. How do I 'undo' the merge with 7.1.1 and mereg with 7.2.0 instead? | 14:53 |
|
guardian
| osse: 47 files in .git/objects/17, what's so special about that dir? | 14:53 |
|
codehotter
| I'm having trouble keeping all the concepts in my head, so apologiesi f I'm talking nonsense | 14:53 |
| → mennea joined | 14:53 |
|
codehotter
| I hope you can figure out what I'm trying to do | 14:53 |
|
osse
| guardian: it's the dir that must contain at least 27 file for a git-gc to be triggered | 14:54 |
| → atlantan joined | 14:54 |
| ← mkaesz left | 14:54 |
|
osse
| guardian: but apparently git-gc won't do it for some reason. which makes git-gc trigger... | 14:54 |
| → dangerousdave joined | 14:56 |
| ← Sonderblade left | 14:56 |
| ← jiskiras left | 14:57 |
| → msmto joined | 14:57 |
|
guardian
| ok | 14:57 |
|
Eugene
| codehotter -you need to rebase. !sausage | 14:57 |
|
gitinfo
| [!sausage_making] Some developers like to "hide the sausage making", transforming their commits before presenting them to the outside world. See http://sethrobertson.github.com/GitBestPractices/#sausage and !perfect | 14:57 |
| ← FunkyAss left | 14:58 |
| → FunkybAss joined | 14:58 |
|
Eugene
| tl;dr: git rebase -i 7.2.0, unselect things you don't want | 14:58 |
| ← jab416171 left | 14:59 |
| → jiskiras joined | 14:59 |
| → ehmatthes joined | 14:59 |
|
codehotter
| Eugene: that command does show the commits under v7.1.1 , which I'm guessing I can each manually unselect. But what I really want is to specify the merge and 'automatically' unselect all commits that had to do with the merge with v7.1.1 | 15:00 |
|
osse
| guardian: try git reflog expire --expire=now; git gc --prune=now --aggressive | 15:00 |
|
| guardian: try git reflog expire --expire=now --all # Assuming you don't need it | 15:00 |
|
codehotter
| Eugene: git rebase -i v7.2.0 does not show the merge commit, only commits under it | 15:00 |
| ← Silmarilion left | 15:00 |
|
Eugene
| If all your commits were linear you can checkout a new branch from 7.2.0 and then cherry-pick your stuff on top of it | 15:01 |
| → str joined | 15:02 |
|
Eugene
| Not programmatic but heyyy..... | 15:02 |
| ← GGflags left | 15:02 |
|
codehotter
| hmm, with git log --graph git clearly shows that it understands which commits were 'caused by' the merge and which commits I did myself on top of that | 15:02 |
| → Sonderblade joined | 15:02 |
|
codehotter
| how cna I leverage thatu nderstanding to automatically 'unselect' those commits from the merge and select the ones I did myself? | 15:03 |
|
Eugene
| cherry-pick the ranges you want | 15:03 |
| → codeman joined | 15:03 |
| → UmbraMalison joined | 15:03 |
| → justben joined | 15:03 |
|
codehotter
| so one range up to the merge commit, then another range after the merge commit? so basically I skip over it | 15:04 |
|
Eugene
| I'm not a rebase master, there might b be a flag for what you want. i find it easier to skip the fiddling | 15:04 |
| → d10n-work joined | 15:04 |
|
Eugene
| Yup | 15:04 |
| → dreiss joined | 15:04 |
| → Noldorin joined | 15:04 |
|
codehotter
| I am getting th feeling that I'm trying to do something really nonstandard | 15:04 |
|
| Is that the case? | 15:04 |
| → jgardella joined | 15:04 |
|
codehotter
| I have software project released by an upstream, and I'm using it with my own changes, and I'd like my commit history to show when I 'upgraded' to a new version release by upstream | 15:04 |
|
| so I figured that's what merge commits are for | 15:05 |
|
| but I don't know how to do that since I have my own changes in there as well | 15:05 |
|
Eugene
| Normally you wouldn't merge in 7.1.1 | 15:05 |
|
codehotter
| basically, right now, git log --decorate --graph --first-parent shows the history I want to see | 15:05 |
|
| right, because 7.1.1 diverges from their development line | 15:05 |
| → kukks joined | 15:06 |
| ← kukks left | 15:06 |
| → kukks joined | 15:06 |
|
Eugene
| You should have rebased on top of it before submitting, rather than merge. | 15:06 |
|
codehotter
| ok, but if I did that, I still wouldnt' be able to merge in 7.2.0, right? | 15:06 |
|
| or rebased onto 7.2.0 | 15:07 |
|
| withotu trickery | 15:07 |
| ← TomyWork left | 15:07 |
|
codehotter
| I think it's because the 7.1.1 release diverges from their normal continued development that I'm seeing this | 15:07 |
|
Eugene
| That doesn't help | 15:07 |
|
codehotter
| there's a conflict between git's linear history and my linear upgrading to the latest version | 15:07 |
|
| to me as sysadmin, it's 7.2.0 follows 7.1.1 follows 7.1.0 | 15:08 |
|
Eugene
| And here's my bus stop. Good luck | 15:08 |
|
codehotter
| but to upstream as programmers, it's 7.2.0 follows 7.1.0, and 7.1.1 is off to the side | 15:08 |
| ← FabTG left | 15:08 |
|
codehotter
| Thanks! | 15:08 |
| ← dangerousdave left | 15:09 |
| → imkmf joined | 15:09 |
| → pheaver joined | 15:10 |
| → Celm joined | 15:12 |
| → EminenceHC joined | 15:13 |
| ← mizu_no_oto left | 15:13 |
| ← shinnya left | 15:14 |
| ← metts left | 15:14 |
| → w0bni joined | 15:15 |
| → phcarioca joined | 15:16 |
| ← Celm left | 15:16 |
| ← lsiv568 left | 15:17 |
| → dangerousdave joined | 15:18 |
| ← LeMike left | 15:19 |
| robustus → robustus|Off | 15:20 |
| → harish_ joined | 15:21 |
| ← pagios left | 15:21 |
| ← jgardella left | 15:22 |
| → pagioss joined | 15:22 |
| ← papegaaij_ left | 15:22 |
| ← aswen left | 15:22 |
| ← mennea left | 15:23 |
| → mennea joined | 15:23 |
| ← pheaver left | 15:24 |
| ← SpaghettiCat left | 15:25 |
| ← atlantan left | 15:25 |
| → mizu_no_oto joined | 15:25 |
| → mikiones joined | 15:25 |
| → rath joined | 15:26 |
| ← EdwardIII left | 15:27 |
| → atlantan joined | 15:28 |
| ← Juxtapositional left | 15:28 |
| → jonyfive joined | 15:28 |
| ← jargon left | 15:29 |
| → listochkin joined | 15:29 |
| ← UmbraMalison left | 15:29 |
| ← AccessGranted left | 15:30 |
| → tristanp joined | 15:30 |
| → jottr_ joined | 15:32 |
| → lindenle joined | 15:32 |
| ← atlantan left | 15:33 |
| → ojacobson joined | 15:33 |
| ← hexagoxel left | 15:33 |
| ← jottr left | 15:33 |
| → jstimm joined | 15:34 |
| ← harish_ left | 15:34 |
| ← jstimm left | 15:34 |
|
StarManta
| if i have, say, 7 commits that i’ve made, and i want to push some but not all of them, is that possible? (using sourcetree) | 15:34 |
| → atlantan joined | 15:34 |
|
StarManta
| like i want to push the first 4 commit but not the last 3 | 15:34 |
| → harish_ joined | 15:34 |
| ← PinkSpecs left | 15:35 |
| → PinkSpecs joined | 15:35 |
| → AccessGranted joined | 15:36 |
| ← gain left | 15:36 |
| ← [diablo] left | 15:36 |
| ← ghostlines left | 15:36 |
| ← Juzzika left | 15:36 |
| ← vurma left | 15:36 |
| ← lindenle left | 15:36 |
|
canton7
| git push remotename hashofcommittopush:branchtopushitto | 15:37 |
| ← govg left | 15:37 |
| ← StolenToast left | 15:38 |
| ← rethus left | 15:38 |
| → mustmodify joined | 15:39 |
| ← gua_ould left | 15:39 |
|
mustmodify
| Hey, we call git identifiers hashes... or at least my team does... are they actually hashes? If so, of what? If I commit the same thing twice I get two different numbers. | 15:39 |
|
osse
| mustmodify: yes, they are hashes | 15:40 |
|
| SHA1 to be precise | 15:40 |
|
Kwpolska
| mustmodify: metadata changes between the two “same” commits | 15:40 |
|
osse
| mustmodify: you get two different hashes because you created them at different times | 15:40 |
|
mustmodify
| so the commit includes meta-data. I should have realized that. | 15:40 |
|
osse
| mustmodify: try this: git rev-parse commit1^{tree} | 15:41 |
|
| mustmodify: do the same for the other commit. | 15:41 |
|
| they should match | 15:41 |
| → Spacew00t joined | 15:41 |
| → revolve joined | 15:42 |
|
canton7
| musicmatze, 'git cat-file -p HEAD' - that's the data which is hased | 15:42 |
| ← Radivarig left | 15:42 |
|
canton7
| *hashed | 15:42 |
| → UmbraMalison joined | 15:42 |
|
osse
| !bottomup | 15:43 |
|
gitinfo
| 'Git from the bottom up' starts with explaining the building blocks of git and proceeds to tell you how they fit together. http://ftp.newartisans.com/pub/git.from.bottom.up.pdf (http://ikke.info/git.from.bottom.up.pdf) | 15:43 |
| ← magic left | 15:43 |
|
grawity
| more precisely, `git rev-parse HEAD` will give you the hash of what `git cat-file -p HEAD` would print (+ Git's object header) | 15:43 |
| ← FreezingCold left | 15:43 |
| → StolenToast joined | 15:43 |
| → magic joined | 15:43 |
| ← Malsasa left | 15:44 |
| ← mennea left | 15:44 |
| → nettoweb joined | 15:44 |
| → maqr joined | 15:44 |
| → thedodd joined | 15:45 |
| ← yosito left | 15:45 |
| → yosito joined | 15:45 |
| → eliasr joined | 15:46 |
| → simesy joined | 15:46 |
| → Scriptonaut joined | 15:46 |
| → jagob joined | 15:46 |
| ← mustmodify left | 15:46 |
|
Scriptonaut
| hey guys, so I made a branch to fix a bug. I came across a similar bug, that would be very easily fixed with the same code I wrote for the old bug. The testers who test my code before merging with master haven't gotten around to it yet. Could I branch from the first bug branch, and then do a pull request on the branched branch? | 15:47 |
|
| I want to make sure that if the testers pull it, and merge it, they will get both bug fixes | 15:47 |
| ← jagob left | 15:47 |
| → Jarboe joined | 15:47 |
| ← P4_Denis left | 15:48 |
|
osse
| Scriptonaut: if you merge you will also get everthing else in the first branch. That can be a lot of if they are different versions or something like that. | 15:48 |
|
| see if cherry-pick fits better | 15:48 |
| → Jackneill joined | 15:49 |
| ← ehmatthes left | 15:49 |
| ← tvw left | 15:49 |
| ← maqr left | 15:49 |
| → justinmburrous joined | 15:50 |
| ← yosito left | 15:50 |
|
Scriptonaut
| the only changes in the first branch are a few lines I wrote yesterday, same version. It would make more sense to me to just write it on the same branch but they have a "new branch for each bug" policy | 15:50 |
| ← justinmburrous left | 15:50 |
|
Scriptonaut
| never heard of cherry pick, looks confusing | 15:50 |
| ← simesy left | 15:51 |
|
osse
| Scriptonaut: I mean, did you create the second branch from the same place you created the first branch from? | 15:51 |
| → mjuli joined | 15:52 |
|
Scriptonaut
| yep | 15:52 |
|
osse
| then it's not big deal. you can merge one into the other | 15:52 |
|
Scriptonaut
| ah, so git cherry-pick is like a merge, but only one commit? | 15:52 |
|
codehotter
| How do I list the commits that are in 7.1.1 that are also in 7.2.0 and how do I list the commits that are in 7.1.1 and not in 7.2.0, if the common ancestor of 7.1.1 and 7.2.0 is 7.1.0? | 15:52 |
|
Scriptonaut
| not the entire working directory of a branch? | 15:52 |
|
osse
| Scriptonaut: no, a cherry-pick is like copying a commit. | 15:52 |
| → alanwill joined | 15:52 |
| → mennea joined | 15:53 |
|
Scriptonaut
| what does it do with differences? | 15:54 |
|
osse
| Scriptonaut: cherrypicking a commit achieves the same as looking at what changes the commit introduced, apply the same changes somewhere else, and then make a new commit with the same message. | 15:54 |
| ← avvs left | 15:54 |
| ← mennea left | 15:54 |
| ← cbr_ left | 15:54 |
|
Scriptonaut
| ah | 15:54 |
|
Vampire0
| Scriptonaut, if there are conflicts, you get a conflict message and are asked to resolve it just like if when you do a merge | 15:55 |
|
osse
| Scriptonaut: so it's a suitable tool to "backport" a bug fix, for example. | 15:55 |
| → tgunr joined | 15:55 |
|
Scriptonaut
| ah, maybe I'll try cherry picking just for shits | 15:55 |
| → mennea joined | 15:55 |
|
osse
| don't forget giggles | 15:55 |
|
Scriptonaut
| if you pass cherry-pick a branch, will it just assume you mean the head? | 15:56 |
|
osse
| yes | 15:56 |
| ← jottr_ left | 15:56 |
| ← phcarioca left | 15:56 |
|
cbreak
| Scriptonaut: man gitrevisions | 15:57 |
|
gitinfo
| Scriptonaut: the gitrevisions manpage is available at http://jk.gs/gitrevisions.html | 15:57 |
| → LeMike joined | 15:57 |
| ← irqq left | 15:57 |
| → angelsl joined | 15:57 |
| ← atlantan left | 15:58 |
| → FreezingCold joined | 15:58 |
|
Scriptonaut
| what's it mean when I switch to a branch and it says: M filename | 15:58 |
| ← mihaicris left | 15:59 |
|
osse
| the file is modified compared to the committed version on that branch | 15:59 |
|
canton7
| you've !floated ed | 15:59 |
|
| eek, !float ed | 15:59 |
|
gitinfo
| If you have made a change in your working directory and have NOT YET COMMITTED, you may "float" that change over to another (`git checkout oldbranch`) or new (`git checkout -b newbranch`) branch and commit it there. If the files you changed differ between branches, the checkout will fail. In that case, `git stash` then checkout, and `git stash apply` and go through normal conflict resolution. | 15:59 |
| ← dreiss left | 15:59 |
| → iamjarvo joined | 16:00 |
| ← iamjarvo left | 16:00 |
| → kadoban joined | 16:00 |
|
Scriptonaut
| I thought when you checkout out a branch it changes the working directory to the most recent commit of that branch? I was on a branch, modified a file, changed branches, shouldn't it have trashed those changes? | 16:00 |
| → iamjarvo joined | 16:00 |
| ← vtunka left | 16:01 |
| → lindenle joined | 16:01 |
|
osse
| Scriptonaut: it could have. but then you might lose those changes forever | 16:01 |
| → atlantan joined | 16:01 |
|
osse
| Git chose to keep those changes around, just in case | 16:01 |
|
kadoban
| !float | 16:01 |
|
gitinfo
| If you have made a change in your working directory and have NOT YET COMMITTED, you may "float" that change over to another (`git checkout oldbranch`) or new (`git checkout -b newbranch`) branch and commit it there. If the files you changed differ between branches, the checkout will fail. In that case, `git stash` then checkout, and `git stash apply` and go through normal conflict resolution. | 16:01 |
|
kadoban
| It's a convenience thing...it's pretty easy to trash them if you really want. | 16:01 |
| ← jenni_naiaretti left | 16:01 |
|
Scriptonaut
| are you guys all git gurus or something | 16:02 |
|
Vampire0
| .trigger_edit floated @!float | 16:02 |
|
gitinfo
| Vampire0: Okay. | 16:02 |
| → jenni_naiaretti joined | 16:02 |
|
Vampire0
| you !floated | 16:02 |
|
gitinfo
| [!float] If you have made a change in your working directory and have NOT YET COMMITTED, you may "float" that change over to another (`git checkout oldbranch`) or new (`git checkout -b newbranch`) branch and commit it there. If the files you changed differ between branches, the checkout will fail. In that case, `git stash` then checkout, and `git stash apply` and go through normal conflict resolution. | 16:02 |
|
canton7
| hehe | 16:02 |
|
Vampire0
| Scriptonaut, depends on the definition of guru | 16:03 |
|
| Scriptonaut, I'd say we are just users like you with a bit more experience :-) | 16:03 |
|
kadoban
| I'm not even very good at git personally, I just know enough to mostly use it okay | 16:03 |
| ← glebihan left | 16:03 |
| ← Embassy left | 16:03 |
|
Scriptonaut
| I have used it for years, but I still don't fully understand it | 16:03 |
|
kadoban
| You eventually get to a point where the everyday stuff is really easy and the rest you can look up quick | 16:03 |
|
Vampire0
| Scriptonaut, if you are interested, maybe !bottomup is for you | 16:04 |
|
gitinfo
| Scriptonaut: 'Git from the bottom up' starts with explaining the building blocks of git and proceeds to tell you how they fit together. http://ftp.newartisans.com/pub/git.from.bottom.up.pdf (http://ikke.info/git.from.bottom.up.pdf) | 16:04 |
|
Scriptonaut
| thanks | 16:05 |
| ← LeMike left | 16:06 |
| ← codetroll left | 16:06 |
|
Vampire0
| Scriptonaut, maybe also !book might be helpful for you | 16:07 |
|
gitinfo
| Scriptonaut: 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 | 16:07 |
|
| This channel tracks karma based on who has gotten lots of thanks for being helpful. If you want to help someone reach karmic nirvana, please mention their name when thanking them with "thank you", "thankyou", "thanks", "thx" or "cheers". Try ".karma <nick>" or ".topkarma" to show karma status of a person, but please do it via private message to avoid mass highlighting people. | 16:07 |
| ← teran left | 16:07 |
| → nkouevda joined | 16:08 |
| ← nkouevda left | 16:08 |
|
Scriptonaut
| does it take multiple arguments? | 16:08 |
|
| thanks Vampire0 | 16:08 |
|
| .karma Vampire0 | 16:08 |
|
gitinfo
| the Genuine Real Life Karma™ REST API results are back! vampire0: 18 (1 in past 30 days) (2 given out) | 16:08 |
| ← dangerousdave left | 16:08 |
| → St_Marx joined | 16:09 |
| → gmb2020 joined | 16:09 |
| ← UmbraMalison left | 16:10 |
| ← robbyoconnor left | 16:10 |
| → robbyoconnor joined | 16:10 |
| ← francisfish left | 16:11 |
| ← thedodd left | 16:11 |
| → bbloom joined | 16:11 |
| ← livingstn left | 16:12 |
| ← CraigyDavi`` left | 16:12 |
| ← dotpot left | 16:12 |
| ← bgerber left | 16:12 |
| ← atomx left | 16:13 |
| → Quevin_ joined | 16:13 |
| → dangerousdave joined | 16:13 |
| → imachuchu joined | 16:13 |
| → thedodd joined | 16:13 |
| → UmbraMalison joined | 16:13 |
| → bgerber joined | 16:14 |
| → kpease joined | 16:14 |
| ← kpease left | 16:14 |
| → kpease joined | 16:15 |
| → jenni_naiaretti_ joined | 16:16 |
| ← Sebtoast left | 16:16 |
| → Sasazuka joined | 16:18 |
| ← numdig left | 16:18 |
| → maletor joined | 16:18 |
| ← autochthon left | 16:18 |
| → kristofferR joined | 16:19 |
| ← ciampix left | 16:19 |
| → akushner joined | 16:20 |
| → rethus joined | 16:20 |
| ← jenni_naiaretti_ left | 16:20 |
| ← zzattack left | 16:20 |
| ← jenni_naiaretti left | 16:22 |
| → jottr_ joined | 16:22 |
| → jenni_naiaretti joined | 16:23 |
| ← jnavila left | 16:23 |
| ← mennea left | 16:23 |
| → phcarioca joined | 16:23 |
| ← phcarioca left | 16:23 |
| → mennea joined | 16:23 |
| → hexagoxel joined | 16:23 |
| → phcarioca joined | 16:24 |
| → desposo joined | 16:24 |
| ← Guest84046 left | 16:25 |
| ← pagioss left | 16:25 |
| → dansmith_btc joined | 16:25 |
| → BlaXpirit joined | 16:26 |
| gitinfo set mode: +v | 16:27 |
|
dansmith_btc
| HI, I commited and included an extra file in the local commit. How can I remove it fromt the commit? Searching revealed how to *add* an extra file, but couldnt find how to remove one. | 16:27 |
| ← jottr_ left | 16:27 |
|
osse
| dansmith_btc: git rm --cached file; git commit --amend | 16:27 |
| → sebumd joined | 16:27 |
| → Malsasa joined | 16:27 |
| ← ki0 left | 16:28 |
| ← kiran left | 16:28 |
| → m0viefreak joined | 16:29 |
| ← listochkin left | 16:29 |
| → snuttilatti joined | 16:29 |
| → pheaver joined | 16:29 |
|
dansmith_btc
| osse, now the file which I removed from the commit is gone | 16:29 |
| sebumd → scottbuckel | 16:30 |
| ← pcatinean left | 16:30 |
|
osse
| dansmith_btc: that's what you wanted, right? | 16:30 |
|
Vampire0
| lol | 16:30 |
| ← Gizburdt left | 16:30 |
| → sean__ joined | 16:31 |
|
osse
| also: gone from where? | 16:31 |
|
| from the filesystem? or the commit? | 16:31 |
| robustus|Off → robustus | 16:31 |
|
dansmith_btc
| osse, by "gone" I mean, the state of that file which I mistakenly commited reverted to the previous commit | 16:31 |
|
osse
| oh | 16:32 |
| → cvanball joined | 16:32 |
|
osse
| git checkout HEAD~1 -- file; git commit --amend | 16:32 |
|
jacob___
| guys , i have some conceptual questions about git | 16:32 |
| → jenni_naiaretti_ joined | 16:32 |
|
dansmith_btc
| it's ok, though, I made a backup. | 16:32 |
| ← cvanball left | 16:32 |
|
osse
| you don't need a backup :) | 16:32 |
| → starkhalo joined | 16:32 |
| → LucasKA joined | 16:32 |
|
Vampire0
| Git IS your backup :-) | 16:32 |
|
jacob___
| is a git repo always the master if it is not cloned | 16:33 |
| → zzattack joined | 16:33 |
|
jacob___
| i dont understand this | 16:33 |
| → ajustrun joined | 16:33 |
| → socomm joined | 16:33 |
| ← socomm left | 16:33 |
|
jacob___
| i am still thinking in SVN mode i think instead of distributed | 16:33 |
|
osse
| jacob___: what do you mean by "the master" | 16:34 |
|
kadoban
| jacob___: "the master" isn't really meaningful, as far as I can tell | 16:34 |
|
jacob___
| ok | 16:34 |
|
| i mean ; if i look at a branch; its either "master" or something else | 16:34 |
|
| i have to set up a git repo on a remote machine | 16:34 |
|
dansmith_btc
| osse, is your last command the one that I needed initially? or the one that I must run now after the mess up? | 16:34 |
|
kadoban
| jacob___: Right, those are just arbitrary branch names. 'master' is kinda the default branch name. | 16:35 |
|
jacob___
| so what do i do differenty if it is supposed to be the master repo | 16:35 |
|
osse
| dansmith_btc: both, actually. | 16:35 |
|
jacob___
| ok ok | 16:35 |
| → autochthon joined | 16:35 |
| → in_deep_thought joined | 16:35 |
|
osse
| dansmith_btc: it works in both cases | 16:35 |
| ← palcu left | 16:35 |
| → palcu joined | 16:35 |
| → alanwill_ joined | 16:35 |
| ← jceb left | 16:35 |
| ← kermit left | 16:36 |
|
Vampire0
| jacob___, there is no such thing as a "master" repo in Git terms | 16:37 |
|
| jacob___, each repo is a full master repo in its own | 16:37 |
|
| jacob___, you can clone each repo, you can push to each repo (though you shouldn't to all) | 16:37 |
| ← alanwill left | 16:37 |
| ← seschwar_ left | 16:37 |
| ← msmto left | 16:38 |
|
Vampire0
| jacob___, if you want to use a central "master" repo, that is just usage convention you establish to pull from there and push thereto | 16:38 |
| → TheFuzzball joined | 16:38 |
|
Vampire0
| jacob___, what you want to create on your server is a !bare repository | 16:38 |
|
gitinfo
| jacob___: an explanation of bare and non-bare repositories (and why pushing to a non-bare one causes problems) can be found here: http://bare-vs-nonbare.gitrecipes.de/ | 16:38 |
| ← UmbraMalison left | 16:38 |
| → beneggett joined | 16:39 |
| abrkn → Guest63890 | 16:39 |
| → palcu_ joined | 16:39 |
| → msmith_ joined | 16:40 |
| ← Aune left | 16:40 |
|
jacob___
| tahnks Vampire0 and gitinfo | 16:40 |
| ← palcu left | 16:40 |
|
jacob___
| the link didnt work gitinfo | 16:40 |
|
| can you check again | 16:40 |
| → UmbraMalison joined | 16:41 |
| ← Tuna-Fish left | 16:41 |
| ← RaceCondition left | 16:41 |
|
jacob___
| i get page not found error http://bare-vs-nonbare.gitrecipes.de/ | 16:41 |
| ← akushner left | 16:42 |
|
osse
| jacob___: long story short: a bare repo only contains what you now see inside the magic .git directory. | 16:42 |
| ← moritzschaefer left | 16:42 |
| → akushner joined | 16:42 |
|
kadoban
| jacob___: Hmm, weird. Well anyway you don't have to know all that yet. Just if you're going to be pushing to the remote, create it with 'git init --bare' | 16:42 |
|
osse
| it is "bare" in the sense that it does not contain a usable checkout of the files themselves | 16:42 |
| → francisfish joined | 16:42 |
|
dansmith_btc
| osse, I restored the backup and tried your 2nd command, alas git status shows that the changes from the removed file are gone | 16:42 |
|
jacob___
| osse, you are using all unfurmiliar words to me, "magic" , you haev a link i can read about this | 16:42 |
|
| i am reading http://git-scm.com/book/en/Getting-Started-First-Time-Git-Setup | 16:43 |
| ← tristanp left | 16:43 |
|
jacob___
| but is very basic | 16:43 |
|
osse
| jacob___: disregard that word. I didn't mean anything by it. | 16:43 |
|
jacob___
| oh ok | 16:43 |
| ← msmith_ left | 16:43 |
|
kadoban
| dansmith_btc: I'm not clear on what you're actually trying to accomplish? Maybe you can explain again? | 16:43 |
|
osse
| dansmith_btc: that sounds like good news to me, but you used the word "alas" | 16:44 |
|
dansmith_btc
| I commited an extra file. How can I uncommit it and restore to the state it was in when I accidentally commited it, kadoban | 16:44 |
| ← UmbraMalison left | 16:44 |
|
kadoban
| dansmith_btc: 'git checkout HEAD~2 -- the_file' 'git add the_file' 'git commit --amend' That's what I'd do. There's probably something prettier. | 16:45 |
|
osse
| jacob___: a git repositor usually contains a directory called .git, sort of like how a svn repository has one or more .svn directories, right? | 16:45 |
|
grawity
| dansmith_btc: recover what – the file, or the repository? | 16:45 |
| → maqr joined | 16:45 |
| ← Malsasa left | 16:45 |
| → yosito joined | 16:46 |
| → UmbraMalison joined | 16:46 |
| ← intellix left | 16:46 |
| → sdrfnord1 joined | 16:46 |
| → simesy joined | 16:47 |
| ← ferreum_ left | 16:47 |
| ← Mobutils left | 16:47 |
| ← maqr left | 16:50 |
| ← yosito left | 16:50 |
| ← Kulrak left | 16:51 |
|
dansmith_btc
| kadoban, this had the same effect as with osse, the changed in the uncommited file are not shown in git status | 16:51 |
|
| grawity, recover the file | 16:51 |
| ← simesy left | 16:51 |
|
dansmith_btc
| *the changes | 16:51 |
| ← Quevin_ left | 16:52 |
| → Tuna-Fish joined | 16:52 |
| → mekhami joined | 16:52 |
|
kadoban
| dansmith_btc: Then after that, 'git checkout HEAD@{1} -- the_file' maybe? | 16:52 |
| → maestrojed joined | 16:53 |
|
mekhami
| okay simple conflict resolution question; i have to pull to update my source code but i don't want to lose the work i've done on one specific file | 16:53 |
| ← mennea left | 16:53 |
| ← atlantan left | 16:53 |
| → Juzzika joined | 16:53 |
|
kadoban
| mekhami: Why would you lose the work? Is it uncommited? | 16:53 |
|
mekhami
| if i commit the changes i made | 16:53 |
|
| and then pull | 16:54 |
| → mennea joined | 16:54 |
|
mekhami
| will my changes plus their changes 'merge'? | 16:54 |
| ← UmbraMalison left | 16:54 |
| ← Baluse left | 16:54 |
|
kadoban
| mekhami: Yes. 'git pull' is 'git fetch' + a merge | 16:54 |
| ← iamjarvo left | 16:54 |
| → teran joined | 16:54 |
| → tvw joined | 16:54 |
| → Baluse joined | 16:55 |
| ← scarcry left | 16:55 |
| → Skapadapaduu joined | 16:55 |
|
dansmith_btc
| kadoban, what worked was: git reset --soft HEAD~1 && git reset HEAD path/to/unwanted_file && git commit as per https://stackoverflow.com/questions/12481639/remove-files-from-git-commit | 16:55 |
| → scarcry joined | 16:55 |
|
Vampire0
| mekhami, kadoban: depends on configuration and parameters, could also be fetch+rebase | 16:55 |
| → UmbraMalison joined | 16:55 |
|
kadoban
| I find it unlikely that someone would have changed that config unless they're already pretty familiar with how pull works, but fair enough... | 16:56 |
|
| dansmith_btc: Glad you figured it out | 16:57 |
|
dansmith_btc
| thanks for your help folks! | 16:57 |
| → baweaver joined | 16:58 |
|
Vampire0
| kadoban, some people follow How-Tos without really knowing what they do ;-) | 16:58 |
| → rohanrhu joined | 16:59 |
|
rohanrhu
| hi | 16:59 |
|
gitinfo
| rohanrhu: 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. | 16:59 |
|
grawity
| http://git.savannah.gnu.org/cgit/bash.git/commit/-i?id=43aebe922bc2a614c410e282fdf772e063454168 .________. | 16:59 |
| ← desposo left | 16:59 |
|
kadoban
| True enough. | 16:59 |
|
rohanrhu
| how can i tell dont follow a specified directory | 16:59 |
|
| to git | 16:59 |
| ← nour left | 16:59 |
| ← kukks left | 17:00 |
| → rdbell joined | 17:00 |
| ← baweaver left | 17:00 |
| → desposo joined | 17:00 |
|
kadoban
| rohanrhu: You want to ignore a directory? Put it in either the repo or your global gitignore. It won't have any effect if the things you're trying to ignore are already tracked though. | 17:00 |
| → kermit joined | 17:00 |
|
codehotter
| I have a 'prepare for merge' commit and a 'merge commit'. Can I make one commit out of these? | 17:01 |
|
| I wonder where that 'prepare for merge' commit should be in the graph | 17:01 |
|
| it's fine if the 'prepare for merge' commit exists, I just dont want to see it in git log --first-parent | 17:02 |
|
cbreak
| codehotter: you can | 17:02 |
|
| instead of git committing the merge, git commit --amend it | 17:02 |
| ← kpease left | 17:02 |
| ← jenni_naiaretti left | 17:02 |
| jenni_naiaretti_ → jenni_naiaretti | 17:02 |
| → kpease joined | 17:02 |
|
cbreak
| if you've already made that merge commit, then you'll have to trick a bit | 17:03 |
| → baweaver joined | 17:03 |
|
cbreak
| rewrite history by squashing the merge into the previous commit | 17:03 |
| → jenni_naiaretti_ joined | 17:03 |
|
cbreak
| I know how to do that with git commit-tree, but that's plumbing, might nto be easy to use | 17:03 |
|
kadoban
| Will rebase -i do that? I never know with merge commits how it handles that | 17:03 |
| → Kulrak joined | 17:03 |
| ← starkhalo left | 17:04 |
| ← Kulrak left | 17:04 |
| → Kulrak joined | 17:04 |
|
cbreak
| no, it unravels merges | 17:04 |
| → Quevin_ joined | 17:04 |
|
cbreak
| there's -p, but I don't know how that works together with -i | 17:04 |
|
kadoban
| Hmm | 17:04 |
|
Scriptonaut
| guys, how do you deal with having way too many branches? | 17:05 |
|
| do you delete them after a while? | 17:05 |
|
cbreak
| sure. | 17:05 |
| ← autonomousdev left | 17:05 |
|
Vampire0
| It does, kind of cbreak and kadoban, but it might not produce the expected results | 17:05 |
|
cbreak
| not much point keeping them after merging | 17:05 |
|
Scriptonaut
| I've been fixing bugs on this system for a week, and I have 21 branches already | 17:05 |
|
kadoban
| Scriptonaut: If they're still meaningful, you can have hundreds...if they're useless though, no reason to keep them around. | 17:05 |
| → drummer23 joined | 17:05 |
| ← rdbell left | 17:06 |
|
cbreak
| you can always rename branches to dead/foo, oldbranches/foo | 17:06 |
|
| or make tags out of them | 17:06 |
|
Scriptonaut
| git should have a feature where you can archive branches | 17:06 |
|
| so when you git branch it only lists the active ones | 17:06 |
|
cbreak
| git branch -M foo archive/foo | 17:06 |
|
Scriptonaut
| -M for move? | 17:06 |
|
Vampire0
| yep | 17:06 |
|
cbreak
| git will not threat them differently | 17:07 |
|
Scriptonaut
| so then when you git branch it only lists things in the root? Or would it still list archive/foo? | 17:07 |
|
milki
| github has heuristics for "active" branches | 17:07 |
|
cbreak
| but they will easily be greppable away | 17:07 |
| ← thedodd left | 17:08 |
| → Ryan joined | 17:09 |
|
codehotter
| cbreak: it says "you are in the middle of a merge, cannot amend" | 17:09 |
|
| cbreak: how do I amend instead of commiting the merge? | 17:09 |
| → pbrobst joined | 17:09 |
| ← IIT left | 17:09 |
|
codehotter
| I did git merge --no-commit | 17:09 |
| Ryan → Guest23935 | 17:09 |
| gitinfo set mode: +v | 17:09 |
| Guest23935 → user113 | 17:10 |
|
user113
| Can someone please help me? | 17:10 |
|
codehotter
| user113: not unless you tell someone what's wrong | 17:10 |
| → chrisgeo joined | 17:11 |
| → Guest51316 joined | 17:11 |
|
user113
| codehotter: I noticed I was running version 1.7.10.4 of git. So I installed 2.1.2. When I run git --version, I am still getting the old version. | 17:12 |
| → joeyh joined | 17:12 |
|
kadoban
| user113: Try 'which git' | 17:12 |
|
osse
| user113: how did you install it? | 17:12 |
| → listochkin joined | 17:12 |
|
codehotter
| user113: you have a much better chance of getting someone knowledgeable to answer your question if you don't ask specifically me. Now other people may not reply because they think I'm helping you already. | 17:12 |
|
joeyh
| has there been a problem with the ML? Tried to send a bug report in yesterday and vger accepted the mail but it has not posted yet | 17:12 |
| → yosito joined | 17:13 |
| → michelangelo joined | 17:14 |
| → dreiss joined | 17:14 |
| → user114 joined | 17:14 |
| gitinfo set mode: +v | 17:15 |
|
user114
| ok I am user 113 | 17:15 |
| → freeman42 joined | 17:15 |
|
user114
| when I run which git, I get /usr/bin/git | 17:15 |
| ← user113 left | 17:15 |
|
grawity
| how about `type -a git`? | 17:15 |
|
| just in case. | 17:15 |
| ← a_le left | 17:15 |
| → pagioss joined | 17:16 |
|
osse
| user114: how did you install it? | 17:16 |
|
navs_
| which -a git | 17:16 |
|
user114
| I installed from here http://sourceforge.net/projects/git-osx-installer/files/git-2.0.1-intel-universal-snow-leopard.dmg/download?use_mirror=autoselect | 17:16 |
| → Mobutils joined | 17:17 |
|
user114
| which -a git heeds /usr/bin/git /usr/local/git/bin/git | 17:17 |
|
navs_
| nuke the old one | 17:17 |
| → a_le joined | 17:17 |
| ← donmichelangelo left | 17:17 |
|
navs_
| or swap your path | 17:17 |
| ← encod3 left | 17:17 |
|
user114
| can you please help me with this, I am new to git | 17:17 |
|
grawity
| navs_: `type -a` is generally more reliable because it also shows aliases, functions, and cached paths (like bash does) | 17:17 |
|
Nugget
| swap the path is the only solution. the /usr/bin one will come back every time xcode updates | 17:17 |
|
navs_
| grawity: oh ok | 17:18 |
| → Suchit joined | 17:18 |
|
navs_
| i figured he just had a usr/local path for the new one | 17:18 |
| ← a_le left | 17:18 |
| ← Quevin_ left | 17:18 |
| ← yosito left | 17:19 |
| ← pandeiro left | 17:19 |
| → a_le joined | 17:19 |
| ← bbloom left | 17:19 |
|
user114
| navs | 17:19 |
|
navs_
| sup dawg | 17:19 |
| → pandeiro joined | 17:19 |
|
user114
| navs_ I would really like it if you could guide me through :) | 17:19 |
| → maqr joined | 17:19 |
| ← UmbraMalison left | 17:20 |
| ← shanee_ left | 17:20 |
| → jottr_ joined | 17:20 |
|
navs_
| echo 'PATH=/usr/local/git/bin:${PATH}' >> ~/.bashrc && kill $$ | 17:20 |
| ← m0viefreak left | 17:21 |
| ← pandeiro left | 17:21 |
| → kiran joined | 17:21 |
| → ki0 joined | 17:21 |
| ← martinklepsch left | 17:21 |
|
navs_
| or just edit it yourself depending on how you want your path | 17:21 |
| ← beneggett left | 17:22 |
|
navs_
| or just call the git you want directly | 17:22 |
| → Oebele joined | 17:22 |
|
navs_
| or go to the apple store and ask a genius | 17:22 |
|
cbreak
| codehotter: hmm. git reset --soft HEAD~ will remove the newest commit | 17:22 |
| → beneggett joined | 17:22 |
| ← palcu_ left | 17:22 |
|
cbreak
| codehotter: after that, commit during a merge should create that commit | 17:22 |
|
user114
| navs_ I am sorry, I don't understand what you want me to do. | 17:22 |
| ← Suchit left | 17:22 |
|
navs_
| do you know what a path is? | 17:23 |
|
user114
| yes | 17:23 |
| ← mennea left | 17:23 |
|
navs_
| the order the directories are searched for a non-builtin typed into your shell | 17:23 |
|
| right? | 17:23 |
|
| you have two copies of git | 17:23 |
| → mennea joined | 17:23 |
|
user114
| alright... | 17:23 |
| → CheckDavid joined | 17:23 |
|
navs_
| /usr/bin/git and /usr/local/git/bin/git | 17:24 |
| ← drummer23 left | 17:24 |
|
navs_
| you need /usr/local/git/bin to be searched before /usr/bin if you want to get that copy | 17:24 |
|
| when you tell your shell git | 17:24 |
| → yosito joined | 17:24 |
| → maqr_ joined | 17:24 |
|
navs_
| so modify the path variable in your shell's rc file (.bashrc) for non login shells | 17:24 |
|
user114
| ok I follow so far | 17:24 |
| → GRX joined | 17:25 |
|
navs_
| its in ~/.bashrc | 17:25 |
| ← maqr left | 17:25 |
| ← mizu_no_oto left | 17:25 |
|
navs_
| you can say PATH="/usr/local/git/bin:${PATH}" | 17:25 |
|
| to prepend that dir to your path | 17:25 |
|
| at the bottom of the file or something incase you dont want to read it | 17:25 |
|
user114
| PATH=/usr/local/git/bin/git:${PATH} that is the path right now | 17:26 |
|
navs_
| well git is a macho binary | 17:26 |
|
| not a directory right | 17:26 |
|
user114
| correct | 17:26 |
|
navs_
| it should be the directory that contains it | 17:27 |
| → snuffeluffegus joined | 17:27 |
| ← maqr_ left | 17:27 |
| → Nico_Dallas joined | 17:28 |
|
navs_
| got it? | 17:28 |
|
Nico_Dallas
| Hi guys | 17:28 |
|
gitinfo
| Nico_Dallas: 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. | 17:28 |
|
navs_
| why didnt i get a bot welcome | 17:29 |
| ← kermit left | 17:29 |
|
Nico_Dallas
| I guess I'm special :P | 17:29 |
|
| So, I have a problem, and I hope someone here can give me an idea how to solve it because I'm screwed if not | 17:30 |
| → livingstn joined | 17:30 |
|
user114
| no, I do not understand what you are telling me to do | 17:30 |
|
| I understand I have two copies of git installed | 17:30 |
|
navs_
| user14 your path has the entire path to the git binary | 17:30 |
|
_ikke_
| navs_: Probably because you were already known to the bot | 17:30 |
|
navs_
| it needs to have its parent directory | 17:30 |
|
user114
| ok... | 17:30 |
|
navs_
| /usr/local/git/bin:${PATH} | 17:30 |
| → kotopies joined | 17:30 |
|
user114
| so what would the parent directory be | 17:31 |
|
codehotter
| cbreak: how would you do it with git commit-tree if the merge commti has already been made? | 17:31 |
|
rohanrhu
| kadoban: i write index.php to .gitignore but git is still tracking it | 17:31 |
| → goTAN joined | 17:31 |
|
_ikke_
| rohanrhu: !ignore_tracked | 17:31 |
|
gitinfo
| rohanrhu: Git only applies ignore patterns to untracked files. You can't use ignore patterns to ignore changes to files that are already tracked by git. To remove files only from git, but keeping them on disk, use git rm --cached <file>. Still, see https://gist.github.com/1423106 for ways people have worked around the problem. | 17:31 |
| → Asiajey joined | 17:31 |
| → dabar joined | 17:32 |
| ← Scriptonaut left | 17:32 |
| ← angelsl left | 17:32 |
| → gfixler joined | 17:32 |
|
cbreak
| codehotter: man git commit-tree has the details | 17:32 |
|
gitinfo
| codehotter: the git-commit-tree manpage is available at http://jk.gs/git-commit-tree.html | 17:32 |
|
dabar
| Hey everyone. If I did a git pull, and there is a conflict, and I realized I should have done a fetch/rebase anyway, is there any way to get back to version before I ran git pull? | 17:32 |
|
cbreak
| basically, it allows you to specify a tree and parent to make a commit | 17:32 |
| ← bezet left | 17:33 |
|
user114
| ok navs I edited the .bashrc file to contain the line | 17:33 |
|
cbreak
| you'd take the tree from the existing merge, and as parents the parent of the pre-merge commit you want gone, and the second parent | 17:33 |
|
_ikke_
| dabar: git merge --abort | 17:33 |
| → weemsledeux joined | 17:33 |
|
cbreak
| codehotter: also give it the commit message of your merge commit | 17:33 |
| ← weemsledeux left | 17:33 |
| → weemsledeux joined | 17:33 |
|
user114
| the line PATH=/usr/local/git/bin:${PATH} | 17:33 |
|
cbreak
| that'll give you the new merge commit | 17:33 |
|
_ikke_
| dabar: Note that rebase doesn't prevent conflicts | 17:33 |
|
Nico_Dallas
| Anyways, problem ... yesterday I tried to set SublimeText as the default editor for GIT, couldn't make it work and after I went back to vim I started to get an error when I tried to push stuff | 17:33 |
|
cbreak
| you can look at it in git log, make a new branch that points to it, or git reset --hard to it | 17:33 |
|
navs_
| user114: yea | 17:33 |
|
Nico_Dallas
| git: 'media' is not a git command | 17:33 |
|
navs_
| that will work | 17:33 |
| ← wojtasfs left | 17:33 |
|
dabar
| _ikke_: thank you very much | 17:33 |
|
kadoban
| rohanrhu: Didn't so much read the second part of my text, huh? | 17:33 |
| → greendot joined | 17:34 |
|
navs_
| then re-launch your shells or source ~/.bashrc | 17:34 |
| ← weemsledeux left | 17:34 |
| → joeyDB__ joined | 17:34 |
| → oskarkv joined | 17:34 |
|
Nico_Dallas
| 'media' is a Filter I had in my .gitconfig (and I don't know where it came from), thing is ... I deleted the filter and I still get the error ( I tried relaunch my terminal, and rebooted the computer) | 17:34 |
|
codehotter
| cbreak: well what I originally did is, I merged 7.1.1, now I'm trying to merge 7.2.0, but 7.2.0 is based on 7.1.0 and not 7.1.1, so I want the changes between 7.1.0 and 7.1.1 gone so I can merge with 7.2.0 without conflicts | 17:34 |
|
cbreak
| codehotter: for example git commit-tree HEAD^{tree} -p HEAD^1^1 -p HEAD^2 | 17:35 |
|
dabar
| _ikke_: weird, I ran that, and it says "…have 8 and 18 different commits each…", but when I run git rebase -i origin/branch, it says "Nothing to do" | 17:35 |
|
codehotter
| cbreak: I solved that by making a diff between 7.1.1 and 7.1.0, then applying that | 17:35 |
|
Nico_Dallas
| more weird is that I only get the error on 1 repo, not every repo | 17:35 |
| → BlaXpirit-UA joined | 17:35 |
|
codehotter
| cbreak: that's my 'pre-merge' commit | 17:35 |
| → jceb joined | 17:35 |
|
greendot
| I have a branch in my repo that is taking quite a long time to switch to (over 3 minutes). this only happens with one branch, switching to other branches work fine. how can I diagnose that? | 17:35 |
|
codehotter
| cbreak: is that the proper way to solve this? | 17:35 |
|
| cbreak: if I'm doing commit-tree magic anyway, maybe I can do it a step quicker :P that's why I'm asking | 17:35 |
|
user114
| navs I opened and closed my terminal, still getting the old version | 17:35 |
| ← kwc left | 17:35 |
| ← jleclanche left | 17:35 |
|
cbreak
| codehotter: commit-tree doesn't merge | 17:35 |
|
| you already have to have a tree that is as you want it to be | 17:36 |
|
navs_
| Nico_Dallas: check the .git/config for that repo maybe? | 17:36 |
|
Nico_Dallas
| already did | 17:36 |
|
| nothing weird | 17:36 |
|
navs_
| grep 'media' in the repo? | 17:36 |
|
codehotter
| cbreak: right, I'm just checking with you if what I did in my pre-merge commit is proper. Right now I have a tree that is as I want it to be, with just the extra pre-merge commit | 17:36 |
|
navs_
| do you have a hook or something maybe | 17:36 |
| ← BlaXpirit left | 17:37 |
|
Nico_Dallas
| not that I know of, I'll search | 17:37 |
| ← ki0 left | 17:37 |
| ← daedeloth left | 17:37 |
|
navs_
| user114: echo $PATH | 17:37 |
|
cbreak
| codehotter: commit-tree allows you to fix that. | 17:37 |
|
navs_
| your terminal emulator is probably using login shells or something | 17:37 |
|
dabar
| _ikke_: I ran rebase without the -i and it seems to have worked, I'm not sure | 17:37 |
|
cbreak
| codehotter: as for not arriving in this situation: instead of making a pre-merge commit you could resolve the conflicts yourself :) | 17:38 |
| → jargon joined | 17:38 |
|
user114
| navs_: I ran that command, still the old version | 17:38 |
|
navs_
| what did the path say | 17:38 |
|
| user114: echo $PATH | 17:38 |
| → groolot joined | 17:39 |
|
codehotter
| cbreak: well, they're not really 'conflicts', they're just changes that upstream made in 7.1.1 that they didnt' make in 7.2.0, I just want those changes gone, I want to upgrade to upstream 7.2.0. Rather than going through commits 1 by 1, I figured I'd just diff 7.1.1 and 7.1.0 and apply that, then I can merge without conflicts | 17:39 |
|
user114
| navs_: /Library/Frameworks/Python.framework/Versions/3.3/bin:/Library/Frameworks/Python.framework/Versions/3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin | 17:39 |
|
codehotter
| cbreak: not sure if what I'm doing makes sense, though. | 17:39 |
|
cbreak
| your decision. | 17:39 |
| ← LucasKA left | 17:40 |
|
cbreak
| codehotter: maybe it'd be better to instead of merging those things into your branch, having a branch without those things, and merging your commits into their branches | 17:40 |
|
codehotter
| cbreak: wait, will git commit-tree give me a merge commit that looks like the origin one in git log --graph? Will it have all the commtis from upstream 'under' it? | 17:40 |
| ← gfixler left | 17:40 |
|
cbreak
| then you can merge it into something else and forget about the old merge | 17:40 |
|
| codehotter: only the two you give it | 17:41 |
|
| codehotter: as -p | 17:41 |
| ← dabar left | 17:41 |
|
navs_
| user114: add '[ -e ~/.bashrc ] && source ~/.bashrc' to ~/.bash_profile | 17:41 |
| → UmbraMalison joined | 17:41 |
| ← nfk left | 17:42 |
|
user114
| navs_: done | 17:42 |
|
navs_
| launch a new shell | 17:43 |
| ← jenni_naiaretti_ left | 17:43 |
| → shinnya joined | 17:43 |
|
user114
| navs_: I get version | 17:43 |
| → nfk joined | 17:43 |
|
user114
| 2.0.1! | 17:43 |
|
navs_
| good? | 17:43 |
|
user114
| well the latest version is 2.1.2 | 17:44 |
| → jenni_naiaretti_ joined | 17:44 |
| ← jottr_ left | 17:44 |
|
navs_
| well what is the git version of /usr/local/git/bin/git --version? | 17:44 |
| → paulweb515 joined | 17:45 |
|
greendot
| I have a branch in my repo that is taking quite a long time to switch to (over 3 minutes). this only happens with one branch, switching to other branches work fine. how can I diagnose that? | 17:45 |
| ← goTAN left | 17:45 |
| → Quevin_ joined | 17:45 |
| → autonomousdev joined | 17:45 |
|
user114
| navs_: 2.0.1 | 17:46 |
| ← greendot left | 17:46 |
| → greendot joined | 17:46 |
|
navs_
| ok so install 2.1.2? | 17:46 |
| ← shigosei left | 17:46 |
|
user114
| i thought I did... | 17:46 |
|
navs_
| where to? | 17:46 |
|
user114
| http://git-scm.com/downloads | 17:46 |
| → Celm joined | 17:46 |
|
navs_
| just install whatever version you want and adjust the path like we did | 17:46 |
|
user114
| oh | 17:46 |
| → ferreum joined | 17:47 |
|
user114
| 2.0.1 is the latest version for mac | 17:47 |
|
navs_
| ok | 17:47 |
|
| good talk | 17:47 |
| → simesy joined | 17:47 |
|
user114
| thanks for the help - I am in uni for computer science and this made me feel stupid. | 17:47 |
| → Suchit joined | 17:47 |
| → LeMike joined | 17:49 |
| robustus → robustus|Off | 17:49 |
| → _Vi joined | 17:49 |
| ← chernjie left | 17:49 |
| ← Quevin_ left | 17:50 |
| ← paulweb515 left | 17:51 |
|
Nico_Dallas
| navs_: I could kiss you right now | 17:51 |
|
greendot
| hey guys, how can I clean up a branch that is taking too long (over 3 minutes) to switch to? | 17:51 |
|
Nico_Dallas
| I had a hook "pre-push" | 17:51 |
| ← Pyrogerg left | 17:51 |
|
Nico_Dallas
| thanks a lot dude | 17:51 |
| ← weltall left | 17:51 |
| → chernjie joined | 17:51 |
| ← simesy left | 17:52 |
| ← mennea left | 17:53 |
| ← groolot left | 17:53 |
| → mennea joined | 17:53 |
|
kadoban
| greendot: ...what in god's name is in that branch? | 17:54 |
| → msmith_ joined | 17:54 |
|
cbreak
| greendot: delete lots of files | 17:55 |
|
| switching between branches is usually slow because git has to change lots of files in the working dir | 17:55 |
|
rohanrhu
| kadoban: i dont understand exactly :/ | 17:55 |
| ← livingstn left | 17:55 |
|
Vampire0
| jacob___, http://webcache.googleusercontent.com/search?q=cache:peVxY_unb4QJ:bare-vs-nonbare.gitrecipes.de/+&cd=1&hl=de&ct=clnk&gl=de | 17:55 |
| ← fgqvne left | 17:55 |
| ← user114 left | 17:56 |
|
greendot
| the other branches work fine. it has some binary files that someone else committed. i removed them and made a new commit, but it's still taking too long to switch to. | 17:56 |
| → weltall joined | 17:56 |
| ← dangerousdave left | 17:56 |
| → jpf joined | 17:56 |
| ← Nico_Dallas left | 17:57 |
| → livingstn joined | 17:58 |
| ← Celm left | 17:58 |
| ← msmith_ left | 17:58 |
| ← joeyDB__ left | 17:59 |
| ← St_Marx left | 17:59 |
| → _leb joined | 18:00 |
| ← ArSn left | 18:00 |
| ← EminenceHC left | 18:00 |
| ← jiskiras left | 18:00 |
| → kermit joined | 18:01 |
| → upene joined | 18:02 |
| ← weltall left | 18:02 |
| → mizu_no_oto joined | 18:03 |
| ← joeyh left | 18:03 |
| → paulweb515 joined | 18:04 |
| ← hoijuiL left | 18:04 |
| → weltall joined | 18:04 |
| → Celm joined | 18:04 |
| ← mjuli left | 18:05 |
| → jiskiras joined | 18:06 |
| → brandonshowers joined | 18:06 |
| ← shinnya left | 18:07 |
| → fairuz joined | 18:08 |
| → thibaultcha joined | 18:08 |
| ← Celm left | 18:09 |
| → FabTG joined | 18:09 |
| → Glitches joined | 18:11 |
| → _alan_ joined | 18:13 |
|
Glitches
| I got this ssh alias so whenever I do "ssh ..." it does ssh-add so it authenticates my ssh key automaticly, I'm trying to do the same with git now | 18:13 |
| → hatzopoulos joined | 18:13 |
|
Glitches
| I want it so when I do git It runs ssh-add first then git | 18:14 |
| ← imkmf left | 18:14 |
|
Glitches
| this is how it looks like for the ssh one: | 18:14 |
|
| ssh-add -l >/dev/null 2>&1 || alias ssh='ssh-add -l >/dev/null || ssh-add && unalias ssh; ssh' | 18:14 |
| → atlantan joined | 18:14 |
|
Glitches
| I tried "ssh-add -l >/dev/null 2>&1 || alias git='ssh-add -l >/dev/null || ssh-add && unalias git; git'" | 18:14 |
|
| but to no avail | 18:15 |
| ← alanwill_ left | 18:15 |
|
Glitches
| at least I just get "Please make sure you have the correct access rights" | 18:15 |
| → jeffpowrs joined | 18:16 |
| → jab416171 joined | 18:16 |
| ← jiskiras left | 18:16 |
| ← baweaver left | 18:16 |
| → jiskiras joined | 18:17 |
|
hatzopoulos
| i have no idea, but that sounds like you dont have access on the remote | 18:18 |
| → starkhalo joined | 18:18 |
| → ghostlines joined | 18:18 |
| ← robbyoconnor left | 18:18 |
| ← jeffpowrs left | 18:18 |
| ← ghostlines left | 18:18 |
| ← sdrfnord1 left | 18:18 |
| → jeffpowrs joined | 18:19 |
| ← beneggett left | 18:19 |
| ← Asiajey left | 18:19 |
| ← ThomasLocke left | 18:19 |
| → ghostlines joined | 18:19 |
|
hatzopoulos
| Glitches: http://stackoverflow.com/questions/13674647/cannot-push-to-git-repository-permission-denied | 18:20 |
| ← a-l-e left | 18:20 |
|
jeffpowrs
| Hello | 18:21 |
|
gitinfo
| jeffpowrs: 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. | 18:21 |
| ← x0s_ left | 18:21 |
|
Glitches
| hatzopoulos: ... when I do "ssh-add" manually, it works fine | 18:21 |
|
jeffpowrs
| I'm in kind of a messy situation and I need some expert advice :0) | 18:22 |
|
Glitches
| when I do not authenticate my ssh key it obviously doesn't work... | 18:22 |
| → irqq joined | 18:22 |
|
hatzopoulos
| don't we all :P | 18:22 |
|
jeffpowrs
| Haha | 18:22 |
| → DarkStompy joined | 18:23 |
| ← ruukasu left | 18:23 |
| ← jenni_naiaretti_ left | 18:23 |
|
hatzopoulos
| i'm also battling a git-svn dilemma | 18:23 |
| ← clayball left | 18:24 |
|
hatzopoulos
| what's your situation? | 18:24 |
| → jenni_naiaretti_ joined | 18:24 |
|
hatzopoulos
| !backup | 18:26 |
|
gitinfo
| Worried about your data while trying stuff out in your repo? The repository in its entirety lives inside the .git directory in the root of your work tree so to backup everything `cp -a path/to/workdir path/to/backup` or equivalent will suffice as long as the repo is not modified during backup. See also http://sethrobertson.github.com/GitBestPractices/#backups | 18:26 |
|
jeffpowrs
| Iy anyone can help me out it would be greatly appreciated! I had developed a feature on a separate feature branch. Then I merged that branch into master a few days ago (I didn't rebase... So there's a number of commits from that branch in masters history.) On top of that another developer has a couple of commits. I need to remove all of my commits but keep the other developers commits that were added on top of mine. What would be the best way t | 18:27 |
| ← greendot left | 18:27 |
|
jeffpowrs
| Should I git reset --hard to before my commits then cherry-pick the ones from the other developer? | 18:27 |
| → greendot joined | 18:27 |
| → joeyDB__ joined | 18:27 |
| ← kotopies left | 18:27 |
| → brucelee joined | 18:28 |
| → Quevin_ joined | 18:28 |
|
hatzopoulos
| i am not sure, but wouldn't you check the `git reflog` | 18:28 |
|
| pick a point in the past | 18:28 |
|
| and then reset --hard to that point | 18:28 |
| → blackmes1 joined | 18:28 |
|
hatzopoulos
| ? i'm not certain. | 18:28 |
|
Vampire0
| jeffpowrs, that is one way, but be aware that you will !rewrite public history and the implications following | 18:29 |
|
gitinfo
| jeffpowrs: Rewriting public history is not recommended. Everyone who has pulled the old history have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push -f <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum | 18:29 |
| → baweaver joined | 18:29 |
|
kadoban
| jeffpowrs: Rebase his on top of before your merge should work | 18:29 |
|
Vampire0
| kadoban, that is effectively the same as cherry-picking them :-) | 18:30 |
| ← atlantan left | 18:30 |
|
rohanrhu
| kadoban: what should i do exactly to ignore a file or directory on git | 18:31 |
| ← greendot left | 18:32 |
|
jeffpowrs
| You can add any files or directorys you want to ignore to your .gitignore file in your root project dir. | 18:32 |
| ← dansmith_btc left | 18:32 |
| ← spatialbrew left | 18:32 |
| → beneggett joined | 18:32 |
|
rohanrhu
| is it git update-index --assume-unchanged useable for directory? | 18:32 |
| ← blackmes1 left | 18:33 |
|
kadoban
| Vampire0: Yes, but less work | 18:33 |
|
| rohanrhu: You just need to ignore them and then remove them from being tracked. Don't get into update-index stuff, it's not a reasonable thing to do. | 18:34 |
| → weemsledeux joined | 18:34 |
| ← weemsledeux left | 18:34 |
| → weemsledeux joined | 18:34 |
|
Vampire0
| kadoban, not really. two commands instead of one, but if you know those two commands it is less work to type those ;-) | 18:34 |
| ← mennea left | 18:34 |
| → martinklepsch joined | 18:34 |
|
Vampire0
| rohanrhu, Git does not track directories, so you can also not "assume-unchanged" them or ignore them | 18:35 |
| → mennea joined | 18:35 |
|
rohanrhu
| kadoban: i put filename to .gitignore file on git initialized directory | 18:35 |
| → cagedwisdom joined | 18:35 |
| ← yosito left | 18:35 |
| → otakbeku joined | 18:35 |
|
Vampire0
| rohanrhu, Git only tracks contents of files. If you add a directory to .gitignore it simply means "ignore all files in that directory" | 18:35 |
| → LucasTT joined | 18:36 |
|
kadoban
| Vampire0: Except you have to cherry-pick each commit individually. Isn't it just plain more work? | 18:36 |
|
rohanrhu
| Vampire0: i need git doesnt track modifies and file creation for a specified directory | 18:36 |
| → dangerousdave joined | 18:36 |
|
Vampire0
| rohanrhu, while .gitignore solely works on untracked files. As soon as a file is tracked you cannot ignore it | 18:36 |
| → yosito joined | 18:36 |
| ← dangerousdave left | 18:36 |
|
Vampire0
| kadoban, no, because you don't need to. You can cherry-pick a range, I just did it 5 minutes ago :-) | 18:36 |
| → dangerousdave joined | 18:36 |
|
Vampire0
| rohanrhu, that sounds like !config | 18:37 |
|
gitinfo
| rohanrhu: [!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 | 18:37 |
|
kadoban
| I see | 18:37 |
|
Vampire0
| rohanrhu, it is not supported that you do not track changes to tracked files | 18:37 |
|
| rohanrhu, new files is easily possible with .gitignore though | 18:37 |
| → ki0 joined | 18:37 |
|
Vampire0
| rohanrhu, but assume-unchanged you really should consider NOT using, as you will create a major fuck-up most probably | 18:38 |
| → kotopies joined | 18:38 |
|
Vampire0
| It is a very dirty plumbing command to be used manually | 18:38 |
| → goTAN joined | 18:38 |
| → robingood joined | 18:38 |
| ← upene left | 18:38 |
| ← subhojit777 left | 18:39 |
| ← ghostlines left | 18:39 |
|
rohanrhu
| Vampire0: when i put ls -a seen .git .gitignore | 18:40 |
| ← robingood left | 18:40 |
|
rohanrhu
| Vampire0: is place of .gitignore file correct? | 18:40 |
| ← yosito left | 18:40 |
| → jottr_ joined | 18:41 |
| ← ki0 left | 18:42 |
| → MutSbeta joined | 18:42 |
| → yosito joined | 18:43 |
| ← livingstn left | 18:43 |
|
Vampire0
| rohanrhu, I'm not sure what you are trying to say, but man git ignore | 18:43 |
|
gitinfo
| rohanrhu: the git manpage is available at http://jk.gs/git.html | 18:43 |
| ← martinklepsch left | 18:43 |
|
Vampire0
| hm, no | 18:43 |
|
| rohanrhu, I'm not sure what you are trying to say, but man gitignore | 18:44 |
|
gitinfo
| rohanrhu: the gitignore manpage is available at http://jk.gs/gitignore.html | 18:44 |
|
Vampire0
| ah, yes | 18:44 |
| → EminenceHC joined | 18:44 |
|
hatzopoulos
| i think what he wants to do is remove the previously tracked files | 18:44 |
| ← aucecil left | 18:44 |
|
hatzopoulos
| if you have previously tracked the file, untrack them with `git rm --cached <file>` | 18:44 |
|
| so you can still keep them | 18:45 |
| ← _alan_ left | 18:45 |
|
hatzopoulos
| then commit the change and then because of the new gitignore it should be cool after that | 18:45 |
| → Kitt3n joined | 18:45 |
|
Vampire0
| hatzopoulos, I don't think so. I think he has !config | 18:45 |
|
gitinfo
| hatzopoulos: [!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 | 18:45 |
| → treehug8_ joined | 18:45 |
|
hatzopoulos
| (if that makes sense) | 18:45 |
| → RaceCondition joined | 18:46 |
| → thedodd joined | 18:47 |
| → simesy joined | 18:48 |
| ← treehug88 left | 18:48 |
| ← EminenceHC left | 18:49 |
| ← nnyk_ left | 18:49 |
|
hatzopoulos
| Vampire0: have you ever worked with git-svn? | 18:49 |
| → klj joined | 18:50 |
| → __TheDodd__ joined | 18:50 |
| → kotopies_ joined | 18:50 |
| → imkmf joined | 18:51 |
| → martinklepsch joined | 18:52 |
| ← martinklepsch left | 18:52 |
|
hatzopoulos
| you seem like you know your stuff. | 18:52 |
| ← thedodd left | 18:52 |
| ← simesy left | 18:52 |
| ← kotopies left | 18:53 |
|
Vampire0
| hatzopoulos, I work with it since many years on a daily basis, as many employers are still stuck to SVN | 18:53 |
| → MattMaker joined | 18:54 |
| ← MutSbeta left | 18:54 |
| ← brandonshowers left | 18:54 |
| → aucecil joined | 18:55 |
| ← alexwhitman left | 18:56 |
| → alexwhitman joined | 18:58 |
|
rohanrhu
| Vampire0: i dont understand | 19:00 |
|
Vampire0
| rohanrhu, what? | 19:01 |
| ← aucecil left | 19:01 |
| ← UmbraMalison left | 19:02 |
| → boombatower joined | 19:02 |
| ← alexwhitman left | 19:02 |
| → kwc joined | 19:02 |
| ← jenni_naiaretti_ left | 19:03 |
| ← yosito left | 19:04 |
| → UmbraMalison joined | 19:04 |
| ← mennea left | 19:04 |
| → smerron joined | 19:04 |
|
rohanrhu
| Vampire0: can you give example .gitignore for untrack a specified file | 19:04 |
| → jenni_naiaretti_ joined | 19:04 |
|
thibaultcha
| rohanrhu: Here are some examples (a lot actually): https://github.com/github/gitignore | 19:05 |
| → mennea joined | 19:05 |
|
Vampire0
| rohanrhu, content of .gitignore to ignore file named "file": | 19:05 |
|
| file | 19:05 |
|
| that's it | 19:05 |
|
| rohanrhu, but I hope "untrack" is just the wrong word, as it implies that the file is tracked already | 19:06 |
|
| rohanrhu, and as I explained before, this is NOT possible | 19:06 |
|
| rohanrhu, you can only ignore UNTRACKED files | 19:06 |
| → nour joined | 19:06 |
|
Vampire0
| rohanrhu, you can untrack a file though (meaning deleting from the repository) and then ignore it so that it does not get readded | 19:07 |
| → alexwhitman joined | 19:07 |
|
hatzopoulos
| which is what i was saying earlier | 19:07 |
|
Vampire0
| hatzopoulos, yes, but which is not what he asked for earlier nor now | 19:07 |
|
hatzopoulos
| i think he found him self in one of those situations where he tracked it, now wants to ignore it, and things just adding to gitignore should work | 19:07 |
|
| thinks* not things | 19:08 |
|
| rohanrhu: what say you? | 19:08 |
|
Vampire0
| just read what he wrote earlier and you know his situation ;-) | 19:08 |
|
hatzopoulos
| i interpreted the broken english a different way | 19:09 |
| ← baweaver left | 19:09 |
|
hatzopoulos
| rohanrhu: no offence bro | 19:09 |
|
| or bra | 19:09 |
|
| lol | 19:09 |
| → Celm joined | 19:10 |
|
Vampire0
| well, he said has a directory where some files are tracked and some new files will pop up and he wants to ignore the new files and the changes to existing files | 19:10 |
|
hatzopoulos
| hmm | 19:11 |
| ← trang left | 19:11 |
|
kai3x5
| brah | 19:12 |
|
| lol | 19:12 |
|
hatzopoulos
| thanx | 19:12 |
|
| lol | 19:12 |
|
| isn't that the fem version. | 19:12 |
|
| if not i made it up | 19:12 |
| ← Quevin_ left | 19:14 |
| ← UmbraMalison left | 19:14 |
| ← Celm left | 19:14 |
|
rohanrhu
| Vampire0 hatzopoulos when i put git update-index --assume-unchanged filename git ignores that file | 19:15 |
| ← PinkSpecs left | 19:15 |
| → Nizumzen joined | 19:15 |
|
rohanrhu
| how can i do it with .gitignore | 19:16 |
| → UmbraMalison joined | 19:16 |
| ← mitzip left | 19:16 |
| → baweaver joined | 19:16 |
| → mitzip joined | 19:16 |
|
hatzopoulos
| rohanrhu, place the `file` inside your /.gitignore | 19:17 |
| ← dougsland left | 19:18 |
| ← amcsi_work left | 19:18 |
| → gfixler joined | 19:18 |
|
Vampire0
| rohanrhu, again, it is NOT possible to ignore an already tracked file | 19:18 |
|
rohanrhu
| hatzopoulos: each file per line? | 19:19 |
|
Vampire0
| rohanrhu, if you want to ignore an already tracked file you need to delete it first from the repository | 19:19 |
| ← _leb left | 19:19 |
| → jgardella joined | 19:19 |
|
Vampire0
| rohanrhu, adding an already tracked file to .gitignore has NO effect whatsoever | 19:19 |
|
rohanrhu
| Vampire0: i understand i have a static file directory how can i ignore that? | 19:20 |
|
Vampire0
| rohanrhu, --assume-unchanged kind of works, but is absolutely discoveraged, you will fuck-up your repository with a great certainty | 19:20 |
| → dougsland joined | 19:20 |
|
rohanrhu
| Vampire0: but can i track it sometimes | 19:20 |
|
hatzopoulos
| rohanrhu, yes if you want to be very specific. you could also use wildcards ... /path/logs*.txt | 19:20 |
|
rohanrhu
| is it possible | 19:20 |
| ← Jackneill left | 19:20 |
|
Vampire0
| rohanrhu, what do you mean by static file directory and what do you mean by ignore? | 19:20 |
|
| rohanrhu, you can NOT ignore tracked files | 19:21 |
|
hatzopoulos
| or adding the line, /pub_images | 19:21 |
| ← maletor left | 19:21 |
|
hatzopoulos
| would ignore everything starting with /pub_images | 19:21 |
| → bbloom joined | 19:21 |
| ← jiskiras left | 19:21 |
|
rohanrhu
| Vampire0: update-index --assume-unchanged can do it | 19:21 |
|
kadoban
| rohanrhu: As several people have mentioned, that's a horrible idea. You'll be back in a couple of days with awful broken behavior. | 19:22 |
| → BSaboia joined | 19:22 |
|
hatzopoulos
| :P | 19:22 |
|
rohanrhu
| kadoban: i have 2 branch testing and master and i develop project on local there are some config files i ignore them update-index --assume-unchanged | 19:23 |
|
kadoban
| Welp, good luck then. Some people are just immune to advice. | 19:23 |
| ← joeyDB__ left | 19:24 |
| → iliketurtles joined | 19:24 |
|
rohanrhu
| but how can i do it more understandable | 19:24 |
| ← iliketurtles left | 19:24 |
| → joeyDB__ joined | 19:24 |
| → jiskiras joined | 19:24 |
|
hatzopoulos
| perhaps he doesn't commit the gitignore? | 19:24 |
|
| eh rohanrhu? | 19:24 |
| → beastd joined | 19:24 |
| ← Baluse left | 19:24 |
|
kadoban
| He's tracking the ignored files, that's his whole problem. He obviously doesn't listen at all though, since he's so far gone with the solution /everyone/ told him not to, so I'm not inclined to try anymore. | 19:25 |
|
hatzopoulos
| rohanru while your 2 branch testing, are you maybe adding ignored files and then updating index every time? | 19:26 |
|
rohanrhu
| i understand you files should be ignrored should not placed on git initialized directory? | 19:26 |
|
Vampire0
| rohanrhu, as I told you mutiple times already and a LAST time now, it is NOT supported, but !config is relevant for you. And from now on I will ignore you as long as you continue to ask the same questions, sorry | 19:26 |
|
gitinfo
| rohanrhu: [!configfiles] It is recommended to store local configuration data in a file which is not tracked by git, but certain deployment scenarios(such as Heroku) may require otherwise. See https://gist.github.com/1423106 for some ideas | 19:26 |
| → iamjarvo joined | 19:26 |
| → CKyle joined | 19:28 |
|
rohanrhu
| i understand thank you | 19:29 |
| ← RogerWS left | 19:29 |
| ← TheFuzzball left | 19:30 |
| ← zhangxaochen left | 19:31 |
| → zhangxaochen joined | 19:32 |
| → aucecil joined | 19:32 |
| → skylite_ joined | 19:33 |
| → bezet joined | 19:33 |
| ← Sleepy63 left | 19:33 |
| ← Suchit left | 19:33 |
| → Suchit joined | 19:34 |
| ← echelon left | 19:34 |
| → RogerWS joined | 19:34 |
| ← LeMike left | 19:35 |
| → LeMike joined | 19:36 |
| ← goTAN left | 19:36 |
| ← iamjarvo left | 19:36 |
| → zhangxaochen_ joined | 19:36 |
| ← jottr_ left | 19:37 |
| ← bezet left | 19:38 |
| → Shusshu joined | 19:38 |
| → maletor joined | 19:38 |
| ← Shusshu left | 19:38 |
| ← Suchit left | 19:38 |
| ← zhangxaochen left | 19:39 |
| → Remram joined | 19:41 |
| → mechanicalduck_ joined | 19:41 |
| ← beneggett left | 19:42 |
| ← mechanicalduck left | 19:42 |
| → beneggett joined | 19:43 |
| ← GT4066 left | 19:43 |
| ← punchagan left | 19:44 |
| ← jenni_naiaretti_ left | 19:44 |
| → paul424 joined | 19:44 |
| → jenni_naiaretti_ joined | 19:45 |
| → Andrevan joined | 19:45 |
| ← mennea left | 19:45 |
| ← Segfault_ left | 19:46 |
| → Segfault_ joined | 19:46 |
| → mennea joined | 19:46 |
| → blackmes1 joined | 19:46 |
| → livingstn joined | 19:47 |
| ← beneggett left | 19:47 |
| → Sleepy63 joined | 19:47 |
| → echelon joined | 19:48 |
| ← irqq left | 19:48 |
| → chrisgeorge_ joined | 19:48 |
| → mikehaas763 joined | 19:48 |
| → beneggett joined | 19:48 |
| → EminenceHC joined | 19:48 |
| ← armyriad left | 19:49 |
| → simesy joined | 19:49 |
| → jottr_ joined | 19:49 |
| → armyriad joined | 19:49 |
| → legrandin joined | 19:49 |
| ← beneggett left | 19:50 |
| ← chrisgeo left | 19:51 |
| → jerware joined | 19:51 |
| ← mechanicalduck_ left | 19:51 |
| → hatzopoulos_ joined | 19:51 |
| ← nfk left | 19:52 |
|
jerware
| moin. | 19:52 |
| ← chrisgeorge_ left | 19:52 |
| ← __TheDodd__ left | 19:53 |
| ← blackmes1 left | 19:53 |
| ← EminenceHC left | 19:53 |
| → nfk joined | 19:53 |
| ← Nizumzen left | 19:53 |
| ← simesy left | 19:53 |
| ← ecky--ptang-zoob left | 19:54 |
| ← hatzopoulos left | 19:54 |
| → ecky--ptang-zoob joined | 19:54 |
| ← otakbeku left | 19:54 |
| → timewa1ker joined | 19:55 |
|
offby1
| Is it possible to have "git status" tell me if my submodules are out of sync, missing, etc? At first I thought it was possible, now I'm seeing "git status --porcelain" exit with 0 and no ouput, and yet "git submodule status" shows a line that begins with -, indicating that the submodule is missing. | 19:55 |
|
| Hence, Estoy confundido | 19:56 |
|
| Confound it. | 19:56 |
| → jhulten joined | 19:56 |
|
jerware
| How can I git fetch with an ssh public key from a connection I make via git remote add <repo> ssh://foo@some_ip | 19:56 |
| ← CKyle left | 19:56 |
| → EminenceHC joined | 19:56 |
|
mikehaas763
| Is it possible to init a bare repo, clone it.. commit and push a gitattributes and gitignore file then have my coworker who has the project init a regular repo in his existing project dir and then set up a remote and "sync" with the bare repo? | 19:57 |
| ← joeyDB__ left | 19:57 |
| → mechanicalduck joined | 19:57 |
|
mikehaas763
| The whole idea is I want to make sure the repo has a proper gitignore file before he starts pushing the project into it | 19:57 |
|
legrandin
| can someone help me with a merge conflict? i'm trying to fix a conflict but its forcing me to add changes to other files. i dont really need to do that with the branch because im not changing those files, and I would end up committing changes that arent mine. what do i do? | 19:57 |
| → joeyDB__ joined | 19:58 |
|
mikehaas763
| jerware, I believe if you have your public key in the foo user's authorized_keys file on some_ip it will work | 19:58 |
|
jerware
| Oh I have to put my public key on the server's authorized_keys file ? | 19:59 |
|
| I put the server's public key in my authorized_keys. Is that backwards? | 20:00 |
|
mikehaas763
| jerware, yep that's how pub priv key auth works... git over ssh is just ssh essentially | 20:00 |
| → _alan_ joined | 20:00 |
| ← timewa1ker left | 20:00 |
| → beneggett joined | 20:01 |
| ← weemsledeux left | 20:01 |
| ← EminenceHC left | 20:01 |
|
offby1
| legrandin: what is this "it" that is forcing you to edit files? Some gui thing? If so, quit using it and edit via a simple text editor, as God intended. | 20:02 |
| ← ra0 left | 20:02 |
|
offby1
| wow, that was a really neck-beardy comic-book-guy rant, wasn't it :-| | 20:02 |
|
| offby1 looks at the man in the mirror | 20:02 |
| ← mizu_no_oto left | 20:03 |
| ← _alan_ left | 20:03 |
| ← mekhami left | 20:03 |
|
mikehaas763
| offby1, sounds like a rebase/merge issue to me | 20:03 |
| → jatt joined | 20:03 |
| ← imkmf left | 20:03 |
| ← jatt left | 20:04 |
| → jatt joined | 20:04 |
| ← dfaught left | 20:04 |
|
offby1
| mikehaas763: are you responding to my question from 10 minutes ago, or are you commenting on my response to legrandin ? | 20:04 |
| → _alan_ joined | 20:04 |
|
mikehaas763
| commenting on your response | 20:04 |
|
legrandin
| i almost got it man | 20:05 |
| → robbyoconnor joined | 20:05 |
|
offby1
| legrandin: !repro | 20:05 |
|
gitinfo
| legrandin: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will raise the odds of getting your problem fixed from about 30% to about 90%. | 20:05 |
|
legrandin
| ok so im using git, no gui or anything | 20:05 |
|
offby1
| do what gitinfo says. | 20:05 |
| ← dangerousdave left | 20:05 |
| ← robbyoconnor left | 20:05 |
| → JanC_ joined | 20:05 |
| → aidalgol joined | 20:06 |
| → NAAKFH7 joined | 20:06 |
| ← kotopies_ left | 20:06 |
| ← JanC left | 20:06 |
|
mikehaas763
| offby1, lol... I wonder how that 30% and 90% were thought up... my guess is instinct? I find it awesome either way | 20:06 |
| JanC_ → JanC | 20:07 |
| ← DarkStompy left | 20:07 |
|
offby1
| I pulled 'em outta my butt. | 20:07 |
|
| Based on experience. | 20:07 |
| → robbyoconnor joined | 20:08 |
| ← Not_Whatever left | 20:08 |
| → Celm joined | 20:10 |
| → nour_ joined | 20:12 |
| ← in_deep_thought left | 20:12 |
| ← paulweb515 left | 20:13 |
| ← eletuchy left | 20:14 |
| ← Celm left | 20:15 |
| → eletuchy joined | 20:15 |
| ← mennea left | 20:16 |
| ← robbyoconnor left | 20:16 |
|
offby1
| Well, that certainly shut down the discussion :-| | 20:16 |
| → mennea joined | 20:16 |
| ← KevinMGranger left | 20:16 |
|
legrandin
| ok, so here's my problem. i'm working on a project with several other people. i have a merge conflict that I want to solve using git, but when I try to merge my branch with master it adds changes to my branch that were made by other people | 20:17 |
| → brandonshowers joined | 20:17 |
|
legrandin
| im trying not to commit changes made by other people. seems very weird to do that | 20:17 |
|
offby1
| legrandin: until you do the steps that gitinfo told you above, I will be unable to help. | 20:17 |
|
legrandin
| oh oops | 20:18 |
|
offby1
| perhaps someone else will be able to help, but I won't. | 20:18 |
|
legrandin
| giving you code wont help | 20:18 |
|
offby1
| did I ask for code? | 20:18 |
|
| If so, I should correct those instructions. | 20:18 |
|
legrandin
| i mean terminal session | 20:18 |
|
offby1
| well, if you are sure that a transcript won't help, then I'm sure that I can't help you. | 20:19 |
|
legrandin
| i think you can, its a simple question | 20:19 |
| ← eletuchy left | 20:19 |
|
legrandin
| also it involves stuff through github not pure git | 20:19 |
| ← skylite_ left | 20:19 |
| ← joeyDB__ left | 20:20 |
| ← jerware left | 20:20 |
|
thibaultcha
| Why would merging your branch to master make changes to *your* branch? I'd like to see the commands too and I think offby1 was right to ask for it. | 20:21 |
|
legrandin
| yes it does | 20:21 |
|
| ok fine... hold on | 20:21 |
| ← justben left | 20:21 |
| ← dccc_ left | 20:22 |
| → LucasKA joined | 20:22 |
|
legrandin
| https://bpaste.net/show/3fbb25dcbd0c | 20:23 |
| → jleclanche joined | 20:23 |
|
legrandin
| so i dont want those files modified / added. i only want to resolve the conflicts within the file i was working on, test_compute_numpy | 20:24 |
| → joeyDB__ joined | 20:24 |
|
legrandin
| can i just merge one file? | 20:25 |
| → msmith_ joined | 20:25 |
| ← jenni_naiaretti_ left | 20:25 |
|
thibaultcha
| Well, you are merging master in your branch, so yes, you are merging other people's changes in your branch, why wouldn't it make sense? | 20:25 |
| ← rath left | 20:25 |
| → jenni_naiaretti_ joined | 20:25 |
|
legrandin
| well im not saying it doesnt make sense, im just asking how I can fix the merge conflicts without merging any other files but the one with the merge conflicts | 20:26 |
| ← GRX left | 20:26 |
| ← jgardella left | 20:26 |
|
legrandin
| im using github so i would basically be committing other people's changes to this repo | 20:26 |
|
| thats what I want to avoid | 20:27 |
| ← LucasKA left | 20:27 |
| ← kristofferR left | 20:27 |
|
legrandin
| offby1: i got a transcript | 20:27 |
| → LucasKA joined | 20:27 |
|
legrandin
| is there no way to do this? | 20:29 |
| ← kpease left | 20:29 |
| → imkmf joined | 20:30 |
| → smccarthy joined | 20:30 |
| ← Ankhers left | 20:32 |
|
thibaultcha
| Ahhh ok! Just merge one file? Not easily that I know of, but I think some git magic is possible to do that. | 20:32 |
|
legrandin
| yes basially | 20:32 |
| → kyb3r_ joined | 20:33 |
| → attrs joined | 20:34 |
| ← Juzzika left | 20:34 |
| → timewa1ker joined | 20:36 |
| → alvaro_o joined | 20:36 |
| → WaReZ joined | 20:37 |
| → PinkSpecs joined | 20:37 |
| ← Tuna-Fish left | 20:38 |
| → weemsledeux joined | 20:38 |
| ← weemsledeux left | 20:38 |
| → weemsledeux joined | 20:38 |
| ← mikehaas763 left | 20:38 |
| ← spareproject left | 20:38 |
| → Tuna-Fish joined | 20:38 |
| → giusef joined | 20:38 |
| → kpease joined | 20:39 |
| ← livingstn left | 20:40 |
| → Quevin_ joined | 20:41 |
| ← baweaver left | 20:42 |
| gitinfo set mode: +v | 20:42 |
|
attrs
| I'm looking for a way to set an attribute on a commit, after the commit. In particular, I want to save a summary of automated test results for each commit, eg "passed smoke tests", "failed release tests" | 20:42 |
|
| Is there any such facility in git? | 20:42 |
| → baweaver joined | 20:43 |
| ← xSmurf left | 20:43 |
|
moritz
| attrs: man git notes | 20:43 |
|
gitinfo
| attrs: the git-notes manpage is available at http://jk.gs/git-notes.html | 20:43 |
|
moritz
| attrs: but they aren't easily pushed/pulled | 20:43 |
| ← PinkSpecs left | 20:43 |
| → dalafa_ joined | 20:43 |
| ← mkoskar left | 20:44 |
| → jgardella joined | 20:45 |
| ← starkhalo left | 20:45 |
| ← mennea left | 20:46 |
| → mennea joined | 20:46 |
| ← dalafa left | 20:46 |
| ← legrandin left | 20:47 |
| ← LeMike left | 20:47 |
| ← joeyDB__ left | 20:48 |
| ← brucelee left | 20:49 |
| → simesy joined | 20:50 |
| → St_Marx joined | 20:51 |
| → vurma joined | 20:51 |
| ← jgardella left | 20:52 |
| → joeyDB__ joined | 20:52 |
| → mkoskar joined | 20:52 |
| → EminenceHC joined | 20:53 |
| ← msmith_ left | 20:53 |
| ← beneggett left | 20:53 |
| → paulweb515 joined | 20:53 |
| → xSmurf joined | 20:54 |
| → in_deep_thought joined | 20:54 |
| ← simesy left | 20:54 |
| ← Neozonz left | 20:55 |
| → beneggett joined | 20:55 |
| ← EminenceHC left | 20:57 |
| ← jatt left | 20:57 |
| ← kiran left | 20:57 |
| → Neozonz joined | 20:58 |
| ← Neozonz left | 20:58 |
| → Neozonz joined | 20:58 |
| ← Kicer86 left | 20:58 |
| ← tesaf left | 20:59 |
| ajustrun → ajustrun|away | 20:59 |
| ← ojacobson left | 20:59 |
| → zhuang joined | 20:59 |
| ← codeman left | 20:59 |
| ← WaReZ left | 21:00 |
| → Juzzika joined | 21:01 |
| → chrisgeo joined | 21:01 |
| ← chrisgeo left | 21:02 |
| ← Spacew00t left | 21:02 |
| ← maestrojed left | 21:02 |
| ← phcarioca left | 21:02 |
|
attrs
| It looks like notes will give me a fair bit of what I want, but I'd like to be able to easily find the most recent commit that passed a certain level of testing | 21:03 |
| → glebihan joined | 21:03 |
| ← jceb left | 21:04 |
| ← imkmf left | 21:04 |
|
kadoban
| attrs: Not sure if this is a horrible idea, but maybe have an automated branch that follows your publishing branch and updates when tests pass? | 21:04 |
|
| Probably a horrible idea... | 21:04 |
| ← jenni_naiaretti_ left | 21:05 |
| → imkmf joined | 21:05 |
| ← joeyDB__ left | 21:05 |
| → jenni_naiaretti_ joined | 21:06 |
| → kaendfinger joined | 21:06 |
| → joeyDB__ joined | 21:07 |
| → iamjarvo joined | 21:07 |
| ← joeyDB__ left | 21:08 |
| ← baweaver left | 21:08 |
| → maestrojed joined | 21:08 |
| → thiago joined | 21:10 |
| ← akushner left | 21:10 |
| → Celm joined | 21:11 |
| ← attrs left | 21:11 |
| → FortySix2 joined | 21:12 |
| ← mdel left | 21:13 |
| ← imkmf left | 21:13 |
| → ncthom91 joined | 21:13 |
| ← AaronMT left | 21:15 |
| ← Celm left | 21:15 |
| ← aidalgol left | 21:15 |
| ← mennea left | 21:16 |
| → mennea joined | 21:16 |
| → anaran joined | 21:16 |
| ← tirengarfio left | 21:17 |
| ← tirengarfio_ left | 21:17 |
| ← BSaboia left | 21:18 |
| ← maestrojed left | 21:18 |
| ← melchesedek left | 21:19 |
| → eletuchy joined | 21:20 |
| → ruukasu joined | 21:21 |
| → kballou joined | 21:22 |
| ← anaran left | 21:23 |
| ← jenni_naiaretti left | 21:24 |
| jenni_naiaretti_ → jenni_naiaretti | 21:24 |
| → lb1a joined | 21:25 |
| ← iamjarvo left | 21:26 |
| → iamjarvo joined | 21:27 |
| ← Oebele left | 21:28 |
| → tirengarfio_ joined | 21:28 |
| → tirengarfio joined | 21:28 |
| ← iamjarvo left | 21:29 |
| → baweaver joined | 21:29 |
| → ColKurtz joined | 21:31 |
| ← nour left | 21:31 |
| → kadoban_ joined | 21:31 |
| ← kadoban left | 21:32 |
| ← anomalyst left | 21:32 |
| → maestrojed joined | 21:32 |
| → Scriptonaut joined | 21:32 |
| → kristofferR joined | 21:33 |
| ← brandonshowers left | 21:34 |
| ← Xiti left | 21:34 |
| → CodeShark joined | 21:36 |
| → brandonshowers joined | 21:37 |
| ← _alan_ left | 21:37 |
| ← souther left | 21:38 |
| → ki0 joined | 21:38 |
| → souther joined | 21:38 |
| → pandeiro joined | 21:38 |
| ← ncthom91 left | 21:38 |
| → tristanp joined | 21:39 |
|
avar
| Just push tags marking commits that pass tests | 21:39 |
| → ncthom91 joined | 21:40 |
| ← ki0 left | 21:42 |
| → hustl4 joined | 21:42 |
| → Xiti joined | 21:42 |
| ← kaendfinger left | 21:43 |
| ← danemacmillan left | 21:43 |
| ← W0rmDr1nk left | 21:44 |
| → _alan_ joined | 21:44 |
| ← lb1a left | 21:45 |
| → liamkeily joined | 21:45 |
| ← jenni_naiaretti left | 21:45 |
| ← mennea left | 21:46 |
| → mennea joined | 21:46 |
| → kukks joined | 21:47 |
| → Walex joined | 21:47 |
| → jenni_naiaretti joined | 21:47 |
| ← klj left | 21:47 |
| → jatt joined | 21:47 |
| ← jatt left | 21:48 |
| → jatt joined | 21:48 |
| ← mennea left | 21:48 |
| ← brandonshowers left | 21:48 |
| → APerson_ joined | 21:49 |
| → simesy joined | 21:50 |
| ← ncthom91 left | 21:51 |
| ← dougsland left | 21:53 |
|
Dougie187
| Does anyone know if a tool exists to manage multiple repositories regardless of the protocol? (meaning it can support svn and git?) | 21:54 |
| → EminenceHC joined | 21:54 |
| ← phantombeta left | 21:54 |
|
soerenb
| there is git svn | 21:54 |
| ← simesy left | 21:55 |
| ← alexwhitman left | 21:55 |
|
Dougie187
| soerenb: for collection of multiple git and svn repos. | 21:55 |
| ← Pitb left | 21:55 |
| ← giusef left | 21:55 |
| → brandonshowers joined | 21:56 |
| → Bpit joined | 21:56 |
| → alexwhitman joined | 21:57 |
| ← kermit left | 21:57 |
| ← weemsledeux left | 21:58 |
| → kermit joined | 21:58 |
| ← EminenceHC left | 21:58 |
| → phantombeta joined | 21:59 |
| → dougsland joined | 21:59 |
| ← mellernoia left | 22:00 |
| → shinnya joined | 22:01 |
| → mellernoia joined | 22:01 |
| ← FortySix2 left | 22:01 |
| ← d10n-work left | 22:01 |
| → FortySix2 joined | 22:02 |
| ← souther left | 22:02 |
| ← autochthon left | 22:03 |
| ← tvw left | 22:04 |
| ← FortySix2 left | 22:06 |
| ← King_Hual left | 22:06 |
| ← imachuchu left | 22:06 |
| ← jeffpowrs left | 22:07 |
| → imachuchu joined | 22:07 |
| → souther joined | 22:07 |
|
Remram
| How do I "checkout a tree", i.e. read that tree into actual files? | 22:07 |
|
imachuchu
| Dougie187: maybe look at mr? http://linux.die.net/man/1/mr | 22:07 |
|
Remram
| read-tree updates the index alone, I want the "opposite" | 22:07 |
|
Dougie187
| imachuchu: that's what I'm looking at now. | 22:07 |
| ← boombatower left | 22:07 |
| → nutron joined | 22:07 |
|
imachuchu
| Remram: man git archive | 22:07 |
|
gitinfo
| Remram: the git-archive manpage is available at http://jk.gs/git-archive.html | 22:07 |
| ← jiskiras left | 22:07 |
|
Remram
| I guess I could just use checkout though, but it updates the index as well | 22:08 |
|
| imachuchu: doesn't look right | 22:08 |
| → giusef joined | 22:09 |
|
imachuchu
| Remram: it takes a tree-ish and creates an archive of it, so if you want to get a checkout of a tree without moving the index use archive and then extract it | 22:09 |
|
Remram
| that's super inefficient | 22:09 |
|
| (fyi: I want to get these files from a hook) | 22:10 |
| ← jatt left | 22:10 |
|
Remram
| (I'm not sure updating the index is safe) | 22:10 |
|
osse
| that's a good argument for using git archive | 22:10 |
|
Remram
| (is there even an index in bare repos?) | 22:10 |
|
osse
| no | 22:11 |
|
imachuchu
| Remram: if you're really worried about efficency just use tar output, untarring is really really cheap | 22:11 |
|
Remram
| Can't I just do git checkout --worktree=... | 22:11 |
|
osse
| !deploy | 22:11 |
|
gitinfo
| 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:11 |
|
osse
| read that | 22:11 |
| → intellix joined | 22:11 |
|
osse
| it covers solutions both using checkout and archive | 22:11 |
|
imachuchu
| Remram: or, if you want a bare repo and one with a worktree then just create a local clone of the repo. Git will internally use hardlinks so it's barely bigger then the checkout, and if you really are worried then look into the --shared option | 22:12 |
| ← jargon left | 22:12 |
|
imachuchu
| *really worried about space then look into the --shared option | 22:12 |
|
Remram
| Hmm I guess my setup looks like some kind of deployment thing | 22:13 |
| → freudsfeud joined | 22:14 |
| ← giusef left | 22:15 |
|
Remram
| I might go the archive way then | 22:15 |
| ← vurma left | 22:16 |
|
freudsfeud
| noob question: I exported a repo to the production server, and now I want to send new commits to it and update it from the dev version of the repo. Is this possible? if so, can you direct me to a web page the tells me how? | 22:17 |
|
| i googled my queston ans can't figure out if I am asking the right question. | 22:17 |
|
Remram
| What do you mean by "exported"? | 22:18 |
| ← treehug8_ left | 22:18 |
|
freudsfeud
| used the "git archive" function to export a zip file | 22:18 |
|
Scriptonaut
| ah shit guys help, we're pushing to production in a few minutes and something is weird here. I'm trying ti push to a branch, one I've pushed to many times, and it's saying: fatal branchname cannot be resolved to a branch. Unexpected end of command stream | 22:19 |
|
imachuchu
| freudsfeud: just do the same then, copying over the code that's already there? It also sounds like you too might benefit from reading !deploy | 22:19 |
|
gitinfo
| freudsfeud: 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:19 |
|
cbreak
| freudsfeud: git archive is just a snapshot export. make a new snapshot export and replace all the files | 22:19 |
|
Scriptonaut
| I'm copy pasting the branch name from github | 22:19 |
|
| so how the hell is git telling me the branch can't be resolved | 22:19 |
|
imachuchu
| Scriptonaut: first off run "git gc" just in case something really bad is wrong | 22:20 |
|
cbreak
| Scriptonaut: pastebin output of git show-ref and the git push you want to try | 22:20 |
|
imachuchu
| Scriptonaut: second, can we get a !repro of what's going on? | 22:20 |
|
gitinfo
| Scriptonaut: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will raise the odds of getting your problem fixed from about 30% to about 90%. | 22:20 |
|
kadoban_
| Scriptonaut: Going to need more info probably, can you paste the obvious stuff to a pastebin somewhere? | 22:20 |
|
freudsfeud
| imachuchu, @gitinfo, cbreak: thanks! | 22:21 |
|
gitinfo
| freudsfeud: you're welcome, but please note that I'm a bot. I'm not programmed to care. | 22:21 |
|
freudsfeud
| ok | 22:21 |
|
kadoban_
| Hah | 22:21 |
| → splud joined | 22:22 |
|
imachuchu
| Scriptonaut: ack, sorry wrong command earlier, run "git fsck" to make sure nothings really wrong (gc won't do anything) | 22:23 |
|
Scriptonaut
| I see what the problem is. I somehow renamed my branch | 22:23 |
|
| I was on my main branch, I did git checkout BUG_New_COlleague_Cant_See_Old | 22:24 |
| ← tristanp left | 22:24 |
|
Scriptonaut
| and it renamed BUG_New_Colleague_Cant_See_Old, it made is O in colleague uppercase | 22:24 |
|
splud
| Have a rather large binary file that was committed to a repo and pushed (by an script error in an automated process), along with some ancillary commits. What’s the BCP for hard resetting that remote repo to it’s prior state? | 22:24 |
|
Scriptonaut
| even though I never passed it -m | 22:24 |
| → skoop joined | 22:24 |
|
splud
| No other users should have this repo checked out, and I have shell access to the remote. | 22:24 |
| ← intellix left | 22:25 |
| → tristanp joined | 22:25 |
|
kadoban_
| splud: Depending on what you want to do, either some invocation of 'git filter-branch' to remove the file you don't want in history, or 'git reset --hard' to before it happened. Both are fairly dangerous, take backups. | 22:25 |
| ← paul424 left | 22:25 |
|
Scriptonaut
| gah, fixed it | 22:26 |
|
kadoban_
| splud: You need to do a bit extra to actually shrink the repository, due to the reflog and stuff, but that's a first step. | 22:26 |
| → Consuela joined | 22:28 |
| → Demods joined | 22:28 |
| → madewokherd joined | 22:28 |
|
splud
| if I pull and then do a hard reset, I’m _behind_ the remote. If I go to the _bare_ remote, I have to set things up so it can make a working tree (annoying, but that’s how it is). If I reset on that, I end up, yes with reflog stuff that is unchanged. What’s the process for shrinking that? | 22:29 |
|
| I expect if I clone the repo first, then move the remote repo dir and init a bare repo in it’s place, then push from a hard reset’d repo, that would work as well. Just seems like a poor process. | 22:30 |
| ← smerron left | 22:31 |
|
kadoban_
| splud: IIRC there's some way to cull the reflog, then you have to 'git gc'. Not something I do very often so I'm not sure offhand. | 22:31 |
| → neversleepz joined | 22:31 |
| ← RogerWS left | 22:31 |
| ← mike_af left | 22:32 |
| ← Neozonz left | 22:32 |
| → mike_af joined | 22:32 |
| → Neozonz joined | 22:32 |
| ← Neozonz left | 22:32 |
| → Neozonz joined | 22:32 |
| ← shinnya left | 22:34 |
|
rohanrhu
| what is git stash command exactly? | 22:34 |
|
soerenb
| man git stash | 22:35 |
|
gitinfo
| the git-stash manpage is available at http://jk.gs/git-stash.html | 22:35 |
| ← hexagoxel left | 22:36 |
|
rohanrhu
| how can i ignore local changed files while pull? | 22:36 |
| → RogerWS joined | 22:36 |
| ← mike_af left | 22:37 |
| ← ColKurtz left | 22:37 |
| ← jenni_naiaretti left | 22:37 |
| → ColKurtz joined | 22:37 |
|
rohanrhu
| directory1 is at revision5 and i commit and push revision6 from another place | 22:37 |
| → RogerWS_ joined | 22:38 |
| → jenni_naiaretti joined | 22:38 |
|
rohanrhu
| but i changed file1 in directory1 but i did not commit it | 22:38 |
|
| how can i ignore it while pull at directory1 | 22:38 |
| → kcj joined | 22:39 |
| ← Demods left | 22:39 |
| → shinnya joined | 22:39 |
| → BSaboia joined | 22:39 |
|
soerenb
| stash the change and pop it after the pull | 22:40 |
| ← FreezingCold left | 22:40 |
| → FreezingAlt joined | 22:40 |
| ← RogerWS left | 22:41 |
| ← baweaver left | 22:42 |
| ← Neozonz left | 22:43 |
| ← kpease left | 22:43 |
| ← dreiss left | 22:43 |
| → toothrot joined | 22:44 |
| ← mechanicalduck left | 22:44 |
| FreezingAlt → FreezingCold | 22:45 |
| ← jacob___ left | 22:45 |
|
rohanrhu
| soerenb: thank you | 22:45 |
| ← polyzen left | 22:46 |
| ← kadoban_ left | 22:46 |
| ← Skapadapaduu left | 22:46 |
| ← mueslo left | 22:46 |
| ← Bpit left | 22:46 |
| ← souther left | 22:46 |
| → kadoban joined | 22:46 |
| → jottr joined | 22:46 |
| → polyzen joined | 22:47 |
| → ianbrandt joined | 22:47 |
| → psteinforth joined | 22:47 |
| ← _Vi left | 22:48 |
| ← psteinforth left | 22:48 |
| → baweaver joined | 22:49 |
| ← jottr_ left | 22:50 |
| → simesy joined | 22:51 |
| ← knownasilya left | 22:53 |
| ← shawndum_ left | 22:54 |
| ← liamkeily left | 22:54 |
| → liamkeily1 joined | 22:54 |
| → hebz0rl joined | 22:55 |
| → grazfather joined | 22:55 |
| ← simesy left | 22:56 |
| → dreiss joined | 22:56 |
|
grazfather
| Hey guys, a colleague of mine moved a file without git and then made changes. In history we have a delete and then a new file, but we'd like to maintain history. I had him revert, then re-cherry pick the change, reset mixed, move the file to a temp, git mv the moved file, replace with the changed version, and then recommit. Is there a nicer way to do this? | 22:56 |
| ← shinnya left | 22:56 |
| ← Scriptonaut left | 22:57 |
|
splud
| kadoban: thanks for the pointers. Am looking into them. | 22:58 |
| ← in_deep_thought left | 22:59 |
|
splud
| grazfather: I think the nicer way is for your colleague to do it properly the first time <g> | 22:59 |
| ← listochkin left | 22:59 |
|
grazfather
| no kidding | 22:59 |
| → kaendfinger joined | 23:01 |
|
kadoban
| grazfather: You know git doesn't actually specially record moves, right? | 23:01 |
|
grazfather
| it records them as renames... | 23:02 |
|
| maintaining file history | 23:02 |
|
kadoban
| grazfather: It figures renames out from context on its own, they're not specially recorded. The 'git mv' is just a helpful sugar command. | 23:02 |
|
grazfather
| but it can't always figure it out | 23:03 |
| ← Juzzika left | 23:03 |
|
grazfather
| with git mv you can force it to | 23:03 |
|
osse
| wrong | 23:03 |
|
| you can select the threshold for when git considers a file renamed | 23:03 |
| ← Sasazuka left | 23:03 |
|
osse
| git mv does not affect how git will store the files | 23:03 |
|
kadoban
| grazfather: This is why there's options in like 'git log' for how hard you want to search for moves. This is regardless of if you use 'git mv' or not. Git seriosuly doesn't record anything special for that. | 23:03 |
|
| grazfather: Try it for yourself. 'git rm' something, add it as a different file and look at the result. | 23:04 |
| → m0viefreak joined | 23:04 |
| → listochkin joined | 23:05 |
| ← liamkeily1 left | 23:05 |
| ← jottr left | 23:05 |
| → in_deep_thought joined | 23:06 |
| → liamkeily1 joined | 23:07 |
| → ncthom91 joined | 23:08 |
| ← listochkin left | 23:09 |
| → intellix joined | 23:09 |
| ← yarco left | 23:09 |
| ← beastd left | 23:09 |
|
grazfather
| kadoban: Weird. | 23:09 |
|
| which option | 23:10 |
|
kadoban
| Yeah, it's a little counter-intuitive. I've read some reasons for that that were...mostly convincing, and in general I don't think I've ever cared so far. | 23:11 |
| → Sasazuka joined | 23:11 |
| ← SonikBoom left | 23:11 |
| ← snuffeluffegus left | 23:11 |
|
kadoban
| Which option was I referring to on 'git log' you mean? | 23:12 |
| → Celm joined | 23:12 |
| ← Dougie187 left | 23:12 |
|
grazfather
| --follow... weird | 23:12 |
|
| totally works | 23:12 |
|
kadoban
| grazfather: There's --follow, -M, etc. there's also -C for copies | 23:13 |
|
| Right | 23:13 |
|
grazfather
| interesting. We wasted more time than we should have removing the delete/new file | 23:13 |
|
| good to know, though. ty kadoban | 23:13 |
|
kadoban
| You learned something though at least :) 'welcome | 23:13 |
| ← rasto left | 23:14 |
| → comps joined | 23:14 |
| ← APerson_ left | 23:15 |
| → paul424 joined | 23:15 |
| ← Celm left | 23:16 |
| ← jenni_naiaretti left | 23:18 |
| → jenni_naiaretti joined | 23:19 |
| → jbrudvik joined | 23:20 |
| ← cannonball left | 23:20 |
| ← jbrudvik left | 23:20 |
| → jbrudvik joined | 23:20 |
| ← dreiss left | 23:21 |
| → MutSbeta joined | 23:21 |
| → jonmorehouse joined | 23:21 |
| ← jbrudvik left | 23:21 |
| ← Gamecubic left | 23:22 |
| → Gamecubic joined | 23:22 |
| ← mezod left | 23:22 |
| ← jenni_naiaretti left | 23:23 |
| ← thiago left | 23:26 |
| → rasto joined | 23:27 |
| → punchagan joined | 23:27 |
| → thiago joined | 23:27 |
| → jenni_naiaretti joined | 23:28 |
| ← brandonshowers left | 23:29 |
| ← ColKurtz left | 23:29 |
| ← hebz0rl left | 23:29 |
| → Marcus_ joined | 23:31 |
| → dreiss joined | 23:32 |
| ← thiago left | 23:34 |
| → bezet joined | 23:34 |
| → anomalyst joined | 23:35 |
| → weemsledeux joined | 23:36 |
| ← weemsledeux left | 23:36 |
| → weemsledeux joined | 23:36 |
| → solrize joined | 23:37 |
|
solrize
| i'm using git to track some text documents which means I'm refilling/reflowing paragraphs while editing, and the usual diff tools show whole-paragraph changes when I've really only changed a word or two. Is there some reasonable tool that just shows or highlights the changed words, like wiki editors typically do? | 23:38 |
| ← bezet left | 23:38 |
|
osse
| solrize: git diff --word-diff | 23:38 |
| → souther joined | 23:38 |
|
solrize
| oh nice | 23:38 |
|
| thanks | 23:39 |
|
osse
| but that might look weird if the reflow is "heavy" | 23:39 |
|
kadoban
| When I do HTML, I split my text so one line is a sentence (or sentence fragment for long ones). But can't really do that for most text formats... | 23:40 |
| → DoCooc joined | 23:40 |
| → brandonshowers joined | 23:41 |
| → WaReZ joined | 23:41 |
| ← nour_ left | 23:41 |
| ← Cheaterman1 left | 23:41 |
| → Radivarig joined | 23:42 |
| ← nettoweb left | 23:43 |
| → jontmorehouse joined | 23:44 |
|
cbreak
| grazfather: git doesn't have per-file history | 23:45 |
| → jimmyy joined | 23:45 |
| ← jimmyy left | 23:46 |
| ← jonmorehouse left | 23:47 |
| ← in_deep_thought left | 23:47 |
| ← DoCooc left | 23:47 |
| ← intellix left | 23:47 |
| ← kristofferR left | 23:48 |
|
maestrojed
| Does my git terminology sound right https://gist.githubusercontent.com/maestrojed/0b8f0255b1fe344bbecf/raw/29193e8c43f05269c5b83f162678062d58645e37/gistfile1.txt? A 3rd party dev is saying "I don't know why jed's team needs my git repo, they should just create their own from the files on the server". | 23:49 |
| ← metRo_ left | 23:49 |
|
maestrojed
| My biggest questions are around my sentences "All teams/contributors should work from the same repo with a shared (origin). If a shared, web accessible origin does not exist we will be glad to create and host it." | 23:49 |
|
| I know what I want to say just don't know how to say it . | 23:50 |
| → LLaurent joined | 23:50 |
| ← tyreld left | 23:52 |
| → Lyqyd joined | 23:52 |
| → simesy joined | 23:52 |
| → leeN joined | 23:52 |
| → ColKurtz joined | 23:53 |
| → jokajak joined | 23:55 |
| → diegoaguilar joined | 23:56 |
| ← Consuela left | 23:56 |
| ← simesy left | 23:56 |
| ← liamkeily1 left | 23:57 |
| ← punchagan left | 23:58 |
| ← jenni_naiaretti left | 23:59 |
| → Cheaterman1 joined | 23:59 |
| ← nfk left | 23:59 |
| → jenni_naiaretti joined | 23:59 |