| 2020-10-12 |
| ← null1337 left | 00:00 |
| ← donofrio left | 00:01 |
| ← tiin57 left | 00:08 |
| ← OnkelBlade left | 00:09 |
| ← Kaedenn left | 00:10 |
| → tiin57 joined | 00:11 |
| ← noonien left | 00:12 |
| → voidSurfr joined | 00:13 |
| → royal_screwup21 joined | 00:17 |
| ← royal_screwup21 left | 00:21 |
| sgn_ → sgn | 00:21 |
| → Newami joined | 00:28 |
| ← Newami left | 00:30 |
| ← tiin57 left | 00:37 |
| → mat001 joined | 00:39 |
| → tiin57 joined | 00:40 |
| → R2robot joined | 00:43 |
| ← thiago left | 00:44 |
| → thiago joined | 00:45 |
| → jaziz joined | 00:49 |
| → Kaisyu7 joined | 00:59 |
| ← gast0n left | 01:01 |
| → aw1_ joined | 01:01 |
| ← aw1 left | 01:03 |
| ← tiin57 left | 01:07 |
| → umask077 joined | 01:08 |
| ← umask077 left | 01:08 |
| → umask077 joined | 01:08 |
| ← umask077 left | 01:08 |
| → umask077 joined | 01:09 |
| → tiin57 joined | 01:11 |
| → alexeightsix joined | 01:13 |
| ← mat001 left | 01:15 |
| → mat001 joined | 01:23 |
| ← alexeightsix left | 01:33 |
| → donofrio joined | 01:34 |
| ← shush left | 01:36 |
| → shush joined | 01:36 |
| ← tiin57 left | 01:37 |
| ← shush left | 01:37 |
| → shush joined | 01:38 |
| ← nomadicmathmo left | 01:39 |
| ← Gurkenglas left | 01:40 |
| → tiin57 joined | 01:40 |
| → sunri5e_ joined | 01:44 |
| ← sunri5e left | 01:45 |
| ← shush left | 01:46 |
| → shush joined | 01:47 |
| ← shush left | 01:47 |
| → shush joined | 01:48 |
| ← mat001 left | 01:48 |
| ← davispuh left | 01:53 |
| ← arcatech left | 01:56 |
| → justanotheruser joined | 02:03 |
| ← Xenguy left | 02:07 |
| ← tiin57 left | 02:07 |
| → tiin57 joined | 02:11 |
| lagothrix → Guest59393 | 02:14 |
| ← Guest59393 left | 02:14 |
| → lagothrix joined | 02:14 |
| → royal_screwup21 joined | 02:17 |
| ← voidSurfr left | 02:20 |
| ← palooka-jock left | 02:22 |
| ← royal_screwup21 left | 02:22 |
| → palooka-jock joined | 02:24 |
| ← Wetmelon left | 02:29 |
| → mirrorbird joined | 02:31 |
| ← tiin57 left | 02:37 |
| → Wetmelon joined | 02:38 |
| → unihernandez22 joined | 02:40 |
| → arcatech joined | 02:40 |
| → tiin57 joined | 02:41 |
| → nomadicmathmo joined | 02:48 |
| → mat001 joined | 02:49 |
| ← mirrorbird left | 02:51 |
| ← mat001 left | 02:53 |
| → ferdna joined | 02:54 |
| ← cbreak left | 02:54 |
| → cbreak joined | 02:56 |
| ← nomadicmathmo left | 02:57 |
| ← eb0t left | 02:57 |
| ← eblip left | 02:57 |
| → eblip joined | 03:02 |
| → eb0t joined | 03:04 |
| ← shush left | 03:07 |
| ← tiin57 left | 03:08 |
| → tiin57 joined | 03:10 |
| → macrover joined | 03:17 |
| → blahboybaz joined | 03:17 |
|
blahboybaz
| Soemthing I read made me curious if it's what they were eluding to. So if I'm in detached head state (maybe I checked out a commit using its sha-1) I can make chenges? Commit those changes? And what happens when I return to some branch (leave detached head state)? The commits I made while in detached head state simply vanish? The do not persist? If that's right this could be a useful operation at times but I want to make sure | 03:20 |
|
| that's really how it works | 03:20 |
|
| Is this how we get what they call a "dangling commit"? It exists but you can't reach it again? | 03:23 |
|
| If so I'm guessing the git gc (or maybe prune?) would / could clean up the mess if you didn't want it anymore? | 03:24 |
| → mat001 joined | 03:25 |
| → drbean joined | 03:29 |
| ← kupi left | 03:34 |
|
Chipzz
| you can reach that commit again, remember how you previously got to it with its sha-1? | 03:37 |
|
| whethet or not detached heads are retained depends on your git gc settings, but by default I believe they are | 03:38 |
| ← tiin57 left | 03:38 |
|
Chipzz
| and yes you can commit on a detached head; that's what happens if you edit a commit with git rebase -i for example | 03:39 |
| → igemnace joined | 03:40 |
| → tiin57 joined | 03:41 |
|
Chipzz
| blahboybaz: the detached head state used to scare me a lot more than it does now; what it essentially means is HEAD does not point to a branch | 03:41 |
|
| which is usually not a bad thing | 03:42 |
|
| the commit in a detached head state aren't necessarily unreachanle (even by your flawed definition): consider for example git checkout HEAD^ | 03:43 |
|
| outside of an interactive rebase your commits will happen on an unnamed branch, thse objects persist, but you better note down their sha-1 | 03:44 |
| → mirrorbird joined | 03:44 |
|
Chipzz
| but you can make a branch point to those changes too by simple doing git checkout -b newbranch | 03:45 |
| ← mirrorbird left | 03:46 |
| ← Aquazi left | 03:57 |
|
blahboybaz
| Chipzz: I thought there was on ly one head (HEAD) which can be made to point at differnt things (branches, tags, commits). Is there somehow more than one head? | 03:58 |
| ← Betal left | 03:58 |
|
blahboybaz
| "whethet or not detached heads are retained ..." | 03:59 |
| ← mat001 left | 03:59 |
| → Guest20 joined | 04:00 |
| ← mowcat left | 04:01 |
| ← proxxz left | 04:01 |
| → proxxz joined | 04:01 |
| → Betal joined | 04:02 |
| → mat001 joined | 04:02 |
| ← Betal left | 04:04 |
| ← JanC left | 04:06 |
| ← tiin57 left | 04:07 |
| → nomadicmathmo joined | 04:09 |
| → JanC joined | 04:09 |
| → tiin57 joined | 04:11 |
| ← cd left | 04:13 |
| ← irc_user left | 04:16 |
| ← macrover left | 04:16 |
| ← nomadicmathmo left | 04:19 |
| ← unihernandez22 left | 04:26 |
| ← justanotheruser left | 04:31 |
| ← tiin57 left | 04:38 |
| → tiin57 joined | 04:41 |
| ← h3ck left | 04:45 |
| → shush joined | 04:53 |
| → mightyjens joined | 04:59 |
| ← AnAverageHuman left | 04:59 |
| ← sudoforge left | 04:59 |
|
Chipzz
| blahboybaz: I think you're confusing terminology (or maybe I am): there is only one HEAD (the one you're talking about), but "a head" is defined as the tip of a series of commits | 05:07 |
| ← Wetmelon left | 05:07 |
| ← tiin57 left | 05:07 |
| → justanotheruser joined | 05:08 |
| ← arcatech left | 05:08 |
|
Chipzz
| "whether or not 'dangling commits' are retained ..." | 05:08 |
|
blahboybaz
| Chipzz: I see (I forgot there was more than one usage of the terminology). Thanks | 05:10 |
| → ColdKeyboard joined | 05:10 |
| → tiin57 joined | 05:11 |
| ← milkt left | 05:13 |
| → milkt joined | 05:14 |
| ← milkt left | 05:20 |
| ← friki left | 05:22 |
| → friki joined | 05:23 |
| ← tiin57 left | 05:37 |
| → chele joined | 05:38 |
| → Shentino_ joined | 05:38 |
| ← shush left | 05:39 |
| ← Shentino left | 05:39 |
| → tiin57 joined | 05:41 |
| ← Shentino_ left | 05:51 |
| → shush joined | 05:52 |
| ← shush left | 05:52 |
| → shush joined | 05:52 |
| ← shush left | 05:58 |
| → Shentino joined | 06:01 |
| ← yuriii left | 06:05 |
| ← tiin57 left | 06:07 |
| ← cYmen left | 06:07 |
| ← paintedindigo left | 06:08 |
| ← sven^ left | 06:08 |
| ← ferdna left | 06:08 |
| → OnkelBlade joined | 06:09 |
| ← Goplat left | 06:10 |
| → tiin57 joined | 06:10 |
| → cYmen joined | 06:12 |
| → yuriii joined | 06:16 |
| → royal_screwup21 joined | 06:19 |
| → chele_ joined | 06:23 |
| ← chele left | 06:24 |
| ← royal_screwup21 left | 06:25 |
| ← tsujp left | 06:30 |
| → tsujp joined | 06:32 |
| → shush joined | 06:32 |
| ← shush left | 06:37 |
| ← tiin57 left | 06:37 |
| → LetoThe2nd joined | 06:37 |
| → tiin57 joined | 06:41 |
| ← lankanmon left | 06:44 |
| ← thiago left | 06:54 |
| ← hussam left | 06:57 |
| ← astronavt left | 06:58 |
| → Gurkenglas joined | 06:59 |
| → Haohmaru joined | 06:59 |
| → chele joined | 06:59 |
| ← chele left | 07:00 |
| → chele joined | 07:00 |
| ← unluckyshrubbery left | 07:01 |
| → a-l-e joined | 07:01 |
| ← chele_ left | 07:02 |
| → mat001_ joined | 07:02 |
| ← mat001 left | 07:05 |
| → nomadicmathmo joined | 07:05 |
| → darkbit joined | 07:06 |
| ← durham left | 07:06 |
| ← tiin57 left | 07:07 |
| → shush joined | 07:09 |
| → rfuentess joined | 07:10 |
| → tiin57 joined | 07:11 |
| ← shush left | 07:13 |
| ← nomadicmathmo left | 07:14 |
|
Haohmaru
| what's gonna happen if i erase the hidden .git folder? | 07:15 |
| → HumanG33k joined | 07:15 |
|
Haohmaru
| besides getting chased by the GIT-POLICE and jailed | 07:15 |
|
osse
| The repo is deleted | 07:16 |
| ← HumanG33k left | 07:17 |
| → HumanG33k joined | 07:18 |
| → PJBoy joined | 07:26 |
| ← blahboybaz left | 07:29 |
| ← opal left | 07:31 |
| → opal joined | 07:33 |
| → paws_ joined | 07:35 |
| ← tiin57 left | 07:37 |
| → feriman joined | 07:38 |
| ← Lunatrius left | 07:40 |
| → Lunatrius` joined | 07:41 |
| → tiin57 joined | 07:41 |
| → tmm88 joined | 07:41 |
| Lunatrius` → Lunatrius | 07:41 |
| → benfelin joined | 07:43 |
| → nomadicmathmo joined | 07:45 |
| → oxymoron93 joined | 07:45 |
| ← cbreak left | 07:46 |
| → durham joined | 07:47 |
| → cbreak joined | 07:50 |
| ← durham left | 07:52 |
| ← nomadicmathmo left | 07:58 |
| → mikecmpbll joined | 08:01 |
| ← jaziz left | 08:02 |
| → calcul0n joined | 08:06 |
| ← tiin57 left | 08:07 |
| → tiin57 joined | 08:11 |
| → stitched_unicorn joined | 08:13 |
| ← stitched_unicorn left | 08:16 |
| → nomadicmathmo joined | 08:17 |
| ← drbean left | 08:21 |
| → mobidrop joined | 08:26 |
| ← nomadicmathmo left | 08:33 |
| → unluckyshrubbery joined | 08:36 |
| ← tiin57 left | 08:37 |
| → tiin57 joined | 08:40 |
| → royal_screwup21 joined | 08:44 |
| ← shored left | 08:53 |
| → shored joined | 08:54 |
|
mgedmin
| galaxy brain: instead of using submodules/subtrees why not hard-link the shared files in all the repositories? | 08:55 |
| ← tmm88 left | 08:55 |
| ← proxxz left | 08:56 |
| → asrob joined | 08:59 |
| ← aw1_ left | 09:03 |
| → n001g joined | 09:03 |
| → aw1 joined | 09:05 |
| ← n000g left | 09:05 |
| n001g → n000g | 09:05 |
| ← tiin57 left | 09:07 |
| ← hnOsmium0001 left | 09:08 |
| → shush joined | 09:10 |
| → lankanmon joined | 09:10 |
| → tiin57 joined | 09:11 |
| → raub joined | 09:12 |
| ← Jookia left | 09:14 |
| → Jookia joined | 09:14 |
| ← shush left | 09:15 |
| → totte joined | 09:24 |
| → dionysus69 joined | 09:25 |
| → Betal joined | 09:35 |
| ← tiin57 left | 09:37 |
| → tiin57 joined | 09:40 |
| → inkbottle joined | 09:54 |
| ← zebrag left | 09:54 |
| → zebrag joined | 10:00 |
| → def_jam joined | 10:01 |
| ← clime left | 10:01 |
| → eb0t_ joined | 10:01 |
| ← inkbottle left | 10:01 |
| ← eblip left | 10:02 |
| ← asrob left | 10:02 |
| ← eb0t left | 10:03 |
| ← mikecmpbll left | 10:04 |
| → mikecmpbll joined | 10:07 |
| ← tiin57 left | 10:07 |
| → tiin57 joined | 10:11 |
| → FabioP joined | 10:12 |
| → clime joined | 10:14 |
| → bolovanos joined | 10:16 |
| ← clime left | 10:16 |
| → dudek joined | 10:17 |
| → clara97 joined | 10:26 |
| → faceface joined | 10:29 |
| ← Technodrome left | 10:34 |
| ← tiin57 left | 10:37 |
| → tiin57 joined | 10:40 |
| → asrob joined | 10:42 |
| → PaulePanter joined | 10:43 |
| → pertj joined | 10:44 |
| → ShapeShifter499 joined | 10:48 |
|
pertj
| hi, is there a way to use repo root with :(exclude) pathspec? e.g. `:/*.json` means all json files from the repo root when pwd is a subdirectory, and `:(exclude)*.json` only search from pwd. but `:/:(exclude)*.json` or `:/(exclude)*.json` does not search from the repo root. any ideas? | 10:49 |
| → durham joined | 10:49 |
|
osse
| pertj: try: ':(top,exclude)*.json' | 10:52 |
|
mgedmin
| surprise: if I have a bunch of changes staged and I do git commit --amend --no-edit -p, the -p gets ignored and all my staged changes get amended onto the previous commit | 10:53 |
|
osse
| or git ... -- :/ '!*.json' (ie. two separate args) | 10:53 |
|
pertj
| osse: thanks a bunch! :) | 10:53 |
| ← durham left | 10:54 |
|
mgedmin
| curses, what's the spelling for ressetting my HEAD from reflog without accidentally wiping out all the other changes? | 10:54 |
|
osse
| mgedmin: sounds like git reset without --hard | 10:55 |
|
| or perhaps with --soft | 10:55 |
|
mgedmin
| thanks! | 10:56 |
|
| mgedmin creates an alias git undo = git reset HEAD@{1} | 10:56 |
| ← rustyshackleford left | 10:59 |
|
osse
| pertj: did the first one work? | 11:01 |
|
pertj
| yup the first one worked, and i like the syntax. TIL | 11:01 |
|
| btw, second one did not work for some reason. | 11:02 |
| ← gxt left | 11:04 |
| ← crose left | 11:05 |
| ← tiin57 left | 11:08 |
| → aliss joined | 11:08 |
| → T_UNIX joined | 11:08 |
| → shush joined | 11:10 |
| → tiin57 joined | 11:11 |
| → wrobinson joined | 11:12 |
| ← wrobinso1 left | 11:14 |
| ← shush left | 11:16 |
| → Eryn_1983_FL joined | 11:17 |
| → NasrHassanein joined | 11:20 |
| ← feriman left | 11:25 |
| ← ghost43 left | 11:29 |
| → ghost43 joined | 11:29 |
| ← ninjin_ left | 11:30 |
| → ninjin_ joined | 11:32 |
| ← NasrHassanein left | 11:35 |
| → fstd_ joined | 11:36 |
| ← tiin57 left | 11:37 |
| → Tobbi_1 joined | 11:39 |
| ← fstd left | 11:40 |
| fstd_ → fstd | 11:40 |
| → tiin57 joined | 11:41 |
| ← Tobbi_ left | 11:41 |
| Tobbi_1 → Tobbi_ | 11:41 |
| → sgn1 joined | 11:42 |
| → dmlloyd joined | 11:42 |
| ← sgn left | 11:45 |
| sgn1 → sgn | 11:45 |
| → bolovanos_ joined | 11:48 |
| ← bolovanos left | 11:51 |
| ← ShapeShifter499 left | 12:04 |
| → ShapeShifter499 joined | 12:05 |
| ← ShapeShifter499 left | 12:05 |
| ← tiin57 left | 12:07 |
| ← mikecmpbll left | 12:08 |
| → tiin57 joined | 12:10 |
| → mikecmpbll joined | 12:11 |
| ← BSaboia left | 12:16 |
| ← jstimm left | 12:21 |
| → Jonopoly joined | 12:29 |
| → BSaboia joined | 12:33 |
| ← clara97 left | 12:36 |
| ← tiin57 left | 12:37 |
|
Jonopoly
| When i create a branch of origin/v.0.0.1 for my task we're told to untick Tracking | 12:40 |
|
| is tracking something that isn't really required? | 12:40 |
| → Flaghacker joined | 12:41 |
| → tiin57 joined | 12:41 |
|
ikke
| Jonopoly: 1) tracking is not required, no 2) It's kind of strange to manually create a branch called origin/v0.0.1 | 12:41 |
|
GyrosGeier
| that should probably be a tag | 12:41 |
|
| unless you are planning to prepare the 0.0.1.1 and 0.0.1.2 releases on that branch | 12:41 |
|
| oh, also you shouldn't create remote-tracking branches yourself | 12:42 |
|
ikke
| The thing is | 12:42 |
|
| if you create a branch called origin/foo, it's really: refs/heads/origin/foo | 12:43 |
|
GyrosGeier
| there are three kinds of "tracking" | 12:43 |
|
ikke
| The remote tracking branch would be: refs/remotes/origin/foo | 12:43 |
|
| But the abbreviation of both is the same | 12:43 |
|
| so you cause ambiguity | 12:43 |
|
GyrosGeier
| yes | 12:43 |
|
| and that is different than a local branch tracking a remote branch | 12:44 |
| → gxt joined | 12:44 |
|
GyrosGeier
| so I think we have to be careful with terminology here | 12:44 |
|
Jonopoly
| Ah like atm i create a branch do my changes submit PR etc.. | 12:44 |
|
GyrosGeier
| yes | 12:44 |
| → Maxattax joined | 12:44 |
|
Jonopoly
| but i do the whole " git push --set-upstream origin " before i push for PR | 12:44 |
|
| but when i was reading tracking it said something about a direct relationship that it would push straight to origin? | 12:45 |
|
GyrosGeier
| if you create the branch off a remote-tracking branch, it will set the upstream automaticall | 12:45 |
|
| y | 12:45 |
|
ikke
| or when you push with --set-upstream | 12:45 |
|
| like you said | 12:45 |
|
GyrosGeier
| --set-upstream origin should resolve to origin/HEAD | 12:45 |
|
Jonopoly
| Ah but in Visual Studio code you can uncheck 'tracking' | 12:45 |
|
ikke
| Jonopoly: basically that would omit '--set-upstream' | 12:45 |
|
GyrosGeier
| indeed | 12:46 |
|
ikke
| That's not wrong, but there is little reason not to do it | 12:46 |
|
GyrosGeier
| that is a different kind of "tracking" than what a remote-tracking branch is | 12:46 |
|
Jonopoly
| Ahh okay | 12:46 |
| ← OnkelBlade left | 12:46 |
|
GyrosGeier
| i.e. you normally have branches in .git/refs/remotes, which correspond to what the other side has, and these get updated automatically | 12:47 |
|
| these are called "remote-tracking" branches | 12:47 |
|
| when you create a new local branch from one of these, you get an entry in the git config that says "the new branch is derived from that other branch" | 12:48 |
|
Jonopoly
| Ah okay | 12:48 |
|
GyrosGeier
| that is also called "tracking" :/ | 12:48 |
|
Jonopoly
| haha | 12:48 |
|
GyrosGeier
| the latter is what --set-upstream does | 12:48 |
|
| but "git branch feature origin" is sufficient as well IIRC | 12:48 |
|
Jonopoly
| yeah i usually like to just "git checkout -b issue-34343" | 12:49 |
|
| then do the --set-upstream | 12:49 |
|
GyrosGeier
| (if origin/HEAD exists, otherwise you need to say "origin/main" or whatever they use as default branch | 12:49 |
|
| ) | 12:49 |
|
| yes | 12:49 |
|
| that derives from the current HEAD | 12:49 |
|
| you can also add "origin" at the end of that checkout and get the --set-upstream for free | 12:50 |
| ← Flaghacker left | 12:50 |
|
GyrosGeier
| but it will base the branch on the current origin/HEAD, not current HEAD that way | 12:50 |
|
Jonopoly
| ah okay so i could do "git checkout -b issue-334 origin" | 12:50 |
|
GyrosGeier
| if you just pulled, then these will be the same | 12:50 |
| ← txtsd left | 12:51 |
|
Jonopoly
| yeah well i usually do a fetch so i get latest of origin/v.0.0.1" | 12:51 |
|
| then my branch is a task regarding that feature | 12:51 |
|
| version | 12:51 |
|
GyrosGeier
| ah, so v.0.0.1 is really a proper branch | 12:51 |
| ← aliss left | 12:52 |
|
Jonopoly
| yeah it's our "main/master" | 12:52 |
|
| but before it goes into there we push our branch and do a pull request | 12:53 |
| → jaziz joined | 12:55 |
| ← Muimi left | 12:55 |
| → Flaghacker joined | 12:56 |
| ← ninjin_ left | 12:58 |
| → ninjin_ joined | 13:01 |
| ← tiin57 left | 13:07 |
| ← Eryn_1983_FL left | 13:09 |
| → tiin57 joined | 13:10 |
| ← Guest20 left | 13:11 |
| ← asrob left | 13:12 |
| → Eryn_1983_FL joined | 13:16 |
| ← Betal left | 13:20 |
| → Betal joined | 13:21 |
| → txtsd joined | 13:26 |
| ← HumanG33k left | 13:29 |
| → HumanG33k joined | 13:30 |
| ← tiin57 left | 13:37 |
| ← wrobinson left | 13:37 |
| → Guest20 joined | 13:38 |
| → wrobinson joined | 13:38 |
| → tiin57 joined | 13:41 |
| → SerialSmile joined | 13:42 |
| → CodeSlingerPaul joined | 13:51 |
| ← xelxebar left | 13:52 |
| ← Thorn left | 13:52 |
| → xelxebar joined | 13:53 |
| → Thorn joined | 13:53 |
| ← paws_ left | 13:54 |
| → jimklimov1 joined | 13:57 |
| ← jimklimov left | 13:58 |
| → feriman joined | 14:01 |
| → Wetmelon joined | 14:02 |
| → aliss joined | 14:02 |
| ← Flaghacker left | 14:03 |
| ← tiin57 left | 14:07 |
| → tiin57 joined | 14:11 |
| ← txtsd left | 14:20 |
| ← royal_screwup21 left | 14:21 |
| → txtsd joined | 14:21 |
| → royal_screwup21 joined | 14:21 |
| ← HumanG33k left | 14:24 |
| ← SerialSmile left | 14:24 |
| → HumanG33k joined | 14:25 |
| → Flaghacker joined | 14:25 |
| ← royal_screwup21 left | 14:26 |
| ← cbreak left | 14:30 |
| → cbreak joined | 14:31 |
| ← feriman left | 14:31 |
| → rsx joined | 14:32 |
| ← xelxebar left | 14:32 |
| ← luke-jr left | 14:32 |
| → xelxebar joined | 14:32 |
| ← tiin57 left | 14:37 |
| nitrix → nitrix-or-treat | 14:37 |
| ← HumanG33k left | 14:37 |
| → luke-jr joined | 14:38 |
| → tiin57 joined | 14:40 |
| ← darkbit left | 14:40 |
| ← Guest20 left | 14:41 |
| ← sweatsuit left | 14:41 |
| → clara97 joined | 14:41 |
| → gast0n joined | 14:42 |
| → darkbit joined | 14:42 |
| → feriman joined | 14:43 |
| ← bolovanos_ left | 14:44 |
| → OnkelBlade joined | 14:48 |
| → das joined | 14:50 |
|
das
| Hello. In 2.28.0 (and below) I've got random segfaults when doing git grep on large repos, is this a known bug? | 14:51 |
| → sweatsuit joined | 14:51 |
| → thiago joined | 14:53 |
| → royal_screwup21 joined | 14:54 |
| → Guest20 joined | 14:55 |
| → cdown_ joined | 14:59 |
| ← sunri5e_ left | 15:00 |
| ← ghost43 left | 15:01 |
| ← cdown left | 15:01 |
| cdown_ → cdown | 15:01 |
| → ghost43 joined | 15:01 |
| → sunri5e joined | 15:02 |
| ← Guest20 left | 15:03 |
| ← oxymoron93 left | 15:03 |
| ← mightyjens left | 15:03 |
| ← Jonopoly left | 15:04 |
| → bitnoize joined | 15:06 |
| ← tiin57 left | 15:07 |
| ← shicks2525 left | 15:08 |
| ← powerhouse left | 15:10 |
| → driador joined | 15:10 |
| → biryukov joined | 15:11 |
| → tiin57 joined | 15:11 |
|
bremner
| das: how large is large? | 15:11 |
|
| I have never had git grep segfault on me | 15:12 |
|
das
| a few GB worth of data | 15:12 |
| → shicks2525 joined | 15:12 |
|
Haohmaru
| is someone using git for 4K movies? | 15:12 |
|
biryukov
| Hi. I just used git replace --graft and git filter-repo --force. And I am left with lots of refs like refs/replace/*. Is there a way to clear all these replace refs quickly? Removing them one by one takes quite some time. | 15:12 |
|
das
| and the segfaults are random, rerunning the same command twice may have different results | 15:12 |
| → shush joined | 15:13 |
|
bremner
| das: is it a low memory machine? Windows? | 15:14 |
|
das
| tried on a VM and a native Linux with 64GB, same erratic behaviour | 15:14 |
|
| currently trying to recompile with symbols ... | 15:15 |
|
bremner
| huh. I guess I got nothing. | 15:15 |
| → sudoforge joined | 15:15 |
|
das
| is there a .configure option for debug? | 15:16 |
| ← shush left | 15:18 |
| ← mobidrop left | 15:20 |
| → p-core joined | 15:20 |
| ← mat001_ left | 15:22 |
| → shush joined | 15:23 |
| ← shicks2525 left | 15:23 |
| ← darkbit left | 15:23 |
| ← shush left | 15:25 |
| → shicks2525 joined | 15:25 |
| → shush joined | 15:27 |
| ← justanotheruser left | 15:29 |
| ← BSaboia left | 15:34 |
| → powerhouse joined | 15:35 |
| → BSaboia joined | 15:36 |
| ← tiin57 left | 15:37 |
| ← gadget left | 15:37 |
|
ikke
| make CLFAGS="-g -O1 -Wall" | 15:37 |
| → masber joined | 15:37 |
|
das
| thanks did -ggdb3 -17:31 < das> jsais pas si c'était Ruff qui me disait "c'est des commerciaux qui viennent vendre de la sécu et qui ont pas un échantillon sur eux" xd | 15:38 |
|
| fak | 15:38 |
|
masber
| hi, I created a new project in gitlab and deleted the readme file from the web gui. Now I am trying to push my local folder but remote tells me I am behind... | 15:38 |
|
| so, how can I tell git to ignore remote and just push my local? | 15:38 |
|
ikke
| git push -f | 15:39 |
|
das
| did "-ggdb3 -O1" | 15:39 |
| → tiin57 joined | 15:41 |
| → cyberpear joined | 15:42 |
|
biryukov
| is there something faster than git update-ref -d to remove refs in bulk quicker? | 15:42 |
| ← rsx left | 15:42 |
|
biryukov
| can you just remove replace refs from info/refs in the bare repo? | 15:45 |
| → durham joined | 15:45 |
| → rustyshackleford joined | 15:46 |
|
ikke
| biryukov: git update-ref --stdin | 15:46 |
|
| biryukov: refs don't necessarily need to be files | 15:46 |
|
| there can also be packed-refs | 15:46 |
|
| and in the future, git will probably move refs to some kind of database | 15:47 |
|
| so manipulating files directly is not recommended | 15:47 |
|
biryukov
| @ikke, thanks a lot. I should prepare a file with lines of the form delete SP <ref> | 15:49 |
|
| what is SP? | 15:49 |
| ← aliss left | 15:51 |
|
biryukov
| just a space I guess | 15:52 |
| → blahboybaz joined | 15:55 |
| → arcatech joined | 15:57 |
| ← sostenuto left | 15:57 |
| → sostenuto joined | 15:57 |
|
blahboybaz
| Haohmaru: If you delete the .git folder you will no longer have a git repsitory at that location. Everthing that makes a git repository exist at that location is in that directory. Unless you have another copy somewhere (a remote server, your friend's computer, a thumb drive, whatever) then you will lose that repository and all that it entails. | 15:58 |
| ← FabioP left | 15:58 |
|
GyrosGeier
| large files should go into git-lfs | 15:59 |
|
| we have a few large files in regular git at $orkplace | 15:59 |
|
| and it's annoying | 15:59 |
| ← sostenuto left | 16:00 |
| → sostenuto joined | 16:00 |
| ← AlexMax left | 16:00 |
| ← sudoforge left | 16:01 |
|
blahboybaz
| GyrosGeier: What you need to do is.. | 16:02 |
| ← rfuentess left | 16:02 |
| ← durham left | 16:02 |
|
blahboybaz
| go pumch the manager's lights out in front of everyone and tell him that in no uncertain terms will you or anyone else work under these squalid cinditions anymore | 16:03 |
| → durham joined | 16:03 |
|
blahboybaz
| ^ I'm kidding, its a joke :p | 16:03 |
|
biryukov
| what's SP in git? | 16:03 |
|
blahboybaz
| what's up in gitland ya'all! ): | 16:03 |
|
| :) <-- I mean | 16:03 |
|
| his lips are on his forehead and his eyes are on his chin | 16:04 |
| → monr0e joined | 16:04 |
| sostenuto → joder | 16:06 |
| ← tiin57 left | 16:07 |
| ← durham left | 16:07 |
| ← OnkelBlade left | 16:07 |
| → tiin57 joined | 16:10 |
| → OnkelBlade joined | 16:12 |
| ← Haohmaru left | 16:12 |
| ← joder left | 16:13 |
| → Technodrome joined | 16:13 |
| → sostenuto joined | 16:13 |
| sostenuto → joder | 16:14 |
| → alexeightsix joined | 16:16 |
| → noonien joined | 16:17 |
| ← nedbat left | 16:18 |
| → voidSurfr joined | 16:18 |
| → calcul0n_ joined | 16:19 |
| ← calcul0n left | 16:20 |
| → nedbat joined | 16:20 |
| ← BSaboia left | 16:21 |
| → justanotheruser joined | 16:21 |
| ← masber left | 16:22 |
| ← Gurkenglas left | 16:26 |
| ← Flaghacker left | 16:26 |
| → BSaboia joined | 16:27 |
| → Aquazi joined | 16:29 |
| ← DiffieHellman left | 16:32 |
| → DiffieHellman joined | 16:32 |
| → mat001 joined | 16:33 |
|
driador
| morning, any gitolite users/admins here? If so, can anyone tell me if ADC (admin defined commands) are obsolete or deprecated? I don't see them under the contrib directory of the repo. | 16:34 |
| ← disi left | 16:34 |
| → disi joined | 16:35 |
| → Guest20 joined | 16:36 |
| ← tiin57 left | 16:37 |
| ← driador left | 16:37 |
| → tiin57 joined | 16:41 |
| → howdoi joined | 16:41 |
| ← chele left | 16:45 |
| → hussam joined | 16:52 |
| → ash_worksi joined | 16:54 |
|
ash_worksi
| what's the best way to show just the latest commit hash? | 16:54 |
|
| what's the best way to show just the latest commit hash? *(in case I sent it too fast) | 16:55 |
|
ikke
| git rev-parse HEAD | 16:55 |
|
ash_worksi
| thanks ikke | 16:55 |
|
ikke
| for some definitions of 'latest' | 16:55 |
|
ash_worksi
| thanks again :) | 16:56 |
| ← mfiano left | 16:56 |
| ← is_null left | 16:57 |
| ← clara97 left | 17:00 |
| → mfiano joined | 17:03 |
| ← qqx left | 17:03 |
| → qqx joined | 17:03 |
| ← chamunks left | 17:05 |
|
biryukov
| update-ref stdin does not seem to work for me. I am trying to put this on stdin: delete refs/replace/01d83142bf60ee5f9e62e9d73f857812dbc03d41 | 17:05 |
| → gadget joined | 17:06 |
| ← biryukov left | 17:06 |
| ← tiin57 left | 17:07 |
| ← aw1 left | 17:08 |
| ← BSaboia left | 17:09 |
| → aw1 joined | 17:09 |
| → tiin57 joined | 17:10 |
| → orbyt_v7 joined | 17:14 |
| → cd joined | 17:15 |
| → HumanG33k joined | 17:15 |
| → cdown_ joined | 17:15 |
| ← axisys left | 17:17 |
| ← cdown left | 17:18 |
| → mat001_ joined | 17:18 |
| → axisys joined | 17:18 |
| cdown_ → cdown | 17:18 |
| ← Guest20 left | 17:20 |
| ← mat001 left | 17:21 |
| ← gordonfish left | 17:25 |
| → relipse joined | 17:26 |
| → darkbit joined | 17:29 |
| → gordonfish joined | 17:30 |
| ← Spooktober left | 17:31 |
| ← acetakwas left | 17:33 |
| → Human_G33k joined | 17:33 |
| ← pikapika left | 17:33 |
| ← HumanG33k left | 17:33 |
| ← luke-jr left | 17:34 |
| ← Guest4231 left | 17:35 |
| ← LetoThe2nd left | 17:35 |
| → pikapika joined | 17:36 |
| → snits joined | 17:36 |
| ← opal left | 17:36 |
| → POQDavid joined | 17:36 |
| ← Human_G33k left | 17:36 |
| → luke-jr joined | 17:36 |
| ← pikapika left | 17:36 |
| → Human_G33k joined | 17:37 |
| → acetakwas joined | 17:37 |
| ← tiin57 left | 17:37 |
| → opal joined | 17:37 |
| ← acetakwas left | 17:37 |
| ← POQDavid left | 17:37 |
| → davispuh joined | 17:37 |
| → pikapika joined | 17:38 |
| → grumboo joined | 17:39 |
| ← pikapika left | 17:39 |
| → BSaboia joined | 17:40 |
| → POQDavid joined | 17:40 |
| → tiin57 joined | 17:41 |
| ← POQDavid left | 17:41 |
| → nikivi joined | 17:41 |
| → pikapika joined | 17:42 |
| → POQDavid joined | 17:42 |
| → HumanG33k joined | 17:43 |
| ← POQDavid left | 17:45 |
| ← Human_G33k left | 17:45 |
| → POQDavid joined | 17:45 |
| ← pikapika left | 17:46 |
| ← nikivi left | 17:46 |
| ← POQDavid left | 17:46 |
| → pikapika joined | 17:48 |
| → nikivi joined | 17:48 |
| → POQDavid joined | 17:48 |
| ← pikapika left | 17:48 |
| ← nikivi left | 17:49 |
| → pikapika joined | 17:49 |
| → nikivi joined | 17:50 |
| ← POQDavid left | 17:50 |
| ← pikapika left | 17:50 |
| ← nikivi left | 17:50 |
| → pikapika joined | 17:50 |
| ← pikapika left | 17:51 |
| → POQDavid joined | 17:51 |
| → nikivi joined | 17:52 |
| → astronavt joined | 17:53 |
| ← POQDavid left | 17:53 |
| → POQDavid joined | 17:55 |
| ← aw1 left | 17:58 |
| → acetakwas joined | 17:59 |
| → aw1 joined | 17:59 |
| ← OnkelBlade left | 17:59 |
| → is_null joined | 18:00 |
| ← tiin57 left | 18:07 |
| → pikapika joined | 18:09 |
| → Human_G33k joined | 18:09 |
| ← Human_G33k left | 18:09 |
| ← Jookia left | 18:09 |
| → Jookia joined | 18:09 |
| → Human_G33k joined | 18:10 |
| → tiin57 joined | 18:10 |
| ← p-core left | 18:11 |
| ← HumanG33k left | 18:11 |
| → p-core joined | 18:12 |
| ← ash_worksi left | 18:15 |
| ← pikapika left | 18:16 |
| → pikapika joined | 18:16 |
| ← Human_G33k left | 18:18 |
| → clara97 joined | 18:20 |
| ← POQDavid left | 18:21 |
| ← pikapika left | 18:21 |
| → pikapika joined | 18:22 |
| → POQDavid joined | 18:22 |
| ← nikivi left | 18:23 |
| ← pikapika left | 18:23 |
| → nikivi joined | 18:23 |
| → pikapika joined | 18:23 |
| ← POQDavid left | 18:23 |
| ← BSaboia left | 18:24 |
| ← acetakwas left | 18:24 |
| ← pikapika left | 18:24 |
| → POQDavid joined | 18:25 |
| ← nikivi left | 18:25 |
| → pikapika joined | 18:25 |
| → acetakwas joined | 18:25 |
| → nikivi joined | 18:25 |
| → jab416171 joined | 18:27 |
| ← Sauvin left | 18:28 |
| → BSaboia joined | 18:28 |
| ← BSaboia left | 18:32 |
| → hnOsmium0001 joined | 18:32 |
| → BSaboia joined | 18:33 |
| → lungaro joined | 18:35 |
| ← justanotheruser left | 18:37 |
| ← tiin57 left | 18:37 |
| ← BSaboia left | 18:37 |
| ← cliluw left | 18:40 |
| → tiin57 joined | 18:40 |
| → cliluw joined | 18:41 |
| → bolovanos_ joined | 18:42 |
| ← pikapika left | 18:42 |
| ← POQDavid left | 18:42 |
| → pikapika joined | 18:43 |
| → POQDavid joined | 18:43 |
| ← palooka-jock left | 18:43 |
| ← blahboybaz left | 18:43 |
| ← pikapika left | 18:45 |
| → pikapika joined | 18:46 |
| ← nikivi left | 18:46 |
| → nikivi joined | 18:46 |
| ← pikapika left | 18:47 |
| → sudoforge joined | 18:47 |
| → pikapika joined | 18:47 |
| → wootehfoot joined | 18:50 |
| → Goplat joined | 18:58 |
|
ThiefMaster
| do i really need to manually remove submodule entries from .git/config? there's no `git submodule` subcommand that cleans this for me? (in fact, the repo doesn't even have a .gitmodules anymore since we stopped using submodules a while ago) | 19:01 |
| ← mns left | 19:03 |
|
mgedmin
| git submodule deinit | 19:06 |
| ← tiin57 left | 19:07 |
|
ThiefMaster
| first thing i tried.. | 19:09 |
|
| [adrian@blackhole:~/dev/indico/src:master $]> git submodule deinit --all | 19:09 |
|
| [adrian@blackhole:~/dev/indico/src:master $]> grep submodule .git/config | wc -l | 19:09 |
|
| 25 | 19:09 |
| → tiin57 joined | 19:11 |
|
mgedmin
| I think you're supposed to invoke deinit before you remove the .gitmodules file | 19:15 |
| ← peregrinator left | 19:16 |
| ← nilsirl[m] left | 19:16 |
| ← leibniz[m] left | 19:16 |
| ← tomm1e left | 19:16 |
| ← cpackham left | 19:16 |
| ← cerna left | 19:16 |
| ← ForeverNoob[m] left | 19:16 |
| ← loadout[m] left | 19:16 |
| ← morguldir left | 19:16 |
| ← hsiktas[m] left | 19:16 |
| ← das-g[m] left | 19:16 |
| ← ChrisLane left | 19:19 |
| ← bolovanos_ left | 19:21 |
| → ChrisLane joined | 19:22 |
| → biryukov joined | 19:22 |
| → morguldir joined | 19:26 |
| → paws_ joined | 19:31 |
| → danisanti joined | 19:31 |
|
danisanti
| Does anyone know how I can obey to the 50/72 commit message using vim? I only know about :set textwidth=72 and have no rule for the 50 title :/ | 19:32 |
|
osse
| danisanti: if the filetype is gitcommit then it will highlight if you pass it | 19:36 |
|
| danisanti: ':set ft?' | 19:37 |
| ← tiin57 left | 19:37 |
|
danisanti
| hmmm, filetype gitcommit. wow, learning everystep of the way :) ;) | 19:38 |
|
| gonna see what :set ft means | 19:38 |
|
| setting filetype. is this automatic in most Linux systems or a .vimrc rule is required? | 19:40 |
| → tiin57 joined | 19:40 |
| ← is_null left | 19:40 |
|
osse
| danisanti: depends... these days there is usually a /etc/vimrc or something similar | 19:41 |
|
| run that command to see what the filetype is | 19:41 |
|
danisanti
| osse: ;) | 19:41 |
|
| thanks | 19:41 |
|
| osse: it changes color!! filetype=gitcommit :D | 19:43 |
| → palooka-jock joined | 19:48 |
| → chamunks joined | 19:48 |
| ← benfelin left | 19:49 |
| → is_null joined | 19:50 |
| ← a-l-e left | 19:51 |
|
biryukov
| @ikke, thanks a lot for suggesting --stdin to speed up update-ref. got it working. and it took minutes instead of days. | 19:53 |
| ← biryukov left | 19:53 |
| ← royal_screwup21 left | 20:03 |
| ← is_null left | 20:03 |
| ← Maxattax left | 20:03 |
| ← tiin57 left | 20:07 |
| → cerna joined | 20:08 |
| → leibniz[m] joined | 20:08 |
| → felixsanz joined | 20:08 |
| → hsiktas[m] joined | 20:08 |
| → nilsirl[m] joined | 20:08 |
| → peregrinator joined | 20:08 |
| → ForeverNoob[m] joined | 20:08 |
| → AlexMax joined | 20:08 |
| → tomm1e joined | 20:08 |
| → das-g[m] joined | 20:08 |
| → cpackham joined | 20:08 |
| → tiin57 joined | 20:10 |
| → masuberu joined | 20:14 |
|
masuberu
| why git diff does ont advice about the changes carries with git rm? | 20:14 |
| ← ChrisLane left | 20:15 |
| → ChrisLane joined | 20:17 |
| ← danisanti left | 20:17 |
| ← voidSurfr left | 20:18 |
| → mapperr joined | 20:18 |
| → mns joined | 20:24 |
| ← indy left | 20:26 |
| → indy joined | 20:26 |
| ← masuberu left | 20:27 |
| ← indy left | 20:30 |
| ← clara97 left | 20:30 |
| ← aw1 left | 20:34 |
| ← Technodrome left | 20:34 |
| → indy joined | 20:36 |
| ← tiin57 left | 20:37 |
| ← LionsMane left | 20:38 |
| → tiin57 joined | 20:40 |
| ← mikecmpbll left | 20:43 |
| ← luke-jr left | 20:49 |
| → mikecmpbll joined | 20:50 |
| → fahadash joined | 20:53 |
| → luke-jr joined | 20:53 |
| → Technodrome joined | 20:53 |
| ← shush left | 20:54 |
| → BSaboia joined | 20:54 |
| → shush joined | 20:55 |
| ← tpaper left | 20:58 |
| ← HaRRo left | 20:59 |
| → BlessJah_ joined | 21:00 |
| ← BlessJah left | 21:00 |
| → tpaper joined | 21:01 |
| → voidSurfr joined | 21:02 |
| ← orbyt_v7 left | 21:04 |
| → BlessJah joined | 21:05 |
| ← BlessJah_ left | 21:07 |
| ← tiin57 left | 21:07 |
| ← darkbit left | 21:09 |
| → tiin57 joined | 21:10 |
| ← Tawonga left | 21:12 |
| → Tawonga joined | 21:13 |
| ← wootehfoot left | 21:15 |
| → Moistmelon joined | 21:15 |
| ← feriman left | 21:17 |
| ← Wetmelon left | 21:18 |
| → Xenguy joined | 21:20 |
| ← p-core left | 21:23 |
| ← voidSurfr left | 21:24 |
| ← Moistmelon left | 21:26 |
| ← splud left | 21:30 |
| ← BSaboia left | 21:35 |
| ← tiin57 left | 21:37 |
| → voidSurfr joined | 21:39 |
| → Gurkenglas joined | 21:40 |
| ← dionysus69 left | 21:40 |
| → tiin57 joined | 21:40 |
| → ghostshadow001 joined | 21:41 |
| ← Eryn_1983_FL left | 21:42 |
| ← noonien left | 21:43 |
| → splud joined | 21:43 |
| → ilmostro joined | 21:46 |
| ← nedbat left | 21:52 |
| → Muimi joined | 21:53 |
| ← Muimi left | 21:53 |
| → Muimi joined | 21:54 |
| ← Muimi left | 21:54 |
| → nedbat joined | 21:55 |
| ← alexeightsix left | 21:55 |
| → Wetmelon joined | 21:57 |
| → theoceaniscool joined | 22:03 |
| → crose joined | 22:06 |
| ← tiin57 left | 22:07 |
| → dqx joined | 22:08 |
| → tiin57 joined | 22:10 |
| ← paws_ left | 22:11 |
| ← voidSurfr left | 22:11 |
| → Eryn_1983_FL joined | 22:12 |
| ← sveinse left | 22:13 |
| → charking joined | 22:14 |
|
charking
| Hello. I want to rewrite code from scratch for a project. Is it possible to move master to a legacy branch and start a new master branch with no history? | 22:15 |
|
| Or does it make more sense to make a legacy branch then just remove all the files in the master branch? | 22:16 |
| ← hagabaka left | 22:16 |
| → lukedashjr joined | 22:17 |
| → hagabaka joined | 22:17 |
| → backthen57 joined | 22:18 |
| ← luke-jr left | 22:19 |
|
backthen57
| I branched my main project. Then I discovered the files I'm adding belongs to a submodule within this project. What's the proper way to add these files? Should I be adding them to the project of that submodule? | 22:20 |
|
| Or I can continue to add to this main project? | 22:20 |
| ← deltab left | 22:21 |
| lukedashjr → luke-jr | 22:21 |
| ← dqx left | 22:22 |
| ← theoceaniscool left | 22:23 |
| → is_null joined | 22:25 |
| → deltab joined | 22:28 |
| ← is_null left | 22:30 |
| ← Eryn_1983_FL left | 22:33 |
|
lusrx
| do i have to use -u every time i push a new branch to github? | 22:34 |
|
| git push -u origin branch | 22:35 |
| → royal_screwup21 joined | 22:36 |
| ← tiin57 left | 22:37 |
| → Eryn_1983_FL joined | 22:37 |
| → tiin57 joined | 22:41 |
| ← arcatech left | 22:41 |
| ← dudek left | 22:42 |
| → justanotheruser joined | 22:42 |
| ← ghostshadow001 left | 22:48 |
|
j416
| no | 22:49 |
|
| but it's convenient to set the upstream | 22:50 |
| → malmalmal joined | 22:50 |
|
j416
| you also have the option to set a different push default | 22:50 |
| → eb0t joined | 22:50 |
|
j416
| lusrx: man git-config look for push.default | 22:50 |
|
gitinfo
| lusrx: the git-config manpage is available at https://gitirc.eu/git-config.html | 22:50 |
| → eblip joined | 22:50 |
|
j416
| but I'd argue that the current default is quite sane for most use-cases. | 22:51 |
| ← eb0t_ left | 22:52 |
| → voidSurfr joined | 22:52 |
| ← def_jam left | 22:52 |
| ← malmalmal left | 22:58 |
| ← finalbeta left | 23:01 |
| ← calcul0n_ left | 23:03 |
| ← Xenguy left | 23:04 |
| → Xenguy joined | 23:05 |
| ← foul_owl left | 23:05 |
| ← tiin57 left | 23:07 |
|
lusrx
| so the goal with this is so that i can do git pull without any arguments? | 23:07 |
|
| is the upstream not set when i clone a repo from github? | 23:08 |
| → arcatech joined | 23:08 |
| ← arcatech left | 23:09 |
| → tiin57 joined | 23:10 |
| → vdamewood joined | 23:13 |
| → heyitsrama joined | 23:13 |
| ← heyitsrama left | 23:17 |
| → foul_owl joined | 23:20 |
| ← nurdie left | 23:20 |
| → arcatech joined | 23:25 |
| → heyitsrama joined | 23:30 |
| ← arcatech left | 23:32 |
| ← luke-jr left | 23:33 |
| → luke-jr joined | 23:34 |
| → nurdie joined | 23:36 |
| ← to1ne left | 23:36 |
| ← tiin57 left | 23:37 |
| → arcatech joined | 23:39 |
| ← nurdie left | 23:40 |
| → to1ne joined | 23:40 |
| → tiin57 joined | 23:41 |
| ← arcatech left | 23:46 |
| → sybariten joined | 23:47 |
|
sybariten
| hey | 23:47 |
| → macrover joined | 23:48 |
|
sybariten
| i'm a git newbie. I've commited a couple of changes to a new file, adding it every time . I have not done git push yet with that file. But now i am realizing that i've named that file wrong. I'd like to change it. Is there something i can do to make it change name in earlier commits, if you understand? | 23:48 |
| ← CodeSlingerPaul left | 23:51 |
| → dionysus69 joined | 23:53 |
| → SpeakerToMeat joined | 23:55 |
|
SpeakerToMeat
| Hello | 23:56 |
|
| Ok I wanna clarify how I should be doing something... | 23:56 |
|
| I'm building something, deving home, using docker (not too important here), most of the files all are the same during building as they'll be for deploy. But there's two files with configs that will change for deploy, and this will be done with tagged versions for deploying (say tag 1.0.2). Now my question is... how do I handle these two config files? with a branch? | 23:57 |
| ← PJBoy left | 23:58 |
|
SpeakerToMeat
| So, if I branch to let's say "deploy" right now, edit these files, commit, and then go back to my head/main branch, I keep working on all the code, etc.... when the time comes for a release, I checkout the deploy branch, merge all the main branch stuff into it? would these config files not be touched if I've not edited them on my main branch since the branching? And if I do edit them, and I merge, | 23:59 |
|
| I'll egt only those + or - of the edits and not the rest of the differences of the configs since before I branched and the branch? | 23:59 |