| 2024-01-23 |
| → delay joined | 00:00 |
| ← omero left | 00:07 |
| → omero joined | 00:09 |
| ← bf_ left | 00:09 |
| → Traneptora joined | 00:14 |
| → LuxuryMode_ joined | 00:16 |
| ← epony left | 00:21 |
| ← nyah left | 00:22 |
| ← umbramalison left | 00:23 |
| ← Vonter left | 00:23 |
| → Vonter joined | 00:24 |
| → umbramalison joined | 00:32 |
| ← avu left | 00:33 |
| → avu joined | 00:33 |
| → yoo joined | 00:39 |
| → raffaele__ joined | 00:52 |
| ← raffaele left | 00:54 |
| ← gchound left | 00:58 |
| ← jacobk left | 01:04 |
|
jb1277976
| When you hard reset a commit and it says head is now pointing then it shows the hash id. do you go back to master and just start over or what does that mean ? | 01:08 |
|
weaksauc_
| not sure i understand the question | 01:10 |
| ← yoo left | 01:11 |
| ← stuv left | 01:13 |
| → yoo joined | 01:15 |
| → _xor joined | 01:18 |
| ← sentriz left | 01:19 |
| ← navi left | 01:21 |
| → nivag_2c joined | 01:22 |
| ← qgnox left | 01:26 |
| ← SharpHammer left | 01:26 |
| → sentriz joined | 01:29 |
| → qgnox joined | 01:32 |
| → Lord_of_Life_ joined | 01:33 |
| ← Lord_of_Life left | 01:33 |
| Lord_of_Life_ → Lord_of_Life | 01:34 |
| ← qgnox left | 01:36 |
| ← igemnace left | 01:36 |
| → qgnox joined | 01:49 |
| → ubiquituum joined | 01:50 |
| ← ubiquituum left | 01:50 |
| → ubiquituum joined | 01:50 |
| ← xx left | 01:51 |
| ← nivag_2c left | 01:54 |
| → kurahaupo_ joined | 01:57 |
| ← kurahaupo left | 01:57 |
| kurahaupo_ → kurahaupo | 01:57 |
| ← ubiquituum left | 02:01 |
| ← delay left | 02:02 |
| ← tirnanog left | 02:06 |
| → nivag_2c joined | 02:08 |
| ← qgnox left | 02:10 |
|
jb1277976
| Oh.. so when you heard reset a commit does it automatically get deleted and you start over ? | 02:11 |
|
nedbat
| jb1277976: you're using words a bit differently. You don't "hard reset a commit". You can hard reset a branch to a commit. | 02:14 |
|
weaksauc_
| a hard reset to a commit points the branch you are on to the commit you specify and wipes away any changes you had in the working directory | 02:14 |
|
| it's one of the few dangerous commands to use in git where there might be data loss | 02:14 |
|
jb1277976
| Yea, i was reading abour soft and hard.. no pun intended | 02:20 |
| → Gary_Sinise joined | 02:22 |
| ← LuxuryMode_ left | 02:26 |
| ← nhartman left | 02:26 |
| ← jottr left | 02:28 |
| → ubiquituum joined | 02:32 |
| → Guest55 joined | 02:33 |
| ← Guest55 left | 02:33 |
| ← ubiquituum left | 02:37 |
| → jottr joined | 02:40 |
| ← jottr left | 02:48 |
| → jottr joined | 02:53 |
| → lmat joined | 02:57 |
| ← lmat left | 02:57 |
| → lmat joined | 02:57 |
| ← jottr left | 02:57 |
|
lmat
| I forgot I was rebasing and moved the branch I was rebasing to the current branch. Now when I `git status`, "Last commands done (6 commands done):... No commands remaining. You are currently editing a commit while rebasing branch ..." Then git rebase --continue; says "error: update_ref failed for ref 'refs/heads/......': cannot lock ref 'refs/heads/...': is at 300187... but expected 219ad965..." And that's it. | 02:58 |
|
| Oh, git reset --hard <expected commit> && git rebase --continue; seems to have fixed it. Thanks, guys! | 02:59 |
| → gsi_ joined | 03:01 |
| ← hussein1 left | 03:02 |
| ← bindu left | 03:03 |
| → bindu joined | 03:03 |
| → hussein1 joined | 03:04 |
| ← gsi left | 03:05 |
| → bf_ joined | 03:08 |
| → jottr joined | 03:09 |
| ← nicos left | 03:10 |
| ← jottr left | 03:16 |
| → lostbeard_ joined | 03:16 |
| ← lostbeard left | 03:17 |
| ← yoo left | 03:18 |
| → hbautista_ joined | 03:19 |
| ← kurahaupo left | 03:21 |
| ← bf_ left | 03:24 |
| → nicos joined | 03:25 |
| → jottr joined | 03:29 |
| ← cpackham left | 03:33 |
| ← jottr left | 03:34 |
| → epony joined | 03:43 |
| → jottr joined | 03:46 |
| ← hussein1 left | 03:49 |
| ← jottr left | 03:51 |
| ← nivag_2c left | 03:51 |
| → memset joined | 03:51 |
| → hussein1 joined | 03:51 |
| ← z1haze left | 03:53 |
| → monkeyPlus joined | 03:53 |
|
monkeyPlus
| hey. Ive created a new repository on github, using www, and i git clone it...then push it..it didnt ask me password or authentication..is this normal? | 03:53 |
|
b0nn
| it depends | 03:54 |
|
| have you set up a ssh key with your account? | 03:54 |
|
monkeyPlus
| no i dont think so | 03:55 |
|
| let me view repo settings to be sure | 03:55 |
|
b0nn
| account settings* | 03:56 |
|
monkeyPlus
| nope | 03:57 |
|
| ok..so i deleted it | 03:57 |
|
| now i want o create it again, with password | 03:57 |
| ← akibageek left | 03:57 |
|
monkeyPlus
| ok..on "clone" i used https | 03:57 |
|
| but other users can do the same?! | 03:58 |
|
| didnt ask me anything | 03:58 |
|
larryv
| have you ever authenticated to github before? maybe another credential manager cached your credentials | 04:01 |
|
monkeyPlus
| ah..well what i did. Created a repo on www site of github. Clone it like "git clone github.com" and then git add . , then git commit -m "whatever", then git push it..didnt ask me anything | 04:01 |
|
| how does it know it was me?! | 04:02 |
|
| anyone can do it | 04:02 |
|
| also...instead of README.md i want a README.txt | 04:02 |
| → jottr joined | 04:03 |
| → nivag_2c joined | 04:04 |
|
monkeyPlus
| damn..have a ssh key :) | 04:07 |
| ← jottr left | 04:08 |
| → jottr joined | 04:19 |
| ← SuperLag left | 04:22 |
| → SuperLag joined | 04:22 |
| ← SuperLag left | 04:22 |
| → SuperLag joined | 04:22 |
| ← jottr left | 04:24 |
|
monkeyPlus
| hey, how can i use a plain text on README? | 04:25 |
|
| or i cannot?! | 04:25 |
|
| my indentation is bad | 04:26 |
|
larryv
| what do you mean | 04:26 |
|
| if you want README.txt just create one and delete README.md or whatever | 04:26 |
|
monkeyPlus
| will it display on main page or repo? | 04:27 |
|
larryv
| or rename README.md to README.txt, same difference | 04:27 |
|
| yes | 04:27 |
|
monkeyPlus
| ah ok cool | 04:27 |
|
| thks | 04:27 |
| ← memset left | 04:29 |
| → memset joined | 04:29 |
| → h-erectus joined | 04:40 |
| → jottr joined | 04:41 |
| ← jottr left | 04:46 |
| → jottr joined | 04:58 |
| ← jottr left | 05:03 |
| ← memset left | 05:06 |
| ← Betal left | 05:07 |
| → memset joined | 05:09 |
| → jottr joined | 05:14 |
| ← memset left | 05:16 |
| → memset joined | 05:16 |
| ← sentriz left | 05:17 |
| ← nivag_2c left | 05:17 |
| ← jottr left | 05:20 |
| ← Gary_Sinise left | 05:22 |
| → sentriz joined | 05:26 |
| ← fossdd left | 05:28 |
| → jottr joined | 05:28 |
| ← monkeyPlus left | 05:28 |
| → igemnace joined | 05:30 |
| → vysn joined | 05:32 |
| → fossdd joined | 05:33 |
| ← jottr left | 05:40 |
| → Chaser joined | 05:40 |
| → ossifrage joined | 05:42 |
| → Ox7C5_ joined | 06:02 |
| → sreve joined | 06:05 |
| ← memset left | 06:05 |
| → memset joined | 06:06 |
| ← twice left | 06:07 |
| ← memset left | 06:07 |
| → jottr joined | 06:08 |
| → twice joined | 06:08 |
| → memset joined | 06:11 |
| ← caef^ left | 06:13 |
| ← jottr left | 06:15 |
|
rkta
| Is there a git checkout -p like interfaces for merge conflicts? I want to have a quick look at the conflict and than pick one side with just a key press. No manual editing. | 06:22 |
| ← LiENUS left | 06:22 |
| → duxsco joined | 06:23 |
|
ikke
| rkta: you have merge conflict editors | 06:25 |
|
| if you use vscode, it has a good one built-in | 06:25 |
|
rkta
| I'm a vim user and have it configured as a merge tool. But that's not what I'm looking for. Show me the conflict, let me say ours or theirs and show me the next conflict. | 06:27 |
|
ikke
| There is not something like that | 06:27 |
|
rkta
| that's a shame | 06:28 |
| → jottr joined | 06:32 |
| ← duxsco left | 06:34 |
| ← larryv left | 06:36 |
|
gsish
| got a feeling that lazygit is doing a lot for you, could not follow the author's video due to not being familiar with the tool :) can't tell if that's a candidate to look at when fugitive doesn't provide what you are looking for (neither am using that tool, only dropping names here) | 06:37 |
|
| the third name that crosses the mind would be tig | 06:38 |
| ← jottr left | 06:38 |
|
gsish
| am mentioning tig because of its user configurable mappings, and one button stage construction (interactive add) that I've seen | 06:42 |
|
| even got an alias so that muscle memoried "git tig" commands work transparently :) | 06:43 |
| ← hbautista_ left | 06:46 |
|
rkta
| I'll keep that in mind. For now I went with git merge -Xours and now doing a git checkout -p @~1 because the merge gave some strange results. Let's see how well this goes. | 06:47 |
| → CrunchyFlakes joined | 06:55 |
| pikapika → militantorc | 06:58 |
| ← thiago left | 07:01 |
| → stolen joined | 07:02 |
| → rfuentess joined | 07:05 |
| ← CrunchyFlakes left | 07:05 |
| → CrunchyFlakes joined | 07:07 |
| → jottr joined | 07:07 |
| → ssserpent joined | 07:08 |
| → jklfds joined | 07:09 |
| → Guest60 joined | 07:09 |
| ← Guest60 left | 07:11 |
| ← jottr left | 07:12 |
| ← jklfds left | 07:18 |
| ← ryjen left | 07:18 |
| → ryjen joined | 07:18 |
| → cpackham joined | 07:20 |
| → rainystorm joined | 07:25 |
| → jottr joined | 07:25 |
| → rosco joined | 07:26 |
| ← h-erectus left | 07:30 |
| ← jottr left | 07:33 |
| ← ryjen left | 07:49 |
| → ryjen joined | 07:50 |
| ← ryjen left | 07:53 |
| ← skapata left | 07:53 |
| → ryjen joined | 07:53 |
| ← ryjen left | 07:54 |
| → ryjen joined | 07:54 |
| ← ryjen left | 07:55 |
| → ryjen joined | 07:55 |
| → coot joined | 07:56 |
| → gandhibobandhi_ joined | 07:57 |
| ← ryjen left | 07:57 |
| ← cpackham left | 07:57 |
| → ryjen joined | 07:58 |
| ← ryjen left | 07:59 |
| → ryjen joined | 08:00 |
| → jottr joined | 08:00 |
| → MGF_Fabio joined | 08:00 |
| → vladoski joined | 08:06 |
| → XorMan joined | 08:06 |
| ← jottr left | 08:07 |
| ← XorMan left | 08:10 |
| → danse-nr3 joined | 08:12 |
| ← danse-nr3 left | 08:14 |
| → danse-nr3 joined | 08:15 |
| → jottr joined | 08:22 |
| ← m1dnight left | 08:26 |
| → m1dnight joined | 08:27 |
| ← jottr left | 08:27 |
| ← R2robot left | 08:31 |
| → ipynb joined | 08:34 |
| ← ryjen left | 08:34 |
| → ryjen joined | 08:35 |
| → jottr joined | 08:39 |
| → R2robot joined | 08:40 |
| ← jottr left | 08:45 |
| → jottr joined | 08:50 |
| ← Misotauros left | 08:51 |
| ← ryjen left | 08:54 |
| → john_johnk joined | 08:54 |
| → ryjen joined | 08:54 |
| → schne1der joined | 08:55 |
| ← TomyWork left | 08:55 |
| → TomyWork joined | 08:55 |
| ← jottr left | 08:59 |
| → RiFo joined | 09:04 |
| → Misotauros joined | 09:05 |
| ← Flow left | 09:05 |
| → stuv joined | 09:07 |
| → jottr joined | 09:12 |
| → Flow joined | 09:12 |
| → theoceaniscool joined | 09:17 |
| ← stolen left | 09:22 |
| ← jottr left | 09:23 |
| → plugwash joined | 09:26 |
|
plugwash
| is there a tool that given a tree of code will tell me which git commit it matches most closely? | 09:28 |
|
selckin
| tree of code? | 09:29 |
|
b0nn
| plugwash: what exactly are you trying to solve? | 09:31 |
|
| It sounds like you want to find when a change was made? | 09:31 |
|
plugwash
| Some code was copied from one project to another, I want to know which version it was copied from. | 09:32 |
| → xx joined | 09:33 |
| → jottr joined | 09:36 |
| → gandhibobandhi__ joined | 09:39 |
|
b0nn
| hmm, I can only think of ways to say "the code changed to X in this commit" | 09:40 |
|
| eg. git log --follow -p <file> | 09:40 |
| ← gandhibobandhi_ left | 09:42 |
| ← jottr left | 09:45 |
| ← zulutango left | 09:46 |
| ← riposte left | 09:50 |
| ← danse-nr3 left | 09:52 |
| ← polyrob left | 09:53 |
| → polyrob joined | 09:53 |
| ← very_sneaky left | 09:54 |
| → OnkelTem joined | 09:54 |
| → very_sneaky joined | 09:56 |
| → jottr joined | 09:56 |
| → danse-nr3 joined | 09:58 |
| → daniel3 joined | 10:00 |
| → sahil_ joined | 10:00 |
| ← ipynb left | 10:00 |
| → tirnanog joined | 10:00 |
| ← jottr left | 10:01 |
| ← sahil_ left | 10:07 |
| ← nicos left | 10:14 |
| → riposte joined | 10:16 |
| → nicos joined | 10:20 |
|
osse
| plugwash: I don't know of such a tool, but it's possible to script one yourself. Make a fake commit/tree from the code you have, then diff that against all other commits | 10:22 |
|
| And find the closest | 10:22 |
|
| Helps if you have an approximate date to narrow it down | 10:22 |
| ← john_johnk left | 10:25 |
|
ikke
| A user called Ali1234 here created something like that | 10:28 |
| ← nicos left | 10:34 |
| → nicos joined | 10:35 |
|
hexnewbie
| With git diff --cached starting a pager (closing which closes the text), how is one supposed to know what to write in the commit message on the command line after that. LOL | 10:42 |
|
nullie
| you can disable the pager | 10:44 |
|
| or you can just add -v to git commit | 10:45 |
|
hexnewbie
| Hmm, thanks, git commit -v sounds appearling | 10:46 |
|
| appealing | 10:46 |
| → vlado joined | 10:47 |
| ← vladoski left | 10:49 |
| → jottr joined | 10:51 |
| ← daniel3 left | 10:55 |
| → EvgenyK joined | 10:56 |
| ← jottr left | 10:56 |
| → nivag joined | 11:05 |
| → delay joined | 11:09 |
| → jottr joined | 11:09 |
| ← danse-nr3 left | 11:10 |
| → danse-nr3 joined | 11:10 |
| ← nicos left | 11:11 |
| → nicos joined | 11:11 |
| ← delay left | 11:13 |
| ← jottr left | 11:14 |
| → jottr joined | 11:15 |
| ← RetroPunk left | 11:18 |
| → RetroPunk joined | 11:18 |
| ← RetroPunk left | 11:18 |
| ← rosco left | 11:19 |
| → RetroPunk joined | 11:19 |
| → esc4rg0t_ joined | 11:20 |
| ← esc4rg0t left | 11:20 |
| ← jottr left | 11:22 |
| ← dsimic left | 11:28 |
| → dsrt^ joined | 11:28 |
| → dsimic joined | 11:30 |
| ← nicos left | 11:31 |
| → jottr joined | 11:34 |
| ← jottr left | 11:40 |
| → nicos joined | 11:45 |
| ← FH_thecat left | 11:48 |
| → EvgenyK_ joined | 11:51 |
| → jottr joined | 11:51 |
| → navi joined | 11:53 |
| ← EvgenyK left | 11:53 |
| → john_johnk joined | 11:55 |
| ← EvgenyK_ left | 11:55 |
| ← jottr left | 11:55 |
| → EvgenyK joined | 11:56 |
| → rosco joined | 11:59 |
| ← thelounge68 left | 12:00 |
| → thelounge68 joined | 12:01 |
| ← navi left | 12:01 |
| → FH_thecat joined | 12:02 |
| ← danse-nr3 left | 12:07 |
| → jottr joined | 12:07 |
| → kurahaupo joined | 12:08 |
| ← jottr left | 12:13 |
| → jottr joined | 12:15 |
| ← Ox7C5_ left | 12:17 |
| ← jottr left | 12:22 |
| → jottr joined | 12:34 |
| → qgnox joined | 12:38 |
| → danse-nr3 joined | 12:39 |
| → stolen joined | 12:39 |
| ← jottr left | 12:41 |
| → LiENUS joined | 12:42 |
| ← nicos left | 12:45 |
| → nicos joined | 12:45 |
| ← OnkelTem left | 12:47 |
| ← plugwash left | 12:47 |
| → akibageek joined | 12:47 |
| ← epony left | 12:52 |
| ← EvgenyK left | 12:53 |
| → jottr joined | 12:53 |
| → OnkelTem joined | 12:54 |
| → epony joined | 12:54 |
| → TeXMaster joined | 13:00 |
| ← Oblomov left | 13:01 |
| ← MGF_Fabio left | 13:02 |
| ← nicos left | 13:02 |
| → gasbag joined | 13:02 |
| → nicos joined | 13:03 |
| → plugwash joined | 13:04 |
| ← jottr left | 13:10 |
| ← gasbag left | 13:15 |
| ← qgnox left | 13:18 |
| → qgnox joined | 13:21 |
| ← qgnox left | 13:26 |
| → EvgenyK joined | 13:27 |
| ← madduck left | 13:28 |
| → Rashad joined | 13:31 |
| ← EvgenyK left | 13:35 |
| → tennisanders joined | 13:36 |
| → jottr joined | 13:37 |
| → qgnox joined | 13:38 |
| → delay joined | 13:44 |
| → EvgenyK joined | 13:44 |
| → ferdna joined | 13:47 |
| → miigotu joined | 13:49 |
| ← EvgenyK left | 13:49 |
| → navi joined | 13:53 |
| → delay_ joined | 13:53 |
| ← delay left | 13:56 |
| → Minvera joined | 14:01 |
| ← john_johnk left | 14:07 |
| ← guideX left | 14:09 |
| → cloaker joined | 14:26 |
| → masber joined | 14:27 |
| ← Chaser left | 14:27 |
|
masber
| hi, I have a question | 14:28 |
|
| I have a github merge request and github tells me to fix that using command line interface because the conflicts are too complicated to solve them through the web interface | 14:28 |
| ← sentriz left | 14:28 |
|
masber
| it then gives me the commands I need to run | 14:28 |
|
| I ran the commands which basically are clone, checkout the branch trying to merge, then pull | 14:29 |
|
| I don't understand when I merge, git in my local repo does not complain, there are no conflicts | 14:29 |
|
| why is that? | 14:29 |
|
| I did merge the right branch | 14:29 |
| → bn_work joined | 14:30 |
|
masber
| why github complains about the merge request conflict but locally everything is fine? | 14:30 |
|
lmat
| masber: I'm not sure why Microsoft Github complains when git doesn't. You should rebase so that Microsoft Github can do it. git checkout <feature branch> && git rebase origin/master && git push -f origin; | 14:32 |
|
selckin
| you should use Software Freedom Conservancy gnu/git | 14:33 |
|
masber
| yeah my local computer runs linux | 14:35 |
|
| ok, but has anyone experience something like this before? | 14:35 |
| → Ox7C5_ joined | 14:36 |
| → john_johnk joined | 14:39 |
| → sentriz joined | 14:39 |
| ← igemnace left | 14:40 |
| → SharpHammer joined | 14:46 |
| → madduck joined | 14:54 |
| → daniel3 joined | 14:57 |
| ← cdown left | 14:57 |
| ← rovanion left | 14:58 |
| → igemnace joined | 14:58 |
| → cdown joined | 14:59 |
| → thiago joined | 15:01 |
| → rovanion joined | 15:04 |
| ← akibageek left | 15:05 |
| → akibageek joined | 15:05 |
| ← tennisanders left | 15:07 |
| → bkircher joined | 15:12 |
| ← m1dnight left | 15:15 |
| ← jottr left | 15:15 |
| → m1dnight joined | 15:15 |
| ← m1dnight left | 15:22 |
| → m1dnight joined | 15:22 |
| → bf_ joined | 15:27 |
| → jottr joined | 15:28 |
| → warmana joined | 15:30 |
| ← qgnox left | 15:33 |
| ← jottr left | 15:37 |
| ← bf_ left | 15:37 |
| ← stolen left | 15:39 |
| → jottr joined | 15:40 |
| ← danse-nr3 left | 15:42 |
| → hbautista_ joined | 15:42 |
|
duszek
| how did people work with back then over their 56k connections? | 15:44 |
| ← warmana left | 15:44 |
|
masber
| at that time a 10MB file was a big think | 15:44 |
| → skapata joined | 15:45 |
|
masber
| I remember I once had to download metal slug game ROM for MEME emulator and it took a several hours | 15:45 |
|
duszek
| masber: that was a big problem but i heard it required an internet connection to do anything | 15:45 |
|
masber
| yeah | 15:45 |
| → z1haze joined | 15:46 |
|
huf
| duszek: we had smaller files | 15:47 |
| ← jottr left | 15:48 |
| ← daniel3 left | 15:48 |
| ← ferdna left | 15:48 |
| ← NightMonkey left | 15:52 |
| ← epony left | 15:53 |
| → epony joined | 15:54 |
| → danse-nr3 joined | 15:56 |
| ← sreve left | 15:57 |
| → NightMonkey joined | 15:58 |
| → Gary_Sinise joined | 16:00 |
| → Pixi` joined | 16:01 |
| → cdown_ joined | 16:01 |
| → hamster joined | 16:01 |
| → kostkon_ joined | 16:01 |
| → esc4rg0t__ joined | 16:02 |
|
[twisti]
| i have a repository that used to contain a submodule but doesnt anymore. yet when cloning, i get an error because i have no permission to access the submodule. is that expected, and is there a way around that ? | 16:02 |
| → raffaele joined | 16:02 |
| → KnoP_ joined | 16:02 |
| → aristaware4439 joined | 16:02 |
| → piwu11 joined | 16:02 |
| → brw5 joined | 16:02 |
| → Jck_true2 joined | 16:02 |
| → omnigoat3 joined | 16:02 |
| → liefer39601 joined | 16:02 |
| → pounce_ joined | 16:03 |
| → rishi`` joined | 16:03 |
| → majors joined | 16:03 |
| → bin101_ joined | 16:03 |
| → kiruny_ joined | 16:03 |
| → soifou_ joined | 16:03 |
| → cptaffe` joined | 16:03 |
| → m_ueberall joined | 16:03 |
| → n-st- joined | 16:03 |
| → nitrix_ joined | 16:03 |
| → Quaack joined | 16:03 |
| → gordonfish- joined | 16:03 |
| → swistak- joined | 16:03 |
|
lmat
| masber: "has anyone experience something like this before?" yes | 16:03 |
| ← KnoP_ left | 16:03 |
| → reprazent_ joined | 16:03 |
|
lmat
| masber: Several times. | 16:03 |
| → m_antis- joined | 16:04 |
| ← SharpHammer left | 16:04 |
| → qgnox joined | 16:04 |
| → totemizer joined | 16:04 |
| → YoungFrawg joined | 16:04 |
| → SharpHammer joined | 16:04 |
| → troyt joined | 16:05 |
| ← SharpHammer left | 16:05 |
| → tejr_ joined | 16:05 |
| → tennisanders joined | 16:05 |
| → dsimic_ joined | 16:05 |
| → SharpHammer joined | 16:05 |
| → buffet2 joined | 16:05 |
| → b0nn_ joined | 16:06 |
| → axisys_ joined | 16:06 |
| → qqq_ joined | 16:06 |
| → omero_o1 joined | 16:06 |
| → osse1 joined | 16:06 |
| → very_sneaky_ joined | 16:06 |
| ← fossdd left | 16:07 |
| → tcurdt- joined | 16:08 |
| ← kurahaupo left | 16:08 |
| ← bin101 left | 16:08 |
| ← tcurdt left | 16:08 |
| ← n-st left | 16:08 |
| ← majors_ left | 16:08 |
| ← KnoP left | 16:08 |
| ← thuna` left | 16:08 |
| ← swistak left | 16:08 |
| ← akibageek left | 16:08 |
| ← dsimic left | 16:08 |
| ← buffet1 left | 16:08 |
| ← troyt_ left | 16:08 |
| ← cptaffe left | 16:08 |
| ← kiruny left | 16:08 |
| ← ueberall left | 16:08 |
| ← pounce left | 16:08 |
| ← cdown left | 16:08 |
| ← dsrt^ left | 16:08 |
| ← esc4rg0t_ left | 16:08 |
| ← raffaele__ left | 16:08 |
| ← omero left | 16:08 |
| ← reprazent left | 16:08 |
| ← jas-maelstrom left | 16:08 |
| ← axisys left | 16:08 |
| ← Jck_true left | 16:08 |
| ← qqq left | 16:08 |
| ← kostkon left | 16:08 |
| ← piwu1 left | 16:08 |
| ← ham left | 16:08 |
| ← osse left | 16:08 |
| ← b0nn left | 16:08 |
| ← gordonfish left | 16:08 |
| ← YoungFrog left | 16:08 |
| ← m__antis left | 16:08 |
| ← aristaware443 left | 16:08 |
| ← ashnur left | 16:08 |
| ← omnigoat left | 16:08 |
| ← brw left | 16:08 |
| ← nitrix left | 16:08 |
| ← Pixi left | 16:08 |
| ← alephnull left | 16:08 |
| ← peter253545 left | 16:08 |
| ← Quack left | 16:08 |
| ← very_sneaky left | 16:08 |
| ← soifou left | 16:08 |
| ← rishi` left | 16:08 |
| ← tejr left | 16:08 |
| ← liefer3960 left | 16:08 |
| cptaffe` → cptaffe | 16:08 |
| reprazent_ → reprazent | 16:08 |
| Jck_true2 → Jck_true | 16:08 |
| brw5 → brw | 16:08 |
| omnigoat3 → omnigoat | 16:08 |
| piwu11 → piwu1 | 16:08 |
| totemizer → ashnur | 16:08 |
| nitrix_ → nitrix | 16:08 |
| cdown_ → cdown | 16:08 |
| ← tirnanog left | 16:08 |
| tejr_ → tejr | 16:08 |
| gordonfish- → gordonfish | 16:08 |
| n-st- → n-st | 16:08 |
| pounce_ → pounce | 16:08 |
| liefer39601 → liefer3960 | 16:08 |
| YoungFrawg → YoungFrog | 16:08 |
| aristaware4439 → aristaware443 | 16:08 |
| → dsrt^ joined | 16:08 |
| ← RiFo left | 16:09 |
| m_ueberall → ueberall | 16:09 |
| → akibageek joined | 16:09 |
| → tirnanog joined | 16:09 |
| ← epony left | 16:09 |
| ← tennisanders left | 16:10 |
| → epony joined | 16:10 |
| → tennisanders joined | 16:10 |
| → fossdd joined | 16:12 |
| ← synapse left | 16:13 |
| ← rfuentess left | 16:15 |
| ← epony left | 16:15 |
| → DaTa joined | 16:15 |
| → jottr joined | 16:16 |
| → synapse joined | 16:16 |
| → alephnull joined | 16:17 |
| → epony joined | 16:17 |
| ← memset left | 16:19 |
| → memset joined | 16:20 |
| ← nicos left | 16:20 |
| ← jottr left | 16:22 |
|
duszek
| huf: yeah i know | 16:22 |
|
| why the file is still inside `git status` after i add a file and checkout a new branch? | 16:22 |
|
ikke
| duszek: what does git diff show? | 16:23 |
| → nicos joined | 16:27 |
| ← tennisanders left | 16:30 |
| ← nivag left | 16:30 |
|
j416
| duszek: because you didn't commit it | 16:31 |
| ← qgnox left | 16:31 |
| → tennisanders joined | 16:32 |
| → jottr joined | 16:34 |
| ← tirnanog left | 16:35 |
| → bowlinggurra joined | 16:37 |
| ← tennisanders left | 16:37 |
| ← bowlinggurra left | 16:37 |
| ← nicos left | 16:37 |
| → bowlinggurra joined | 16:38 |
| ← jottr left | 16:39 |
| ← bowlinggurra left | 16:39 |
| → Guest44 joined | 16:40 |
|
duszek
| j416: it's a change that i'd like not to commit yet | 16:42 |
|
ikke
| Uncommitted changes do not belong to any branch | 16:42 |
|
| So they don't disappear when you switch to another branch | 16:42 |
|
| fyi, it's perfectly fine to commit that change in the intended branch and later amend that commit | 16:42 |
| → tennisanders joined | 16:43 |
| ← bloody left | 16:47 |
| ← tennisanders left | 16:49 |
| → tennisanders joined | 16:50 |
| → EvgenyK joined | 16:51 |
| → jottr joined | 16:52 |
| ← xx left | 16:52 |
| → xx joined | 16:52 |
| ← SharpHammer left | 16:53 |
| → SharpHammer joined | 16:54 |
| → nicos joined | 16:55 |
| ← tennisanders left | 16:55 |
| → jfsimon1981 joined | 16:57 |
| ← jottr left | 16:57 |
| ← john_johnk left | 16:57 |
| ← masber left | 17:02 |
| ← danse-nr3 left | 17:02 |
| ← hbautista_ left | 17:05 |
| → jas-maelstrom joined | 17:05 |
| ← gandhibobandhi__ left | 17:06 |
| → m257 joined | 17:07 |
| → jmd joined | 17:08 |
| → jottr joined | 17:09 |
| → bloody joined | 17:09 |
| ← memset left | 17:10 |
| → jfsimon1981_b joined | 17:12 |
| → memset joined | 17:12 |
| ← jfsimon1981 left | 17:12 |
| ← memset left | 17:14 |
| → memset joined | 17:17 |
| ← Rashad left | 17:18 |
| ← jottr left | 17:19 |
| ← memset left | 17:20 |
| → Guest37 joined | 17:20 |
| ← Guest37 left | 17:20 |
| → jfsimon1981 joined | 17:22 |
| → memset joined | 17:23 |
| ← jfsimon1981_b left | 17:24 |
| → vvn joined | 17:25 |
|
vvn
| hi there -- do you guys sometimes share parts of the repo config? I was thinking of having a file created with git config --file ./.gitconfig or ./some.cfg and having a script in the repo to merge that into the local config | 17:27 |
| ← memset left | 17:27 |
| → memset joined | 17:28 |
|
ikke
| I've never had the need for that | 17:31 |
|
waterkip
| why would you do that? | 17:32 |
|
| or need that? | 17:32 |
|
| (aka, never) | 17:32 |
|
ikke
| Custom diff / merge drivers? | 17:32 |
| → Rashad joined | 17:33 |
|
jb1277976
| Let me tell you my workflow and please tell me or help me understand it. So I'm using dwm right. Whenever I apply a patch I create a new branch git add thefiles then git commit. Then I checkout master then merge that branch then compile and restart and everything is working. Question why do I have to merge to master id all my changes are on that branch? What's the point of merging to master if I will be using the same code ? | 17:33 |
|
vvn
| I need to keep track of a few upstream remotes and sharing that config bits would help | 17:33 |
| → dirtbound joined | 17:34 |
|
jb1277976
| Sorry I typed this on a phone | 17:34 |
| ← rainystorm left | 17:34 |
| ← delay_ left | 17:34 |
| → duxsco joined | 17:34 |
|
waterkip
| I think it is more usefull to tell people which remote they need to add in that case | 17:34 |
| → jfsimon1981_b joined | 17:35 |
| → ___nick___ joined | 17:36 |
| ← jfsimon1981 left | 17:36 |
|
waterkip
| and why, but you can also tell people to do something like this: https://paste.debian.net/1305063/ | 17:36 |
|
vvn
| waterkip: it's documented on a file containing "<name> <url>" lines, but it'd be nice to provide an helper to add them, then I thought about versioning the porting of .git/config containing the related [remote] entries | 17:37 |
|
waterkip
| that way you don't need to merge the config, you just include it | 17:37 |
| ← davidsenk left | 17:38 |
|
vvn
| waterkip: following your snippet, the idea would be to have myproject.config versioned in the repo itself, since it is meant to be shared | 17:38 |
|
waterkip
| yeah | 17:38 |
| → jottr joined | 17:40 |
| → nhartman joined | 17:40 |
|
waterkip
| the way i snippet'ed it is that people can put it in their global gitconfig, but you can also ask to just [include] it, eg: git config include.path $(pwd)/foo.config | 17:41 |
| ← cdown left | 17:41 |
|
jb1277976
| Also isn't master independent of a branch unless you merge that branch into master ? | 17:41 |
|
vvn
| waterkip: I know it's kinda niche but I have a usecase for having distincts remotes (not the same project) within the same repo and then juggling between (remote) branches and refs | 17:43 |
| ← rosco left | 17:43 |
| ← jfsimon1981_b left | 17:44 |
|
waterkip
| I understand, i just think using the include method is a nicer way than merging it | 17:45 |
|
vvn
| completely agree | 17:46 |
| ← jottr left | 17:46 |
| ← rahl left | 17:46 |
| ← donofrio left | 17:48 |
|
vvn
| and actually, if it is shared with an optional script, we don't even need to include it, I could suggest to run git remote update -p and specify the shared remotes.cfg config file fragment somehow | 17:48 |
| → hbautista_ joined | 17:49 |
| ← m257 left | 17:52 |
|
vvn
| is there a way to do `git remote add ...` but point the config to a local remotes.cfg fragment instead of the local config? | 17:52 |
| → m257 joined | 17:53 |
|
ikke
| Not with git remote add | 17:54 |
|
| You can with git config | 17:54 |
| ← m257 left | 17:54 |
|
vvn
| I guess I have no way but to include the fragment then | 17:55 |
|
| and manually moving config sections to it | 17:55 |
| → m257 joined | 17:56 |
| → davidsenk joined | 17:57 |
| → Guest66 joined | 17:57 |
| ← hbautista_ left | 17:58 |
| → qgnox joined | 17:58 |
| → delay joined | 17:58 |
| → jottr joined | 17:58 |
| ← bin101_ left | 17:58 |
| → bin101 joined | 17:58 |
| ← qgnox left | 18:03 |
| ← EvgenyK left | 18:03 |
| ← jottr left | 18:04 |
| ← m257 left | 18:05 |
| ← Guest44 left | 18:08 |
| ← SharpHammer left | 18:08 |
| → SharpHammer joined | 18:09 |
| → peter253545 joined | 18:10 |
| → qgnox joined | 18:15 |
| ← itaipu left | 18:15 |
| → itaipu joined | 18:16 |
| ← JanC left | 18:20 |
| → JanC joined | 18:22 |
| ← xx left | 18:22 |
| → xx joined | 18:23 |
| ← chemsmith left | 18:23 |
| ← Guest66 left | 18:24 |
| → chemsmith joined | 18:24 |
| ← hololeap left | 18:25 |
| → hololeap joined | 18:26 |
| ← theoceaniscool left | 18:26 |
| → Guest44 joined | 18:27 |
| ← Rashad left | 18:31 |
| ← delay left | 18:31 |
| → jottr joined | 18:32 |
| ← jottr left | 18:41 |
| → hbautista_ joined | 18:43 |
|
j416
| vvn: you might also consider whether the setup is too complex to begin with -- can you remove the problem rather than trying to solve it? | 18:45 |
|
| I don't know your environment so obviously I can't tell you what to do, but worth exploring in case you haven't | 18:45 |
| TeXMaster → Oblomov | 18:46 |
| ← JayBeeFOSS left | 18:48 |
| → JayBeeFOSS joined | 18:49 |
| ← Traneptora left | 18:49 |
| ← hbautista_ left | 18:51 |
| ← LiENUS left | 18:52 |
| → LiENUS joined | 18:53 |
| ← demonspork left | 18:55 |
| → larryv joined | 18:55 |
| → m257 joined | 18:58 |
| ← vlado left | 19:00 |
| → demonspork joined | 19:00 |
| ← miigotu left | 19:03 |
| → miigotu joined | 19:03 |
| b0nn_ → b0nn | 19:04 |
| → jottr joined | 19:09 |
| → raffo joined | 19:11 |
| ← crabbedhaloablut left | 19:11 |
| → cabazon63 joined | 19:12 |
| ← travisghansen left | 19:14 |
| → cpackham joined | 19:15 |
| → LuxuryMode_ joined | 19:15 |
| ← ssserpent left | 19:15 |
| → travisghansen joined | 19:15 |
| ← Woundheir left | 19:16 |
| → crabbedhaloablut joined | 19:17 |
| → Woundheir joined | 19:17 |
| ← m257 left | 19:24 |
| → tennisanders joined | 19:29 |
| → gryffus joined | 19:35 |
| ← szkl left | 19:38 |
| ← duxsco left | 19:40 |
| → jmd` joined | 19:48 |
| ← nicos left | 19:49 |
| → cdown joined | 19:51 |
| ← jmd` left | 19:51 |
| ← Guest44 left | 19:53 |
| → Zmzi joined | 19:58 |
|
vvn
| j416: I have a few remote branches to track and cherry-pick things from and submodules are too cumbersome and subtree aren't suitable as they mix their history (requires commits). adding remote and fetching what I need from the remote branches is more convenient | 19:58 |
| ← tennisanders left | 20:02 |
| ← Zmzi left | 20:03 |
| → nicos joined | 20:08 |
|
anddam
| is there a way to run commit --patch with a VSCode extension? | 20:12 |
|
| x/commit/ c/add/ | 20:14 |
| → jinsun joined | 20:14 |
| → delay joined | 20:14 |
| ← gryffus left | 20:15 |
| → gryffus joined | 20:15 |
| ← delay left | 20:19 |
| ← jdek left | 20:20 |
| → Guest44 joined | 20:23 |
| ← jinsun left | 20:24 |
| ← jottr left | 20:25 |
| ← cabazon63 left | 20:25 |
| ← Gary_Sinise left | 20:25 |
| → HelloShitty joined | 20:26 |
| → Gary_Sinise joined | 20:26 |
| → duxsco joined | 20:27 |
| → nhartman_ joined | 20:33 |
| ← duxsco left | 20:33 |
| ← krumelmonster left | 20:35 |
| ← cpackham left | 20:35 |
| → cpackham joined | 20:36 |
| → Artea joined | 20:36 |
| → jottr joined | 20:37 |
| ← nhartman left | 20:37 |
| ← jmd left | 20:39 |
| → jmd joined | 20:40 |
| ← jottr left | 20:43 |
| ← duszek left | 20:45 |
| → mooz joined | 20:45 |
| → duszek joined | 20:45 |
| → sa0 joined | 20:45 |
| ← DaTa left | 20:47 |
| → krumelmonster joined | 20:47 |
| → delay joined | 20:50 |
| ← ___nick___ left | 20:54 |
| kostkon_ → kostkon | 20:55 |
| → ___nick___ joined | 20:56 |
| ← mooz left | 20:56 |
| ← miigotu left | 20:56 |
| ← ___nick___ left | 20:56 |
| → miigotu joined | 20:57 |
| → mooz joined | 20:57 |
| → jottr joined | 20:58 |
| → ___nick___ joined | 20:58 |
| ← mingdao left | 20:58 |
|
jb1277976
| if im working in a directory and modify lets say 3 files after i commit it its basically a snapshot of what i did and then i can contiune working on it and just commit again when done ? commiting is basically just a momment in time. does that sound right ? | 21:01 |
|
weaksauc_
| yes every time you commit it's a snapshot of what you commit at that point | 21:02 |
| → mingdao joined | 21:03 |
| ← Ox7C5_ left | 21:03 |
| ← jottr left | 21:04 |
| ← ___nick___ left | 21:04 |
| → SharpHammer57 joined | 21:06 |
| ← SharpHammer57 left | 21:08 |
| ← SharpHammer left | 21:09 |
| → SharpHammer joined | 21:09 |
| ← cpackham left | 21:10 |
| ← igemnace left | 21:14 |
| ← jmd left | 21:15 |
| ← nicos left | 21:20 |
| ← delay left | 21:23 |
| ← LuxuryMode_ left | 21:24 |
| → nicos joined | 21:25 |
|
jb1277976
| weaksauc_: by that logic i can stay working on something in master and if i need to do some testing bugfixes i can create a branch test till everytrhing works then when its ready merge to master and im good i can delete the testing branch ? | 21:27 |
|
| if thats true then git makes so much sense to me | 21:28 |
|
| trial and error i guess | 21:28 |
| ← schne1der left | 21:28 |
| → jdek joined | 21:30 |
| → irrgit joined | 21:31 |
| ← crabbedhaloablut left | 21:33 |
| → crabbedhaloablut joined | 21:34 |
| → jottr joined | 21:34 |
| ← jdek left | 21:37 |
| ← jottr left | 21:40 |
| → EvgenyK joined | 21:41 |
| → euouae joined | 21:42 |
|
euouae
| Hello is there some way to search for the commit where a file introduced with given SHA1 was? | 21:42 |
| ← EvgenyK left | 21:47 |
|
euouae
| I found some tricks, there's a script <https://xai.sh/2019/03/13/Find-file-in-git-by-hash.html> here that doe sit | 21:50 |
|
| I'm going to rewrite it | 21:50 |
|
| in Python | 21:50 |
| → jottr joined | 21:53 |
| ← epony left | 21:55 |
| ← jottr left | 21:55 |
| → nyah joined | 21:56 |
| ← gryffus left | 21:59 |
| ← nhartman_ left | 22:00 |
| → epony joined | 22:03 |
| ← SharpHammer left | 22:09 |
| ← bn_work left | 22:09 |
| → Traneptora joined | 22:12 |
| → EvgenyK joined | 22:12 |
| → cpackham joined | 22:12 |
| ← miigotu left | 22:13 |
| → miigotu joined | 22:14 |
| ← qgnox left | 22:16 |
| ← bloody left | 22:18 |
| ← EvgenyK left | 22:20 |
| → nhartman_ joined | 22:22 |
| ← nhartman_ left | 22:22 |
| → nhartman_ joined | 22:22 |
| → delay joined | 22:26 |
| ← nicos left | 22:27 |
| ← miigotu left | 22:28 |
| ← causasui left | 22:34 |
| → nicos joined | 22:35 |
| → causasui joined | 22:38 |
| ← delay left | 22:44 |
| → delay joined | 22:44 |
| ← vysn left | 22:54 |
| → qgnox joined | 22:57 |
| → miigotu joined | 23:00 |
| ← agd851201010224 left | 23:04 |
| ← z1haze left | 23:06 |
| → agd851201010224 joined | 23:08 |
| ← qgnox left | 23:09 |
| ← causasui left | 23:10 |
| ← delay left | 23:11 |
| ← Gary_Sinise left | 23:12 |
| ← Guest44 left | 23:12 |
| → nivag joined | 23:18 |
| ← epony left | 23:23 |
| → delay joined | 23:42 |
| ← thiago left | 23:53 |
| ← crabbedhaloablut left | 23:55 |
| → crabbedhaloablut joined | 23:57 |
| ← nivag left | 23:58 |