IRCloggy #git 2022-05-27

Logs Search ←Prev date Next date→ Channels Documentation

Provider of IRC logs since 2005.
WARNING: As Freenode became unjoinable and lost all warnings in topics, we cannot log channels on Freenode anymore.

2022-05-27

atrigent left00:00
atrigent joined00:01
zebrag joined00:02
Ajax14612 joined00:04
cbreak left00:04
gildasio joined00:05
Ajax1461 left00:06
Ajax14612Ajax146100:06
pmwals09 joined00:06
pmwals09 left00:06
pmwals09 joined00:07
dionysus69 left00:07
cbreak joined00:08
bob518 joined00:10
pflanze left00:18
troyt joined00:19
Yruama left00:19
sa0 joined00:23
hoochmonger left00:29
vysn left00:29
Lord_of_Life left00:40
Lord_of_Life joined00:41
kaiseisei joined00:42
wroo^ left00:46
pretty_dumm_guy left00:47
vicfred left00:47
jaggz left00:51
Betal left00:55
sa0 left00:57
wroo^ joined01:04
Sasazuka left01:10
gurkenglas joined01:14
adelver joined01:15
adelver left01:15
ade1ver joined01:15
ade1ver left01:15
adelver joined01:16
pmwals09 left01:17
pmwals09 joined01:18
ColdKeyboard joined01:20
pmwals09 left01:23
pmwals09 joined01:23
skered left01:27
ferdna joined01:28
skered joined01:28
bob518 left01:32
pmwals09 left01:34
pmwals09 joined01:34
pmwals09 left01:39
gurkenglas left01:41
pulse left01:50
lt-dd left01:56
lt-dd joined01:56
terminaldweller left01:59
atrigent left02:02
atrigent joined02:03
terminaldweller joined02:05
pmwals09 joined02:06
hoochmonger joined02:11
yeirr joined02:16
gco_ left02:16
bloody left02:22
Murr left02:22
Murr joined02:22
irc_user left02:23
k_sze left02:25
k_sze joined02:27
elastic_dog left02:27
elastic_dog joined02:34
howdoi joined02:34
wroo^ left02:34
EdFletcher left02:40
mikkel joined02:43
ramblebamble left02:46
opow joined02:46
opow left02:47
bytehackr joined02:50
dvanloon4 joined02:51
bytehackr left02:51
dvanloon left02:51
dvanloon4dvanloon02:51
bytehackr joined02:52
emico joined02:52
EdFletcher joined02:54
FinnElija left02:54
finn_elija joined02:54
finn_elijaFinnElija02:54
pmwals09 left02:55
pmwals09 joined02:55
sa0 joined02:55
dsrt^ joined03:07
saroy joined03:10
bytehackr left03:10
saroy left03:10
bindu left03:13
bindu joined03:13
FinnElija left03:15
FinnElija joined03:16
adelver left03:22
Guest77 left03:24
sa0 left03:27
dsrt^ left03:30
tyson2 left03:32
dsrt^ joined03:34
ash_worksi left03:35
coot joined03:39
boka joined03:39
ChmEarl left03:41
adelver joined03:45
pmwals09 left03:46
pmwals09 joined03:46
nate1 joined03:46
gast0n left03:50
nate1 left03:52
saroy joined03:52
saroybytehackr03:52
pmwals09 left03:52
The_Blode left03:59
dsrt^ left04:01
Ajax14614 joined04:04
Ajax1461 left04:06
Ajax14614Ajax146104:06
yeirr left04:07
ferdna left04:13
Guest580 joined04:17
great_taste left04:21
caef^ joined04:22
lzgmc joined04:24
dtux left04:24
The_Blode joined04:26
sudoforge left04:29
dob1 left04:29
great_taste joined04:30
lzgmc left04:34
led_belly left04:39
Murr- joined04:42
Murr left04:44
Murr-Murr04:44
irc_user joined04:46
dob1 joined04:47
coot left04:54
gco_ joined04:54
coot joined04:56
zebrag left04:58
Guest69 left04:59
led_belly joined05:06
skapata left05:07
caef^ left05:13
hoochmonger left05:13
Guest580 left05:13
hoochmonger joined05:14
shailangsa left05:14
Xenguy left05:14
Xenguy joined05:15
indy left05:16
Lord_of_Life left05:16
indy joined05:16
madewokherd` joined05:18
Lord_of_Life joined05:19
madewokherd left05:21
howdoi left05:24
derfflinger joined05:25
Guest6540 joined05:33
rindolf left05:35
Guest6540 left05:39
vysn joined05:41
shailangsa joined05:42
bket joined05:45
igemnace left05:46
rindolf joined05:52
great_taste left05:53
dtux joined05:53
thiago left05:54
ackyshake joined05:56
KnoP joined05:58
gco_ left06:02
gildasio1 joined06:10
gildasio left06:12
jazzy left06:17
Natrick joined06:17
Rashad joined06:19
yeirr joined06:23
arch_angel joined06:25
john_johnk joined06:26
irc_user left06:27
mexen joined06:28
john_johnk left06:29
palasso joined06:42
theoceaniscool joined06:42
baffodoro joined06:42
terminaldweller left06:50
hstct joined06:50
terminaldweller joined06:50
coot left06:56
coot joined06:56
dionysus69 joined06:56
Sulky__ joined07:04
revoltingPeasant joined07:06
Sulky_ left07:07
gxt left07:16
gxt joined07:18
sa0 joined07:25
feriman joined07:28
iomari891 joined07:30
Sulky__ left07:31
vicecea left07:33
vicecea joined07:33
DibbTubberOne joined07:34
chexum left07:37
GNUmoon left07:37
chexum joined07:37
ice99 joined07:37
GNUmoon joined07:37
ice99 how to run private git server?07:37
farzat https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols07:38
Of course that's assuming you mean pure git, not something like gitlab07:39
machaddr joined07:39
ice99 yeah07:40
lgc joined07:40
lgc left07:41
EvilDMP joined07:45
coot left07:45
nate1 joined07:48
___nick___ joined07:49
j416 ice99: tl;dr, just ssh access is enough if it's your personal one.07:49
ice99 j416, I want to allow collaborators use it too07:50
mpldr give them accounts07:50
otherwise gitea has a script to redirect their login07:50
j416 then I'd lean towards gitolite or gitlab or similar07:51
...or just use github07:51
(i.e. regular github)07:51
mpldr or Sourcehut07:51
or any other hosted Forge07:51
j416 ..07:51
drogas joined07:51
mpldr don't just recommend the oligopolists anyone knows in the first place. if someone asks how to do X, the existing seems not to be satisfactory07:52
j416 I don't think I did07:53
nate1 left07:53
GNUmoon left07:55
GNUmoon joined07:55
Sulky joined07:56
jazzy joined07:58
sa0 left07:59
coot joined08:02
Ajax14612 joined08:04
Masklin left08:06
Ajax1461 left08:06
Ajax14612Ajax146108:06
kenanmarasli joined08:09
csm3105 joined08:10
Sazhen86 joined08:17
startime[m] joined08:20
DibbTubberOne left08:22
Murr left08:22
Murr joined08:22
caef^ joined08:23
adelver left08:27
Masklin joined08:28
revoltingPeasant left08:29
Ajax14618 joined08:32
Ajax1461 left08:34
Ajax14618Ajax146108:34
aidalgol_ joined08:34
aidalgol left08:34
littlebobeep joined08:35
vlado joined08:35
caef^ left08:39
vladoski joined08:39
t0mm13b_ joined08:40
vlado left08:41
t0mm13b left08:41
avar joined08:42
littlebobeep left08:47
revoltingPeasant joined08:47
momomo_ left08:49
momomo joined08:50
revoltingPeasant left08:50
littlebobeep joined08:50
revoltingPeasant joined08:50
zeenk joined08:50
hstct left08:50
hstct joined08:51
Tobbi_ left08:53
joe joined08:54
Tobbi_ joined08:54
oxymoron93 joined08:54
joe1 joined08:56
revoltingPeasant left08:56
gxt left08:57
joe left08:59
gxt joined09:01
momomo left09:01
mexen left09:03
gas51627 joined09:03
littlebo1eep joined09:04
littlebobeep left09:06
vlado joined09:08
vladoski left09:10
Shentino left09:12
aidalgol_aidalgol09:12
EvilDMP left09:17
EvilDMP joined09:18
littlebo1eep left09:30
pflanze joined09:32
menace joined09:41
menace left09:42
menace joined09:42
menaceDeknos09:42
littlebobeep joined09:45
txtsd left09:46
Csm319_ joined09:48
txtsd joined09:49
derfflinger left09:49
vlado left09:49
mexen joined09:49
haise01 joined09:49
Azem joined09:50
csm3105 left09:51
Sazhen86 left09:51
squirrel joined09:53
EmetSelch joined09:53
machaddr_ joined09:54
haise01 left09:54
haise01 joined09:55
haise01 left09:55
machaddr left09:57
sa0 joined09:57
Azem left09:57
oxymoron93 left09:58
EvilDMP_ joined09:58
EmetSelch left09:58
EvilDMP left09:58
rindolf left10:00
yeirr left10:01
machaddr_machaddr10:03
baffodoro left10:06
arch_angelarch-angel10:12
gurkenglas joined10:17
Xenguy_ joined10:17
ackyshake left10:17
rindolf joined10:18
Xenguy left10:19
sa0 left10:29
drogas left10:29
R2robot left10:31
roadie joined10:32
littlebobeep left10:32
vitali64 joined10:33
Rashad left10:40
Jong left10:40
AirOnSkin joined10:41
littlebobeep joined10:42
drogas joined10:43
Thanzex joined10:47
ice9 joined10:48
OnkelBlade left10:49
ice99 left10:50
OnkelBlade joined10:51
cdown joined10:51
otisolsen70 joined10:54
mncheckm joined10:54
mncheck left10:56
Thanzex Hi there! I am working with a local repository meant for training. I was cleaning up some old commits and files with `rebase` but accidentally split my history, originally i was meant to look something like this: https://upaste.de/PB710:56
but I ended up like this https://upaste.de/fCy10:56
As you can see I now have the 'k8s' and 'compose' branches pointing to the old master while the new master sits detached and alone.10:56
How can i recover from this?10:56
Thanks!10:56
cm315 joined10:57
Ajax1461 left10:58
Ajax14618 joined10:58
R2robot joined10:59
kaiseisei left10:59
Csm319_ left11:00
luckman212_ joined11:02
luckman212 left11:03
luckman212_luckman21211:03
vodkra left11:05
mpldr Thanzex: try rebasing it again11:09
pretty_dumm_guy joined11:10
Lope joined11:10
mpldr first rebase new master on old master, rebase both branches on the combined master, fixup smaller issues with git rebase -i11:10
AirOnSkin left11:10
Lope hey guys, on SVN that I've administered, I could limit which users can read specific directories etc.11:10
Does git have the same capability?11:10
Thanzex mpldr could you give me some more guidance? I'd like not to screw the repo too much. Should i rebase the master root onto the old root?11:11
Lope On github I've split our repo into 2 repos, one for devs, the other for testers and devs.11:11
So when a UI issue comes up, it must be created on the testing repo.11:12
But then it breaks some of the ease of development, like a PR can't automatically resolve an issue, etc.11:12
mpldr Lope: Couldn't you just limit their push access in the Contributors section?11:13
Lope And also a tester can't see the status of a PR on dev repo. Like they can't see if the mentioned PR is merged or not.11:13
littlebobeep left11:13
Lope mpldr, no, we want to prevent the testers getting the source code.11:13
We already had a developer run off with our code once and steal a few clients.11:13
mpldr Thanzex: then you're probably out of luck and have to do with multiple repos… maybe some workflow can sync the issues11:14
Lope Well, my best guess is to create a technical issue on the dev repo, and a non-techical issue on the testing repo.11:15
Then I could code a bot that makes the testing issue close when the dev issue closes.11:15
That makes the most sense to me.11:15
Cos the testing repo doesn't need technical details. Just needs to describe what is wrong and how to reproduce the issue.11:16
mpldr Thanzex: put new master on it's own branch, git rebase master new-master, git reset --hard master new-master, git rebase master k8s, git rebase master compose11:16
Lope Then the technical repo can discuss code etc.11:16
mpldr or something along those lines11:16
littlebobeep joined11:16
sa0 joined11:17
mpldr Lope: Maybe in this case some external bug tracker like http://flyspray.org/ would be a better solution here11:17
boka left11:17
zer0bitz joined11:17
sudoforge joined11:25
Thanzex mpldr: rebasing new-master onto master just swapped the pointer for me, shouldn't I rebase master onto new-master and drop the old-master commits?11:27
swapped the pointer while leaving the situation unchanged *11:28
mpldr let me try something for a second11:28
Rashad joined11:29
vitali64 left11:30
boka joined11:30
mpldr yup, worked. you can just pull your local branch… git pull . new-master11:31
damn I was overthinking this11:31
tyson2 joined11:32
mpldr you may also want to do it the other way around, since this way, the old master commits are rebased to be near HEAD11:32
shailangsa left11:34
mpldr or just rebase -i afterwards and reorder them to your liking11:35
Thanzex mpldr: Sorry, git is still somewhat of a black magic for me, what do you mean with "git pull . new-master" ? which branch should i have checked out?11:36
mpldr i am assuming that you are on master11:36
pull the newer commit from your other branch11:37
oh, and add --rebase to the pull command if you don't have it set in your config11:37
pulse joined11:38
jazzy left11:40
humanface joined11:49
nate1 joined11:49
machaddr_ joined11:54
nate1 left11:55
machaddr left11:56
fps left11:57
boka left12:00
shailangsa joined12:01
hoochmonger left12:01
vladoski joined12:03
Ajax146181 joined12:03
txtsd left12:05
wootehfoot joined12:05
Ajax14618 left12:06
Ajax146181Ajax1461812:06
txtsd joined12:07
pmcnabb5pmcnabb12:09
cm315 left12:10
boka joined12:12
Ajax146182 joined12:12
Ajax14618 left12:14
Ajax146182Ajax1461812:14
EvilDMP_ left12:15
gildasio1gildasio12:15
forgotmynick joined12:16
littlebobeep left12:17
sa0 left12:19
Murr left12:22
Murr joined12:22
EvilDMP joined12:24
EvilDMP left12:26
EvilDMP joined12:26
Xaldafax joined12:26
machaddr_ left12:27
Thanzex mpldr: Alright, I managed to kind of make it work, Thank you for the help.12:29
One more question, if I wanted to edit some commit back in master, would using "rebase -i master" work properly and rewrite the history of the attached branches later on or whould I have to re-rebase the branches?12:29
adanwan left12:29
fling left12:29
fling joined12:29
vladoski left12:30
adanwan joined12:32
vodkra joined12:35
mpldr Thanzex: you have to rebase them again. You based them on a commit that's no longer part of the master branch.12:36
boka left12:41
hololeap left12:45
MajorBiscuit joined12:48
bloody joined12:49
hololeap joined12:50
jusski joined12:51
gh34 joined12:52
pflanze_ joined13:00
pflanze left13:03
gildasio left13:11
_xor left13:12
weyhmueller left13:13
gildasio joined13:13
KnoP left13:14
vicfred joined13:15
yeirr joined13:18
hoochmonger joined13:18
Lope mpldr, thanks for the idea, will consider it.13:21
weyhmueller joined13:24
pflanze_ left13:25
ChmEarl joined13:26
MajorBiscuit left13:27
gas51627 left13:30
Xenguy_ left13:34
iomari891 left13:34
iomari891 joined13:35
ethrl joined13:36
noord git-send-email insisting on adding CC although I add suppresscc = self, here is whole story https://gist.github.com/Noord/208e8120eca6569942f57f11fda7f1f213:36
ethrl left13:37
vysn left13:41
GNUmoon left13:42
GNUmoon joined13:44
waterkip noord: do you sign off your commits?13:44
noord waterkip: no13:46
pflanze joined13:48
waterkip ok, perhaps use self,author as suppress cc option?13:48
I think I may know what it is.. You set the from as [email@hidden.address] and the e-mail user that get's added is "User [email@hidden.address] which is different13:53
feriman left13:55
lt-dd left14:02
noord waterkip: checked user name and email address twice, they are same but I found the solution, my git a little bit outdated, updating it fixed the problem14:03
waterkip ahh14:04
joe1 left14:06
lt-dd joined14:10
schne1der joined14:16
Murr left14:22
Murr joined14:22
thiago joined14:24
rindolf left14:26
sandipan joined14:27
rindolf joined14:28
bytehackr left14:29
EvilDMP left14:31
EvilDMP joined14:32
TonyStone left14:36
TonyStone joined14:38
AnapodoPsalidaki left14:41
vitali64 joined14:46
coot left14:47
bambams git checkout - . # This printed: Updated 52 paths from c7a0a54e42; what the hell did I tell it to do?14:48
atrigent left14:48
coot joined14:48
mpldr bambams: my assumption would be everything (.) from the branch you were on before (-)… I am not certain whether or not "-" as a standin for the previous branch works in checkout though14:52
atrigent joined14:53
madewokherd joined14:55
madewokherd` left14:58
OnkelTem joined15:06
OnkelBlade left15:07
bambams It's a nasty typo. :) I'm lucky I didn't have many changes.15:11
Well, I guess not lucky since I was trying to wipe the working directory anyway..15:11
joe1 joined15:13
coot left15:22
gogi[m] joined15:24
jusski left15:26
great_taste joined15:29
boka joined15:38
marink joined15:41
sudoforge after cloning a repo and changing the default refspec to only track a single branch (the remote HEAD), how can i remove references to the other remote refs which are not being tracked? git-prune and git-remote-prune do not see those as deleted or missing refs that need to be deleted.15:42
vysn joined15:44
sudoforge i tend to take a manual approach for cleaning this up (by just removing .git/packed-refs) and re-fetch, but i'm wondering if there's a better way to go about it15:44
for clarity, i change the default `remote.origin.fetch` from `+refs/heads/*:refs/remotes/origin/*` to `+refs/heads/foo:refs/remotes/origin/foo`15:48
feriman joined15:49
nate1 joined15:51
atrigent left15:52
inflikted joined15:53
nate1 left15:56
hololeap left15:57
atrigent joined15:59
Ajax146188 joined16:04
madewokherd left16:05
theoceaniscool left16:06
Ajax14618 left16:06
Ajax146188Ajax1461816:06
sa0 joined16:10
dvanloon left16:11
biapy joined16:11
dvanloon joined16:12
biapy hi, what could cause git add and git status to stop listing directory contents after two entries ? i'm creating a new hugo website on ubuntu jammy, and git add . only add archetypes directory and config.yaml folder, and ignore the rest of the new folders.16:13
forgotmynick left16:15
marink left16:16
otisolsen70_ joined16:17
otisolsen70 left16:20
biapy never mind. empty folders .16:21
Murr left16:22
L0k1ky3 joined16:22
biapy would be a good idea to add an information message about untracked empty folders to git add and git status16:22
Murr joined16:22
m0viefreak left16:24
zebrag joined16:25
ash_worksi joined16:25
gurkenglas left16:26
jmabr left16:27
Lope left16:27
cyberpear joined16:28
howdoi joined16:29
drogas left16:29
fantasia joined16:32
mjt0k biapy: git does not care about folders, it tracks files :)16:33
madewokherd joined16:33
pflanze left16:36
pflanze joined16:44
sa0 left16:44
Rashad left16:47
palasso left16:51
cahoots left16:55
joe1 left16:57
sh0ne joined16:57
palasso joined16:59
schne1der left17:06
Rashad joined17:06
cahoots joined17:07
junebug joined17:10
gast0n joined17:10
OnkelTem left17:11
OnkelTem joined17:12
coralgoat joined17:13
fantasia left17:16
coralgoat I was reading <https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work>.17:18
Can commits and tags be retroactively signed?17:18
tyson2 left17:19
kjetilho joined17:19
bookworm yes but that's the same as if you rebase everything17:19
you don't have to though, signing a tag at the top of your graph pretty much signs everything below it17:20
that's also why the maintainers can just sign the tag, rather than every single commit17:21
kjetilho hi! I wonder how I can make git filter-repo include history from *old* filenames, ie. when code was refactored into a different directory some time ago.17:22
coralgoat bookworm, thanks17:22
dionysus69 left17:22
Deknos left17:24
nedbat i have a new file, i want to add just half of it. git add -p doesn't seem to do it.17:26
txtsd left17:27
nedbat found it: git add -N the_file; then add -p17:29
arch-angel left17:30
txtsd joined17:32
mexen left17:33
kjetilho my bad - I was used the wrong paths (I was working on a repo which had already been filtered, and it had rewritten some of the original paths)17:34
s/was//17:35
iomari891 left17:35
iomari891 joined17:36
jab416171 joined17:36
yeirr left17:37
mikrosis joined17:38
coralgoat left17:40
L0k1ky3 left17:40
vitali64 left17:41
vitali64 joined17:43
DibbTubberOne joined17:46
vitali64wiitali6417:50
wiitali64vitali6417:51
joe1 joined17:51
sandipan left17:52
julie_pilgrim joined17:52
julie_pilgrim -part17:53
julie_pilgrim left17:53
ice9 left17:53
ikke dramatic exit17:54
junebug left17:54
Pouicky joined17:54
Pouicky left17:55
Pouicky joined17:57
Pouicky left17:57
mncheckm left17:58
junebug joined17:58
Sulky left17:59
stonedHash18:02
tyson2 joined18:05
vysn left18:06
gas51627 joined18:08
gurkenglas joined18:18
rickygee joined18:20
Sazhen86 joined18:20
rickygee Messed up seriously. Hoping someone can help18:20
baine101 joined18:20
rickygee I've had a project that I've spent 2 weeks on18:21
Murr left18:21
Murr joined18:22
rickygee I've created a git init in the project added every file, then realized I've added the node_modules by mistake. So I disregard all changes and now every file is deleted18:23
I'm hoping someone can tell me how to get them back18:23
There has been no precious commits or any commits made so I'm pretty fearful18:23
cbreak rickygee: what do you mean?18:26
just git reset node_modules, then commit, done18:26
rickygee So these are the command I've run from start.18:27
Git init18:27
Git add .18:27
junebug left18:27
baine101 left18:27
rickygee Then after realizing I've added node_modules I've discarded all changes18:27
I've fucked up major18:28
ikke rickygee: at least you did git add .18:29
so that means, the contents of all files are present in the .git dir18:29
skapata joined18:29
skapata left18:29
skapata joined18:29
ikke (assuming you did not discard that)18:29
git fsck --lost-found18:30
iomari891 left18:30
cbreak rickygee: how did you discard the changes?18:30
with git reset?18:30
(that's what you should do: git reset)18:31
rickygee I used vscode UI18:31
cbreak is your data still there?18:31
rickygee It is not18:31
cbreak ... then what ikke wrote might help you :/18:32
rickygee Just tried and nothing18:32
coot joined18:32
ikke did you check .git/lost-found?18:32
cbreak it will not restore the files18:32
it might restore the file contents18:32
ikke git does not have the filenames, only the contents18:32
kenanmarasli left18:32
rickygee At this point I'm just wondering if there's a way of recovering the files as if they where permanently deleted by accident18:33
cbreak doesn't use git UIs, the command line is much more straight-forward18:33
ikke rickygee: we are telling you what is possible18:33
cbreak rickygee: once git knows about state, that state is stored within git's database. It is possible to get that data out again. Like ikke wrote.18:34
it's easier to get it out when you commit it.18:34
-> commit early, commit often18:34
rickygee How do I access .git/lost-found18:34
cbreak rewriting history in git is easy, you don't have to get your commits correct from the start.18:34
it's a directory18:34
you can use a terminal, or your file system browser tool of your platform18:35
or maybe visual studio code can also show files18:35
rickygee How do I rewrite git history?18:35
Just be aware there was never any commits18:36
ikke rickygee: that whas hypothetical18:36
for the future18:36
cbreak that's a problem for later... and there are many solutions. git commit --amend, git rebase, git cherry-pick, git filter-branch, ...18:36
rindolf left18:36
rickygee How do I use some of these?18:37
ikke That's for the future, it will not help you right now18:38
rickygee The situation is there is no git repo as I was about to make one18:39
ikke rickygee: you said you did 'git add .'18:39
rickygee I did yeah18:39
ikke That implies there is a git repo18:39
rickygee Locally I think there is yes18:40
But no commits18:40
ikke did you check the .git/lost-found dir?18:40
rickygee I'm not sure where that is18:41
ikke In the directory where you ran git init18:41
rickygee Ahh yeah.. that folder doesn't exist in the .git18:42
ikke did you ran git fsck --lost-found?18:42
rickygee One sec18:42
sa0 joined18:43
rickygee Okay... That outputs a bunch of Dangling blob18:43
tyson2 left18:43
cataton1a joined18:46
rindolf joined18:47
joe1 left18:50
rickygee left18:52
rickygee joined18:52
junebug joined18:53
rickygee Anyway to recover files from a discard all changes when there has been no commits to the repo?18:53
cbreak try git fsck --lost-found18:53
rickygee Tried that18:54
cbreak see man git-fsck for details18:54
gitinfo the git-fsck manpage is available at https://gitirc.eu/git-fsck.html18:54
cbreak that's your only hope.18:54
(other than backups outside of git, like zfs snapshots or backups via timemachine or what ever18:54
rickygee I got a bunch of Dangling blob data18:54
hololeap joined18:55
cbreak good.18:55
that's your stuff.18:55
rickygee No idea what to do with it now18:56
cbreak give the files names that make sense to you, and move them where they used to be18:56
as said before, the files should end up inside .git/lost-found/18:57
look at every file in that directory, and try to find those you care about18:57
rickygee Omg.... Thank you so much 😂🤣19:00
Just opened them in vscode19:00
roadie left19:02
forgotmynick joined19:03
boka left19:03
DibbTubberOne left19:05
EvilDMP left19:05
EvilDMP joined19:05
sobkas joined19:07
rickygee left19:08
cataton1a left19:13
sa0 left19:14
dionysus69 joined19:17
Jong joined19:17
Leonarbro joined19:19
zeenk left19:21
Sazhen86 left19:23
Jck_true left19:23
EvilDMP left19:23
Jck_true joined19:23
Sazhen86 joined19:27
node1 joined19:30
EvilDMP joined19:32
bambanxx joined19:33
Sulky joined19:33
hololeap left19:34
money joined19:40
hololeap joined19:42
Shentino joined19:44
KlungelSmurf left19:48
KlungelSmurf joined19:48
tyson2 joined19:50
nate1 joined19:52
dvanloon left19:53
dvanloon6 joined19:53
nate1 left19:57
thebombzen left19:59
jab416171 left20:00
jab416171 joined20:00
thebombzen joined20:01
___nick___ left20:04
Ajax146187 joined20:04
Ajax14618 left20:05
Ajax146187Ajax1461820:05
led_belly left20:07
led_belly joined20:15
Polo joined20:18
otisolsen70_ left20:24
bambanxx left20:29
jazzy joined20:31
Polo left20:32
Vonter left20:33
wootehfoot left20:35
Guest7798 joined20:35
Guest7798 left20:36
Guest7798 joined20:36
wootehfoot joined20:38
pretty_dumm_guy left20:39
pretty_dumm_guy joined20:40
pretty_dumm_guy left20:40
Celeo left20:42
Guest7798 left20:45
peirik left20:45
Guest5803 joined20:46
nate1 joined20:47
Guest5803POLO20:47
node1 left20:49
Celeo joined20:52
moneyGuest435520:53
Guest4355 left20:53
POLOmoney20:53
theoceaniscool joined20:53
thebombzen left20:57
vysn joined20:58
thebombzen joined21:01
m0viefreak joined21:01
joe1 joined21:02
vitali64 left21:02
Guest4355 joined21:06
Guest4355 left21:07
Guest4355 joined21:07
Digit joined21:07
Guest4355polo21:09
junebug left21:09
madewokherd left21:10
sa0 joined21:13
joe1 left21:14
Sazhen86 left21:17
vysn left21:21
Digit hi, what's a good git boot-camp to get using it properly? ("properly" = as version control (branches, regressions, mergers, etc), cli, graphical/tui version trees, ...). also, http://git-scm.com/doc/ext seems have some duff links (iirc, ~ exhausted from looking before finding, what might aughta be a big "Learn" link on git homepage that took straight to first git command example, expediting like a tldr in big text and code blocks,21:26
and more dense info in small text throughout to delve into.21:26
j416 Digit: dunno but, I'd learn about the git object model first (what are refs, commits, trees, blobs, how do they relate), spend a day or two using git locally, then learn about remotes.21:28
coot left21:33
gh34 left21:36
inflikt3d joined21:36
nedbat Digit: for another view: i don't find understanding trees and blobs useful for day-to-day work in git.21:37
inflikted_ joined21:39
inflikted left21:40
inflikt3d left21:43
madewokherd joined21:44
sa0 left21:45
nate1 left21:48
nedbat I like the look of the Git Immersion tutorial, though it's unfortunate that they use Ruby when just editing text files would probably have been enough.21:49
kjetilho left21:53
littlebobeep joined21:59
crabbedhaloablut left22:00
crabbedhaloablut joined22:00
money left22:00
GNUmoon left22:01
GNUmoon joined22:02
littlebobeep left22:04
Guest5473 joined22:04
gas51627 left22:05
wootehfoot left22:08
Sulky left22:09
jazzy what would a scenario look like where the fetch and push URLs are different?22:12
kgdn joined22:13
kgdn left22:14
pulse_ joined22:21
pulse left22:24
Guest5473 left22:24
cation left22:24
cation joined22:26
pretty_dumm_guy joined22:28
pulse_pulse22:29
hstct left22:30
whatsupdoc joined22:31
squirrel left22:32
thebombzen left22:33
thebombzen joined22:35
Guest6629 joined22:36
Koeniz left22:37
Koeniz joined22:37
winter left22:37
winter joined22:37
Guest6629 left22:39
Guest6629 joined22:39
m1dnight left22:40
m1dnight joined22:42
mikkel left22:44
mikkel joined22:44
carl-- left22:46
Koeniz left22:46
Koeniz joined22:47
littlebobeep joined22:53
Lunatrius` joined22:53
Lunatrius left22:54
Lunatrius`Lunatrius22:54
anddam left22:55
dionysus69 left22:56
feriman left22:56
hbautista joined23:02
polo left23:02
Guest6629POLO23:02
anddam joined23:04
Lunatrius` joined23:07
troyt left23:08
Lunatrius left23:09
Lunatrius`Lunatrius23:09
hbautista_ joined23:10
kgdn joined23:12
hbautista left23:12
kgdn left23:12
R2robot left23:13
humanface left23:14
troyt joined23:14
zeenk joined23:18
zeenk left23:19
skered left23:20
POLO left23:20
forgotmynick left23:22
Rashad left23:25
thebombzen left23:25
thebombzen joined23:28
EvilDMP left23:33
Guest6329 joined23:34
Guest6329 left23:34
Guest6329 joined23:34
Guest6329POLO23:34
hoochmonger left23:35
jazzy why aren't `git remote` commands generally preceded by hyphens?23:38
bit confusing23:38
Saloframes joined23:38
Guest5485 joined23:41
Guest5485 left23:43
Gambino joined23:44
POLOGuest325023:44
skered joined23:45
nate1 joined23:45
njt_ joined23:47
njt_njt23:48
mackerman man git remote calls them "subcommands". Its just the syntax of how to call it.23:50
gitinfo the git-remote manpage is available at https://gitirc.eu/git-remote.html23:50
nate1 left23:50
mackerman If you symlink git-remote to git binary, I think you can run git-remote add23:51
But everybody knows it as git remote add23:51
nedbat jazzy: options use hyphens, commands don't23:52
palasso left23:54
roadie joined23:54
foul_owl left23:55
sobkas left23:57
dfip^ joined23:59

Logs Search ←Prev date Next date→ Channels Documentation