| 2019-07-29 |
| ← z8z left | 00:00 |
| → abf_ joined | 00:02 |
| ← alyptik left | 00:02 |
| ← hussam left | 00:03 |
| → caskd joined | 00:05 |
| → igemnace joined | 00:06 |
| ← fphilipe left | 00:14 |
| ← cd left | 00:15 |
| ← rafasc left | 00:19 |
| ← thiago left | 00:19 |
| → thiago joined | 00:28 |
| ← mowcat left | 00:31 |
| ← jayjo left | 00:31 |
| → jayjo joined | 00:31 |
| → mowcat joined | 00:33 |
| ← Muzer left | 00:34 |
| ← AtumT left | 00:39 |
| → Muzer joined | 00:47 |
| ← m0viefreak left | 00:48 |
| → fphilipe joined | 00:49 |
| → jubal joined | 00:50 |
| ← yyy- left | 00:51 |
| → jsnal joined | 00:51 |
| → null1337 joined | 00:55 |
| → polydo_s joined | 00:57 |
| → plongshot joined | 00:59 |
| ← polydo_s left | 01:01 |
| ← jsnal left | 01:03 |
| → beastDivision joined | 01:04 |
| ← beastDivision left | 01:15 |
| ← yonder left | 01:15 |
| → atesc joined | 01:17 |
| → alyptik joined | 01:21 |
| → macroprep joined | 01:25 |
| ← fphilipe left | 01:26 |
| subopt → _subopt_in_repos | 01:29 |
| → macroprep_ joined | 01:37 |
| ← alyptik left | 01:38 |
| ← ash_worksi left | 01:38 |
| ← macroprep left | 01:41 |
| ← altendky left | 01:41 |
| ← CryptoDavid left | 01:42 |
| ← igemnace left | 01:46 |
| → libertyprime joined | 01:52 |
| ← Muzer left | 01:52 |
| → omnireq joined | 01:55 |
| ← omnireq left | 01:56 |
| ← libertyprime left | 01:57 |
| → libertyprime joined | 01:57 |
| ← F0rTex left | 01:59 |
| → F0rTex joined | 02:00 |
|
kreyren
| Need info https://pastebin.com/raw/YMtuYwam | 02:02 |
|
| helping end-user | 02:02 |
| → Tobbi_1 joined | 02:02 |
| Tobbi_1 → Tobbi_ | 02:02 |
| ← libertyprime left | 02:02 |
| → libertyprime joined | 02:03 |
|
wyoung
| kreyren: I would love to look at that URL but pastebin is full of ads. | 02:04 |
| → Muzer joined | 02:04 |
| → natechan joined | 02:05 |
|
kreyren
| got it, github has security function on git pushes that exposes email which has to be disabled for this push | 02:06 |
|
rewt
| that's a raw link ... raw text, no ads | 02:06 |
| lagothrix → Guest65557 | 02:07 |
| ← Guest65557 left | 02:07 |
| → lagothrix joined | 02:07 |
| ← kp__ left | 02:09 |
| ← jubal left | 02:10 |
| → randomdude999_ joined | 02:14 |
| ← randomdude999 left | 02:14 |
| randomdude999_ → randomdude999 | 02:14 |
|
wyoung
| kreyren: Fun. | 02:15 |
|
| I wonder when MS will do their re-branding of github. | 02:16 |
| ← macroprep_ left | 02:16 |
| → profmac joined | 02:16 |
|
wyoung
| They will probably renamed it to visual studio hub or something lkke that. | 02:16 |
| ← atesc left | 02:18 |
| → jubal joined | 02:19 |
| → backthen joined | 02:20 |
|
backthen
| I've been using sub modules. But often times I get that there is no branch | 02:21 |
|
| and I have to name this no-name branch to an actual branch and then merge it to master | 02:22 |
|
rasputozen
| wyoung: visual studio hub has a nice ring to iit | 02:23 |
| → polydo_s joined | 02:23 |
| ← polydo_s left | 02:28 |
| → iam730 joined | 02:36 |
| → yonder joined | 02:48 |
| → Goplat joined | 02:54 |
| ← dviola left | 02:55 |
| ← randomdude999 left | 02:56 |
| ← nic-hartley left | 02:59 |
| → kent\n joined | 03:00 |
| ← welovfree left | 03:01 |
| ← kent\n left | 03:07 |
| ← shored left | 03:07 |
| → shored joined | 03:07 |
| → kent\n joined | 03:07 |
| → polydo_s joined | 03:17 |
| ← polydo_s left | 03:22 |
| → fphilipe joined | 03:22 |
| → liberiga joined | 03:22 |
| → Sasazuka joined | 03:25 |
| ← MACscr left | 03:25 |
| ← Sasazuka left | 03:28 |
| ← mud left | 03:29 |
| → atesc joined | 03:32 |
| ← CodeSlingerPaul left | 03:33 |
| → Frobozz joined | 03:37 |
| → ash_worksi joined | 03:38 |
| _subopt_in_repos → subopt | 03:39 |
| ← subopt left | 03:39 |
| ← atesc left | 03:41 |
| ← plongshot left | 03:42 |
| ← ash_worksi left | 03:42 |
| ← natechan left | 03:49 |
| ← liberiga left | 03:50 |
| → macroprep joined | 03:50 |
| → elsheepo joined | 03:54 |
| → macaronus joined | 03:54 |
| ← macroprep left | 03:56 |
| ← fphilipe left | 03:56 |
| → igemnace joined | 03:57 |
| → howdoi joined | 03:58 |
| → jokester joined | 03:58 |
| → atesc joined | 03:59 |
| ← yonder left | 03:59 |
| ← atesc left | 04:00 |
| ← kerframil left | 04:03 |
| → limarfrek joined | 04:03 |
| ← mowcat left | 04:03 |
| → dartmouthed joined | 04:04 |
| → mrCyborg joined | 04:06 |
| → macroprep joined | 04:06 |
| ← jcbitter left | 04:10 |
| → jcbitter joined | 04:11 |
| limarfrek → kerframil | 04:12 |
| → dviola joined | 04:13 |
| ← xcm left | 04:16 |
| → ash_worksi joined | 04:17 |
| → xcm joined | 04:17 |
| → yonder joined | 04:26 |
| → fphilipe joined | 04:27 |
| → LordVoldePort joined | 04:31 |
| → natechan joined | 04:31 |
| ← elsheepo left | 04:42 |
| ← natechan left | 04:42 |
| → fjellfras joined | 04:51 |
| → hussam joined | 04:54 |
| → donofrio joined | 04:55 |
| ← causasui left | 04:57 |
| → causasui joined | 05:00 |
| → pks_ joined | 05:01 |
| ← pks left | 05:03 |
| pks_ → pks | 05:03 |
| matheusm1reira → matheusmoreira | 05:04 |
| → g00s joined | 05:06 |
| → fphilipe_ joined | 05:07 |
| ← fphilipe left | 05:09 |
| ← kerframil left | 05:09 |
| → roadie joined | 05:13 |
| ← dviola left | 05:16 |
| ← macroprep left | 05:18 |
| → pyfgcr joined | 05:29 |
| ← orbyt_ left | 05:30 |
| ← pyfgcr left | 05:38 |
| ← serialoverflow left | 05:46 |
| → rick8024 joined | 05:54 |
| → serialoverflow joined | 05:56 |
| ← fphilipe_ left | 05:56 |
| rick8024 → KnoP | 05:56 |
| → tsdh joined | 06:05 |
| → det joined | 06:05 |
| ← ferdna left | 06:06 |
|
det
| Is there a nice command line to checkout files from the current branches upstream? | 06:06 |
|
| Ideally something like `git checkout UPSTREAM -- <files ...>` | 06:06 |
| ← causasui left | 06:06 |
| ← Joel left | 06:09 |
|
Marmotte
| det: use @{upstream} or @{u} | 06:11 |
| ← pks left | 06:11 |
|
Marmotte
| det: you can find that and many other in the gitrevisions man page | 06:15 |
| → pks joined | 06:16 |
|
det
| Marmotte, thank you, I will check it out | 06:17 |
| → Joel joined | 06:20 |
| → Noti joined | 06:20 |
| ← g00s left | 06:20 |
| → rick8024 joined | 06:21 |
| ← yonder left | 06:23 |
| ← KnoP left | 06:23 |
| ← rick8024 left | 06:27 |
| → fphilipe_ joined | 06:28 |
| → beastDivision joined | 06:34 |
| ← Noti left | 06:35 |
| → pks_ joined | 06:35 |
| ← pks left | 06:36 |
| pks_ → pks | 06:36 |
| → Noti joined | 06:37 |
| → crtcji joined | 06:37 |
| ← thiago left | 06:37 |
| ← iam730 left | 06:40 |
| ← beastDivision left | 06:41 |
| ← xcm left | 06:47 |
| → xcm joined | 06:47 |
| ← chachasmooth left | 06:47 |
| → chachasmooth joined | 06:48 |
| → alyptik joined | 06:49 |
| ← chachasmooth left | 06:49 |
| → chachasmooth joined | 06:50 |
| ← ash_worksi left | 06:51 |
| cixx_ → cixx | 06:52 |
| → tehp joined | 06:54 |
| ← im0nde left | 06:55 |
| → im0nde_ joined | 06:55 |
| → chele joined | 06:57 |
| → crose joined | 06:58 |
| → feriman joined | 07:01 |
| → Jackneill joined | 07:03 |
| ← alyptik left | 07:08 |
| → pks_ joined | 07:10 |
| ← feriman left | 07:11 |
| ← pks left | 07:12 |
| pks_ → pks | 07:12 |
| → dsag joined | 07:13 |
|
dsag
| hi there | 07:13 |
|
| i Have just pulled a particular branch in a repo | 07:13 |
| → rnmhdn joined | 07:14 |
|
rnmhdn
| I have multiple users in my server | 07:14 |
|
dsag
| now that before merging that commits to my master, i realized that master is ahead of my branch | 07:14 |
|
| now when i tried to git checkout master | 07:14 |
|
| i get an error | 07:14 |
|
rnmhdn
| that all use the same linux user | 07:14 |
|
| but have different gitlab accounts | 07:14 |
|
dsag
| error: pathspec 'master' did not match any file(s) known to git. | 07:14 |
|
rnmhdn
| how can they pull ? | 07:14 |
|
dsag
| when i do git fetch --all | 07:15 |
|
| and do git branch -a | 07:15 |
|
| i still dont seem to see my master branch | 07:15 |
|
| how can i fix this | 07:15 |
|
rnmhdn
| so one linux account should be able to pull one gitlab repo through two gitlab accounts | 07:15 |
| → randomdude999 joined | 07:16 |
| → KnoP joined | 07:16 |
| → neunon joined | 07:18 |
| ChanServ set mode: +o | 07:19 |
| Eugene changed the topic to: Welcome to #git | First visit? https://gitirc.eu | Current stable version: 2.22.0 | Getting "cannot send to channel"? /msg gitinfo .voice | This channel is logged: https://gitirc.eu/log | git-clone has nothing to do with reproduction. So stop that. | 07:20 |
| ← nowhereman left | 07:20 |
| Eugene kicked Eugene (Eugene) | 07:20 |
| → Eugene joined | 07:20 |
| → qgTG_ joined | 07:21 |
| → beastDivision joined | 07:21 |
| ← xcm left | 07:22 |
|
rnmhdn
| wtf? | 07:22 |
| → xcm joined | 07:22 |
|
Eugene
| !jokes | 07:22 |
|
gitinfo
| A complete listing of the git-jokes used in the /topic can be found at https://madeitwor.se/git-jokes (patches welcome) | 07:22 |
| → n3wborn joined | 07:22 |
|
Eugene
| rnmhdn - the answer you need is: don't use `git pull` as a !deploy mechanism. | 07:23 |
|
gitinfo
| rnmhdn: Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html | 07:23 |
|
osse
| I agree with the psychopath. | 07:23 |
|
Eugene
| Thaht's never been proven | 07:23 |
| → feriman joined | 07:24 |
| ← dsag left | 07:25 |
| → SkarmoutsosV joined | 07:26 |
| → savolla joined | 07:29 |
| qgTG_ → qgTG | 07:35 |
| → malmalmal joined | 07:35 |
| im0nde_ → im0nde | 07:37 |
| ← libertyprime left | 07:41 |
| ← xcm left | 07:41 |
| → xcm joined | 07:42 |
| → nabil_ joined | 07:42 |
| → Makaveli7 joined | 07:52 |
| ← rnmhdn left | 07:53 |
| → rick8024 joined | 07:56 |
| ← KnoP left | 07:58 |
| rick8024 → KnoP | 07:58 |
| → inkbottle joined | 08:03 |
| → pyfgcr joined | 08:03 |
| → TomyWork joined | 08:04 |
| ← beastDivision left | 08:11 |
| ← inkbottle left | 08:13 |
| → gloomy joined | 08:15 |
| → libertyprime joined | 08:20 |
| ← ramsub07 left | 08:27 |
| ← backthen left | 08:27 |
| → bruce_lee joined | 08:28 |
| → backthen joined | 08:28 |
|
flughafen
| was it githooks i need to use if i wanted to make that *.changes files automatically put my stuff on the top? (these ar ejust single entries generally taht are _always_ added on top) | 08:29 |
|
osse
| if you want to do thing automatically with git then githooks is just about the only way | 08:29 |
| ← WhereIsMySpoon left | 08:29 |
|
flughafen
| what about github? | 08:29 |
| → WhereIsMySpoon joined | 08:30 |
|
osse
| apples and oranges | 08:30 |
| ← tehp left | 08:30 |
|
flughafen
| i want to do git and github | 08:30 |
|
WhereIsMySpoon
| is there a way to run a diff, but exclude certain changes? say someone's done a find/replace on 'foo' to 'baz' and i really dont care about those changes, can i omit those from the diff? | 08:30 |
| ← backthen left | 08:30 |
|
osse
| WhereIsMySpoon: generally that sounds difficult | 08:31 |
|
| if they're in a different file then it's easier | 08:32 |
|
WhereIsMySpoon
| nah, spread around multiple files | 08:32 |
|
| with changes i do want to view in teh same files as those changes i dont\ | 08:33 |
|
osse
| maybe git diff -G can be used | 08:34 |
| ← savolla left | 08:35 |
|
WhereIsMySpoon
| that would give me those changes i dont want to see, not the ones i do | 08:36 |
|
osse
| Depends on the regex | 08:36 |
|
| I was thinking a regex that doesn't match the thins you don't want to see | 08:36 |
|
cdunklau
| WhereIsMySpoon: what will you do once you have this? | 08:37 |
|
| like, what will you use this for | 08:37 |
| → yyy- joined | 08:37 |
| ← queip left | 08:37 |
| ← gloomy left | 08:39 |
|
WhereIsMySpoon
| cdunklau: view the diff im currently viewing without all this find/replace clutter | 08:39 |
|
| its noise that makes it harder to review the code | 08:39 |
| ← Goplat left | 08:41 |
|
cdunklau
| WhereIsMySpoon: are they in different commits | 08:41 |
|
| they probably should be :) | 08:41 |
| → dege joined | 08:41 |
|
WhereIsMySpoon
| no, because we squash all changes into vendor/nonvendor commits for our prs | 08:41 |
|
cdunklau
| you do that before reviewing? | 08:41 |
|
WhereIsMySpoon
| its impossible to review otherwise | 08:41 |
|
cdunklau
| hmm | 08:41 |
|
WhereIsMySpoon
| vendored changes mean nothing else loads | 08:42 |
|
cdunklau
| well, okay, i'm out of ideas | 08:42 |
|
WhereIsMySpoon
| thanks anyway :) | 08:42 |
| → planetcall|work joined | 08:42 |
| → queip joined | 08:44 |
| → gloomy joined | 08:44 |
|
osse
| would be nice with a negative -G | 08:45 |
|
WhereIsMySpoon
| using -G seems to return lines that are unrelated to my regex | 08:45 |
|
| =/ | 08:45 |
| ← malmalmal left | 08:46 |
|
WhereIsMySpoon
| does -G only work on a per-file basis or something? | 08:47 |
|
osse
| no | 08:48 |
|
| or... what do you mean by that? | 08:49 |
|
WhereIsMySpoon
| as in if i do -G "foo" and the number of foos in the file changes, will all changes in that file be shown in the diff? | 08:50 |
|
| regardless of whether the line a change is in contains or contained a foo | 08:50 |
|
| maybe im misunderstanding -G | 08:51 |
|
osse
| i think you're right | 08:51 |
|
| I didn't expect that | 08:52 |
| ← roadie left | 08:52 |
|
WhereIsMySpoon
| me either | 08:52 |
|
| :/ | 08:52 |
|
osse
| I think I wound save the diff to a file and edit it | 08:52 |
|
WhereIsMySpoon
| hmeh | 08:53 |
|
| ok, thanks for the help once again osse :) | 08:53 |
|
| youre always helpful | 08:53 |
|
| are you a git dev? | 08:54 |
|
osse
| I have 3-4 commits in my name in the git repo... | 08:55 |
|
| But I don't consider myself a git dev | 08:55 |
| ← n3wborn left | 08:56 |
|
WhereIsMySpoon
| well you're super helpful either way :) thanks | 08:57 |
|
| cya round! | 08:57 |
| ← WhereIsMySpoon left | 08:57 |
| → mimajof joined | 08:57 |
| ← Onionnion left | 09:02 |
| → aruns joined | 09:05 |
| → polman joined | 09:07 |
| ← ajbura left | 09:22 |
| → irdr joined | 09:24 |
| → Envil joined | 09:27 |
| → clime joined | 09:28 |
| → rick8024 joined | 09:29 |
| ← KnoP left | 09:32 |
| rick8024 → KnoP | 09:32 |
| → Celmor[m] joined | 09:34 |
| → Oebele joined | 09:35 |
| ← Makaveli7 left | 09:35 |
| ← catsup left | 09:38 |
| → catsup joined | 09:39 |
| ← catsup left | 09:39 |
| → catsup joined | 09:40 |
| → roadie joined | 09:40 |
| ← queip left | 09:44 |
| → Makaveli7 joined | 09:45 |
| ← abf_ left | 09:51 |
| → queip joined | 09:51 |
| → floppydh joined | 09:55 |
| → YuGiOhJCJ joined | 10:00 |
| ← hussam left | 10:03 |
| → Novae joined | 10:03 |
| → rnmhdn joined | 10:05 |
| ← lankanmon left | 10:06 |
| ← yyy- left | 10:08 |
| → malmalmal joined | 10:09 |
| → cd joined | 10:11 |
| ← KnoP left | 10:20 |
| → KnoP joined | 10:21 |
| → Lucas_Gray joined | 10:21 |
| → lhunath joined | 10:28 |
| → mebus joined | 10:28 |
| → Pseudonosaur joined | 10:28 |
| → kadoban joined | 10:28 |
| → olbat[m] joined | 10:28 |
| → pd09041999[m] joined | 10:28 |
| → mattcen joined | 10:28 |
| → kapilp joined | 10:32 |
| → yyy- joined | 10:35 |
| → Wryhder joined | 10:35 |
| ← Lucas_Gray left | 10:35 |
| Wryhder → Lucas_Gray | 10:36 |
| → inkbottle joined | 10:39 |
|
rnmhdn
| x has cloned a repo to my system with his own account | 10:40 |
|
| how can I push to that repo with my account? | 10:40 |
|
cdunklau
| rnmhdn: what's the remote's url? | 10:41 |
|
rnmhdn
| gitlab | 10:41 |
|
cdunklau
| that's not a valid url | 10:42 |
|
rnmhdn
| why do you need the remote URL it's a private repo anyway | 10:42 |
|
cdunklau
| rnmhdn: what does it start with? | 10:42 |
|
| rnmhdn: did you try pushing? what happened? | 10:42 |
|
rnmhdn
| you mean if they have cloned with https or git? | 10:42 |
|
| it asks for their password | 10:42 |
|
| but I also have credentials to that repo | 10:42 |
|
cdunklau
| rnmhdn: yes, what protocol is the url set for | 10:43 |
|
rnmhdn
| it has both https and git | 10:43 |
|
| they have probably used https initially to clone | 10:43 |
|
cdunklau
| a remote can't have more than one url | 10:43 |
|
| anyway, change the remote's URL | 10:44 |
|
rnmhdn
| it is the same url | 10:44 |
|
cdunklau
| does it have a username@ in it | 10:44 |
|
rnmhdn
| moment | 10:44 |
|
| no | 10:44 |
|
cdunklau
| rnmhdn: and you're looking at what git has, right? | 10:44 |
|
| git remote -v | 10:44 |
|
rnmhdn
| shit | 10:44 |
|
| yes it has username in it | 10:45 |
|
cdunklau
| there you go | 10:45 |
|
rnmhdn
| https://arn24@gitlab.com/rndn/londo | 10:45 |
|
| so I just change remote? | 10:45 |
|
cdunklau
| yes, probably to SSH because http remotes suck | 10:46 |
|
rnmhdn
| can I use differnt accounts with a git url? | 10:46 |
|
| git remote set-url origin [email@hidden.address] | 10:47 |
|
cdunklau
| git url means SSH | 10:47 |
|
| so yes | 10:47 |
|
| it'll use your SSH key | 10:47 |
|
rnmhdn
| so my friend has to put his key in my system then? | 10:47 |
|
| ok thanks | 10:47 |
|
cdunklau
| rnmhdn: no, they cloned with https | 10:47 |
|
rnmhdn
| I mean from now on | 10:48 |
|
cdunklau
| rnmhdn: are you trying to make it so your friend can use your machine? | 10:48 |
|
rnmhdn
| no | 10:48 |
|
| I'm trying to ditch you so you won't tell me | 10:48 |
|
| !deploy | 10:48 |
|
gitinfo
| Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html | 10:48 |
|
rnmhdn
| lol | 10:48 |
|
cdunklau
| rnmhdn: it's hard to help effectively unless we know the actual situation | 10:49 |
|
rnmhdn
| yes but some people don't help you if you tell them what you are doing:D:P | 10:49 |
| → omnireq joined | 10:49 |
|
rnmhdn
| thanks for your help tho;) | 10:50 |
|
cdunklau
| rnmhdn: and lots of people won't even try to help if you seem like you're not being truthful | 10:50 |
|
| it's hard enough to help people on the internet as is | 10:50 |
|
rnmhdn
| when you are trying to ditch people you don't expect them to notice you are not being truthful:D | 10:50 |
|
| I'm sorry :D | 10:50 |
|
| thank you. | 10:50 |
|
cdunklau
| rnmhdn: people also remember when certain people are difficult to help, so a lot of the time they won't even try next time | 10:51 |
|
rnmhdn
| oops :-s | 10:53 |
| ← inkbottle left | 10:53 |
| ← Makaveli7 left | 10:55 |
| ← pyfgcr left | 10:58 |
| → plasticle joined | 10:58 |
| ← crtcji left | 11:00 |
|
Habbie
| cdunklau, without wanting to disagree with anything you said (certainly for the purpose of solving a problem), i recently ran across https://gist.github.com/bjmiller121/f93cd974ff709d2b968f which is pretty nifty | 11:01 |
|
cdunklau
| Habbie: except for the "a remote can't have more than one url" part :) | 11:03 |
|
| i didn't know that, nifty | 11:03 |
|
Habbie
| ack | 11:03 |
|
| it's still only one remote for pulling, obviously | 11:03 |
|
cdunklau
| seems to be a questionable use case though :D | 11:04 |
|
Habbie
| i haven't figured out a use case for it either | 11:04 |
|
| i do have a repo that i'd like to be in sync with another repo all the time, but this won't help me do that | 11:04 |
| ← gloomy left | 11:04 |
|
cdunklau
| sounds like one of those "it sounded like a good idea at the time!" things | 11:05 |
|
Habbie
| 'easy backups' | 11:05 |
|
cdunklau
| yeah until it isn't easy | 11:05 |
|
Habbie
| yes | 11:06 |
| ← crose left | 11:08 |
| ← fjellfras left | 11:10 |
| ← rnmhdn left | 11:11 |
| → Atlenohen joined | 11:14 |
| → emsjessec joined | 11:14 |
| ← Lucas_Gray left | 11:15 |
| ← Cabanossi left | 11:15 |
| → derk0pf joined | 11:18 |
|
derk0pf
| $echo *.jpg > .gitigonre; that ignores all *.jpg even in dirs, right? | 11:18 |
|
osse
| qyes | 11:18 |
|
| yes | 11:18 |
|
| assuming that actually adds '*.jpg" to the file | 11:19 |
|
derk0pf
| osse: ty a lot << | 11:19 |
|
cdunklau
| derk0pf: also it wipes your existing .gitignore :) | 11:19 |
|
| well, .gitigonre | 11:19 |
|
derk0pf
| hm, sure? | 11:19 |
|
osse
| yes | 11:19 |
|
cdunklau
| which presumably you don't care about anyway :D | 11:19 |
|
derk0pf
| i tought it just add the line | 11:19 |
|
| but it would be a bad habit | 11:19 |
|
osse
| >> adds. > overwrites | 11:19 |
|
derk0pf
| ty | 11:19 |
|
| for noticing | 11:19 |
|
| yo | 11:19 |
|
| roger roger | 11:19 |
|
| thanks | 11:20 |
|
| nice tipp | 11:20 |
|
| :3 | 11:20 |
|
osse
| and if you have jpg files in the current directory then echo *.jpg won't actually echo *.jpg | 11:20 |
|
cdunklau
| oh lol | 11:20 |
|
derk0pf
| woah | 11:20 |
|
| what a whiz | 11:20 |
|
cdunklau
| shells are bad mmmkay | 11:20 |
|
derk0pf
| :> | 11:20 |
|
| ^no | 11:20 |
|
| anyhow | 11:20 |
|
selckin
| howto recognise <18 year olds | 11:22 |
| → gloomy joined | 11:22 |
|
derk0pf
| i actualy had to put it in qouting marks osse | 11:22 |
|
osse
| yeo | 11:23 |
| → czart joined | 11:23 |
|
osse
| yep | 11:23 |
| → Lucas_Gray joined | 11:26 |
| → learningc joined | 11:26 |
| ← Lucas_Gray left | 11:28 |
| ← aruns left | 11:30 |
| → lankanmon joined | 11:31 |
| → rnmhdn joined | 11:32 |
| → Lucas_Gray joined | 11:33 |
| → Viking667 joined | 11:36 |
|
Viking667
| Good evening. I forked a repo a while ago, now I want to pull the changes from that repo into my own fork, which git pull command do I need? | 11:37 |
|
| (i.e. I want to fast forward my own to the current state of the other repo) | 11:38 |
|
osse
| Viking667: forked, as in you have a fork on github? | 11:39 |
| → nuala joined | 11:40 |
| ← gloomy left | 11:40 |
| → nabil__ joined | 11:41 |
| → AtumT joined | 11:42 |
| ← nabil_ left | 11:44 |
| → nabil_ joined | 11:45 |
| ← nabil__ left | 11:46 |
| ← nuala left | 11:47 |
|
Viking667
| osse: yes. The project is called dolphinsmalltalk/Dolphin, I have brickviking/Dolphin | 11:47 |
| → lucasb joined | 11:47 |
|
Viking667
| I did that on the instructions of the person maintaining Dolphin. | 11:47 |
| → subopt joined | 11:49 |
| ← rnmhdn left | 11:50 |
| → CodeSlingerPaul joined | 11:52 |
|
cdunklau
| Viking667: so you want to pull in the changes from dolphinsmalltalk/Dolphin | 11:53 |
|
| ? | 11:53 |
|
wyoung
| Viking667: I could edit .git/config and add in the original repo you forked from. Then you do a git pull nameOfOriginalRepoYouAddedToGitConfig | 11:54 |
|
cdunklau
| my usual workflow for this is to add the upstream as a remote called "upstream" and pull from that | 11:54 |
|
wyoung
| s/could/would/ | 11:54 |
|
| cdunklau: How you been buddy! Long time! | 11:54 |
|
cdunklau
| ...hi | 11:54 |
| → quizzi joined | 11:54 |
|
osse
| Viking667: add the original repo as another remote, fetch from it, then do whatever | 11:55 |
|
| Viking667: !sync | 11:55 |
|
gitinfo
| Viking667: [!pull_upstream] To incorporate changes from an "upstream" or forked-from repository: git remote add upstream $URL; git fetch upstream; git merge upstream/$BRANCH. https://help.github.com/articles/syncing-a-fork/ | 11:55 |
|
Viking667
| hm, git fetch upstream looks familiar, I suspect git merge could be the bit where I become unstuck. | 11:56 |
|
wyoung
| Nice, hand holding instructions. I like :) | 11:56 |
|
Viking667
| Okay, thanks. | 11:56 |
|
| Yah, it's been ages since I've used anything but "git clone" and "git pull" | 11:56 |
|
cdunklau
| Viking667: git pull is just a fetch, and a merge | 11:57 |
|
wyoung
| cdunklau: How's life? | 11:57 |
|
Viking667
| I'm surprised I still remember "git commit -m ...." | 11:57 |
|
cdunklau
| wyoung: i don't really want to talk to you | 11:57 |
|
Viking667
| would "git pull upstream" work? | 11:57 |
|
cdunklau
| Viking667: if you wanted to fetch, then merge FETCH_HEAD, sure | 11:57 |
|
wyoung
| Fair call. A bit rude but kind of what I expect from you. | 11:57 |
|
cdunklau
| k | 11:58 |
|
Viking667
| okay. Thanks, cdunklau | 11:58 |
| ← zamba left | 11:58 |
|
cdunklau
| wyoung: meh, so is assuming we're buddies | 11:59 |
|
osse
| Viking667: you said you wanted to fast-forward your state. merge is the tool of choice then | 11:59 |
|
| Viking667: in particular merge --ff-only, which will scream at you if fast-forwarding isn't possible | 11:59 |
| ← quizzi left | 11:59 |
| ← khisanth_ left | 12:00 |
|
Viking667
| lol. I did "git pull upstream" and it complained I hadn't specified a branch. | 12:00 |
|
| do I just tack -b master on the end? Or isn't that how it works? | 12:00 |
| → Cabanossi joined | 12:00 |
| ← Noti left | 12:00 |
|
Viking667
| whoops, I missed that last comment. | 12:01 |
|
osse
| if master is the branch you want then yes, but without -b | 12:01 |
| → Noti joined | 12:02 |
|
Viking667
| so, "git merge upstream/master" | 12:03 |
| ← netj left | 12:03 |
| → quizzi joined | 12:03 |
| → netj joined | 12:04 |
| → zamba joined | 12:04 |
|
osse
| after fetching yes | 12:05 |
|
Viking667
| Thanks for that. | 12:07 |
| → enoq joined | 12:09 |
|
Viking667
| okay. Something's weird. when it prompts me for a github username, do they mean complete with email address, or without that? | 12:09 |
|
| Never mind, I figured it out. Okay, I'm out of here... | 12:11 |
|
Habbie
| username, not email address - but instead, i strongly recommend using ssh | 12:11 |
|
Viking667
| thanks for the help. It was ssh prompting me. | 12:11 |
|
Habbie
| oh | 12:11 |
|
| then the username is git | 12:11 |
|
Viking667
| to be exact, ssh-askkey... | 12:11 |
|
| wha? | 12:11 |
|
Habbie
| sorry | 12:11 |
|
| i assumed github | 12:11 |
|
| i guess i'm wrong | 12:12 |
|
Viking667
| yes, it asked me for my username at github. | 12:12 |
|
Habbie
| ssh would not do that | 12:12 |
|
cdunklau
| Viking667: what's your remote's URL | 12:12 |
|
Habbie
| https sould do that | 12:12 |
|
| *would | 12:12 |
|
Viking667
| github.com/brickviking/Dolphin | 12:12 |
|
cdunklau
| Viking667: what command did you run? | 12:12 |
|
Viking667
| Not sure whether I used git: or https: | 12:12 |
|
| uhm, git push | 12:13 |
| → khisanth_ joined | 12:13 |
|
Viking667
| so it'll be whatever I set up initially | 12:13 |
|
osse
| git remote -v will show | 12:13 |
|
Viking667
| thanks. | 12:13 |
|
cdunklau
| Viking667: git remote -v | 12:13 |
|
| look for origin | 12:13 |
|
osse
| 2l8 bruh | 12:13 |
|
Viking667
| yup. 218? | 12:14 |
|
cdunklau
| osse: fite me | 12:14 |
|
| Viking667: that's an L | 12:14 |
|
| Viking667 departs before fighting breakes oute... | 12:14 |
| ← plasticle left | 12:14 |
|
cdunklau
| Viking667: fiting* | 12:14 |
|
| :3 | 12:14 |
|
Viking667
| meh. Whatever. | 12:14 |
|
| good morftervenight... | 12:15 |
| ← Viking667 left | 12:15 |
| ← zamba left | 12:15 |
| ← malmalmal left | 12:18 |
| → nuala joined | 12:19 |
| → zamba joined | 12:19 |
| → malmalmal joined | 12:20 |
| → pyfgcr joined | 12:26 |
| ← malmalmal left | 12:27 |
| ← zamba left | 12:37 |
| → plasticle joined | 12:38 |
| → zamba joined | 12:39 |
| → d3mon joined | 12:40 |
| ← d3mon left | 12:40 |
| → d3mon joined | 12:40 |
| ← d3mon left | 12:40 |
| → randomdude999_ joined | 12:41 |
| ← randomdude999 left | 12:41 |
| randomdude999_ → randomdude999 | 12:41 |
| ← YuGiOhJCJ left | 12:41 |
|
wyoung
| Who's fighting? | 12:42 |
|
osse
| no one, we're just kidding | 12:43 |
|
| Oh... The Yemeni | 12:44 |
| ← ezio left | 12:47 |
| → randomdude999_ joined | 12:47 |
| ← randomdude999 left | 12:47 |
| randomdude999_ → randomdude999 | 12:47 |
| → malmalmal joined | 12:48 |
| → tlaxkit joined | 12:52 |
| ← zamba left | 12:53 |
| ← Newami left | 12:53 |
| → zamba joined | 12:56 |
| → Makaveli joined | 13:02 |
| Makaveli → Guest70906 | 13:03 |
| ← Guest70906 left | 13:04 |
| → Makaveli joined | 13:04 |
| Makaveli → Guest85942 | 13:05 |
| ← SkarmoutsosV left | 13:05 |
| → revoltingPeasant joined | 13:05 |
| ← austin987 left | 13:06 |
|
revoltingPeasant
| I accidentally did a `git stash apply` on my local master branch. I'm pretty sure the stash was just junk but I cant remember when I made it. anyway now I'm unable to do `git checkout ./` as I'm getting "JunkFile.cpp: needs merge", can I safely back out of this situation. I'd hate to affect the master branch in any way. | 13:08 |
|
osse
| revoltingPeasant: sounds like the stash applying failed. git reset --hard will take care of it | 13:09 |
|
revoltingPeasant
| osse: thank you very much. | 13:09 |
|
osse
| revoltingPeasant: do you live in an anarcho-syndicalist commune? | 13:10 |
| ← queip left | 13:11 |
|
revoltingPeasant
| slaughter the bourgeoisie! | 13:11 |
|
| osse: ah no, I just need a wash | 13:12 |
|
osse
| https://www.youtube.com/watch?v=t2c-X8HiBng | 13:12 |
|
revoltingPeasant
| classic | 13:13 |
|
cdunklau
| i prefer strange women sitting in ponds, distributing swords | 13:13 |
|
osse
| you like having some moistened bint lobbing scimitars at you? | 13:15 |
| → albel727 joined | 13:15 |
|
cdunklau
| shut UP | 13:16 |
| → localhorse joined | 13:16 |
|
osse
| Viking667 should've been around now | 13:16 |
| → queip joined | 13:17 |
| ← Kulrak left | 13:21 |
| ← randomdude999 left | 13:21 |
| ← Cabanossi left | 13:23 |
| → Kulrak joined | 13:23 |
| → alyptik joined | 13:25 |
| ← omnireq left | 13:26 |
| ← tsdh left | 13:26 |
| → griffindy joined | 13:31 |
|
cdunklau
| i fart in your general direction! | 13:31 |
| ← alyptik left | 13:31 |
| ← netj left | 13:33 |
| → crose joined | 13:33 |
| ← yyy- left | 13:34 |
| → netj joined | 13:34 |
| → Cabanossi joined | 13:34 |
| → yyy- joined | 13:34 |
| → altendky joined | 13:38 |
| → zen_coder joined | 13:38 |
|
zen_coder
| where do I specify which git commit should be used by a certain submodule? | 13:38 |
|
osse
| zen_coder: you go to the submodule, git checkout the commit you want, go back, git add path/to/submodule and commit | 13:38 |
| ← netj left | 13:39 |
| → StucKman joined | 13:39 |
| → netj joined | 13:39 |
| ← LordVoldePort left | 13:39 |
| → rnmhdn joined | 13:39 |
| → randomdude999 joined | 13:40 |
|
StucKman
| I know this is about a private site and not the tool, but maybe is kind enough to helpme: given repo A in GitHub and its clone repo B, can I update repo B from repo A directly, without using my network? | 13:40 |
| ← quizzi left | 13:40 |
| ← macaronus left | 13:40 |
| → gordonfish joined | 13:40 |
|
osse
| StucKman: not using plain Git. I think Github's web UI can do it | 13:41 |
|
StucKman
| that's exactly what I can't find | 13:41 |
|
| all I see is This branch is 387 commits behind repo A | 13:41 |
|
zen_coder
| osse: that is how you do it when you first add a submodule? | 13:42 |
| → quizzi joined | 13:42 |
|
Habbie
| i've never spotted that in github's web ui | 13:42 |
|
| i would also like this for some branches | 13:42 |
| → elichai2 joined | 13:42 |
|
osse
| zen_coder: yes | 13:43 |
| ← queip left | 13:44 |
|
zen_coder
| osse: how do I remove a submodule? just remove the entry from the `.gitmodules` ? | 13:45 |
| → uebera|| joined | 13:45 |
|
osse
| zen_coder: git rm the/path, and that | 13:46 |
| → rafasc joined | 13:46 |
|
osse
| zen_coder: I think actually git rm takes care of the .gitmodules file | 13:47 |
|
StucKman
| Habbie: ok, I'm not the only one :) :( | 13:47 |
|
| my option is to discard the clone and redo it | 13:47 |
|
Habbie
| why would you discard the clone? | 13:48 |
| ← quizzi left | 13:48 |
|
StucKman
| Habbie: so I can clone it again | 13:49 |
| ← derk0pf left | 13:49 |
|
Habbie
| StucKman, no wait - what is your goal? | 13:49 |
| ← ChrisLane left | 13:49 |
| → derk0pf joined | 13:49 |
|
StucKman
| Habbie: git pull on repo B, which is a clone of repo A, without a third clone with both A and B as remotes | 13:50 |
|
Habbie
| 'which is a clone' or 'which is a fork'? | 13:50 |
| → quizzi joined | 13:50 |
| → ChrisLane joined | 13:50 |
| → queip joined | 13:50 |
|
StucKman
| yes, fork, clone, isn't it the same thing? | 13:50 |
|
| (ok, GH says you can fork a repo on their site, and clone on your computer) | 13:51 |
|
| but internally the op is the same, git clone | 13:51 |
|
| maybe the fork is a git clone --bare | 13:52 |
|
zen_coder
| osse: can I remove multiple submodules in one command? | 13:52 |
|
_ikke_
| They have some custom logic to p | 13:52 |
|
osse
| zen_coder: probably yes | 13:52 |
|
_ikke_
| Limit duplication | 13:52 |
|
osse
| StucKman: googling reveals nothing so I guess it can't be done | 13:53 |
|
StucKman
| osse: yeah, I suspected the same | 13:53 |
|
Habbie
| StucKman, the point is that your question is hard to understand if you mix the terms :) | 13:54 |
| ← learningc left | 13:57 |
| → mat001 joined | 13:59 |
| → derk0pf_ joined | 14:00 |
| ← derk0pf left | 14:00 |
| → Es0teric joined | 14:02 |
| ← Guest85942 left | 14:04 |
| ← Oebele left | 14:04 |
| → hussam joined | 14:05 |
| ← derk0pf_ left | 14:07 |
| → derk0pf joined | 14:10 |
| ← derk0pf left | 14:13 |
| → derk0pf joined | 14:15 |
| ← Lucas_Gray left | 14:17 |
| → Lucas_Gray joined | 14:17 |
| → thiago joined | 14:21 |
| ← clime left | 14:23 |
| ← Jackneill left | 14:25 |
| ← roadie left | 14:28 |
| → roadie joined | 14:31 |
| → boombatower joined | 14:32 |
| → Jackneill joined | 14:38 |
| → bluezone joined | 14:39 |
| ← mimajof left | 14:44 |
| ← malmalmal left | 14:47 |
| ← Lucas_Gray left | 14:50 |
| ← Es0teric left | 14:51 |
| → Lucas_Gray joined | 14:51 |
| → greggerz joined | 14:56 |
| ← profmac left | 14:58 |
| → oatmealraisin joined | 14:59 |
| ← Noti left | 15:02 |
| → malmalmal joined | 15:03 |
| ← mat001 left | 15:04 |
| ← subopt left | 15:05 |
| ← Lucas_Gray left | 15:06 |
| → subopt joined | 15:07 |
| ← floppydh left | 15:07 |
| → Lucas_Gray joined | 15:07 |
| ← kjartan left | 15:08 |
| → oxymoron93 joined | 15:10 |
| → AbleBacon joined | 15:11 |
| → kjartan joined | 15:11 |
| → welovfree joined | 15:12 |
| → AbleBacon_ joined | 15:12 |
| ← AbleBacon_ left | 15:13 |
| ← welovfree left | 15:14 |
| → agowa338 joined | 15:14 |
| ← chele left | 15:15 |
| ← derk0pf left | 15:17 |
| → trebuh joined | 15:20 |
|
trebuh
| Hello, is there a way to specify a username per host in the config: for example github.com -> trebuh gitlab.com.treb.uh etc. ? | 15:21 |
|
canton7
| trebuh, I don't follow your example? | 15:22 |
| → profmac joined | 15:24 |
|
trebuh
| I want to specify a different username if the remote is matching a pattern. For instance, if github.com then the username I use should be trebuh, if gitlab.com it should be foo, if git.mycompany.com it should be bar. | 15:24 |
|
Habbie
| you can just put those in each of the remotes in your .git/config | 15:24 |
| → Piraty joined | 15:25 |
|
trebuh
| I would like to avoid the per repository config if possible. | 15:25 |
|
rafasc
| lets clarify something here: what kind of username are you referring here? | 15:25 |
|
Piraty
| hmm. `git diff v1..v2 -- somePath` and `git log --patch v1..v2 -- somePath` don't give the same patch !? | 15:26 |
| ← thiago left | 15:26 |
|
canton7
| trebuh, ssh username? value of 'core.user' in the git config | 15:26 |
| ← Lucas_Gray left | 15:26 |
|
canton7
| trebuh, some other sort of username? | 15:27 |
| → fflam joined | 15:27 |
|
trebuh
| the core.user username, it would be the same for all repo hosted at git.mycompany.com for example. Hence I do not have to configure it on a per repo basis. | 15:28 |
| → mikeputnam joined | 15:29 |
|
rafasc
| if by core.user you mean user.name, that doesn't make much sense. | 15:30 |
| ← R2robot left | 15:30 |
|
rafasc
| if you are willing to modify the structure you have your repos, you can use 'conditional includes' | 15:30 |
| → R2robot joined | 15:30 |
| → derk0pf joined | 15:31 |
| → def_jam joined | 15:31 |
|
trebuh
| Oh that would work, if the repo is into ~/foo/ then use this config etc. ? | 15:31 |
| → eb0t_ joined | 15:31 |
|
canton7
| rafasc, oops | 15:32 |
| ← eb0t left | 15:32 |
| ← eblip left | 15:33 |
| → alyptik joined | 15:33 |
|
rafasc
| trebuh: that's the gist of it. | 15:34 |
|
trebuh
| I looked into it and that would work well for me. Thanks. | 15:35 |
|
rafasc
| you can do stuff like: if the repo is under ~/repos/github/ use github username, etc.. | 15:35 |
|
trebuh
| rafasc: perfect. | 15:35 |
|
rafasc
| you might want to consider setting user.useConfigOnly | 15:37 |
|
| so git doesn't try to guess your username in some circumstances. | 15:38 |
| ← alyptik left | 15:38 |
| ← neunon left | 15:40 |
| → neunon joined | 15:40 |
| → Lucas_Gray joined | 15:41 |
| → leeN joined | 15:41 |
|
trebuh
| I'll have a look, thanks for the insight | 15:43 |
| → deathwishdave joined | 15:44 |
| ← oxymoron93 left | 15:47 |
| → jarlopez joined | 15:55 |
|
jarlopez
| I'm walking through a `git add --patch <a lot of files>` and forgot to stage a specific hunk. How can I go back to the hunk I missed, without having to re-run `git add --patch ...`? | 15:56 |
| → joe2 joined | 15:56 |
|
jarlopez
| I see that there's a `g` command when interactively adding | 15:56 |
| → mat001 joined | 15:57 |
| ← mat001 left | 15:57 |
| → mat001 joined | 15:57 |
| ← revoltingPeasant left | 15:58 |
| → nabil__ joined | 15:59 |
| ← shored left | 15:59 |
| → shored joined | 15:59 |
| ← nabil_ left | 16:01 |
| → thiago joined | 16:05 |
| ← subopt left | 16:05 |
| → subopt joined | 16:07 |
| ← subopt left | 16:13 |
| joe2 → revoltingPeasant | 16:14 |
| ← zen_coder left | 16:15 |
| ← thiago left | 16:15 |
| → iam730 joined | 16:16 |
| → strk1 joined | 16:17 |
|
strk1
| Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Git/SVN/Log.pm line 225, <$fh> line 73238. | 16:17 |
|
| I keep getting the above error since a loooong time | 16:17 |
|
| git-svn is 1:2.17.1-1ubuntu0.4 | 16:17 |
| strk1 → strk | 16:17 |
| → causasui joined | 16:18 |
| → thiago joined | 16:18 |
| ← nabil__ left | 16:19 |
|
wyoung
| Take me down to the pardise city where the drupol's are green and the cdunklau's are pretty! | 16:19 |
| ← igemnace left | 16:19 |
| → nabil joined | 16:20 |
| ← Lucas_Gray left | 16:20 |
|
bin_bash
| no | 16:21 |
|
wyoung
| bin_bash: Oh won't you please take me home! | 16:22 |
| → igemnace joined | 16:22 |
| → nabil_ joined | 16:23 |
| ← fphilipe_ left | 16:25 |
| ← nabil left | 16:26 |
|
ongo
| so I porked my git commit history pretty badly, long story, but I need to revert to an old commit and remove all commits that are above it (everything is pushed) | 16:27 |
|
| do I just check out that SHA and force push? | 16:27 |
|
wyoung
| I cry when angels deserve to DIIIEE!!!!! | 16:27 |
| → fphilipe_ joined | 16:28 |
|
ongo
| 1. git reset sha 2. commit -m "undo" 3. git push -f origin master? | 16:28 |
|
igemnace
| ongo: are you certain you want to remove published history for this change? others working with you will have to do work to recover | 16:29 |
|
ongo
| yes | 16:29 |
|
| the history is just confusing and looks absolutely atrocious | 16:29 |
|
| we are aware of it and want to clean up the history | 16:29 |
|
Habbie
| your 3 steps will -add- a commit resetting the -content- state to what you want | 16:29 |
|
| it will not clean up the history | 16:30 |
|
igemnace
| reset --hard to that commit then push -f. and make use of rebase -i next time | 16:30 |
|
Habbie
| for that, read up on reset --hard | 16:30 |
|
ongo
| thanks | 16:30 |
| → omnireq joined | 16:30 |
| ← fphilipe_ left | 16:33 |
| → orbyt_ joined | 16:33 |
| → borkr joined | 16:33 |
| → mowcat joined | 16:35 |
| ← feriman left | 16:35 |
| ← revoltingPeasant left | 16:36 |
| ← Piraty left | 16:37 |
| → jammm joined | 16:40 |
| → publio joined | 16:42 |
|
ongo
| my god I feel dirty after that | 16:43 |
| → fphilipe_ joined | 16:43 |
| → pfloyd joined | 16:43 |
|
ongo
| is it a good idea to rebase like 50 commits on master to cleanup the history, commit messages, etc. | 16:44 |
|
pfloyd
| if I'm in the midst of a merge conflict (.git/MERGE_HEAD exists, etc) and I want to quickly get the list of the conflicting files (even if I've resolved the conflict, but haven't committed yet), is there a git command that can show me the conflicting files only? Kind of like grap'ing for "both modified:" prior to resolving the conflict, but which would work both before and after resolving the conflict? | 16:45 |
| ← orbyt_ left | 16:45 |
| ← agowa338 left | 16:45 |
|
TomyWork
| pfloyd, git status should show you that | 16:47 |
|
| sounds like an x-y problem though | 16:48 |
|
| !xyproblem | 16:48 |
|
| !xy | 16:48 |
|
gitinfo
| You are asking about a solution, but we can help you a lot better if you could describe the actual problem you are trying to solve. | 16:48 |
|
pfloyd
| TomyWork: no it won't if I've resolved the conflict, it'll go from "both modified:" to "modified:" and appear like other files that did not have a conflict. | 16:49 |
|
| what was unclear about my question? "git merge" => conflict. I want to be able to identify what files had a conflict both before AND after I resolve the conflict. | 16:49 |
|
| but priot to a "git commit" | 16:49 |
|
TomyWork
| so basically you want the list of files that will be in the commit message by default? | 16:49 |
|
| under "conflicted" | 16:50 |
|
pfloyd
| correct | 16:50 |
|
TomyWork
| hmmm | 16:50 |
|
pfloyd
| the reason I want to identify these is I have hooks to check whether certain users are allowed to commit changes and if a file was merged (i.e. MERGE_BASE == post-merge) I don't want to flag it as them committing it, since they aren't changing it. | 16:50 |
| ← fphilipe_ left | 16:51 |
|
TomyWork
| i could change any file in a merge commit | 16:51 |
|
| not just conflicting files | 16:51 |
|
pfloyd
| what I'm doing now works, but is slow. I use git show MERGE_HEAD:<file> and get its md5sum, and get md5sum of what's on disk. if they are the same, I don't flag it for checking against the restricted list. works fine, but very slow | 16:51 |
|
| would be faster if I could say "git show-conflict-files" to give me the list of files I *do* want to check access restrictions for :) | 16:52 |
| → Onionnion joined | 16:53 |
|
pfloyd
| guess I could parse .git/MERGE_MSG but that seems also like a hack | 16:53 |
|
TomyWork
| i'm still not sure how that would help you prevent unauthorized changes | 16:53 |
|
| i mean, conflicted or not, i can change the file in a merge commit | 16:54 |
|
| doesn't really matter | 16:54 |
|
pfloyd
| I'm simply trying to filter out files that they aren't actually changing (i.e. would have been a fast forward merge for that file) | 16:54 |
| → pR0Ps joined | 16:55 |
|
pfloyd
| of course they can, and if they modify this same file and that's part of the commit, I can detect that with my current implementation since the md5(MERGE_BASE) != md5(file_on_disk), but again this is slow. | 16:56 |
|
TomyWork
| and you want to speed that up by only checking the conflicted files with a checksum? | 16:56 |
|
| why not speed it up by using git diff? | 16:57 |
|
| maybe with the -s flag | 16:57 |
| → Makaveli joined | 16:57 |
|
TomyWork
| i think you still get zero/nonzero exit status to indicate whether there was a change | 16:58 |
| Makaveli → Guest28351 | 16:58 |
|
TomyWork
| or parse the output of something like "git diff --numstat" to get a list of actually changed files | 16:58 |
|
pfloyd
| what exactly would I diff though if I'm in a merge conflict and don't know if it was resolved or not? | 16:58 |
| ← Guest28351 left | 16:59 |
|
pfloyd
| a shit, meeting time. have to resume this in a bit | 16:59 |
|
TomyWork
| i'm on my way out, though | 16:59 |
| → Sasazuka joined | 16:59 |
| ← yyy- left | 17:00 |
|
TomyWork
| i'm not sure how this all fits together | 17:00 |
|
| you have a merge in progress, implying that you are on the machine of the person doing the merge | 17:01 |
|
| but you also want to restrict that same person's access? what if they just delete your pre-commit hook? | 17:01 |
| ← borkr left | 17:01 |
| → wootehfoot joined | 17:01 |
|
TomyWork
| this sounds like something you should probably check on the remote side, prior to receiving the commit | 17:02 |
| ← AKPWD left | 17:02 |
|
TomyWork
| and then you can just diff vs. the previous state | 17:02 |
| → Raging_Hog joined | 17:03 |
|
TomyWork
| i'm out, bye | 17:03 |
| ← TomyWork left | 17:03 |
| ← pyfgcr left | 17:05 |
| ← trebuh left | 17:07 |
| → duderonomy joined | 17:08 |
| → nabil__ joined | 17:11 |
| ← nabil_ left | 17:14 |
| ← strk left | 17:15 |
| → orbyt_ joined | 17:20 |
| → noark9 joined | 17:26 |
| → savolla joined | 17:26 |
| → Newami joined | 17:29 |
| ← shored left | 17:29 |
| → navidr joined | 17:29 |
| → shored joined | 17:29 |
| ← orbyt_ left | 17:30 |
| ← mooasaurus left | 17:31 |
| → mooasaurus joined | 17:31 |
| → hsn joined | 17:31 |
| ← planetcall|work left | 17:32 |
| ← Raging_Hog left | 17:32 |
|
hsn
| Even after I do git reset --hard ,it still thinks that files are changed using git status. It has to do something with crlf conversion. How to turn it off? | 17:32 |
| ← Sasazuka left | 17:33 |
| → orbyt_ joined | 17:33 |
| ← thiago left | 17:34 |
| → thiago joined | 17:34 |
|
_ikke_
| hsn: does git config core.autocrlf return something? | 17:34 |
| ← orbyt_ left | 17:34 |
|
hsn
| setting core.autocrlf to true or false didnt have any effect | 17:34 |
|
_ikke_
| ok | 17:34 |
|
| git ls-files --eol <filename> | 17:34 |
|
| what does that return? | 17:34 |
|
hsn
| or i have to do checkout after set it? | 17:34 |
| ← czart left | 17:34 |
| → orbyt_ joined | 17:35 |
|
hsn
| i/crlf w/crlf attr/text eol=crlf grepwin-install-context.reg | 17:35 |
|
| git config --get core.eol is set to crlf | 17:36 |
|
_ikke_
| Ok, there is a .gitattributes file that sets line ending normalization | 17:37 |
|
| i/crlf is what causes the problem | 17:38 |
|
| git add --renormalize grepwin-install-context.reg | 17:38 |
| ← iam730 left | 17:38 |
|
hsn
| this file .gitattributes has "* text eol=crlf" | 17:38 |
|
_ikke_
| That can potentially cause issues | 17:39 |
|
| because binary files (images) would be affected as well | 17:39 |
| ← Stoot left | 17:39 |
|
rafasc
| * text=auto eol=crlf would be safer. | 17:40 |
|
_ikke_
| yes | 17:40 |
|
| And unless the fileformat requires crlf, I would remove that as well | 17:40 |
|
rafasc
| (although, it may be also a good idea to.. ^ | 17:40 |
|
_ikke_
| * text=auto | 17:40 |
|
hsn
| text=auto fixed the problem | 17:42 |
| → MACscr joined | 17:47 |
| ← jarlopez left | 17:48 |
| → cliluw joined | 17:49 |
| → pyfgcr joined | 17:55 |
| ← StucKman left | 18:03 |
| → Sasazuka joined | 18:04 |
| ← shored left | 18:05 |
| → shored joined | 18:06 |
| ← noark9 left | 18:10 |
| → energizer joined | 18:10 |
| → fphilipe_ joined | 18:11 |
|
energizer
| I see this command `git diff --name-only origin/master ...` What does the `...` mean? | 18:14 |
|
_ikke_
| energizer: are the dots connected to master? | 18:15 |
|
energizer
| _ikke_: oh yes they are | 18:16 |
| ← fphilipe_ left | 18:17 |
|
rafasc
| !dots | 18:17 |
|
gitinfo
| A..B = stuff that happened between A and B (if A and B are related; otherwise refer to "man gitrevisions"), A...B = (a) in history viewers: stuff that isn't in both A and B yet; (b) in "git diff": stuff that happened in B since the two diverged; (c) in "git checkout": the merge base of A and B. "master.." is the same as "master..HEAD" and "..master" is the same as "HEAD..master", and so forth. | 18:17 |
|
energizer
| so what's three dots? | 18:18 |
|
cdunklau
| energizer: there are FOUR DOTS | 18:19 |
|
| i think it's just 2 or more, isn't it | 18:19 |
|
rafasc
| energizer: it is explained in the factoid. | 18:19 |
|
| energizer rereads | 18:19 |
| ← rnmhdn left | 18:19 |
|
cdunklau
| rafasc: specifically thing... is not | 18:19 |
|
| but the numberr of dots doesn't matter, as long as its at least 2, i thought | 18:20 |
|
rafasc
| read the (b) | 18:20 |
|
| cdunklau: no. Two means one thing, three means another. | 18:20 |
|
energizer
| frankly, the answer to my question isn't clear from that snippet | 18:21 |
|
cdunklau
| okay, that's not all that clearly discussed in the factoid, to be fair | 18:21 |
|
| ah wait now i get it | 18:21 |
|
_ikke_
| All commits from A and all commits from B, but NOT commits that they have in common | 18:21 |
|
cdunklau
| energizer: A..B is the first thing, A...B is the second thing, which has multiple interpretations based on (a), (b), ... | 18:21 |
| → Es0teric joined | 18:22 |
| ← Jackneill left | 18:22 |
|
cdunklau
| energizer: so master... (3 dots) means master...HEAD i suppose | 18:22 |
|
rafasc
| correct | 18:22 |
|
_ikke_
| HEAD is implied | 18:23 |
|
| ...master means HEAD...master | 18:23 |
|
cdunklau
| yeah the confusion was about 2 vs. 3 dots | 18:23 |
| ← savolla left | 18:23 |
|
_ikke_
| man gitrevisions also explains it | 18:23 |
|
gitinfo
| the gitrevisions manpage is available at https://gitirc.eu/gitrevisions.html | 18:23 |
|
rafasc
| and in case of the diff, means: all changes that was done in the current branch since it diverged from master. | 18:23 |
|
energizer
| oh i see how it could be obvious from the snippet once you have the right mental model :) | 18:24 |
|
rafasc
| the factoid also recommends reading gitrevisions, to get the full picture. | 18:24 |
|
| otherwise we would need to print the entire manpage here, which is not productive. | 18:25 |
| ← Es0teric left | 18:25 |
|
cdunklau
| rafasc: i can assure you that energizer and I intend no ill will | 18:26 |
| → mat001_ joined | 18:26 |
| → SkarmoutsosV joined | 18:27 |
|
rafasc
| cdunklau: I am not saying that. :) it's all good. | 18:27 |
| ← orbyt_ left | 18:27 |
| ← AtumT left | 18:27 |
|
rafasc
| gitrevisions is one of those things that are kind of git magic until you really spare some time to learn it. | 18:27 |
| ← jayjo left | 18:29 |
| ← mat001 left | 18:30 |
| → orbyt_ joined | 18:30 |
|
foo
| I rebase'd staging with dev2/view-data-loading. When I do git log, it shows this: (HEAD -> staging, origin/staging2, origin/staging, origin/dev2/view-data-loading, dev2/view-data-loading) ... can someone help me understand what this means? I'm specifically wondering how origin/staging2 got mixed up in here. | 18:31 |
| ← jcbitter left | 18:31 |
|
Habbie
| apparently HEAD is equal to origin/staging2 | 18:31 |
|
_ikke_
| HEAD is pointing to staging, which is the same commit as origin/staging2 | 18:32 |
|
| Hard to give a better explanation without more details | 18:32 |
|
foo
| Habbie: oh. So just because origin/staging2 is in here, it doesn't mean someone from another feature branch (that I rebased from) ever merged or pulled from staging2... if someone else rebased on staging2 from their feature branch, basically as I did, then this would show both staging and staging2 are the same. | 18:32 |
| → jcbitter joined | 18:32 |
|
foo
| Habbie / _ikke_ ^ I think I'm in sync. It makes sense for both to be the same | 18:33 |
|
| thank you | 18:34 |
| ← deathwishdave left | 18:38 |
| → AtumT joined | 18:39 |
| → AtumT_ joined | 18:41 |
| ← tlaxkit left | 18:41 |
| ← AtumT left | 18:44 |
| → czart joined | 18:45 |
| → Stoot joined | 18:47 |
| → fuzzface joined | 18:48 |
| ← orbyt_ left | 18:52 |
| → Inline joined | 18:53 |
| ← jammm left | 18:53 |
| ← mowcat left | 18:54 |
| → revoltingPeasant joined | 18:57 |
| → TomTom joined | 18:57 |
| ← bluezone left | 18:59 |
| ← jcbitter left | 19:02 |
| → jcbitter joined | 19:03 |
| ← Stoot left | 19:03 |
| ← irrgit left | 19:04 |
| → Es0teric joined | 19:08 |
| → orbyt_ joined | 19:09 |
| → yokisuci joined | 19:10 |
| → rnmhdn joined | 19:14 |
| ← czart left | 19:15 |
| → plexigras joined | 19:15 |
| → gabe joined | 19:16 |
| → benharri joined | 19:17 |
| → mat001 joined | 19:19 |
| → randomdude999_ joined | 19:20 |
| ← randomdude999 left | 19:20 |
| randomdude999_ → randomdude999 | 19:20 |
| → mArtale joined | 19:21 |
| ← mArtale left | 19:22 |
| ← mat001_ left | 19:22 |
| → randomdude999_ joined | 19:23 |
| ← randomdude999 left | 19:23 |
| randomdude999_ → randomdude999 | 19:23 |
| ← greatgatsby left | 19:28 |
| → Stoot joined | 19:30 |
| ← rnmhdn left | 19:33 |
| ← emsjessec left | 19:34 |
| → emsjessec joined | 19:35 |
| → yyy- joined | 19:36 |
| ← tombusby left | 19:37 |
| → irrgit joined | 19:38 |
| → feriman joined | 19:39 |
| ← jubal left | 19:39 |
| → tombusby joined | 19:42 |
| ← BoneTone left | 19:44 |
| ← emsjessec left | 19:44 |
| ← qgTG left | 19:45 |
| ← revoltingPeasant left | 19:46 |
| → ucodespace joined | 19:51 |
| → AtumT joined | 19:52 |
| ← AtumT_ left | 19:52 |
| ← yokisuci left | 19:56 |
| → dpl joined | 19:56 |
| → yokisuci joined | 19:57 |
| → wildlander_ joined | 19:58 |
| ← yokisuci left | 19:58 |
| ← wildlander left | 19:58 |
| → yokisuci joined | 19:59 |
| → savolla joined | 20:01 |
| → sunri5e joined | 20:03 |
| → n3wborn joined | 20:03 |
| ← sunri5e left | 20:04 |
| ← wootehfoot left | 20:05 |
| ← jcbitter left | 20:05 |
| ← is_null left | 20:06 |
| → jcbitter joined | 20:07 |
| → reveer_ joined | 20:08 |
| → sunri5e joined | 20:10 |
| → Giant81 joined | 20:11 |
| ← kjartan left | 20:12 |
| → fphilipe_ joined | 20:13 |
| → kjartan joined | 20:14 |
| → newdimension joined | 20:15 |
| ← oatmealraisin left | 20:16 |
| ← sunri5e left | 20:17 |
| → salad joined | 20:18 |
| ← fphilipe_ left | 20:18 |
| → sunri5e joined | 20:19 |
| ← yokisuci left | 20:25 |
| ← orbyt_ left | 20:30 |
| → fphilipe_ joined | 20:31 |
| → yonder joined | 20:32 |
| ← fphilipe_ left | 20:36 |
| ← Atlenohen left | 20:37 |
| → Atlenohen joined | 20:37 |
| ← howdoi left | 20:42 |
| → jubal joined | 20:42 |
| ← Newami left | 20:44 |
|
dino82
| Hi all, I'm following this guide to sync two repositories https://medium.com/@_oleksii_/how-to-synchronize-two-remote-git-repositories-e63b78892901 but when I get to the 'git fetch upstream' part, git appears to be appending 'info/refs' to my upstream, causing a fatal error: 'not valid: is this a git repository?' Did I miss a step? | 20:45 |
| ← randomdude999 left | 20:45 |
| → clime joined | 20:46 |
| ← energizer left | 20:46 |
| ← savolla left | 20:47 |
| ← mat001 left | 20:47 |
| → randomdude999 joined | 20:47 |
|
_ikke_
| dino82: sounds like it's trying dumb http | 20:50 |
|
dino82
| Yes the upstream is using `https://....../project.git` | 20:51 |
| ← kapilp left | 20:51 |
|
_ikke_
| Is it a custom git hosting solution? | 20:51 |
|
dino82
| The upstream is Github and the origin is Bitbucket | 20:52 |
|
| Trying to get Github master into Bitbucket master | 20:52 |
| → Jackneill joined | 20:54 |
|
dino82
| If I leave the .git off the end, it says the repository doesn't exist, if I keep it there, it appends `/info/refs` to the URL m aking it invalid | 20:57 |
|
canton7
| dino82, your url is wrong. Git's trying to talk smart http, and the other side isn't responding | 20:59 |
|
| so it tries dumb http | 20:59 |
|
| (and that involves adding /info/refs) | 20:59 |
|
dino82
| Ok, will verify the correct URL | 21:00 |
|
| URL was verified, I'm passing credentials inline (this being a jenkins job) `git remote set-url upstream https://\${GH_USER}:\${GH_PASSWORD}github.com/orgName/project-Name.git` | 21:03 |
| → mat001 joined | 21:03 |
|
canton7
| missing @? | 21:03 |
|
dino82
| err yes I mispasted, there is an @ between the creds and github.com | 21:04 |
|
canton7
| private repo? | 21:04 |
|
dino82
| yeah | 21:04 |
| ← feriman left | 21:04 |
|
_ikke_
| dino82: do you have 2-factor setup? | 21:04 |
|
dino82
| If I had to switch over to using ssh:// to resolve this, I can try to get that through | 21:04 |
|
canton7
| if your creds aren't correct, github responds with a 404 | 21:04 |
|
cdunklau
| dino82: does the password have non-ascii | 21:04 |
|
dino82
| No this is a basic service account | 21:04 |
|
cdunklau
| and by that i mean non-alphanum | 21:05 |
|
dino82
| I'm not certain what the password is, I'm a lowly user in this Jenkins setup (contractor) | 21:05 |
|
cdunklau
| dino82: all the -v's? | 21:05 |
|
dino82
| I can verify the user creds work because I used them to do a test checkout | 21:06 |
|
cdunklau
| dino82: that is, stick in a -vvv | 21:06 |
|
dino82
| Will try. After setting `git remote add upstream` I run `git remote -v` and it returns my origin as the bitbucket repo and upstream as the github repo | 21:07 |
|
cdunklau
| dino82: i'm asking less about if the creds are right, and more about if the creds have a thing you have to percent-quote | 21:07 |
| → causa_sui joined | 21:07 |
| → m0viefreak joined | 21:07 |
|
cdunklau
| it's kind of a wild guess, but hey, maybe | 21:07 |
|
rafasc
| https://confluence.atlassian.com/bbkb/info-refs-not-valid-is-this-a-git-repository-313467635.html | 21:08 |
| ← causasui left | 21:09 |
|
dino82
| Yeah I checked that, 1,2) Both repositories are created and have branches, the bitbucket has a dummy master branch that I will be syncing over, 3) I don't think I'm hitting any limits, GH is an enterprise account and BB is a locally hosted instance | 21:10 |
|
rafasc
| and 'info/refs' can show up on smart http protocol.. GET http://server/simplegit-progit.git/info/refs?service=git-receive-pack etc... | 21:11 |
|
| https://git-scm.com/book/en/v2/Git-Internals-Transfer-Protocols | 21:11 |
| ← fuzzface left | 21:12 |
|
dino82
| Is this an issue that is resolved by using ssh:// ? | 21:12 |
|
cdunklau
| if you can use ssh, do it | 21:13 |
|
dino82
| I prefer ssh but I'd need to jump through a hoop to make it so, trying anything I can before requesting it | 21:13 |
|
| The document I was referencing was using https:// exclusively so I try to emulate that | 21:14 |
|
cdunklau
| dino82: did you throw in some -vvv in the push | 21:14 |
| → savolla joined | 21:15 |
|
dino82
| cdunklau Yeah it doesn't get that far, it errors at the `git fetch upstream` | 21:15 |
|
cdunklau
| well, -vvv in the fetch then | 21:15 |
| ← pyfgcr left | 21:15 |
| ← Jackneill left | 21:15 |
|
cdunklau
| hmm that doesn't seem to tell much | 21:16 |
|
dino82
| That errored saying unknown switch v | 21:16 |
| ← TomTom left | 21:17 |
|
cdunklau
| dino82: git fetch -v should not give you that error | 21:17 |
|
dino82
| https://pastebin.com/eqAVF080 | 21:18 |
| → is_null joined | 21:20 |
|
cdunklau
| dino82: i don't see git fetch -v there | 21:21 |
|
dino82
| I didn't paste that one, but it didn't yield any different output | 21:22 |
| ← Cabanossi left | 21:23 |
| → bashfulshell joined | 21:24 |
| ← reveer_ left | 21:26 |
|
dino82
| Welp I'll try the ssh route, else I have no idea how else to sync these two repos | 21:27 |
| ← clime left | 21:28 |
| ← gabe left | 21:28 |
| → Cabanossi joined | 21:30 |
| ← AbleBacon left | 21:38 |
| ← is_null left | 21:39 |
| → is_null joined | 21:43 |
| ← mat001 left | 21:45 |
| → mat001 joined | 21:46 |
| ← enoq left | 21:48 |
| → jayjo joined | 21:49 |
| ← hsn left | 21:49 |
| ← is_null left | 21:51 |
| → greatgatsby joined | 21:52 |
| ← SkarmoutsosV left | 21:56 |
| → is_null joined | 21:56 |
| ← Es0teric left | 21:57 |
| ← savolla left | 21:59 |
| → azwieg103 joined | 22:01 |
| → kneeki joined | 22:02 |
| ← is_null left | 22:04 |
| ← greggerz left | 22:05 |
| ← griffindy left | 22:07 |
| ← dpl left | 22:08 |
| ← crose left | 22:09 |
| ← plexigras left | 22:10 |
| ← yyy- left | 22:15 |
| → dpl joined | 22:15 |
| → orbyt_ joined | 22:16 |
| ← salad left | 22:17 |
| → mat001_ joined | 22:17 |
| → alyptik joined | 22:18 |
| ← mat001 left | 22:20 |
| → jsnal joined | 22:22 |
| ← jsnal left | 22:25 |
| → is_null joined | 22:27 |
| ← pR0Ps left | 22:28 |
|
madduck
| i am trying to figure out a means to keep an export of a git repo up to date with HEAD from post-merge/post-commit . I can use git-archive and unpack stdout to an "export" directory. However, this will accumulate files removed from the repo. Short of removing all files from the export directory before unpacking the archive tar, can you fathom a better way? | 22:30 |
| → cfoch joined | 22:31 |
| → oatmealraisin joined | 22:32 |
| → fphilipe_ joined | 22:32 |
| ← is_null left | 22:34 |
|
rasputozen
| when i stage a file and commit, the new tree object that gets created for that commit will contain the version of the file i staged along with the versions of all the files git is tracking that HEAD was pointing to when i comitted, right? | 22:34 |
|
osse
| rasputozen: Yes | 22:34 |
|
rasputozen
| osse: ic ty | 22:34 |
| ← alyptik left | 22:36 |
| ← fphilipe_ left | 22:37 |
| → Newami joined | 22:37 |
| ← malmalmal left | 22:39 |
| ← dpl left | 22:39 |
|
rafasc
| rasputozen: your 'staging area' also has information about every single file. | 22:40 |
|
| commit essentially takes its contents and makes a commit out of it. | 22:41 |
|
| ~= git commit-tree -p HEAD $(git-write-tree) | 22:43 |
| ← leeN left | 22:45 |
|
rasputozen
| from what i read the index file records 3 versions for every file, the wdir, stage, and repo - so according to this last comment of yours i assume youre inferring that git takes these stage versions of all the tracked file (which will be the same as the repo versions if the user hasnt added anything) and uses this list to populate the new tree of the commit | 22:45 |
| → alyptik joined | 22:46 |
| ← greatgatsby left | 22:48 |
| ← boombatower left | 22:49 |
|
rafasc
| rasputozen: depends on how technical you want to dive in: https://github.com/git/git/blob/master/Documentation/technical/index-format.txt | 22:51 |
|
| yes, the index format may cache some other data. | 22:51 |
|
| But when someone says index, I assume they're saying index entries. (which is the stage part) | 22:52 |
| ← dartmouthed left | 22:53 |
| → Es0teric joined | 22:54 |
|
rasputozen
| yea | 22:55 |
| ← omnireq left | 22:56 |
| ← rafasc left | 23:02 |
| → ferdna joined | 23:03 |
| → ntropix joined | 23:03 |
| → qgTG joined | 23:06 |
| ← lucasb left | 23:06 |
| → jstimm joined | 23:06 |
| ← alyptik left | 23:09 |
| → dviola joined | 23:11 |
| ← azwieg103 left | 23:14 |
| ← CodeSlingerPaul left | 23:22 |
| ← silverwhitefish left | 23:22 |
| → klebs joined | 23:23 |
| ← oatmealraisin left | 23:24 |
| → cdown_ joined | 23:26 |
|
klebs
| hello everyone! I am in a bit of a jam and am hopeful somebody here might know how to unblock my development! on a project I am working on, I needed to find the source of a bug that was buried about two weeks back in the git history. I have found the previous functional commit, and would now like to interactively rebase the broken tip onto the wo | 23:28 |
|
| rking branch, step by step, checking each change incrementally, all the way through until the problem is fixed. the problem i am having is that when I go to rebase (starting from a temp branch at the current_broken_tip executing "git rebase -i last_working_branch") the interactive rebase silently skips over the commit with the problem in it! | 23:28 |
| → silverballz joined | 23:28 |
|
klebs
| what i want it to do is actually stop at every single commit and let me inspect and modify the staging area, applying only what i want | 23:29 |
| ← cdown left | 23:29 |
| cdown_ → cdown | 23:29 |
|
klebs
| i can't figure out why typing "git rebase --continue" is gliding over some commits and not others | 23:29 |
|
| does anybody here know what my problem might be? and what i can do to fix it? | 23:29 |
|
| i don't mind if the rebase writes new history in a completely different direction, starting from my last_known_working and ending up at my current_broken_tip (with the fix implemented during the interactive rebase along the way) -- all other commits in the project history arent relevant to my current line of development except these two | 23:30 |
| → Jogie joined | 23:32 |
| ← n3wborn left | 23:33 |
| ← dege left | 23:36 |
| ← mat001_ left | 23:39 |
| → mat001 joined | 23:39 |
| → fullbit joined | 23:41 |
| ← bruce_lee left | 23:42 |
| → brainproxy joined | 23:46 |
| → oatmealraisin joined | 23:53 |
| ← m0viefreak left | 23:53 |
| → jimmm joined | 23:54 |
| ← mat001 left | 23:54 |
| jimmm → enone | 23:54 |
| → pR0Ps joined | 23:55 |
| ← enone left | 23:58 |