| 2017-03-31 |
| ← de-facto left | 00:01 |
| → Gsham joined | 00:01 |
| → de-facto joined | 00:01 |
| ← gunnaro left | 00:01 |
| ← Fallen0223 left | 00:01 |
| → gunnaro joined | 00:01 |
| ← cyberz left | 00:04 |
| ← dreiss left | 00:05 |
| → cyberz joined | 00:06 |
| → matoro joined | 00:13 |
| → rk joined | 00:13 |
| ← druonysus left | 00:15 |
| ← orbyt_ left | 00:15 |
| ← gunnaro left | 00:16 |
| → gunnaro joined | 00:16 |
| ← gunnaro_ left | 00:18 |
| ← gunnaro left | 00:18 |
| → nevodka joined | 00:18 |
| → gunnaro joined | 00:18 |
| → rsripada joined | 00:18 |
| ← rsripada left | 00:18 |
| ← rk left | 00:18 |
| → rk joined | 00:19 |
| ← m0viefreak left | 00:21 |
| → mehola joined | 00:22 |
| → thebope joined | 00:24 |
| ← mattcen left | 00:26 |
| ← mehola left | 00:26 |
| ← netj left | 00:27 |
| → rnsanchez joined | 00:27 |
| ← Sasazuka_ left | 00:27 |
| → netj joined | 00:28 |
| → Sasazuka joined | 00:28 |
| ← thebope left | 00:28 |
| ← ispn left | 00:29 |
| ← steeze left | 00:32 |
| → chipotle_ joined | 00:33 |
| → mattcen joined | 00:33 |
| → bocaneri joined | 00:35 |
| ← chipotle left | 00:36 |
| ← drodger left | 00:36 |
| ← cyberz left | 00:38 |
| ← Guest80652 left | 00:38 |
| ← al-damiri left | 00:38 |
| ← j08nY left | 00:40 |
| → cyberz joined | 00:40 |
| → ToBeCloud joined | 00:40 |
| gitinfo set mode: +v | 00:41 |
| ← gunnaro left | 00:41 |
|
b0nn
| cjohnson: yes, different branch, but I had checked the different branch out and there's nothing to pull | 00:41 |
| ToBeCloud → Guest93315 | 00:41 |
|
b0nn
| apologies for the delay in responding, got dragged into a meeting :( | 00:41 |
| → Nicmavr joined | 00:41 |
| → drodger joined | 00:41 |
| → gunnaro joined | 00:41 |
| Nicmavr → Guest37211 | 00:42 |
| ← Guest93315 left | 00:44 |
| ← ToBeFree left | 00:44 |
| → ToBeFree joined | 00:44 |
| gitinfo set mode: +v | 00:44 |
| ← wizardedit left | 00:45 |
| ← AstralStorm left | 00:46 |
| ← holodoc left | 00:47 |
| ← gunnaro left | 00:48 |
| → SoulOfTheInterne joined | 00:49 |
| → holodoc joined | 00:49 |
| → AstralStorm joined | 00:51 |
| ← nitric left | 00:51 |
| ← dsdeiz left | 00:51 |
| → Rodya_ joined | 00:52 |
| ← Cabanossi left | 00:54 |
| → rchavik joined | 00:54 |
| → Cabanossi joined | 00:56 |
| ← pickfire left | 00:56 |
| ← Rodya_ left | 00:59 |
| ← cheesegits left | 00:59 |
| ← netj left | 01:00 |
| → chigang joined | 01:00 |
| ← pinkkis left | 01:00 |
| → netj joined | 01:00 |
| → steeze joined | 01:00 |
| → dan_ joined | 01:01 |
| ← danboid left | 01:01 |
| → roelmonnens joined | 01:01 |
| dan_ → Guest31725 | 01:01 |
|
b0nn
| cjohnson: Ignore all that, I've fixed it :) | 01:03 |
| → durham_ joined | 01:03 |
| ← durham_ left | 01:03 |
| → durham_ joined | 01:04 |
| → cheesegits joined | 01:04 |
| → jimi_ joined | 01:04 |
| → ronin_work joined | 01:05 |
| → orbyt_ joined | 01:05 |
| ← durham left | 01:05 |
| → Sasazuka_ joined | 01:06 |
| ← roelmonnens left | 01:06 |
| ← zerocua left | 01:07 |
| → theiostream joined | 01:08 |
| ← durham_ left | 01:08 |
| ← Sasazuka left | 01:09 |
| → zerocua joined | 01:10 |
| → nd- joined | 01:12 |
| → webdev007 joined | 01:13 |
| ← nd left | 01:15 |
| → dsdeiz joined | 01:15 |
| ← holodoc left | 01:17 |
| → holodoc joined | 01:17 |
| → thebope joined | 01:18 |
| ← jimklo left | 01:21 |
| ← tyreld left | 01:22 |
| ← thebope left | 01:22 |
| ← Silenced_v2 left | 01:23 |
| → jtoy joined | 01:24 |
| → gunnaro joined | 01:24 |
| ← shgysk8zer0 left | 01:25 |
| → Wulf4 joined | 01:25 |
| ← Wulf4 left | 01:25 |
| → Wulf4 joined | 01:25 |
| → fstd_ joined | 01:28 |
| ← fstd left | 01:28 |
| ← pedahzur left | 01:28 |
| fstd_ → fstd | 01:28 |
| → finalbeta joined | 01:29 |
| ← Wulf left | 01:29 |
| Wulf4 → Wulf | 01:29 |
| → kyan joined | 01:32 |
| → dan__ joined | 01:33 |
| ← Guest31725 left | 01:34 |
| ← Sasazuka_ left | 01:35 |
| ← davidfetter_ge left | 01:35 |
| → ozmage joined | 01:36 |
| → Grievre joined | 01:36 |
|
Grievre
| Is there a shorter way to accomplish the same thing as this: https://hastebin.com/raw/cesazaluyi | 01:36 |
|
| I usually just do rebase -i but this sequence of commands I've found to be less prone to giving up due to changes in the master branch | 01:37 |
| ← ronin_work left | 01:38 |
| ← lavalamp left | 01:40 |
| ← mikecmpbll left | 01:41 |
| ← sunri5e left | 01:42 |
| → sunri5e joined | 01:43 |
| ← ilbot3 left | 01:45 |
| → ilbot3 joined | 01:48 |
| ← jtoy left | 01:48 |
| ← dsdeiz left | 01:49 |
| ← faLUCE left | 01:52 |
| → dsdeiz joined | 01:52 |
| ← dsdeiz left | 01:52 |
| → dsdeiz joined | 01:52 |
| → faLUCE joined | 01:52 |
| ← shgysk8zer0_ left | 01:54 |
|
thiago
| Grievre: I can't think of a shorter way. | 01:54 |
|
| Grievre: but I wouldn't use squash merges at all | 01:54 |
| → durham joined | 01:54 |
| polyzen → nacho | 01:54 |
| → lavalamp joined | 01:55 |
| → Rodya_ joined | 01:55 |
| ← svm_invictvs left | 01:57 |
| ← dan__ left | 01:57 |
| ← d^sh left | 01:58 |
| → maroloccio joined | 01:58 |
| ← dsdeiz left | 01:59 |
| → d^sh joined | 01:59 |
| → danboid joined | 01:59 |
| ← Rodya_ left | 02:00 |
| ← dermoth left | 02:00 |
| → dermoth joined | 02:00 |
| ← raspado left | 02:01 |
| ← nowhere_man left | 02:02 |
| ← cyberz left | 02:03 |
| → dreiss joined | 02:03 |
| ← matoro left | 02:06 |
| ← jokajak left | 02:06 |
| → cyberz joined | 02:06 |
| → juvenal joined | 02:07 |
| → jeffreylevesque joined | 02:08 |
| ← holodoc left | 02:10 |
| ← Cabanossi left | 02:10 |
| → jameser joined | 02:11 |
| → Cabanossi joined | 02:11 |
| → thebope joined | 02:12 |
| → holodoc joined | 02:12 |
| ← thebope left | 02:12 |
| → thebope joined | 02:12 |
| → pionen joined | 02:13 |
| ← cyberz left | 02:15 |
| → cyberz joined | 02:17 |
| ← hexagoxel left | 02:19 |
| ← King_Hual left | 02:19 |
| → lagothrix joined | 02:19 |
| → King_Hual joined | 02:19 |
| ← King_Hual left | 02:19 |
| → King_Hual joined | 02:19 |
| ← danboid left | 02:19 |
| → danboid joined | 02:19 |
| ← Atm0sphe1 left | 02:20 |
| ← luke_nukem left | 02:20 |
| → matoro joined | 02:20 |
| ← durham left | 02:20 |
| → Atm0spher1c joined | 02:20 |
| ← thebope left | 02:20 |
| → hashtagstrashtag joined | 02:21 |
| → shgysk8zer0_ joined | 02:22 |
| ← lagothri1 left | 02:22 |
| → dtbn joined | 02:22 |
| → mehola joined | 02:22 |
| → peeps[lappy] joined | 02:23 |
| ← gunnaro left | 02:23 |
| → hexagoxel joined | 02:25 |
| → Chinggis6 joined | 02:25 |
| ← Gsham left | 02:26 |
| ← holodoc left | 02:26 |
| ← dtbn left | 02:26 |
| ← jimi_ left | 02:26 |
| → Rodya_ joined | 02:26 |
| ← mehola left | 02:26 |
| → holodoc joined | 02:28 |
| ← kbs left | 02:29 |
| → kbs joined | 02:29 |
| ← ozmage left | 02:30 |
| ← bitmod_ left | 02:30 |
| ← cyberz left | 02:32 |
| ← holodoc left | 02:33 |
| ← Jan2 left | 02:33 |
| → cyberz joined | 02:34 |
| ← regedit left | 02:34 |
| → ronin_work joined | 02:35 |
| → holodoc joined | 02:35 |
| → dsdeiz joined | 02:37 |
| → dtbn joined | 02:38 |
| ← Nugget left | 02:39 |
| ← juvenal left | 02:39 |
| → CmndrSp0ck joined | 02:39 |
| → Emperor_Earth joined | 02:39 |
| ← cyberz left | 02:40 |
| → cyberz joined | 02:42 |
| ← dtbn left | 02:42 |
| ← howdoi left | 02:43 |
| ← lb1c left | 02:44 |
| ← dsdeiz left | 02:44 |
| → lb1c joined | 02:44 |
| → dtbn joined | 02:47 |
| ← Gustavo6046 left | 02:50 |
| ← matoro left | 02:50 |
| ← ToBeFree left | 02:51 |
| ← dtbn left | 02:52 |
| → Vortex34 joined | 02:54 |
| ← HoierM left | 02:56 |
| ← Vortex35 left | 02:57 |
| → snowkidind joined | 02:58 |
| ← ojdo left | 02:59 |
| ← chachasmooth left | 02:59 |
| ← Rodya_ left | 03:01 |
| ← dreiss left | 03:01 |
| ← rchavik left | 03:02 |
| ← holodoc left | 03:03 |
| ← de-facto left | 03:03 |
| ← Noldorin left | 03:03 |
| ← chardan left | 03:04 |
| → chachasmooth joined | 03:04 |
| ← raynold left | 03:04 |
| ← cyberz left | 03:04 |
| ← alexandre9099 left | 03:05 |
| → de-facto joined | 03:05 |
| ← kaldoran left | 03:06 |
| → ojdo joined | 03:06 |
| → alexandre9099 joined | 03:06 |
| ← sim590 left | 03:06 |
| → cyberz joined | 03:06 |
| → holodoc joined | 03:08 |
| → sim590 joined | 03:08 |
| ← hvxgr left | 03:08 |
| → kaldoran joined | 03:09 |
| ← ronin_work left | 03:09 |
| → ozmage joined | 03:10 |
| ← s2013 left | 03:10 |
| → gunnaro joined | 03:11 |
| ← maroloccio left | 03:14 |
| ← cyberz left | 03:14 |
| → cqi joined | 03:14 |
| ← marianina8 left | 03:14 |
| → rchavik joined | 03:15 |
| ← webdev007 left | 03:15 |
| → matoro joined | 03:15 |
| ← holodoc left | 03:15 |
| → cyberz joined | 03:15 |
| ← shgysk8zer0_ left | 03:16 |
| → holodoc joined | 03:17 |
| → jokajak joined | 03:19 |
| → Andrew_K joined | 03:19 |
| → svm_invictvs joined | 03:20 |
| → ayogi joined | 03:20 |
| ← sunri5e left | 03:20 |
| → aavrug joined | 03:21 |
| ← scoobert1on left | 03:21 |
| → scoobertron joined | 03:22 |
| ← aavrug left | 03:22 |
| → sunri5e joined | 03:22 |
| → aavrug joined | 03:22 |
| ← aavrug left | 03:23 |
| → aavrug joined | 03:23 |
| → TbobbyZ joined | 03:23 |
| → marianina8 joined | 03:24 |
| ← kbs left | 03:24 |
| → menip joined | 03:24 |
| ← ayogi left | 03:25 |
| ← svm_invictvs left | 03:26 |
| ← akkad left | 03:26 |
| ← snowkidind left | 03:26 |
| → ayogi joined | 03:27 |
| ← TbobbyZ left | 03:28 |
| → dreiss joined | 03:28 |
| ← marianina8 left | 03:28 |
| ← ozmage left | 03:29 |
| ← Garen left | 03:33 |
| → Eragon joined | 03:33 |
| → Garen joined | 03:33 |
| ← Eragon left | 03:34 |
| → Eragon joined | 03:34 |
| ← aidalgol left | 03:34 |
| ← Eragon left | 03:34 |
| → Eragon joined | 03:34 |
| ← chipotle_ left | 03:35 |
| → akkad joined | 03:36 |
| ← matoro left | 03:37 |
| → matoro joined | 03:39 |
| → dnukem joined | 03:39 |
| → Joufflu joined | 03:40 |
|
Joufflu
| noob here...question how do I replace my local files with those in my git repository ? I tried "git pull" but that didn't work | 03:40 |
| ← drodger left | 03:41 |
|
Joufflu
| i also found "git stash" but not 100% what it will actually do and reading the documentation isn't helping me | 03:41 |
| → hvxgr joined | 03:42 |
| → drodger joined | 03:42 |
|
kadoban
| Joufflu: Your local files typically are in a git repository, so it's unclear what you mean. | 03:43 |
|
Joufflu
| i've made changes in my editor and have not done a git push origin master | 03:44 |
|
| so my files in my repo have not changed | 03:45 |
| → maroloccio joined | 03:45 |
|
Joufflu
| i want those files in my repo replace my current local files | 03:45 |
|
| i'm working with a local ruby rails server (on vagrant) and usually i play around with the code as I make changes to my site but right now I did something and for some reason I can't get rid of this error | 03:46 |
|
| so I just want to revert back to what is currently in my repo | 03:46 |
| ← Joufflu left | 03:48 |
| → deepwater joined | 03:48 |
| ← robattila256 left | 03:49 |
| → dsdeiz joined | 03:49 |
| → sbulage joined | 03:49 |
| ← cyberz left | 03:50 |
| → sz0 joined | 03:50 |
| → cyberz joined | 03:51 |
| ← Cabanossi left | 03:53 |
| ← orbyt_ left | 03:54 |
| → ISmithers joined | 03:54 |
| → mizu_no_oto joined | 03:54 |
| ← sbulage left | 03:55 |
| ← ISmithers left | 03:55 |
| → Cabanossi joined | 03:56 |
| → snowalpaca joined | 03:57 |
| → Nugget joined | 03:57 |
| → mehola joined | 03:58 |
| ← cyberz left | 03:58 |
| → cyberz joined | 04:00 |
| ← ayogi left | 04:01 |
| → raspado joined | 04:01 |
| → Rodya_ joined | 04:02 |
| ← mizu_no_oto left | 04:04 |
| → xall joined | 04:06 |
| ← raspado left | 04:06 |
| → a_thakur joined | 04:07 |
| → ronin_work joined | 04:07 |
| ← a_thakur left | 04:07 |
| → a_thakur joined | 04:07 |
| ← Rodya_ left | 04:08 |
| ← cyberz left | 04:15 |
| → Goplat joined | 04:17 |
| ← kadoban left | 04:21 |
| → cyberz joined | 04:22 |
| → robotroll joined | 04:24 |
| → MutantMahesh joined | 04:24 |
| ← bdonnahue left | 04:27 |
| → kbeflo joined | 04:27 |
| → miczac joined | 04:27 |
| gitinfo set mode: +v | 04:28 |
| ← cyberz left | 04:30 |
| → cyberz joined | 04:32 |
| → reznord joined | 04:34 |
| ← King_Hual left | 04:34 |
| → ayogi joined | 04:35 |
| ← Eryn_1983_FL left | 04:35 |
| → sbulage joined | 04:36 |
| ← cyberz left | 04:37 |
| → cyberz joined | 04:37 |
| ← cheesegits left | 04:39 |
| ← ronin_work left | 04:40 |
| ← MutantMahesh left | 04:45 |
| ← cyberz left | 04:46 |
| → nckpz joined | 04:48 |
| → cyberz joined | 04:49 |
| → Eryn_1983_FL joined | 04:49 |
|
saul
| is there a way to limit permissions on part of the repository so i can prevent users from gaining access to the entire source | 04:53 |
|
| i'm operating in a high-risk environment in terms of people taking code out of the company | 04:54 |
| ← storrgie left | 04:54 |
| ← enckse left | 04:54 |
|
_ikke_
| No | 04:55 |
|
| Not when you want people to be able to clone the repository | 04:55 |
|
saul
| yeah didnt think so ;/ | 04:55 |
| → robattila256 joined | 04:56 |
|
saul
| i wonder how proprietary software shops handle this | 04:56 |
|
| i doubt a windows operating system developer can clone and get the complete source for windows :D | 04:56 |
| → svm_invictvs joined | 04:56 |
| ← cyberz left | 04:57 |
|
reznord
| saul: well, that is the reason they have private repositories :P | 04:57 |
| → enckse joined | 04:58 |
| → cyberz joined | 04:58 |
|
saul
| reznord: i'm not sure what you mean by private ... our repo requires a password, it's not a free public github repo for example | 04:58 |
|
| but the password lets you clone it all :D | 04:59 |
| → storrgie joined | 04:59 |
|
saul
| i'm imagining something similar to file permissions in unix | 04:59 |
|
| and having ownership of files or directories per git user | 04:59 |
|
| another idea i had was, for example if you're working on something that uses MVC architecture, the Model and Controller code are on a server, and the guy working on views can edit files and upload them and test | 05:00 |
|
| but only the view file he's working on, or something | 05:00 |
|
| now i'm just rambling, sorry :) | 05:00 |
| → rscata joined | 05:00 |
| → dtbn joined | 05:02 |
| ← steeze left | 05:02 |
| ← Doginal left | 05:03 |
| → Wulf4 joined | 05:03 |
|
_ikke_
| saul: I suppose they are not working with one big repository | 05:04 |
|
| But divided it up into multiple projects | 05:04 |
| → Rodya_ joined | 05:04 |
|
saul
| _ikke_: that was another thing i was considering | 05:05 |
| → dec0n joined | 05:05 |
|
saul
| (just doing multiple repos) | 05:06 |
| ← Wulf left | 05:06 |
| Wulf4 → Wulf | 05:06 |
| ← dtbn left | 05:07 |
| ← Eryn_1983_FL left | 05:09 |
| ← Rodya_ left | 05:09 |
| ← holodoc left | 05:11 |
| ← dsdeiz left | 05:11 |
| → holodoc joined | 05:13 |
| → karols146 joined | 05:14 |
| ← sbulage left | 05:14 |
| → MutantMahesh joined | 05:14 |
| → dsdeiz joined | 05:14 |
| ← oleo left | 05:15 |
| ← dec0n left | 05:15 |
| → dec0n joined | 05:15 |
| → dtbn joined | 05:18 |
| → ogny joined | 05:20 |
| → Eryn_1983_FL joined | 05:22 |
| → aidalgol joined | 05:22 |
| ← dtbn left | 05:23 |
| ← holodoc left | 05:23 |
| → holodoc joined | 05:24 |
| ← karols146 left | 05:24 |
| → TbobbyZ joined | 05:26 |
| → Brski joined | 05:26 |
| → spb joined | 05:30 |
| ← TikityTik left | 05:30 |
| ← Eryn_1983_FL left | 05:30 |
| ← TbobbyZ left | 05:31 |
| → dtbn joined | 05:33 |
| → overlord_tm joined | 05:37 |
| ← dtbn left | 05:38 |
| → Raging_Hog joined | 05:39 |
| → chardan joined | 05:39 |
| ← oskarkv left | 05:40 |
| ← nckpz left | 05:40 |
| ← theiostream left | 05:41 |
| ← cqi left | 05:43 |
| ← Chinggis6 left | 05:44 |
| → ronin_work joined | 05:44 |
| ← dave0x6d left | 05:45 |
| → dendazen joined | 05:45 |
| → dtbn joined | 05:49 |
| ← lavalamp left | 05:49 |
| ← dreiss left | 05:49 |
| → lordjancso joined | 05:50 |
| → Eryn_1983_FL joined | 05:52 |
| → Paixo joined | 05:53 |
| ← dtbn left | 05:53 |
| ← mda1 left | 05:53 |
| → mda1 joined | 05:54 |
| ← AstralStorm left | 05:55 |
| ← Paixo left | 05:55 |
| ← diogenese left | 05:56 |
| ← safe left | 05:56 |
| ← dendazen left | 05:59 |
| → Paixo joined | 06:00 |
| ← Paixo left | 06:00 |
| → diogenese joined | 06:01 |
| → AstralStorm joined | 06:01 |
| → Paixo joined | 06:03 |
| ← pionen left | 06:03 |
| ← Paixo left | 06:03 |
| bocaneri → Bock | 06:04 |
| Bock → Boc | 06:04 |
| → Rodya_ joined | 06:05 |
| ← chardan left | 06:05 |
|
visual
| morning fellow gits | 06:06 |
| ← miczac left | 06:08 |
| ← Rodya_ left | 06:09 |
| → dtbn joined | 06:10 |
| → imack joined | 06:11 |
| ← xanadu_ left | 06:11 |
| → Paixo joined | 06:12 |
| ← Paixo left | 06:12 |
| ← dnukem left | 06:13 |
| → mar77i joined | 06:13 |
| → inflames joined | 06:14 |
| ← a_thakur left | 06:14 |
| ← dtbn left | 06:15 |
| → Paixo joined | 06:15 |
| ← Paixo left | 06:15 |
| → luke_nukem joined | 06:16 |
| → Paixo joined | 06:16 |
| ← Paixo left | 06:16 |
| → Paixo joined | 06:17 |
| ← Paixo left | 06:17 |
| → Paixo joined | 06:17 |
| ← Paixo left | 06:17 |
| → Paixo joined | 06:18 |
| ← Paixo left | 06:18 |
| → roelmonnens joined | 06:19 |
| → Silmarilion joined | 06:19 |
| ← dsdeiz left | 06:20 |
| → dsdeiz joined | 06:20 |
| ← roelmonnens left | 06:20 |
| → roelmonnens joined | 06:20 |
| ← alcohol left | 06:22 |
| → zeroed joined | 06:22 |
| → alcohol joined | 06:23 |
| → jnavila joined | 06:23 |
| → chele joined | 06:24 |
| ← CmndrSp0ck left | 06:25 |
| → aruns joined | 06:27 |
| ← faLUCE left | 06:28 |
| → MineCoins joined | 06:28 |
| → faLUCE joined | 06:28 |
| → Taikibansei joined | 06:29 |
| ← Taikibansei left | 06:30 |
| → dtbn joined | 06:31 |
| ← Ratler_ left | 06:32 |
| ← faLUCE left | 06:32 |
| → faLUCE joined | 06:33 |
| ← rvgate left | 06:34 |
| ← metachr0n left | 06:34 |
| ← drodger left | 06:34 |
| → metachr0n joined | 06:35 |
| → Ratler joined | 06:36 |
| ← dtbn left | 06:36 |
| ← faLUCE left | 06:38 |
| → dreiss joined | 06:38 |
| ← menip left | 06:38 |
| ← dvaske_ left | 06:39 |
| → faLUCE joined | 06:40 |
| → JeroenT joined | 06:40 |
| ← Cabanossi left | 06:40 |
| → drodger joined | 06:40 |
| ← mehola left | 06:40 |
| → Cabanossi joined | 06:41 |
| → mehola joined | 06:41 |
| ← mt left | 06:41 |
| → jtoy joined | 06:45 |
| ← mehola left | 06:45 |
| → roelmonn_ joined | 06:45 |
| ← PaulCape_ left | 06:46 |
| ← mar77i left | 06:47 |
| → dtbn joined | 06:47 |
| → mar77i joined | 06:47 |
| → eroux joined | 06:48 |
| ← roelmonnens left | 06:48 |
| → jagob joined | 06:49 |
| ← jtoy left | 06:49 |
| → PaulCapestany joined | 06:49 |
| ← holodoc left | 06:50 |
| → mehola joined | 06:50 |
| → a_thakur joined | 06:50 |
| ← a_thakur left | 06:51 |
| → holodoc joined | 06:51 |
| → a_thakur joined | 06:51 |
| ← dtbn left | 06:51 |
| ← danboid left | 06:53 |
| ← thiago left | 06:53 |
| → danboid joined | 06:53 |
| → vrach joined | 06:54 |
| → ShapeShifter499 joined | 06:56 |
| → manuelschneid3r joined | 07:01 |
| → cqi joined | 07:02 |
| → dtbn joined | 07:03 |
| → zulutango joined | 07:03 |
| ← danboid left | 07:03 |
| → kegster joined | 07:06 |
| ← Vortex34 left | 07:06 |
| → pinkkis joined | 07:07 |
| → rokups joined | 07:07 |
| → netroxen joined | 07:07 |
| → chipotle joined | 07:07 |
| ← dtbn left | 07:08 |
| ← JeroenT left | 07:08 |
| → JeroenT joined | 07:08 |
| ← Cabanossi left | 07:09 |
| → chardan joined | 07:10 |
| → Cabanossi joined | 07:11 |
| ← dreiss left | 07:11 |
| reznord → Anupkumar | 07:12 |
| Anupkumar → reznord | 07:12 |
| ← matoro left | 07:13 |
| ← a_thakur left | 07:14 |
| → matoro joined | 07:14 |
| → MutantMa_ joined | 07:15 |
| → elect_ joined | 07:16 |
| ← cyberz left | 07:19 |
| ← MutantMahesh left | 07:19 |
| ← Calinou left | 07:19 |
| → cyberz joined | 07:20 |
| → sea-gull joined | 07:20 |
| → gtristan joined | 07:21 |
| → Calinou joined | 07:24 |
| → amrits joined | 07:24 |
| ← sz0 left | 07:24 |
| → sotoz joined | 07:25 |
| → alesan joined | 07:25 |
|
alesan
| hello | 07:25 |
| ← Andrew_K left | 07:25 |
|
alesan
| when in a git log I see one commit with message like "Merge branch 'develop' of https://......... into develop" | 07:26 |
|
| (develop is a branch in this git) | 07:26 |
| → weualo joined | 07:26 |
|
alesan
| is that specific commit, with hash 6a5bf35317390c62191b7382bc1d65e3a5f353d8, just a place holder of some sorts? If I do a git show it does not show anything | 07:27 |
|
| git show 6a5bf35317390c62191b7382bc1d65e3a5f353d8 I mean | 07:27 |
|
jast
| it's a merge commit | 07:27 |
|
| basically it tells Git that two independent lines of development have been joined (git log -g to see the structure) | 07:27 |
|
| sorry, that's git log --graph | 07:27 |
|
alesan
| so where would I see the changes? | 07:28 |
|
| oh let me try that | 07:28 |
| → TbobbyZ joined | 07:28 |
| → schleppel joined | 07:28 |
|
jast
| well, merges have not just one, but two parents, so *by default* the changes aren't shown since Git doesn't know which parent you want to compare to | 07:28 |
| ← madewokherd left | 07:28 |
|
jast
| you can use '-m' to have the commit listed multiple times: once for each parent, with a diff relative to that parent | 07:28 |
|
alesan
| I am not sure I'm still following you... let me make it simpler | 07:29 |
|
| the commit *before* this special merge commit is ...5f7295 | 07:29 |
| ← imack left | 07:29 |
| ← Nilesh_ left | 07:30 |
|
jast
| chronologically, perhaps.. but think of it as a structure | 07:30 |
| → imack joined | 07:30 |
|
jast
| each normal commit has a "parent commit" (the commit that preceded it) | 07:30 |
|
alesan
| yes | 07:30 |
|
jast
| with a merge commit, there are *two* parent. one is probably that commit you mentioned (5f7295), the other is from the other side of the merge | 07:30 |
| Boc → Bock | 07:31 |
|
alesan
| OK | 07:31 |
|
jast
| with --graph you get lines showing this: directly below the merge commit, it splits up into two lines | 07:31 |
|
alesan
| problem is, this "merge" commit introduces a behavior that I need to modify | 07:31 |
| → flaviodesousa joined | 07:31 |
|
alesan
| and I cannot find out what files have been touched | 07:31 |
|
jast
| as I said, try the -m flag on 'git show', and look at the first diff | 07:32 |
|
alesan
| basically there is a bug, and I cannot find out what files I need to investigate | 07:32 |
|
| OK | 07:32 |
|
| git show on the merge commit obviously | 07:32 |
|
jast
| or you can do it more explicitly: git diff 6a5bf35^ 6a5bf35 | 07:32 |
| → navidr joined | 07:32 |
|
jast
| "compare first parent of the commit to commit" | 07:32 |
| ← cyberz left | 07:32 |
|
jast
| yep | 07:32 |
|
alesan
| I see OK let me have a look | 07:32 |
|
| ...to understand why -m is not the default ;) | 07:32 |
| ← TbobbyZ left | 07:33 |
|
jast
| because it shows the commit multiple times... and *usually* the merge doesn't give you any useful information because the changes are also listed in the second line going downwards from that merge | 07:33 |
|
| this is a little more verbose, but here's how to see the commits that got merged in: | 07:34 |
|
| git log -p 6a5bf35^..6a5bf35^2 | 07:34 |
|
| that gives you not a single diff with everything mashed together but the individual commits that got merged in | 07:35 |
| → cyberz joined | 07:35 |
|
jast
| *usually* they're equivalent to the first diff from the merge, unless someone did the merge poorly and screwed something up :) | 07:35 |
|
alesan
| ok but this means that | 07:38 |
|
| ... | 07:38 |
| → borkr joined | 07:38 |
|
alesan
| wait :) | 07:38 |
| ← Cabanossi left | 07:39 |
| ← Eragon left | 07:39 |
|
alesan
| because the changes are also listed in the second line going downwards from that merge | 07:40 |
|
| can you explain that part again? | 07:40 |
|
| should I look "down" on the git log? to have a list of individual commits? | 07:41 |
| → karols146 joined | 07:41 |
| → Cabanossi joined | 07:41 |
| → theoceaniscool joined | 07:41 |
| ← cyberz left | 07:42 |
| → dtbn joined | 07:42 |
| → sz0 joined | 07:44 |
| → cyberz joined | 07:44 |
| ← kyan left | 07:45 |
| → basiclaser joined | 07:46 |
| → crs joined | 07:48 |
|
crs
| Hey, I am trying to add shell script as an alias - what shell is aliased script executed in? The one that git was evoked from or some default one? | 07:49 |
|
grawity
| I think Git just calls system(), which then uses /bin/sh | 07:49 |
| → Tobbi joined | 07:50 |
|
crs
| ok, thanks. | 07:51 |
| → wouter0100 joined | 07:52 |
| ← karols146 left | 07:52 |
| ← dsdeiz left | 07:52 |
| ← wouter0100 left | 07:52 |
| ← inflames left | 07:53 |
| ← mar77i left | 07:53 |
|
grawity
| hmm, it uses something custom, but still just sh -c <arg> | 07:53 |
| → Levex joined | 07:54 |
| ← exotime left | 07:55 |
| ← alexandre9099 left | 07:55 |
| ← de-facto left | 07:55 |
| ← theoceaniscool left | 07:55 |
| → wouter0100 joined | 07:55 |
| → de-facto joined | 07:56 |
| → alexandre9099 joined | 07:56 |
|
crs
| So, /usr/local/bin/zsh -c 'f() { echo 'test' }; f' works in terminal, but test = !/usr/local/bin/zsh -c 'f() { echo 'test' }; f' and then git test gives /usr/local/bin/zsh -c 'f() { echo 'test' }: -c: line 0: unexpected EOF while looking for matching `'' | 07:56 |
| → exotime joined | 07:56 |
| → JeroenT_ joined | 07:56 |
|
grawity
| your quoting is a bit weird there | 07:56 |
|
crs
| not sure if I can simply replace !sh with that path… | 07:56 |
|
grawity
| and overall I'd suggest calling a full shellscript instead | 07:57 |
|
crs
| Ah, had to put it all in "". | 07:57 |
|
grawity
| (if you name the script git-<something>, you don't even to define an alias for it!) | 07:57 |
|
crs
| grawity: As in, outide of git? Have it at the moments, but would really like that to be part of git * family. :) | 07:57 |
| → kurkale6ka joined | 07:57 |
|
grawity
| yeah, plenty of third-party tools do that | 07:58 |
| ← tmg left | 07:58 |
|
crs
| grawity: Ah, did do that too, but then it wouldn't appear in zsh tab completion… | 07:58 |
|
grawity
| that's a problem with zsh's tab completion then | 07:58 |
| → raynold joined | 07:58 |
|
grawity
| I did `git help -a` and it shows me a whole section with my custom subcommands | 07:59 |
|
crs
| ok, let me try again then. | 07:59 |
| ← hurricanehrndz left | 08:00 |
| ← JeroenT left | 08:00 |
| → D4R5C0D3 joined | 08:01 |
| → karols146 joined | 08:02 |
|
crs
| OK, so I can see it in 'git commands available from elsewhere on your $PATH' section of git help -a, but still not in tab completion. | 08:02 |
| → raspado joined | 08:03 |
| → hurricanehrndz joined | 08:04 |
| ← roelmonn_ left | 08:04 |
| ← faLUCE left | 08:05 |
| ← dtbn left | 08:05 |
| → roelmonnens joined | 08:05 |
| → sgo11 joined | 08:05 |
| → faLUCE joined | 08:05 |
| → Andrew_K joined | 08:06 |
| → Rodya_ joined | 08:07 |
|
sgo11
| Hi, I have an unreliable network and it always interrupts the connection. My package installer in linux will involve git clone and since it's cloning a big repo and it always failed with the error "error: RPC failed; curl 18 transfer closed with outstanding read data remaining". Is that possible to add some options in .gitconfig to overcome this issue? just tell git clone try again and again when connection interrupts occur. thanks a lot. | 08:07 |
| → theoceaniscool joined | 08:07 |
| ← raspado left | 08:08 |
| ← Cabanossi left | 08:08 |
| ← faLUCE left | 08:09 |
| → CaptainHeavy joined | 08:10 |
| → faLUCE joined | 08:11 |
| ← Rodya_ left | 08:11 |
| → Cabanossi joined | 08:11 |
| → kevinfagan joined | 08:12 |
| ← mkoskar left | 08:13 |
| → dvaske joined | 08:13 |
| → Tjark joined | 08:13 |
| ← faLUCE left | 08:15 |
| → faLUCE joined | 08:15 |
| → mkoskar joined | 08:16 |
| → dysfigured joined | 08:17 |
| → marcogmonteiro joined | 08:17 |
| ← stoopkid left | 08:17 |
|
sgo11
| the error: https://hastebin.com/ujavehitip.pas | 08:17 |
| ← dysfigured left | 08:18 |
| ← zeroed left | 08:18 |
| → dysfigured joined | 08:18 |
| ← faLUCE left | 08:19 |
| → xaa joined | 08:19 |
| → faLUCE joined | 08:20 |
| → RxMcDonald joined | 08:21 |
| → mar77i joined | 08:22 |
| ← _Vi left | 08:22 |
| → tvw joined | 08:23 |
| → Eragon joined | 08:23 |
| → sbulage joined | 08:24 |
| ← hashtagstrashtag left | 08:24 |
| → ispn joined | 08:25 |
| → dtbn joined | 08:27 |
| → a_thakur joined | 08:28 |
| ← nevodka left | 08:28 |
| ← a_thakur left | 08:29 |
| ← MineCoins left | 08:29 |
| → indistylo joined | 08:30 |
| ← finalbeta left | 08:30 |
| → zeroed joined | 08:30 |
| ← zeroed left | 08:30 |
| → zeroed joined | 08:30 |
| → finalbeta joined | 08:30 |
| → mikecmpbll joined | 08:32 |
| ← karols146 left | 08:33 |
| ← aruns left | 08:33 |
| ← crs left | 08:35 |
| → jgrasser joined | 08:36 |
| → MineCoins joined | 08:36 |
| ← holodoc left | 08:38 |
| ← RxMcDonald left | 08:39 |
| ← chele left | 08:39 |
| → a_thakur joined | 08:42 |
| ← mkoskar left | 08:43 |
| → mkoskar_ joined | 08:43 |
| mkoskar_ → mkoskar | 08:44 |
| → Vortex34 joined | 08:44 |
| → kinlo joined | 08:44 |
| ← dtbn left | 08:44 |
| → a_thakur_ joined | 08:45 |
| ← a_thakur left | 08:45 |
| → jtoy joined | 08:45 |
| → diget joined | 08:45 |
| → dtbn joined | 08:46 |
| → mischat joined | 08:47 |
| → chele joined | 08:47 |
| → dsdeiz joined | 08:48 |
| ← dsdeiz left | 08:48 |
| → dsdeiz joined | 08:48 |
| ← luke_nukem left | 08:48 |
| → Sound joined | 08:49 |
| Sound → Guest71312 | 08:49 |
| → jameser_ joined | 08:49 |
| ← chele left | 08:49 |
| → chele joined | 08:49 |
| ← jtoy left | 08:50 |
| ← cqi left | 08:51 |
| ← zerow left | 08:51 |
| ← jameser left | 08:51 |
| → pks joined | 08:51 |
| → bouncy joined | 08:52 |
| ← Guest71312 left | 08:53 |
| ← chele left | 08:53 |
| → chele joined | 08:53 |
| ← fragMental left | 08:53 |
| ← alesan left | 08:54 |
| ← theoceaniscool left | 08:56 |
| → redeemed joined | 08:56 |
| → holodoc joined | 08:58 |
| → karols146 joined | 08:59 |
| ← mar77i left | 08:59 |
| → theoceaniscool joined | 09:00 |
| ← sgo11 left | 09:01 |
| → sgo11 joined | 09:01 |
| → dhollin3 joined | 09:02 |
| ← dtbn left | 09:02 |
| → onehrxn joined | 09:02 |
| ← onehrxn left | 09:03 |
| → onehrxn joined | 09:04 |
| ← dhollinger left | 09:04 |
| ← onehrxn left | 09:05 |
| ← gtristan left | 09:05 |
| → fragMental joined | 09:06 |
| → lmatteis joined | 09:06 |
| ← Levex left | 09:07 |
| → dtbn joined | 09:07 |
| ← thinkpad left | 09:07 |
| → theiostream joined | 09:08 |
| ← Cabanossi left | 09:08 |
| → dersand joined | 09:10 |
| → thinkpad joined | 09:10 |
| → Cabanossi joined | 09:11 |
| → buzzLightBeer joined | 09:12 |
| ← theiostream left | 09:13 |
| ← a_thakur_ left | 09:13 |
| ← dtbn left | 09:14 |
| ← dsdeiz left | 09:17 |
| ← jagob left | 09:19 |
| → a_thakur joined | 09:20 |
| ← jokajak left | 09:21 |
| ← theoceaniscool left | 09:21 |
| ← mischat left | 09:21 |
| → gtristan joined | 09:22 |
| → theoceaniscool joined | 09:22 |
| → mischat joined | 09:22 |
| ← buzzLightBeer left | 09:22 |
| → clmsy joined | 09:25 |
| ← Gloomy left | 09:26 |
| ← JeroenT_ left | 09:27 |
| → JeroenT joined | 09:27 |
| → mar77i joined | 09:28 |
| ← sgo11 left | 09:29 |
| → sgo11 joined | 09:29 |
| ← Goplat left | 09:31 |
| → TbobbyZ joined | 09:31 |
| ← faLUCE left | 09:32 |
| → faLUCE joined | 09:33 |
| → dnukem joined | 09:34 |
| ← indistylo left | 09:35 |
| → mupadhye joined | 09:35 |
| ← TbobbyZ left | 09:36 |
| ← faLUCE left | 09:37 |
| ← overlord_tm left | 09:37 |
| → faLUCE joined | 09:38 |
| ← aidalgol left | 09:38 |
| → overlord_tm joined | 09:38 |
| → vuoto joined | 09:39 |
| ← marcogmonteiro left | 09:40 |
| ← dnukem left | 09:43 |
| ← sgo11 left | 09:43 |
| → marcogmonteiro joined | 09:44 |
| → dnukem joined | 09:44 |
| → sgo11 joined | 09:45 |
| ← sgo11 left | 09:45 |
| → sgo11 joined | 09:45 |
| ← svm_invictvs left | 09:46 |
| ← holodoc left | 09:46 |
| → holodoc joined | 09:47 |
| ← Raging_Hog left | 09:47 |
| ← mehola left | 09:49 |
| → mehola joined | 09:49 |
| ← maroloccio left | 09:49 |
| ← mehola left | 09:49 |
| → mehola joined | 09:50 |
| ← mehola left | 09:50 |
| → maroloccio joined | 09:51 |
| → mehola joined | 09:51 |
| ← mehola left | 09:51 |
| ← amrits left | 09:51 |
| → mehola joined | 09:51 |
| ← mehola left | 09:52 |
| → mehola joined | 09:52 |
| ← mehola left | 09:53 |
| → mehola joined | 09:53 |
| ← mehola left | 09:53 |
| → mehola joined | 09:54 |
| ← mehola left | 09:54 |
| → mehola joined | 09:55 |
| ← vuoto left | 09:55 |
| ← mehola left | 09:55 |
| ← jameser_ left | 09:56 |
| → jameser joined | 09:59 |
| ← imack left | 09:59 |
| ← rebrec left | 10:03 |
| → rebrec joined | 10:03 |
| → King_Hual joined | 10:04 |
| ← holodoc left | 10:08 |
| → Rodya_ joined | 10:08 |
| → xall_ joined | 10:09 |
| → holodoc joined | 10:09 |
| ← xall left | 10:09 |
| ← Cabanossi left | 10:09 |
| ← sarri left | 10:10 |
| → Raging_Hog joined | 10:10 |
| → Cabanossi joined | 10:11 |
| ← dnukem left | 10:11 |
| → imack joined | 10:11 |
| ← Rodya_ left | 10:13 |
|
Eryn_1983_FL
| uh guys what does this mean? and how do i fix it? | 10:14 |
|
| https://pastebin.com/xkzC5PUY | 10:15 |
| → Assault joined | 10:15 |
| → cdleonard joined | 10:15 |
| ← Eragon left | 10:15 |
| → marianina8 joined | 10:16 |
|
Renter
| it means you have a corrupt object | 10:16 |
|
| do you use intellij? | 10:16 |
|
jast
| it means your filesystem is corrupted, probably because of a system crash or power failure | 10:16 |
|
| at least that's the most likely scenario... not the only one, of course | 10:17 |
|
Eryn_1983_FL
| no.. | 10:17 |
|
| yeah power failures | 10:17 |
|
| how do i recover? | 10:17 |
|
Renter
| git fsck might work | 10:17 |
|
jast
| fsck will just confirm it | 10:17 |
|
Eryn_1983_FL
| i got another orgin repo | 10:17 |
|
Renter
| clean clone will fix it obv | 10:17 |
|
Eryn_1983_FL
| git clean clone? | 10:17 |
|
jast
| do you have any commits you haven't pushed yet? | 10:17 |
|
Eryn_1983_FL
| i dont think so i am good about that | 10:17 |
|
Renter
| rm -rf repo ; git clone <remote> | 10:18 |
|
Eryn_1983_FL
| unhuh | 10:18 |
|
| there not a nicer way | 10:18 |
|
jast
| if you do have stuff you want to keep, it might be possible to fix this without starting over | 10:18 |
|
grawity
| clone the remote *elsewhere* | 10:18 |
|
Renter
| You might have luck removing the object and git fetch | 10:18 |
|
jast
| first off you can remove the file it complains about, it's worthless anyway | 10:18 |
|
Eryn_1983_FL
| ok.. | 10:18 |
|
grawity
| then move its .git/objects/pack/* to the old repo's | 10:18 |
|
Renter
| yeah, like grawity said replace the corrupt object from a clean repo | 10:18 |
|
grawity
| then remove those two 0-sized files it complains about | 10:18 |
|
Renter
| or just all | 10:18 |
|
jast
| first steps I'd suggest before you try anything else: remove the corrupt file and 'git reset' | 10:19 |
|
grawity
| then run a `git fsck` just to make sure | 10:19 |
|
jast
| that might fix it | 10:19 |
| ← alexandre9099 left | 10:19 |
| ← Assault left | 10:19 |
|
jast
| if not you can always start with the more complicated things :) | 10:19 |
|
Renter
| personally I'd just wipe and get a clean one if the repo is not too big | 10:19 |
|
| but I'm used to IDEs, backups or others corrupting my repos | 10:20 |
|
jast
| I'm not :) | 10:20 |
| → sarri joined | 10:20 |
| ← sarri left | 10:20 |
| → sarri joined | 10:20 |
|
Eryn_1983_FL
| git reset | 10:20 |
|
| fatal: Could not parse object 'HEAD' | 10:20 |
|
jast
| okay, that's another thing you can probably fix. which branch did you have checked out? | 10:20 |
|
Eryn_1983_FL
| it found another corrup file | 10:20 |
| → Darcidride joined | 10:20 |
|
Eryn_1983_FL
| experimental branch | 10:21 |
|
jast
| it's called "experimental"? | 10:21 |
|
Eryn_1983_FL
| yes | 10:21 |
| ← marianina8 left | 10:21 |
|
jast
| does this work: git rev-parse experimental | 10:21 |
|
Eryn_1983_FL
| erin@terreis:~/puppet$git branch | 10:21 |
|
| develop | 10:21 |
|
| high_level_load_sensor | 10:21 |
|
| master | 10:21 |
|
| * support/experimental | 10:21 |
|
| D | 10:21 |
|
| working | 10:21 |
|
| git rev-parse support/experimental | 10:21 |
|
| 07746dd551ee6802ef2103863cc7cc906cc9fd80 | 10:21 |
|
jast
| okay, cool, just fix HEAD, then: echo "ref: refs/heads/support/experimental" >.git/HEAD | 10:22 |
| ← jnavila left | 10:22 |
|
jast
| obviously never do this if you don't have to :) | 10:22 |
|
Eryn_1983_FL
| ok sure | 10:22 |
|
jast
| then see if 'git reset' works after that | 10:22 |
|
Eryn_1983_FL
| nope same bad head message | 10:22 |
|
jast
| huh | 10:23 |
|
Eryn_1983_FL
| https://pastebin.com/KkP0E530 | 10:23 |
|
jast
| how about this one: git cat-file -t support/experimental | 10:24 |
|
Eryn_1983_FL
| $git cat-file -t support/experimental | 10:24 |
|
| fatal: git cat-file support/experimental: bad file | 10:24 |
| → kexmex joined | 10:24 |
|
jast
| okay, so the topmost commit on that branch is broken, too | 10:25 |
|
Eryn_1983_FL
| :( | 10:25 |
|
jast
| and in fact that's the object that got corrupted | 10:25 |
|
| can you recover the branch contents from elsewhere? | 10:25 |
|
Eryn_1983_FL
| yes my servers had batter backup | 10:25 |
|
| their intact ill just remake the dang repo :( | 10:25 |
|
jast
| because then you should be able to simply delete it, checkout another branch and go 'git branch -D support/experimental' | 10:26 |
|
| or you can see if that corrupt file is in one of your backups and copy it over | 10:26 |
| → ferr1 joined | 10:27 |
| → afuentes joined | 10:28 |
|
bejeb
| what is it with today and corrupt git projects? I just got "Could not get HEAD hash. libgit2 returned: corrupted loose reference file: refs/heads/feature/review" and git status says I'm on my very first commit from 2 years ago. Does anyone have any ideas? | 10:29 |
|
Eryn_1983_FL
| fixed i moved my repo to -old and recloned.. | 10:29 |
|
| Jast is awesome he would know :) | 10:30 |
| → acetakwas joined | 10:32 |
|
jast
| bejeb: solar flares? global magnetic interference? anyway, which branch are you supposed to be on, feature/review? | 10:33 |
|
bejeb
| jast: haha. I like your theory. I'm meant to be on feature/review | 10:34 |
|
jast
| what's that line in 'git status'? | 10:34 |
|
| actually never mind, I can imagine how this might have happened | 10:34 |
|
bejeb
| I shut down last night on feature/review. This morning I started up, loaded up tortoisegit and got that error. Ran git status and I get the message from my "initial commit" and every file is set "to be committed" | 10:35 |
| ← jameser left | 10:35 |
|
jast
| try 'git log -g feature/review'. if it shows things, the first entry is probably the "right" commit. | 10:36 |
|
bejeb
| actually strictly `git status` says "initial commit" | 10:36 |
|
jast
| ah, yeah, that's what happens when HEAD points to a branch that Git thinks doesn't exist yet | 10:36 |
|
| so suppose that command gave you a reasonable commit ID, then you can resurrect your branch (example commit ID abc123): git update-ref refs/heads/feature/review abc123 | 10:37 |
|
bejeb
| jast: ugh, see https://pastebin.com/raw/15YSy2kP | 10:38 |
| ← Cabanossi left | 10:38 |
|
bejeb
| `git reflog -n 10` gives "fatal: your current branch appears to be broken" | 10:39 |
|
jast
| okay, how about this: cat .git/logs/refs/heads/feature/review | 10:39 |
| ← ti2 left | 10:39 |
| ← zeroed left | 10:40 |
|
jast
| if that gives you something, the right commit ID is probably the second SHA1 in the last line (verify with 'git show' on that ID) | 10:40 |
| → zeroed joined | 10:40 |
| → ankit01ojha joined | 10:40 |
| → ti2 joined | 10:40 |
| → RxMcDonald joined | 10:40 |
| → Cabanossi joined | 10:41 |
|
RxMcDonald
| can you change the date of a commit in the past and not affect anything if it's not overlapping? | 10:41 |
|
canton7
| RxMcDonald, the only way you can change the date of a commit is be rewriting history, so yes, that's going to affect things | 10:41 |
|
RxMcDonald
| i.e. I made 200 commits on master so far and I want to change the data of the commit 123 | 10:41 |
|
jast
| RxMcDonald: "not affect anything" is a no-go...whenever you change a commit's metadata, all of the descendant commits (later commits in the branch) have to be changed, too | 10:41 |
|
canton7
| git doesn't really care about whether dates re ordered | 10:41 |
|
jast
| if you're the only person working on the project that's still kind of feasible (we have great tools to rewrite history), but think hard on whether you *really* need to do it :) | 10:42 |
|
RxMcDonald
| I actually made a commit on a Friday 2 months ago and I want to move it to a saturday but i kept working on the branch | 10:43 |
|
| and i don't want to lose the work I did after that or the commit history | 10:43 |
|
| there are no commits on saturday so it shouldnt be a problem | 10:43 |
|
bejeb
| jast: amazing, git show shows the right commit. So do I just do a git reset --hard onto that commit? | 10:43 |
| ← Atm0spher1c left | 10:44 |
|
jast
| bejeb: probably won't work since the branch ref is broken, but try that update-ref thing I mentioned and then a 'git reset --hard' (no commit ID needed for that one if the first step is done) | 10:44 |
|
bejeb
| ok | 10:44 |
| ← Tobbi left | 10:44 |
|
jast
| you can try a 'git reset --hard <commit>' if you like, it's not like anything can break :) | 10:45 |
| ← Raging_Hog left | 10:45 |
|
bejeb
| jast: `git update-ref refs/heads/feature/review 702059bd` failed with "fatal: update_ref failed for ref 'refs/heads/feature/review': cannot lock ref 'refs/heads/feature/review': unable to resolve reference 'refs/heads/feature/review': reference broken" | 10:45 |
|
| I am quite happy to trash that ref, if that's possible, and just checkout to another branch? | 10:46 |
| ← tvw left | 10:46 |
| → jtoy joined | 10:46 |
|
bejeb
| that branch isn't pushed to a remote yet | 10:46 |
|
jast
| okay, you can do it on filesystem level instead, but you're going to have to use the full commit ID in this case: echo 'full commit id' >.git/refs/heads/feature/review | 10:46 |
| → zerow joined | 10:46 |
| → juvenal joined | 10:47 |
|
jast
| well no matter which way you go, you probably don't want to have a broken ref forever, so might as well take care of it now :) | 10:47 |
| ← a_thakur left | 10:47 |
| → tmg joined | 10:48 |
| ← mar77i left | 10:48 |
| → dsdeiz joined | 10:48 |
| ← drodger left | 10:48 |
| → mar77i joined | 10:48 |
| → a_thakur joined | 10:49 |
| ← sotoz left | 10:50 |
| ← jtoy left | 10:50 |
| → sotoz joined | 10:51 |
|
bejeb
| jast: that worked, thank you. How do I buy you a libation of your choice? Interestingly I have actually lost one commit. | 10:51 |
|
sgo11
| My package installer in linux will involve git clone and since it's cloning a big repo and it always failed with the error "error: RPC failed; curl 18 transfer closed with outstanding read data remaining". Is that possible to add some options in .gitconfig to overcome this issue? the error: https://hastebin.com/ujavehitip.pas thank you very much. I tried to fix this error for two days without luck. | 10:52 |
| ← kbeflo left | 10:53 |
| → drodger joined | 10:54 |
| → theiostream joined | 10:54 |
| → tvw joined | 10:54 |
|
bejeb
| jast: that's odd. `git reflog -n 10` shows the same sha for the lost commit as for the one I've restored for the branch (which is the one that showed up in .git/logs/refs/heads/feature/review) | 10:54 |
| → dtbn joined | 10:55 |
|
bejeb
| https://pastebin.com/raw/R4Xc9FRb | 10:55 |
|
sgo11
| I even tried http postBuffer = 1600M. it doesn't help at all. | 10:55 |
|
| :q | 10:55 |
|
bremner
| sgo11: can you clone the repo outside of your package thingy? | 10:56 |
|
bejeb
| sgo11: could you git clone mirror first, then git clone with a reference and then remove the reference? | 10:56 |
| → eihabarabia joined | 10:56 |
|
sgo11
| bremner, no. it gave me the same error msg. | 10:57 |
|
bejeb
| sorry `git clone --mirror` | 10:57 |
|
bremner
| so maybe you need to discuss with the repo owner if their repo is unclonable. | 10:57 |
|
| what's the url? | 10:57 |
| ← mar77i left | 10:57 |
|
bejeb
| jast: haha, and because I did a git reset --hard without thinking, I lost the file changes from that missing commit - oops! | 10:58 |
|
sgo11
| bremner, https://github.com/Microsoft/vscode many people can git clone successfully. I don't know why I failed. maybe because of slow and unreliable network. I am not sure. when it's doing git clone, I does see the speed and progress and it just suddently stops. | 10:58 |
|
bremner
| yeah, cloning over crap networks is not really a strongpoint of git. | 10:59 |
|
sgo11
| bremner, the package I tried to install is https://aur.archlinux.org/packages/visual-studio-code-oss From the comments, I don't see anyone met the same error as me. | 11:00 |
|
bremner
| yes, clone is very fast here (as expected for github) | 11:00 |
|
sgo11
| bremner, so how can I overcome this issue please? this gives me headache. I didn't do anything except trying to fix this issue for two days. | 11:00 |
|
jast
| bejeb: you should now be able to view the reflog properly (git log -g feature/review) so if any commit in there is more up-to-date than what you have now, you can reset --hard to it | 11:00 |
| → jnavila joined | 11:00 |
|
sgo11
| bremner, can I add some options in git and curl config to fix it? thanks. | 11:01 |
|
bremner
| no idea | 11:01 |
| → LukasT joined | 11:01 |
|
bremner
| sgo11: do you have some other host with better network? you can run the clone there, and then transfer somehow | 11:01 |
|
| e.g. rsync a bundle. | 11:01 |
|
bejeb
| jast: you're right, I can view the reflog properly - that latest commit just isn't mentioned, despite being in `git reflog` output, albeit with the same sha as the commit before it (which I've restored) | 11:02 |
| → masuberu joined | 11:02 |
|
bejeb
| so commit c0b82ecc was what the branch is based on, and shows up in the reflog. 702059b is next (and what I've restored, and what was in the /ref/log/ file for the branch). ??????? was next, but shows up in git status with the sha 702059b | 11:03 |
|
| It's not a biggy I guess. It would be awesome not to have to do the work again, but I'll just crack on with that for now. | 11:03 |
|
| I'm wondering if it means that I have other problems though, and should re-clone the repo? | 11:04 |
| ← sz0 left | 11:04 |
|
sgo11
| bremner, I can try that way. I don't know if it will work in my package installer or not. I have to rsync to some tmp directory before the installer quits. not sure if the installer can use that directory or not. I can try that. | 11:04 |
|
bremner
| sgo11: yeah, your package installer is more an arch issue than a git issue | 11:04 |
|
jast
| bejeb: shows up in git status? where? and why does it matter? ;) | 11:05 |
|
bejeb
| sgo11: can you edit the package installer? If so could you first clone it (either locally or remotely and then transfer it) then tell your package installer to use your local repo directory as the remote? | 11:05 |
|
jast
| bejeb: generally I'd recommend running 'git fsck' to have Git look at everything, that way if there's a remaining issue it will find it | 11:05 |
| ← jnavila left | 11:05 |
|
sgo11
| bremner, right, but it's git issue first. it's git clone fails. git should take care of unreliable network.... my network is working and just unreliable. | 11:05 |
|
jast
| in the meantime, lunch break for me! | 11:06 |
|
bejeb
| jast: https://pastebin.com/raw/R4Xc9FRb HEAD@{2} is the ??????? commit, but it has the sha 702059bd12 | 11:06 |
| ← navidr left | 11:06 |
|
bremner
| sgo11: well, that's a problem that's not going to be fixed soon enough to help you with this specific problem | 11:06 |
|
bejeb
| thanks jast. I'll just reclone and redo that work. You're awesome | 11:06 |
|
sgo11
| bejeb, thanks for the advice. I don't know much about my package installer. still a newbie to archlinux. I will try that. | 11:06 |
|
bremner
| apparently not enough people with bad network want to work on restartable clone... | 11:07 |
|
jast
| bejeb: my guess is that commit simply never made it into the reflog proper before your filesystem/crash issue happened | 11:07 |
| → HoierM joined | 11:07 |
|
bejeb
| jast: must be | 11:07 |
|
| jast: thank you so much again | 11:07 |
|
jast
| bejeb: but git fsck --unreachable will find commits that are not referenced from anywhere, might help finding it | 11:07 |
| → xall joined | 11:07 |
|
sgo11
| bremner, more than 1 billion people here have this issue. people just ignore or maybe they don't know. :) | 11:08 |
|
bejeb
| jast: `git fsck` looks nasty. I'll reclone and do the work again | 11:08 |
| ← xall_ left | 11:09 |
| → Rodya_ joined | 11:09 |
|
sgo11
| s/people/git developers/ | 11:09 |
| → bongjovi joined | 11:11 |
| ← Andrew_K left | 11:12 |
| → Andrew_K joined | 11:12 |
| → TomyWork joined | 11:12 |
| → al-damiri joined | 11:12 |
| → tymczenko joined | 11:13 |
| ← Rodya_ left | 11:13 |
| → henriknj joined | 11:14 |
| → EvilDMP joined | 11:18 |
| → mar77i joined | 11:18 |
|
EvilDMP
| Given a file that is no longer tracked in Git (because something deleted it, at some point) how can I discover exactly which commit was responsible? | 11:19 |
|
selckin
| git log -- path/file | 11:19 |
|
EvilDMP
| selckin: perfect | 11:21 |
|
| tahnks | 11:21 |
|
moritz
| another nice trick, to show all file deletions: git log --stat --diff-filter=D | 11:23 |
|
| (if you aren't sure about the exact name) | 11:23 |
|
EvilDMP
| Noted, thanks | 11:25 |
| ← theoceaniscool left | 11:25 |
| → Murii joined | 11:26 |
| ← fuzzzerd left | 11:27 |
| → dglambert joined | 11:31 |
|
dglambert
| yo | 11:31 |
|
nedbat
| moritz: wow, the help for --stat is amazingly unhelpful :) | 11:33 |
| → TbobbyZ joined | 11:34 |
| → jnavila joined | 11:34 |
| ← zeroed left | 11:35 |
| → nowhere_man joined | 11:36 |
| → denisMone joined | 11:37 |
| → jimi_ joined | 11:37 |
| ← ShapeShifter499 left | 11:38 |
| ← TbobbyZ left | 11:39 |
| ← xall left | 11:42 |
| ← zulutango left | 11:43 |
| ← chipotle left | 11:44 |
| → marianina8 joined | 11:45 |
| ← a_thakur left | 11:46 |
| ← kevinfagan left | 11:48 |
|
jast
| nedbat: not if you know the diffstat tool ;) | 11:50 |
| → Tobbi joined | 11:52 |
| ← marcogmonteiro left | 11:52 |
| ← jnavila left | 11:53 |
| → notebox joined | 11:54 |
| → tcorneli joined | 11:55 |
| → mehola joined | 11:56 |
| → a_thakur joined | 11:58 |
| → mabregu joined | 11:59 |
| ← chigang left | 11:59 |
| → Levex joined | 12:00 |
| ← mehola left | 12:01 |
| ← Tobbi left | 12:01 |
| ← sunri5e left | 12:02 |
| → sunri5e joined | 12:02 |
| ← Tjark left | 12:02 |
| ← MutantMa_ left | 12:03 |
| → Raging_Hog joined | 12:03 |
| ← vrach left | 12:03 |
| → raspado joined | 12:04 |
| ← Raging_Hog left | 12:07 |
| → Raging_Hog joined | 12:07 |
| ← raspado left | 12:10 |
| → Rodya_ joined | 12:10 |
| ← dsdeiz left | 12:10 |
| → indistylo joined | 12:10 |
| ← rchavik left | 12:14 |
| ← Rodya_ left | 12:14 |
| → rchavik joined | 12:15 |
| → aw1 joined | 12:16 |
| ← Andrew_K left | 12:17 |
| ← pbrewczynski left | 12:17 |
| → Ardethian\ joined | 12:17 |
| → kpease joined | 12:17 |
| ← tkore left | 12:21 |
| ← rchavik left | 12:29 |
| → kbeflo joined | 12:29 |
| ← aavrug left | 12:30 |
| ← Zialus left | 12:30 |
| ← chardan left | 12:30 |
| → Zialus joined | 12:31 |
| ← jeffreylevesque left | 12:32 |
| ← mar77i left | 12:33 |
| → mar77i joined | 12:33 |
| → buffal0 joined | 12:33 |
| ← aw1 left | 12:34 |
| → aw1 joined | 12:34 |
| ← theiostream left | 12:35 |
| → theiostream joined | 12:35 |
| ← ayogi left | 12:36 |
| → scottjl joined | 12:36 |
| ← cdleonard left | 12:37 |
|
RxMcDonald
| what happens if your last commit is today and you add a new commit with --date in the past | 12:37 |
|
canton7
| not a lot | 12:37 |
|
| there's at least one third-party history that gets confused, but other than that... | 12:38 |
|
| *history viewing | 12:38 |
|
| *viewer, grr. haven't finished my afternoon tea... | 12:38 |
|
selckin
| you can change dates to anything you want | 12:38 |
| ← aw1 left | 12:38 |
|
RxMcDonald
| NOICE!! | 12:38 |
|
selckin
| you even have 2 of them, commit time and author time | 12:39 |
| → vuoto joined | 12:39 |
|
canton7
| the order in which commits occurred is tracked by the fact that each commit knows what its parent is, rather than date | 12:39 |
|
RxMcDonald
| so i can put all the commits in different dates, past future etc and everything will be OK? | 12:40 |
|
selckin
| yes | 12:40 |
| → rchavik joined | 12:40 |
| → jtoy joined | 12:40 |
| ← gtristan left | 12:41 |
| → chipotle joined | 12:41 |
|
canton7
| RxMcDonald, are you trying to game the github contribution activity graph? :P | 12:41 |
|
RxMcDonald
| canton7: actually i messed up so i wanna fix it | 12:42 |
|
| canton7 u know what happens if ur employer sees ur commit to ur side project in a work day | 12:42 |
| ← tcorneli left | 12:43 |
| ← zerow left | 12:44 |
| ← lukasdboer left | 12:45 |
|
yarekt
| Heh You can tell them that commit time doesn't correlate to when the code was written | 12:46 |
| → lukasdboer joined | 12:46 |
| ← lukasdboer left | 12:46 |
| → tmsmith joined | 12:46 |
| → lukasdboer joined | 12:47 |
| → Tobbi joined | 12:47 |
| → Darion joined | 12:47 |
| ← CussBot left | 12:48 |
| → CussBot joined | 12:49 |
| → jeffreylevesque joined | 12:49 |
|
selckin
| if they are the invasive in your time then you have bigger problems | 12:50 |
| ← dtbn left | 12:51 |
| → synthroid joined | 12:51 |
| ← chipotle left | 12:52 |
| → oleo joined | 12:53 |
| ← Cabanossi left | 12:53 |
| ← Bass10 left | 12:53 |
| ← faLUCE left | 12:55 |
| → theoceaniscool joined | 12:55 |
| → Cabanossi joined | 12:56 |
| → faLUCE joined | 12:56 |
| ← dvaske left | 12:56 |
| ← lukasdboer left | 12:57 |
| ← tmsmith left | 12:57 |
| → lukasdboer joined | 12:58 |
| ← vuoto left | 12:58 |
| → marcogmonteiro joined | 12:58 |
| → dvaske joined | 12:59 |
| ← eihabarabia left | 12:59 |
| → ExoUNX joined | 13:00 |
| ← mupadhye left | 13:00 |
| ← jozwior left | 13:02 |
| ← dvaske left | 13:03 |
| → Gsham joined | 13:05 |
| → tmsmith joined | 13:06 |
| rchavik → TheCroogoBot | 13:08 |
| ← a_thakur left | 13:09 |
| → cheesegits joined | 13:10 |
| → dvaske joined | 13:13 |
| → ThomasLocke joined | 13:14 |
| ← mabregu left | 13:14 |
| TheCroogoBot → rchavik | 13:15 |
| ← dvaske left | 13:15 |
| → courrier joined | 13:17 |
| ← netroxen left | 13:18 |
| rchavik → CroogoBot | 13:18 |
| → codematt joined | 13:18 |
| ← sgo11 left | 13:19 |
| ← juvenal left | 13:20 |
| ← theoceaniscool left | 13:20 |
| → thebird joined | 13:20 |
| → dtbn joined | 13:21 |
| ← cheesegits left | 13:21 |
| ← ronin_work left | 13:22 |
| → juvenal joined | 13:22 |
| ← tymczenko left | 13:23 |
| ← bannakaffalatta left | 13:23 |
| → kbs joined | 13:24 |
| → chigang joined | 13:26 |
| ← marianina8 left | 13:27 |
| ← juvenal left | 13:27 |
| → marianina8 joined | 13:27 |
| → MutantMahesh joined | 13:28 |
| → theoceaniscool joined | 13:28 |
| → s2013 joined | 13:28 |
| → Dougie187 joined | 13:31 |
| ← marianina8 left | 13:32 |
| → jnavila joined | 13:32 |
| → steeze joined | 13:33 |
| ← chachasmooth left | 13:33 |
| ← Tobbi left | 13:33 |
| → mischat_ joined | 13:34 |
| ← karols146 left | 13:34 |
| → Ice_Strike joined | 13:34 |
| ← theoceaniscool left | 13:36 |
| ← RxMcDonald left | 13:36 |
| ← mischat left | 13:37 |
| → chachasmooth joined | 13:39 |
| → TbobbyZ joined | 13:39 |
| ← s2013 left | 13:40 |
| ← jimi_ left | 13:40 |
| ← basiclaser left | 13:41 |
| ← weakdan left | 13:41 |
| → jimi_ joined | 13:43 |
| ← TbobbyZ left | 13:44 |
| ← marcogmonteiro left | 13:44 |
| ← ExoUNX left | 13:45 |
| ← CroogoBot left | 13:46 |
| → CroogoBot joined | 13:46 |
| → s2013 joined | 13:46 |
| → marcogmonteiro joined | 13:46 |
| ← MineCoins left | 13:47 |
| ← CroogoBot left | 13:47 |
| → kbeflo_ joined | 13:49 |
| → karols146 joined | 13:50 |
| ← kbeflo left | 13:50 |
| ← neunon left | 13:51 |
| → neunon joined | 13:52 |
| → weakdan joined | 13:52 |
| → jameser joined | 13:53 |
| ← D4R5C0D3 left | 13:55 |
| → Tobbi joined | 13:55 |
| → YuGiOhJCJ joined | 13:57 |
| → theoceaniscool joined | 13:57 |
| → Es0teric joined | 13:57 |
| → mohabaks joined | 13:57 |
| ← Soni left | 13:58 |
| ← dec0n left | 13:58 |
|
mohabaks
| hello folks can someone explain to me in simpler term what's rebase all about and when would I find it useful than merging. thanks. | 13:58 |
| ← rscata left | 14:00 |
| ← kbeflo_ left | 14:00 |
| ← mda1 left | 14:02 |
| → publio joined | 14:02 |
| → mda1 joined | 14:02 |
| ← s2013 left | 14:04 |
| → rominronin joined | 14:04 |
| → davidfetter_ge joined | 14:07 |
| ← Levex left | 14:07 |
| → bannakaffalatta joined | 14:09 |
| ← planigan left | 14:10 |
| ← mohabaks left | 14:11 |
| ← davidfetter_ge left | 14:11 |
| ← sarri left | 14:11 |
| ← Es0teric left | 14:11 |
| → Rodya_ joined | 14:11 |
|
Vampire0
| mohabaks, !merge_vs_rebase | 14:11 |
|
gitinfo
| [!merge_or_rebase] For a detailed discussion of the dis-/advantages of merge and rebase, and when to best use which, see: https://coderwall.com/p/ny1hia -- and here's how Linus explains which one to use: http://www.mail-archive.com/dri-devel@lists.sourceforge.net/msg39091.html | 14:11 |
| → lavalamp joined | 14:12 |
| → sarri joined | 14:12 |
| ← sarri left | 14:12 |
| → sarri joined | 14:12 |
| → planigan joined | 14:12 |
| → dave0x6d joined | 14:12 |
| ← notebox left | 14:12 |
| ← jnavila left | 14:13 |
| → dave_uy joined | 14:13 |
| ← netj left | 14:13 |
| → notebox joined | 14:13 |
| → netj joined | 14:14 |
| ← Rodya_ left | 14:14 |
| → Rodya_ joined | 14:14 |
| ← iveqy left | 14:14 |
| ← notebox left | 14:14 |
| → LeBlaaanc joined | 14:14 |
| ← Brski left | 14:14 |
|
dave_uy
| When I try git diff --submodule=diff I get fatal: bad object ... Is this a new bug? | 14:15 |
| → Es0teric joined | 14:15 |
| ← thebird left | 14:16 |
| dhollin3 → dhollinger | 14:17 |
| ← robotroll left | 14:17 |
| → thebird joined | 14:17 |
| → kbeflo joined | 14:17 |
| ← sbulage left | 14:18 |
| ← clmsy left | 14:18 |
| → jagob joined | 14:18 |
| → AaronMT joined | 14:19 |
| → DarkPsydeLord joined | 14:19 |
| → gugah joined | 14:19 |
| ← courrier left | 14:19 |
| → jokajak joined | 14:21 |
| ← kbs left | 14:24 |
| → bes_internal joined | 14:25 |
| → tymczenko joined | 14:25 |
| → `mx joined | 14:25 |
| → notebox joined | 14:25 |
| ← overlord_tm left | 14:26 |
| → senaps joined | 14:27 |
| → eh3 joined | 14:28 |
| → _Vi joined | 14:28 |
| ← jameser left | 14:30 |
| → kbs joined | 14:31 |
| ← tymczenko left | 14:32 |
| → LionsMane joined | 14:32 |
| ← ferr1 left | 14:33 |
| ← thebird left | 14:34 |
| ← Rodya_ left | 14:34 |
| ← steeze left | 14:35 |
| ← jeffreylevesque left | 14:35 |
| ← sotoz left | 14:35 |
| → jeffreylevesque_ joined | 14:35 |
| → thebird joined | 14:36 |
| → ResidentBiscuit joined | 14:37 |
| → Rodya_ joined | 14:39 |
| ← thebird left | 14:40 |
| ← Raging_Hog left | 14:41 |
| → thebird joined | 14:41 |
| ← ResidentBiscuit left | 14:41 |
| → ash_workz joined | 14:42 |
| ← askb left | 14:42 |
| ← lordjancso left | 14:42 |
| ← sweatsuit left | 14:44 |
|
avar
| Yay my patch for making @{U} synonymous with @{u} is now in git.git master | 14:44 |
|
| So much typo'd @{U} cases will now work.. | 14:44 |
|
_ikke_
| avar: yay | 14:45 |
| → sweatsuit joined | 14:45 |
| ← tvw left | 14:46 |
| → tvw joined | 14:46 |
| ← thebird left | 14:47 |
| → adgtl- joined | 14:47 |
| ← mischat_ left | 14:48 |
| ← LionsMane left | 14:48 |
| → mischat joined | 14:49 |
|
avar
| Also hopefully [tag,branch,for-each-ref] --no-contains will land soon: https://github.com/git/git/commit/ac3f5a3468 | 14:50 |
| → roelmonn_ joined | 14:51 |
| ← bes_internal left | 14:51 |
| → rchavik joined | 14:52 |
| → Starky joined | 14:52 |
| → tymczenko joined | 14:52 |
| → robotroll joined | 14:52 |
| ← ngladitz left | 14:52 |
| ← raynold left | 14:54 |
| → WakiWork joined | 14:54 |
| ← tmg left | 14:54 |
| ← roelmonnens left | 14:54 |
| → LionsMane joined | 14:55 |
| → alburaq joined | 14:55 |
| ← tymczenko left | 14:55 |
| ← roelmonn_ left | 14:56 |
| → tymczenko joined | 14:56 |
| gitinfo set mode: +v | 14:56 |
|
WakiWork
| hi, is it possible to do an octopus merge with unrelated histories? even when specifiying --allow-unrelated-histories git says "Unable to find common commit with <first branch specified>" | 14:56 |
| ← Gsham left | 14:57 |
| ← jimi_ left | 14:57 |
| ← JeroenT left | 14:58 |
| → Nilesh_ joined | 14:58 |
| → gableroux joined | 14:59 |
| ← ExeciN left | 14:59 |
| → madewokherd joined | 14:59 |
| → flavius joined | 15:00 |
| → zerow joined | 15:02 |
| ← Darion left | 15:03 |
| → VicMackey joined | 15:03 |
| ← Silmarilion left | 15:04 |
| → oskarkv joined | 15:04 |
|
dave_uy
| Correction, when I am in a submodule which has it's own submodules and I run git diff -submodule=diff in the submodule I get fatal: bad object. | 15:05 |
|
alburaq
| anyone knows how to resolve this conflict? https://github.com/qutebrowser/qutebrowser/pull/2493 | 15:05 |
|
| i'm caveman | 15:05 |
|
| is that error resolvable by me? | 15:05 |
| → ExeciN joined | 15:06 |
|
cjohnson
| github won't let you do a PR if your merge results in conflicts | 15:06 |
|
| it won't let you merge a PR that is* | 15:06 |
|
| However you can still merge the branch yourself and close the PR | 15:06 |
|
| alternately, you can merge the target branch into your local branch and resolve the conflicts there | 15:06 |
| ← EvilDMP left | 15:07 |
|
cjohnson
| so when you merge back, there are no conflicts, and the PR will let you go through | 15:07 |
|
alburaq
| i forked that repo. but when i do git fetch upstream, i don't get those changes locally | 15:07 |
| ← VicMackey left | 15:08 |
| → Sound joined | 15:09 |
| → roelmonnens joined | 15:09 |
| Sound → Guest15042 | 15:09 |
|
alburaq
| cjohnson: did github let me yet to do a PR? does that look like i have already made a PR? | 15:09 |
| → bannakaf_ joined | 15:10 |
| ← chele left | 15:10 |
| → TbobbyZ joined | 15:10 |
| → xall joined | 15:11 |
| → Atemu joined | 15:12 |
| → mt joined | 15:13 |
| ← bannakaffalatta left | 15:13 |
| ← roelmonnens left | 15:14 |
| ← de-facto left | 15:15 |
| → shgysk8zer0_ joined | 15:15 |
| → steeze joined | 15:15 |
| → s1scha joined | 15:15 |
| → sparetire joined | 15:15 |
| → de-facto joined | 15:16 |
|
cjohnson
| you can create a PR, you just can't merge it automatically if it conflicts | 15:16 |
|
| git fetch upstream only updates your local copies of upstream, if you want to merge those changes into your local branchesy ou have to do that | 15:16 |
|
| git checkout my-foo ; git merge upstream/my-foo | 15:17 |
|
| etc | 15:17 |
| ← redeemed left | 15:20 |
| ← tymczenko left | 15:20 |
| → tymczenko joined | 15:20 |
| → s2013 joined | 15:22 |
| ← shgysk8zer0_ left | 15:22 |
| ← ogny left | 15:23 |
| → Gustavo6046 joined | 15:25 |
| ← theiostream left | 15:27 |
| ← robattila256 left | 15:28 |
| ← mmlb left | 15:28 |
| → mmlb joined | 15:29 |
| ← kurkale6ka left | 15:30 |
| → Eragon joined | 15:31 |
| → jstimm joined | 15:32 |
| → theiostream joined | 15:34 |
| ← s2013 left | 15:35 |
| ← MutantMahesh left | 15:36 |
| → VicMackey joined | 15:37 |
| → thiago joined | 15:39 |
| → dvaske joined | 15:39 |
| ← rchavik left | 15:40 |
| ← Cabanossi left | 15:40 |
| ← kbs left | 15:40 |
| ← robotroll left | 15:41 |
| → ResidentBiscuit joined | 15:41 |
| → ayogi joined | 15:41 |
| ← VicMackey left | 15:42 |
| → robotroll joined | 15:42 |
| → Cabanossi joined | 15:42 |
| ← flaviodesousa left | 15:43 |
| ← alburaq left | 15:45 |
| ← Guest15042 left | 15:46 |
| → Sound_ joined | 15:47 |
| → courrier joined | 15:48 |
|
courrier
| Hi there! I stashed changes on path/file, I then renamed path/file to new_path/file and commited the renaming, I then stash-poped, but git replied: Dropped refs/stash@{0} (93978a99db898ba355d730d08f5e3bfd735e1a33) | 15:49 |
|
| Is it due to the renaming? Can I still recover my stash? | 15:49 |
| ← WakiWork left | 15:49 |
| → rosiu joined | 15:49 |
| ← sea-gull left | 15:49 |
|
grawity
| that's what `git stash pop` always says | 15:50 |
|
immae
| courrier: stash pop updates the workdir and drops the stash | 15:50 |
|
grawity
| since after all it's apply+drop | 15:50 |
|
immae
| so your stash is in workdir/staging :p | 15:50 |
| ← ThomasLocke left | 15:50 |
|
grawity
| you can `git stash store 93978a99db898ba355d730d08f5e3bfd735e1a33` to un-drop it | 15:50 |
| → Gsham joined | 15:50 |
| ← rosiu left | 15:51 |
| → rosiu joined | 15:52 |
| ← zerow left | 15:52 |
| → vuoto joined | 15:52 |
| ← rosiu left | 15:53 |
| → synbit joined | 15:53 |
| ← jstimm left | 15:53 |
| → rosiu joined | 15:53 |
| ← vuoto left | 15:53 |
| → mischat_ joined | 15:53 |
| → vuoto joined | 15:53 |
| ← theoceaniscool left | 15:54 |
| → orbyt_ joined | 15:54 |
| → jimklo joined | 15:55 |
| ← mischat left | 15:56 |
| → igeaod joined | 15:56 |
| ← igeaod left | 15:56 |
|
courrier
| grawity: mmmmh, but "git diff" shows nothing after that, I should see the content of my changes | 15:57 |
| ← synbit left | 15:58 |
|
thiago
| git diff HEAD | 15:58 |
| ← masuberu left | 15:58 |
| → thebird joined | 15:58 |
|
courrier
| OK sorry, the first stash was indeed empty, my actual work was one stash below | 15:59 |
| → jungsubk joined | 16:00 |
| → kbs joined | 16:02 |
| → shgysk8zer0_ joined | 16:03 |
| ← yehowyada left | 16:03 |
| ← King_Hual left | 16:03 |
| ← Tatou left | 16:04 |
| ← tmsmith left | 16:04 |
| → King_Hual joined | 16:05 |
| → raspado joined | 16:06 |
| ← bongjovi left | 16:08 |
| ← mikecmpbll left | 16:09 |
| ← armyriad left | 16:09 |
| → armyriad joined | 16:09 |
| ← perlpilot left | 16:09 |
| ← raspado left | 16:11 |
| → rwb joined | 16:11 |
| ← mischat_ left | 16:12 |
| → blueyed joined | 16:12 |
| → mischat joined | 16:13 |
| → durham joined | 16:13 |
| → masuberu joined | 16:14 |
| ← blueyed left | 16:14 |
| → blueyed joined | 16:15 |
|
blueyed
| Is it possible to reset/discard changes added to the index? I have used git-stash --keep-index before, and committed them already, and now want to keep only what "git diff" shows, but not what "git diff --cached" shows. | 16:15 |
| ← chachasmooth left | 16:15 |
| ← tymczenko left | 16:16 |
| → svm_invictvs joined | 16:17 |
| ← mischat left | 16:17 |
| ← xall left | 16:18 |
| → regedit joined | 16:18 |
| → Noldorin joined | 16:18 |
|
immae
| blueyed: you can do something like git diff > patch && git reset --hard && git apply patch, but maybe there is a faster way | 16:21 |
| → tmsmith joined | 16:22 |
|
immae
| or you can commit the index, then the diff, then git rebase -i HEAD^^^ and delete the commit from the index | 16:23 |
| → xall joined | 16:25 |
| → nitric joined | 16:26 |
| ← tmsmith left | 16:27 |
| → tmsmith joined | 16:28 |
| → chachasmooth joined | 16:29 |
| ← thebird left | 16:30 |
| ← weualo left | 16:31 |
| ← synthroid left | 16:32 |
| → tymczenko joined | 16:32 |
| ← tymczenko left | 16:33 |
| ← d^sh left | 16:33 |
| → pbrewczynski joined | 16:33 |
| → kbeflo_ joined | 16:34 |
| ← chachasmooth left | 16:34 |
| → d^sh joined | 16:35 |
| ← kbeflo left | 16:36 |
| ← vuoto left | 16:37 |
| → s2013 joined | 16:39 |
| ← Sound_ left | 16:39 |
| → mischat joined | 16:39 |
| → perlpilot joined | 16:40 |
| → linyt joined | 16:40 |
| ← kpease left | 16:41 |
| ← imack left | 16:42 |
| → zerocua_ joined | 16:42 |
| → jstimm joined | 16:43 |
| ← eh3 left | 16:43 |
| ← zerocua left | 16:43 |
| ← Oatmeal left | 16:44 |
| ← blueyed left | 16:44 |
| → blueyed joined | 16:45 |
| ← LukasT left | 16:45 |
| → raspado joined | 16:46 |
| ← snowalpaca left | 16:47 |
| → paul424 joined | 16:47 |
| → JJtG joined | 16:47 |
| → shinnya joined | 16:48 |
|
JJtG
| hey guys I have a question. For some reason I have local commits that I have never made. Maybe the VS git plugin made them I dont know. Question is how do I get rid of those. I read that git reset --hard origin/master should do it. But I guess I need to change the names for origin and master? I think my local branch is called release e.g | 16:50 |
| ← gableroux left | 16:51 |
| → gableroux joined | 16:52 |
| → overlord_tm joined | 16:52 |
| ← tmsmith left | 16:53 |
| ← masuberu left | 16:53 |
|
moritz
| JJtG: yes. And that will lose all other changes you made, including uncommitted changes | 16:54 |
|
cjohnson
| I don't think reset changes working copy does it | 16:54 |
|
| I thought it was a metadata change only | 16:54 |
| ← nowhere_man left | 16:54 |
|
JJtG
| moritz, thats okay. I do not do code changes, I dont even understand why git keep thinking i do because I dont | 16:54 |
|
cjohnson
| well, you are, somewhere | 16:54 |
|
| they don't just magicaly appear :P | 16:55 |
| ← s2013 left | 16:55 |
|
JJtG
| using UE4 I just do content, all I do is pull and compile | 16:55 |
|
| but somehow changes appear constantly that I have not made | 16:55 |
|
cjohnson
| changes? or commits | 16:56 |
| ← gableroux left | 16:56 |
|
cjohnson
| if you are compiling and they have not set it up to ignore every built and/or changed file then yeah compiling will generate some untracked changes | 16:56 |
|
| you need to first clarify if what you have are commits, or untracked changes | 16:56 |
|
moritz
| maybe some generated files are under version control, and modified by the build | 16:56 |
| ← shgysk8zer0_ left | 16:56 |
| → tmsmith joined | 16:57 |
|
JJtG
| both, just now, the git vs plugin showed me that I had changed 120 files. A friend suggested git sync, but that gave a merge conflict. after exiting that, the plugin got stuck on every subsequent pull operation, so I gues I am using the console now | 16:57 |
| → mischat_ joined | 16:58 |
| ← borkr left | 16:59 |
| ← chigang left | 16:59 |
|
JJtG
| but yeah git branch -a gives me a list one is green with an asterisk. I assume that is my local branch. And then a bunch of red ones. One of the red ones has a -> origin/release I assume thats the remote. But whats its name origin or release? | 16:59 |
| ← jstimm left | 16:59 |
| → gableroux joined | 16:59 |
|
JJtG
| so would the command be git reset --hard release/origin ? | 17:00 |
| ← mischat left | 17:01 |
| → chachasmooth joined | 17:01 |
| ← codematt left | 17:01 |
| ← thiago left | 17:01 |
| ← mischat_ left | 17:02 |
| ← raspado left | 17:02 |
| ← karols146 left | 17:03 |
| → dreiss joined | 17:03 |
| → deepak joined | 17:03 |
| ← DarkPsydeLord left | 17:04 |
| ← gableroux left | 17:04 |
| → jstimm joined | 17:05 |
| ← Asenar left | 17:06 |
|
JJtG
| its not git reset --hard release/origin it gives an error saying fatal:ambiguous argument release/origin : unknown revision or path no in the working tree | 17:07 |
| → gopar joined | 17:07 |
| ← Cabanossi left | 17:10 |
| ← Nilesh_ left | 17:10 |
| → darkmist_ joined | 17:10 |
| ← eroux left | 17:10 |
| → Fallen0223 joined | 17:10 |
| ← tvw left | 17:10 |
| ← deepak left | 17:10 |
| → tang^ joined | 17:11 |
| → Cabanossi joined | 17:11 |
| → iveqy joined | 17:12 |
| ← s1scha left | 17:12 |
| → TikityTik joined | 17:12 |
| ← rominronin left | 17:14 |
| → jrnieder joined | 17:15 |
| → rominronin joined | 17:15 |
| → nowhere_man joined | 17:16 |
| ← TomyWork left | 17:17 |
| ← Noldorin left | 17:17 |
| → imack joined | 17:17 |
| → coreyfarrell joined | 17:18 |
| ← darkmist_ left | 17:19 |
| → Relevant joined | 17:19 |
| ← nowhere_man left | 17:20 |
| gitinfo set mode: +v | 17:20 |
| → darkmist_ joined | 17:20 |
| → nowhere_man joined | 17:21 |
| → gableroux joined | 17:21 |
|
Relevant
| Hello all. Currently in process of implementing a development process, probably going with some style of scrumban. What I haven't been able to figure out is how to go about merging from QA to Production branches if there are overlapping changes and one is approved and one is not. | 17:21 |
| ← rokups left | 17:22 |
|
cjohnson
| Relevant: my approach is, features get branched from master, and merged into QA for testing. once approved, the feature gets merged into master | 17:22 |
|
| we never merge QA | 17:22 |
| → karols146 joined | 17:22 |
|
coreyfarrell
| hello, does git have a way to do a dry-run cherry-pick to another branch? I want to find out if current HEAD commit can be cleanly cherry-picked to origin/different-branch without performing a checkout on that branch or actually changing anything. | 17:22 |
|
Relevant
| That's what we tried in the past. It seemed to work, not perfectly, but seemed to work | 17:23 |
|
cjohnson
| I think merging QA only works if you do "release planning" and then you either have to delay the release until all features are approved, or you have to revert the merges back out of QA, which can be hugely messy | 17:23 |
|
| another part of what we do is to rebase the features from master to keep PRs clean and keep the branches up to date | 17:23 |
|
Relevant
| cjognson: ugh, exactly! Glad what I said made sense and you get it! :D | 17:23 |
| ← darkmist_ left | 17:24 |
|
cjohnson
| The only downside I've found to my approach is that if you have to make a commit into QA because two features conflict with each other or overlap in some specific way | 17:24 |
|
Relevant
| Right, that's what I was just typing lol. If it only works in QA, because of another feature that is in QA... | 17:25 |
|
cjohnson
| for example in one branch I might refactor an API and go around to all the places that uses the API to update their usage. If another branch introduces a new call to the old style of API, I would have to add a commit to QA which updates just that one usage | 17:25 |
| → codematt joined | 17:25 |
|
cjohnson
| Usually when I come into a case like that, I make a secondary branch from master | 17:25 |
|
| and merge those two branches into that secondary branch | 17:25 |
|
| and put the fixing commit in there | 17:25 |
|
| then merge the merged branch into qa for testing, and merge it into master for release | 17:25 |
|
Relevant
| So you basically have a QA "version" and a master "version" of the feature? | 17:25 |
|
cjohnson
| yeah in a way. I know it means QA is not a perfect test for prod but honestly I don't know of any workflow that guarantees that | 17:26 |
|
Relevant
| Yeah, I think you're right. The only way I've thought of is doing full scrum with sprints | 17:26 |
|
| Or at least some kind of development stop | 17:27 |
| ← shinnya left | 17:27 |
|
cjohnson
| yeah if you can absolutely guarantee that you can do a proper release schedule it works | 17:27 |
|
| I've just never had stakeholders that would cooperate | 17:27 |
|
| lol | 17:27 |
|
Relevant
| Yep, same situation here | 17:27 |
| ← nowhere_man left | 17:27 |
| → DarkPsydeLord joined | 17:27 |
| ← gableroux left | 17:27 |
| → gableroux joined | 17:27 |
| → nowhere_man joined | 17:27 |
| ← Rodya_ left | 17:28 |
| → nixjdm joined | 17:30 |
| ← Bock left | 17:30 |
| ← Es0teric left | 17:32 |
| → moL-Ou joined | 17:32 |
| → marianina8 joined | 17:33 |
| ← nowhere_man left | 17:33 |
| ← marianina8 left | 17:35 |
| ← Darcidride left | 17:35 |
| → marianina8 joined | 17:35 |
| → s2013 joined | 17:37 |
| ← matoro left | 17:39 |
| → thiago joined | 17:39 |
| → Oatmeal joined | 17:39 |
| → snowalpaca joined | 17:39 |
| ← snowalpaca left | 17:39 |
| ← fakenerd left | 17:41 |
| ← cbreak left | 17:41 |
| → matoro joined | 17:41 |
| → joshszep joined | 17:42 |
| → snowalpaca joined | 17:43 |
| ← acetakwas left | 17:43 |
| → snowalpa_ joined | 17:43 |
| ← snowalpa_ left | 17:43 |
| → thebird joined | 17:44 |
| → synthroid joined | 17:45 |
| → acetakwas joined | 17:45 |
| → shgysk8zer0_ joined | 17:45 |
| ← JJtG left | 17:46 |
| ← snowalpaca left | 17:47 |
| ← indistylo left | 17:48 |
| → MutantMahesh joined | 17:49 |
| → duderonomy joined | 17:50 |
| → cbreak joined | 17:50 |
| duderonomy → Guest34625 | 17:50 |
| ← finalbeta left | 17:50 |
| ← jimklo left | 17:51 |
| → finalbeta joined | 17:51 |
| ← AstralStorm left | 17:52 |
| ← thebird left | 17:52 |
| ← elect_ left | 17:52 |
| ← courrier left | 17:52 |
| → AstralStorm joined | 17:53 |
| ← imack left | 17:55 |
| ← rominronin left | 17:55 |
| ← diogenese left | 17:56 |
| → Acerific joined | 17:57 |
| → Es0teric joined | 17:57 |
| ← jstimm left | 17:57 |
| → imack joined | 17:57 |
| ← Tobbi left | 17:59 |
| ← marcogmonteiro left | 18:00 |
| ← notebox left | 18:02 |
| → diogenese joined | 18:02 |
| ← Guest34625 left | 18:02 |
| → notebox joined | 18:02 |
| → doener joined | 18:03 |
| ← notebox left | 18:03 |
| ← frobnic left | 18:04 |
| → thebope joined | 18:04 |
| → jimi_ joined | 18:05 |
| → Doginal joined | 18:05 |
| ← schleppel left | 18:06 |
| ← marianina8 left | 18:06 |
| ← _Vi left | 18:06 |
| → duderono_ joined | 18:07 |
| → marianina8 joined | 18:07 |
| ← matoro left | 18:09 |
| ← marianina8 left | 18:09 |
| → Sasazuka joined | 18:09 |
| → Forlorn joined | 18:11 |
| → frobnic joined | 18:11 |
| → ertesx joined | 18:12 |
| ← moL-Ou left | 18:13 |
| → marianina8 joined | 18:15 |
| ← ertes left | 18:15 |
| ertesx → ertes | 18:15 |
| → TomyLobo2 joined | 18:15 |
| → thebird joined | 18:17 |
| ← xall left | 18:18 |
| ← Relevant left | 18:19 |
| ← marianina8 left | 18:19 |
| ← zerocua_ left | 18:20 |
| → terravires joined | 18:22 |
| → zerocua_ joined | 18:22 |
| → Evidlo joined | 18:25 |
| → marianina8 joined | 18:26 |
| → jstimm joined | 18:29 |
| ← marianina8 left | 18:31 |
| → mar77i_ joined | 18:33 |
| ← Murii left | 18:33 |
| ← Eragon left | 18:34 |
| → freimatz joined | 18:34 |
| ← PioneerAxon left | 18:34 |
| ← mar77i left | 18:35 |
| ← dtbn left | 18:35 |
| → giraffe joined | 18:37 |
| → PioneerAxon joined | 18:38 |
| bannakaf_ → bannakaffalatta | 18:38 |
| ← Cabanossi left | 18:40 |
| → dtbn joined | 18:40 |
| ← s2013 left | 18:41 |
| → Cabanossi joined | 18:41 |
|
kusznir
| Hi all: I have what I think is a simple git quesiton: on github, where I have forked a project, how do I bring in the commits I am behind on from the original? | 18:41 |
| ← jstimm left | 18:42 |
| ← henriknj left | 18:42 |
| → henriknj joined | 18:42 |
| → marianina8 joined | 18:43 |
| → notebox joined | 18:43 |
| → mikecmpbll joined | 18:45 |
| → dsdeiz joined | 18:46 |
|
Evidlo
| kusznir: https://help.github.com/articles/syncing-a-fork/ | 18:46 |
|
| actually this one is better http://stackoverflow.com/questions/7244321/how-do-i-update-a-github-forked-repository | 18:46 |
| ← pbrewczynski left | 18:47 |
| → Kardoso joined | 18:48 |
| ← al-damiri left | 18:48 |
| ← chachasmooth left | 18:49 |
| → BadApe joined | 18:49 |
| → xall joined | 18:50 |
|
BadApe
| hi, i think i have a valid ssl cert, but i get the message SSL certificate problem: unable to get local issuer certificate | 18:50 |
| ← coreyfarrell left | 18:51 |
|
dglambert
| Hey if I git branch foo and then git branch foo again, does it overwrite my original foo | 18:53 |
| mar77i_ → mar77i | 18:53 |
| → chachasmooth joined | 18:53 |
|
qqx
| dglambert: It will report an error saying that the branch already exists. | 18:53 |
| → Noldorin joined | 18:55 |
| ← scoobertron left | 18:55 |
| → scoobertron joined | 18:55 |
|
dglambert
| ok | 18:57 |
|
| i was worried I overwrote something | 18:57 |
|
terravires
| Is it possible to move all files *.meta from a submodule into the parent repo? | 18:57 |
| ← TbobbyZ left | 18:59 |
|
terravires
| And not move the files? So they could stay Parent/Submodule/file.meta but it's part of parent's repo and not submodule? | 18:59 |
| → trewe joined | 19:00 |
| ← senaps left | 19:01 |
| → oskarkv_ joined | 19:01 |
| → Rodya_ joined | 19:01 |
| → _Vi joined | 19:02 |
| ← codematt left | 19:02 |
| ← oskarkv left | 19:04 |
| ← dsdeiz left | 19:04 |
| ← ayogi left | 19:04 |
| → boombatower joined | 19:05 |
|
Evidlo
| Is it possible to rebase these 9 commits on the pip-installable branch onto master after they've already been merged? http://imgur.com/a/qwRYd | 19:05 |
| ← dtbn left | 19:05 |
|
qqx
| terravires: Locally you can do `git rm --cached Parent/Submodule; git add Parent/Submodule`. But other repos won't deal well with updating that. | 19:05 |
| ← boombatower left | 19:05 |
| ← afuentes left | 19:06 |
| → boombatower joined | 19:06 |
| ← orbyt_ left | 19:06 |
|
terravires
| qqx, Maybe my structure is wrong. Someone suggested I use three repos. I have a Server, Client and share "Core". Sadly, the Client requires files in Core that I don't need/want in Server. Is there a way to do that cleanly? | 19:07 |
| → mathneverends joined | 19:07 |
| ← Atemu left | 19:07 |
|
mathneverends
| hello | 19:07 |
|
| I am having an issue | 19:07 |
|
| I have a branch off a master in a git repo | 19:07 |
|
| that i have been working on from my main computer | 19:07 |
|
| but i am temp on a laptop | 19:08 |
|
| i cloned the branch to my laptop | 19:08 |
|
| but i cannot launch my angular server as files paths are to my main computers local drive | 19:08 |
|
| for some reason | 19:08 |
| ← jimi_ left | 19:08 |
|
mathneverends
| (i did not manually set them) | 19:08 |
| → dtbn joined | 19:08 |
|
mathneverends
| Anyone know what the heck is going on? | 19:08 |
|
qqx
| terravires: Ahh, so it's only some of the files you want to take out of the submodule. No that isn't possible. | 19:08 |
| → roby10 joined | 19:09 |
| → orbyt_ joined | 19:09 |
|
moritz
| mathneverends: did you commit some generate files? or use absolute paths anywhere? | 19:09 |
|
terravires
| qqx, Yeah, I needed to share all the files except the *.meta files in Core. I'm kind of lost how to do this... any suggestions? | 19:10 |
| → mischat joined | 19:10 |
|
mathneverends
| moritz: yes but unintentionally | 19:10 |
|
moritz
| mathneverends: then fix it | 19:10 |
|
qqx
| terravires: The closest you could do would be to have a dir in the client which mixes the .meta files with symlinks to the files from the core submodule which is placed elsewhere. | 19:11 |
| ← oleo left | 19:13 |
| ← PioneerAxon left | 19:13 |
|
qqx
| terravires: Only other option I could think of that might approach that would be to leave those files in the core repository, and use a sparse checkout of that in the server copies. | 19:14 |
|
terravires
| qqx: what about combining client+core, and then use some kind of .gitignore for the server using client/core as a submodule? | 19:14 |
|
qqx
| But that isn't something that can be setup in the submodule definition that is committed. | 19:14 |
| ← mathneverends left | 19:15 |
| ← dtbn left | 19:15 |
| ← dermoth left | 19:16 |
| ← xall left | 19:16 |
| → dermoth joined | 19:16 |
| → chris349 joined | 19:18 |
|
chris349
| Is there any way to use git stash to only show the changes that would be made, but not actually make them yet? | 19:18 |
| ← lmatteis left | 19:18 |
| → julius joined | 19:19 |
|
julius
| hi | 19:19 |
|
| whats the return code for git when i run git pull and there are changes in my local repository? got no "not updated" git repo currently | 19:19 |
| ← drodger left | 19:20 |
|
moritz
| chris349: git stash show -p | 19:20 |
| → dtbn joined | 19:20 |
|
moritz
| julius: the exit code is 0, if that's what you want to know | 19:20 |
|
chris349
| moritz, I think that is only showing past stashes. When I try to do a git pull I get this error: error: Your local changes to 'Gemfile.lock' would be overwritten by merge | 19:21 |
|
| But the git stash show command does not list that file | 19:21 |
| ← BenderRodriguez left | 19:21 |
|
moritz
| chris349: if git pull gives you this error, you have local modifications | 19:21 |
|
| chris349: and 'git diff' and 'git diff --cached' will show them | 19:21 |
|
| stashes aren't relevant for that | 19:22 |
|
chris349
| I want to know what change will be made with git stash. Always when I get this error do do a git stash followed by git pull | 19:22 |
| → matoro joined | 19:22 |
|
chris349
| So how can I be certain git stash will change what files? | 19:22 |
| → borkr joined | 19:23 |
|
perlpilot
| chris349: Why are you uncertain? | 19:24 |
|
Random832
| well you could look at the stash afterward with git stash show | 19:24 |
|
| or generally predict it from the output of git status | 19:24 |
|
chris349
| because git status and git stash show are not saying the same thing | 19:24 |
| ← HardlySeen left | 19:24 |
|
Random832
| well git stash show is for after you make the stash | 19:25 |
| → jnewt_ joined | 19:25 |
| → xall joined | 19:25 |
|
chris349
| So how can I see what git stash will do without actually doing it? | 19:25 |
|
perlpilot
| chris349: you don't (I don't think). | 19:25 |
| → drodger joined | 19:25 |
|
perlpilot
| chris349: but, git-stash always saves the contents of the working dir and the index. That's kinda all it does. | 19:26 |
| ← hahuang61 left | 19:26 |
|
BlaXpirit
| yeah just do it and undo it, what could go wrong | 19:27 |
|
chris349
| lol | 19:27 |
|
perlpilot
| BlaXpirit: fear is the mind killer :-) | 19:27 |
|
BlaXpirit
| chris349, may i interest you in http://www.praqma.com/stories/git-autostash/ | 19:27 |
| ← jnewt left | 19:28 |
| ← dtbn left | 19:28 |
|
perlpilot
| BlaXpirit++ I didn't know about --autostash | 19:29 |
|
BlaXpirit
| neither did i, until today, in fact | 19:29 |
|
chris349
| I would rather something like a prompt from git pull: File XYZ conflict, keep source or destination version? | 19:29 |
|
BlaXpirit
| so i only tested it once before recommending here. but what could go wrong | 19:29 |
|
perlpilot
| But that comment on "non-trivial conflicts" is quite right. | 19:29 |
|
BlaXpirit
| chris349, you will get that conflict when stash tries to reapply | 19:30 |
|
perlpilot
| chris349: I often do what that auto-stash article mentions. git stash; git pull; git stash pop | 19:30 |
|
chris349
| I have never reapplied a stash | 19:30 |
|
| I just use it to overcome the git pull errors | 19:30 |
| ← cyberz left | 19:32 |
| ← sparetire left | 19:32 |
| ← theiostream left | 19:32 |
|
perlpilot
| chris349: in the case of a conflict, it's not always keep change A or B, sometimes it's C--meld the two sides into something else. | 19:32 |
| → d5sx43 joined | 19:33 |
| → tyreld joined | 19:33 |
|
BlaXpirit
| yeah i was gonna say that, i'm just incredulous that this never comes up | 19:33 |
| ← bwn left | 19:33 |
| → cyberz joined | 19:33 |
| → raijin joined | 19:34 |
|
perlpilot
| chris349: you know, you could always commit the changes in your working dir before you pull | 19:34 |
| → gtristan joined | 19:35 |
|
BlaXpirit
| adn get the same problem then | 19:35 |
|
Random832
| use pull --rebase when you do that | 19:35 |
| → sparetire joined | 19:35 |
|
perlpilot
| BlaXpirit: it's not exactly the same... at least your changes would be saved in a commit :) | 19:35 |
|
Random832
| unless you're doing something weird | 19:35 |
|
BlaXpirit
| yeah you feel safe, that's good, perlpilot | 19:35 |
|
Random832
| technically stashing does save your changes in a commit | 19:36 |
|
perlpilot
| yeah, but it's kind of a second-rate commit. It doesn't live with others. The stash is commits on the other side of the tracks. | 19:37 |
|
BlaXpirit
| ok so autostash completely won me over | 19:37 |
| → al-damiri joined | 19:37 |
| → Es0teric_ joined | 19:37 |
| ← Es0teric left | 19:38 |
| → PioneerAxon joined | 19:38 |
| ← d5sx43 left | 19:39 |
| → roelmonnens joined | 19:39 |
| ← Cabanossi left | 19:39 |
| → synthmeat joined | 19:40 |
| → TbobbyZ joined | 19:41 |
| → Cabanossi joined | 19:41 |
| → yqt joined | 19:41 |
| → oleo joined | 19:42 |
| ← roelmonnens left | 19:44 |
| → luke_nukem joined | 19:47 |
| ← pks left | 19:49 |
| → bariscant joined | 19:49 |
|
matthiaskrgr
| I wonder why during "Writing objects" stage of git gc, CPU is still often the bottleneck | 19:50 |
| → pks joined | 19:50 |
| ← xall left | 19:50 |
| ← kbeflo_ left | 19:53 |
| ← Garen left | 19:54 |
| ← oleo left | 19:55 |
| ← bannakaffalatta left | 19:55 |
| ← synthmeat left | 19:55 |
| ← trewe left | 19:56 |
| ← cyberz left | 19:56 |
| → jj995 joined | 19:57 |
|
jj995
| is "working copy" the proper term for the files resulting from a git clone possibly after uncommitted/unstaged changes? | 19:58 |
| ← synthroid left | 19:59 |
| → cyberz joined | 19:59 |
|
qqx
| jj995: man gitglossary refers to that as the "working tree" but I suspect most people would consider that as a fine alternative. | 20:00 |
|
gitinfo
| jj995: the gitglossary manpage is available at http://jk.gs/gitglossary.html | 20:00 |
| ← ResidentBiscuit left | 20:00 |
| → bwn joined | 20:00 |
|
jj995
| qqx and gitinfo: thanks! | 20:01 |
|
gitinfo
| jj995: you're welcome, but please note that I'm a bot. I'm not programmed to care. | 20:01 |
| → Murii joined | 20:02 |
| ← jeffreylevesque_ left | 20:03 |
| → synthmeat joined | 20:05 |
| ← raijin left | 20:05 |
| ← paul424 left | 20:05 |
| ← bwn left | 20:06 |
| ← Synthead left | 20:07 |
| ← Cabanossi left | 20:09 |
| → Pseudocrat joined | 20:10 |
| ← Pseudocrat left | 20:10 |
| → Pseudocrat joined | 20:10 |
| ← MutantMahesh left | 20:10 |
| ← ankit01ojha left | 20:10 |
| → Cabanossi joined | 20:11 |
| → sevenever joined | 20:13 |
| ← marianina8 left | 20:15 |
| → hahuang61 joined | 20:15 |
| ← rosiu left | 20:15 |
| → Discovery joined | 20:16 |
| → dtbn joined | 20:16 |
| → ysh joined | 20:16 |
| → marianina8 joined | 20:17 |
| ← marianina8 left | 20:17 |
| ← rwb left | 20:17 |
| → marianina8 joined | 20:17 |
| ← LionsMane left | 20:19 |
| ← govg left | 20:20 |
| ← freimatz left | 20:21 |
| → bwn joined | 20:22 |
| ← synthmeat left | 20:23 |
| → synthmeat joined | 20:23 |
| ← peepsalot left | 20:23 |
| → govg joined | 20:25 |
| → iota_pi joined | 20:26 |
| ← karols146 left | 20:28 |
| → jeffreylevesque joined | 20:30 |
| ← BadApe left | 20:31 |
|
Random832
| matthiaskrgr, isn't that the part where it finds delta codings for everything? | 20:32 |
|
matthiaskrgr
| that is Compression I though? :O | 20:33 |
|
Random832
| well it's a kind of compression, yeah | 20:33 |
|
| compression is cpu intensive in general | 20:33 |
| ← matoro left | 20:34 |
| ← robotroll left | 20:36 |
|
Random832
| it's got to compare every blob object against every other blob (well, not *every*, but it has to do it a lot) to figure out which is the best one to use as the delta base | 20:37 |
| ← Sasazuka left | 20:37 |
| → raijin joined | 20:38 |
| ← terravires left | 20:39 |
| ← tmsmith left | 20:40 |
| ← prg3 left | 20:40 |
| ← yqt left | 20:42 |
| ← imack left | 20:43 |
| ← Acerific left | 20:43 |
| ← orbyt_ left | 20:43 |
| ← Fallen0223 left | 20:43 |
| → prg3 joined | 20:43 |
| → Sasazuka joined | 20:44 |
| ← YuGiOhJCJ left | 20:45 |
| ← ysh left | 20:45 |
| → matoro joined | 20:45 |
| → orbyt_ joined | 20:46 |
| ← Es0teric_ left | 20:46 |
| ← phelix left | 20:47 |
| → pifon joined | 20:47 |
| → Fallen0223 joined | 20:47 |
| → tremby joined | 20:47 |
| → benlieb joined | 20:48 |
| ← gtristan left | 20:49 |
|
tremby
| I'm trying to parse git status --porcelain or git status -z. Parsing filenames becomes difficult when they contain a space, because then suddenly the name is quoted. -z gets around this. But then it becomes complicated again when there is a rename staged. The original name is on the line with the status (`RD oldname\0` for example), and then new name is then on the next line alone (`newname\0`). If newname is something like "MM something" I would | 20:50 |
|
| Am I missing something? Is there a way to get porcelain or -z to *not* tell me the new names for any renames? | 20:50 |
| → Tobbi joined | 20:52 |
| → Es0teric joined | 20:52 |
| ← Fallen0223 left | 20:53 |
| → MrWoohoo joined | 20:53 |
| ← Cabanossi left | 20:55 |
| ← dglambert left | 20:56 |
| → Cabanossi joined | 20:56 |
| → durham_ joined | 20:57 |
| ← bariscant left | 20:57 |
|
tremby
| Oh man, and it turns out that an untracked file with spaces in it is *not* quoted. Seems like a bug. | 20:58 |
| → Fallen0223 joined | 20:58 |
| → seveneve2 joined | 20:58 |
| → bariscant joined | 20:59 |
| ← gugah left | 20:59 |
| ← durham left | 20:59 |
| ← durham_ left | 20:59 |
| ← Murii left | 21:00 |
| ← Ice_Strike left | 21:01 |
| ← buffal0 left | 21:01 |
| → Aleric joined | 21:01 |
| ← Oatmeal left | 21:01 |
|
tremby
| I had oldname and newname backwards for the -z version above. But there's still the problem if the old name started with samething which looks like a status string | 21:01 |
| ← sevenever left | 21:02 |
| → amdi_ joined | 21:03 |
|
Aleric
| Hello all. I'm trying to set up a git server on my machine. When I try to access the server for the first time, using 'git push origin master', I get the error "fatal: 'repos/hamukau.git' does not appear to be a git repository". I found that running the push command results in an attempt to run "git-receive-pack 'repos/hamukau.git'" (without the double quotes) on the remote server. | 21:04 |
|
| And indeed, I get the same error when I do either: | 21:05 |
| ← shgysk8zer0_ left | 21:05 |
|
Aleric
| sean:~/tmp/foobar>ssh hamukau "git-receive-pack 'repos/hamukau.git'" | 21:05 |
|
| fatal: 'repos/hamukau.git' does not appear to be a git repository | 21:05 |
| ← prg3 left | 21:05 |
|
Aleric
| The remote server is a jailroot... The directory looks ok, because I do not get this error when I run: | 21:06 |
|
| sean:~/tmp/foobar>sudo chroot /opt/gitserver/hamukau/root /bin/git-receive-pack repos/hamukau.git | 21:07 |
|
| 008c0000000000000000000000000000000000000000 capabilities^{}report-status delete-refs side-band-64k quiet atomic ofs-delta agent=git/2.7.4 | 21:07 |
|
| etc.. | 21:07 |
| → durham joined | 21:07 |
|
Aleric
| Anyone got an idea what is wrong? :/ | 21:07 |
|
| s/do either:/do:/ | 21:08 |
| → rwb joined | 21:08 |
| → alexandre9099 joined | 21:09 |
| ← kexmex left | 21:10 |
| → jimi_ joined | 21:11 |
| → jstimm joined | 21:11 |
| → p4trix joined | 21:12 |
| → tvw joined | 21:14 |
| ← Fallen0223 left | 21:15 |
| → jost_ joined | 21:15 |
| pifon → nomad101 | 21:15 |
| nomad101 → pifon | 21:16 |
| → oleo joined | 21:18 |
| ← amdi_ left | 21:18 |
| ← jost__ left | 21:19 |
| ← jstimm left | 21:19 |
|
Aleric
| nm, I figured it out... chroot does a chdir '/', while the ssh ends up in the users "home directory" which wasn't /. | 21:19 |
| → Fallen0223 joined | 21:20 |
| ← raulp left | 21:20 |
| ← bariscant left | 21:21 |
| → askb joined | 21:21 |
| → Atm0spher1c joined | 21:21 |
| ← drodger left | 21:23 |
| ← joshszep left | 21:24 |
| → peterbecich joined | 21:24 |
| → miczac joined | 21:24 |
| gitinfo set mode: +v | 21:25 |
| ← Forlorn left | 21:25 |
| ← AaronMT left | 21:25 |
| ← zerocua_ left | 21:27 |
| ← Fallen0223 left | 21:27 |
| → roelmonnens joined | 21:27 |
| → drodger joined | 21:29 |
| ← UrsoBranco left | 21:29 |
| ← durham left | 21:29 |
| → durham joined | 21:30 |
| ← roelmonnens left | 21:31 |
| → Fallen0223 joined | 21:32 |
| → tmsmith joined | 21:32 |
| ← cyberz left | 21:33 |
| ← durham left | 21:34 |
| ← Pseudocrat left | 21:34 |
| ← alexandre9099 left | 21:35 |
| → cyberz joined | 21:35 |
| → alexandre9099 joined | 21:35 |
| ← Noldorin left | 21:36 |
| → zerocua joined | 21:36 |
| → cdg joined | 21:39 |
| → durham joined | 21:40 |
| ← jtoy left | 21:40 |
| → schleppel joined | 21:41 |
| ← thebird left | 21:42 |
| ← texasmynsted left | 21:45 |
| → prg3 joined | 21:47 |
| ← gunnaro left | 21:47 |
| ← Es0teric left | 21:48 |
| ← madewokherd left | 21:53 |
| ← schleppel left | 21:54 |
| nacho → polyzwn | 21:54 |
| → Achylles joined | 21:54 |
| → YuGiOhJCJ joined | 21:54 |
| polyzwn → polyzen | 21:54 |
| ← bambams left | 21:55 |
| ← jimi_ left | 21:56 |
| ← marianina8 left | 22:00 |
| ← cdg left | 22:02 |
| ← linyt left | 22:04 |
| ← blackwind_123 left | 22:06 |
| ← tvw left | 22:08 |
| → blackwind_123 joined | 22:08 |
| ← miczac left | 22:08 |
| ← Tobbi left | 22:10 |
| → bannakaffalatta joined | 22:10 |
| ← Dougie187 left | 22:10 |
| ← nixjdm left | 22:11 |
| ← Fallen0223 left | 22:12 |
| → m0viefreak joined | 22:13 |
| ← acetakwas left | 22:15 |
| ← hahuang61 left | 22:16 |
| ← Gsham left | 22:16 |
| ← mikecmpbll left | 22:17 |
| → miczac joined | 22:20 |
| gitinfo set mode: +v | 22:20 |
| → Sasazuka_ joined | 22:20 |
| ← Sasazuka left | 22:20 |
| ← YuGiOhJCJ left | 22:20 |
| → acetakwas joined | 22:22 |
| ← mischat left | 22:22 |
| → mischat joined | 22:22 |
| ← Rodya_ left | 22:25 |
| → mikecmpbll joined | 22:26 |
| ← mischat left | 22:27 |
| → anuxivm joined | 22:27 |
| ← drodger left | 22:28 |
| → Tobbi joined | 22:28 |
| ← raijin left | 22:29 |
| martin_g_ → martin_g | 22:31 |
| ← overlord_tm left | 22:32 |
| ← martin_g left | 22:32 |
| ← gopar left | 22:32 |
| → Vinnie_win_d joined | 22:33 |
| → gopar joined | 22:33 |
| ← Vinnie_win left | 22:34 |
| ← gopar left | 22:34 |
| → drodger joined | 22:34 |
| → gopar joined | 22:34 |
| ← LeBlaaanc left | 22:35 |
| ← Sasazuka_ left | 22:40 |
| → raijin joined | 22:42 |
| → Rodya_ joined | 22:42 |
| ← zerocua left | 22:42 |
| → zerocua joined | 22:45 |
| ← rigid left | 22:46 |
| ← svm_invictvs left | 22:46 |
| → Sasazuka joined | 22:47 |
| → rokups joined | 22:48 |
| → rigid joined | 22:48 |
| ← rigid left | 22:48 |
| → rigid joined | 22:48 |
| → dendazen joined | 22:50 |
| ← Kardoso left | 22:50 |
| → cahoots joined | 22:50 |
|
Aleric
| Should a git server be able to create arbitrary files in it's root? Currently I see 'config', 'description' and 'HEAD'. | 22:51 |
|
cahoots
| hi, i want to resolve some merge conflicts with the master branch, but i don't actually want to merge the latest master into my code, because that would invalidate all of my build artifacts and force a clean build. is there any way to do this? | 22:52 |
| → Noldorin joined | 22:52 |
|
cahoots
| like, even just seeing what merging would look like, so then i can change my code not to cause it would be good | 22:52 |
| ← Sasazuka left | 22:53 |
| → wizardedit joined | 22:54 |
| ← Cabanossi left | 22:54 |
|
Aleric
| cahoots: you should be using ccache and not worry about that :p | 22:55 |
| → bambams joined | 22:55 |
| ← bambams left | 22:55 |
| → bambams joined | 22:55 |
|
Aleric
| https://linux.die.net/man/1/ccache | 22:55 |
|
cahoots
| Aleric, it's not in place yet sadly | 22:56 |
| → Cabanossi joined | 22:56 |
| → Sasazuka joined | 22:57 |
| ← Ardethian\ left | 22:57 |
| → tmg joined | 23:00 |
| → joshszep joined | 23:00 |
| ← kristofferR left | 23:00 |
| → robattila256 joined | 23:00 |
| → cyphase joined | 23:00 |
| → zulutango joined | 23:01 |
| ← Emperor_Earth left | 23:02 |
| → svm_invictvs joined | 23:02 |
| ← Sasazuka left | 23:03 |
| → kristofferR joined | 23:04 |
| ← gopar left | 23:04 |
| → gopar joined | 23:04 |
|
cahoots
| it looks like there are some ways to just merge specific files, but they all look super hacky | 23:05 |
| ← gopar left | 23:05 |
| → gopar joined | 23:05 |
| → hahuang61 joined | 23:06 |
| ← borkr left | 23:07 |
| → Sasazuka joined | 23:09 |
| → fakenerd joined | 23:10 |
| ← finalbeta left | 23:11 |
| ← tremby left | 23:13 |
| ← fakenerd left | 23:14 |
| ← lavalamp left | 23:15 |
| → roelmonnens joined | 23:16 |
| ← tang^ left | 23:16 |
| ← henriknj left | 23:17 |
| ← kristofferR left | 23:18 |
| → madewokherd joined | 23:19 |
| ← roelmonnens left | 23:20 |
| → mischat joined | 23:23 |
| → nowhere_man joined | 23:23 |
| ← denisMone left | 23:28 |
| → kristofferR joined | 23:29 |
| → Sasazuka_ joined | 23:29 |
| ← kristofferR left | 23:31 |
| ← Sasazuka left | 23:32 |
| ← Tobbi left | 23:32 |
| → cahoots_ joined | 23:32 |
| ← cyphase left | 23:32 |
| → kristofferR joined | 23:33 |
| ← Noldorin left | 23:33 |
| ← Sasazuka_ left | 23:34 |
| ← duderono_ left | 23:34 |
| ← cahoots left | 23:34 |
| ← gopar left | 23:35 |
| → duderonomy joined | 23:35 |
| ← anuxivm left | 23:36 |
| ← cahoots_ left | 23:36 |
| → cyphase joined | 23:37 |
| ← matoro left | 23:37 |
| → Sasazuka joined | 23:37 |
| → Oatmeal joined | 23:39 |
| ← Cabanossi left | 23:39 |
| → matoro joined | 23:41 |
| ← prg3 left | 23:41 |
| → Cabanossi joined | 23:41 |
|
duderonomy
| Hello. How to move a commit from an old branch (to master). The old branch has not been worked on for 2 weeks. I will probably hace conflist to resolve. What are my options or approach? thx! | 23:41 |
| → durham_ joined | 23:42 |
| → afuentes joined | 23:42 |
|
duderonomy
| I think that I see two options: cherry-pick and rebase a branch. Not sure how to proceed. Trying to research which one is preferable for my case. | 23:42 |
| ← re1 left | 23:43 |
| ← doener left | 23:44 |
| → Garen joined | 23:44 |
| ← steeze left | 23:45 |
| → prg3 joined | 23:45 |
| ← durham left | 23:45 |
| ← durham_ left | 23:46 |
| ← mischat left | 23:47 |
| ← cyphase left | 23:47 |
| → cahoots joined | 23:49 |
| ← kristofferR left | 23:50 |
| → jtoy joined | 23:51 |
| → cyphase joined | 23:52 |
| ← nitric left | 23:53 |
| ← cyberz left | 23:53 |
| → Sasazuka_ joined | 23:53 |
| → elsevero joined | 23:53 |
| → cyberz joined | 23:54 |
| ← Sasazuka left | 23:55 |
| ← joshszep left | 23:56 |
| → joshszep joined | 23:58 |
| ← cyphase left | 23:59 |