IRCloggy #git 2021-02-24

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.

2021-02-24

shs3g32f left00:00
tiin57 joined00:01
sunrunner20 left00:01
ferdna joined00:03
long4mud left00:03
stdedos left00:03
totte_ left00:04
magic_ninja left00:06
arcatech joined00:11
magic_ninja joined00:11
diverdude left00:13
durham left00:14
dviola left00:15
totte joined00:15
stats464_ joined00:16
magic_ninja left00:16
dviola joined00:16
alystair left00:17
sunrunner20 joined00:17
Xenguy joined00:18
sunrunner20 left00:18
n3wborn left00:18
magic_ninja joined00:19
NeoCron left00:19
stats4647 left00:19
misuto joined00:21
AnAverageHuman left00:24
CodeSlingerPaul left00:24
tiin57 left00:27
cbreak left00:29
AnAverageHuman joined00:29
stats4647 joined00:30
ChrisLane left00:30
adhawkins left00:30
andy25225 left00:30
tiin57 joined00:31
v0lksman_ left00:32
adhawkins joined00:32
ChrisLane joined00:33
benfelin left00:33
cbreak joined00:33
nyxyn left00:33
stats464_ left00:33
Dotz0cat left00:34
shush left00:35
andy25225 joined00:36
filcab joined00:37
Dotz0cat joined00:37
Gurkenglas joined00:40
Voxel left00:40
Voxel joined00:41
MarkB2 joined00:46
Shentino left00:46
Shentino joined00:49
FLHerne joined00:49
cbreak left00:49
sim590 left00:50
przemoc left00:50
sim590 joined00:50
Voxel left00:51
lankanmon left00:51
derpadmin left00:51
Voxel joined00:52
lankanmon joined00:52
derpadmin joined00:52
bolovanos__ left00:56
tiin57 left00:57
MarkB2 I recently picked up a text... and on the front is "Examples can be downloaded from..." and gives a URL. But the publisher is long gone (text dated 2001) and I've been searching the net for more than a week looking for the example files mentioned in the text.00:57
justan0theruser joined00:57
kprabhuv left00:58
MarkB2 Put a request into a site dealing with the subject and voila! received an email with a pointer to a github repository.00:58
Bigcheese left00:58
MarkB2 But there is no "get zip file" to copy down the master.00:59
the files are all there... but it seems set up for a one-at-a-time manual copy.01:00
Bigcheese joined01:00
tiin57 joined01:00
EvanCarroll joined01:01
MarkB2 I did try "got clone 'path_to_repository' and, per my ignorance of how to use git, received "fatal: repository https ... not found"01:03
Please, could someone be kind enough and walk me through this? The text deals with DirectShow, is 'way out of date...01:05
This is the repository: https://github.com/eaglezhao/tracnghiemweb/tree/master/TestKhoaLuan/DirectShowTVSample01:05
przemoc joined01:07
Gurkenglas left01:11
mowcat left01:15
hexnewbie left01:17
hexnewbie joined01:18
ShekharReddy joined01:18
mustache_ride left01:21
jedsharp joined01:22
vdamewood left01:22
Muimi joined01:25
tiin57 left01:27
mackerman MarkB2: github shows you clone and download hints at the root of the repo, https://github.com/eaglezhao/tracnghiemweb01:31
tiin57 joined01:31
mackerman git clone https://github.com/eaglezhao/tracnghiemweb.git01:31
vicfred joined01:35
Sleepy63 joined01:35
shush joined01:41
lucasb left01:44
MarkB2 mackerman: Apologies... my attention drifted away from this pane. Ah... I missed the .git at the end. Thank you.01:45
EvanCarroll is there an overlap between submodules and sparse-checkout I want to just checkout a specific directory from a submodule for my project. and I want to keep it in sync01:49
also it here a man page for the entirity of the .git? where I can read about the available submodule syntax and sparse-checkout syntaxes?01:50
boutcher left01:50
MarkB2 left01:51
R2robot joined01:54
tiin57 left01:57
tchan left01:59
tchan joined01:59
tiin57 joined02:00
Maxattax left02:08
drbean_ joined02:10
arcatech left02:13
OnkelBlade left02:14
EvanCarroll oh fuck. the sparse checkout has to be in the .git for the submodule.02:14
that is the absolutely dumbest design decision ever.02:15
Maxattax joined02:18
nsc joined02:21
Guest73553 left02:21
nscGuest4117402:21
drbean_ left02:25
tiin57 left02:27
Dotz0cat left02:29
zmt01 left02:29
zmt01 joined02:30
tiin57 joined02:31
Lord_of_Life left02:37
Lord_of_Life_ joined02:37
zebrag left02:38
zebrag joined02:38
justan0theruser left02:38
Lord_of_Life_Lord_of_Life02:39
shush left02:46
jedsharp left02:46
shush joined02:46
robink left02:48
sgn1 joined02:49
shush left02:51
sgn left02:51
robink joined02:53
shush joined02:56
shush left02:56
tiin57 left02:57
tiin57 joined03:00
foul_owl left03:00
ghost43 left03:03
ghost43_ joined03:03
shush joined03:07
gp5st left03:08
shush left03:08
Dotz0cat joined03:11
foul_owl joined03:13
jaziz joined03:16
FinnElija joined03:21
finn_elijaGuest7596903:21
FinnElijafinn_elija03:21
Guest75969 left03:24
tiin57 left03:27
gp5st joined03:28
Betal left03:28
foul_owl left03:28
tiin57 joined03:31
long4mud joined03:35
vicfred left03:38
jaziz1 joined03:41
ShekharReddy left03:41
jaziz left03:43
foul_owl joined03:44
juhwad__ joined03:49
superbolide joined03:49
orbyt_ left03:51
jaziz1 left03:52
jstimm joined03:57
tiin57 left03:57
AlpineLlama left04:00
FH_thecat joined04:00
tiin57 joined04:00
Betal joined04:01
AlpineLlama joined04:01
gast0n left04:05
SwiftMatt left04:09
thebope left04:10
Goplat joined04:10
orbyt_ joined04:10
jstimm left04:11
xelxebar_ left04:17
Milos left04:19
xelxebar joined04:19
Milos joined04:21
tiin57 left04:27
naivesheep left04:28
naivesheep joined04:28
magic_ninja left04:28
EvanCarroll https://stackoverflow.com/q/66344719/124486 (question on sparse checkout and ignoring files in /)04:30
tiin57 joined04:31
heyitsrama left04:31
Dotz0cat left04:42
Dotz0cat joined04:43
justan0theruser joined04:45
zebrag left04:46
CryptoClub left04:49
yetoo joined04:51
CryptoClub joined04:51
Nitrousoxide joined04:55
tiin57 left04:57
yetoo I made a change in master, I I then git stashed that change, I then created and checked out another branch, I then applied the stash to the new branch, I then updated both branches to be up to date with master (git pull), I checkout master, I then did a git reset --hard origin/master, I then checkout the other branch, I then do stash apply 0 (0 referring to the id of the only stashed change), I check to make sure those changes were04:59
applied, I then checkout master branch and I see that for some reason the changes from stash were applied to master despite me applying them while in the other branch. Why did this happen and how do I only apply a stash to the current branch04:59
tiin57 joined05:01
wiindigo left05:04
Nitrousoxide_ joined05:05
arcatech joined05:05
riksteri joined05:07
Zenstecm left05:08
Nitrousoxide left05:08
wallacer left05:08
yetoo essentially how to apply stash only to a specific branch rather than the whole repository because I find the workflow with commit and reset is hacky and prone to data loss05:09
abrac joined05:10
thebope joined05:16
arcatech left05:18
gp5st left05:19
thebope left05:23
tiin57 left05:27
wallacer joined05:29
austin987 left05:30
tiin57 joined05:31
arcatech joined05:33
arcatech left05:33
Aquazi left05:34
cd left05:38
abrac left05:41
austin987 joined05:44
abrac joined05:48
lulu_ left05:49
orbyt_ left05:52
Nitrousoxide_Nitrousoxide05:54
Nitrousoxide left05:54
Nitrousoxide joined05:55
tiin57 left05:57
abrac left05:57
tiin57 joined06:00
Mattiaslndstrm left06:01
Betal left06:02
Mattiaslndstrm joined06:07
Maxattax left06:09
n3wborn joined06:13
superbolide left06:14
ELFrederich left06:15
madewokherd left06:16
ELFrederich joined06:17
FH_thecat left06:18
karab44 joined06:23
AnAverageHuman left06:24
tiin57 left06:27
moldorcoder7 left06:27
tsdh left06:29
moldorcoder7 joined06:29
karab44 left06:30
tiin57 joined06:30
jla joined06:31
jla left06:31
Technodrome left06:32
jtmusky left06:34
tsdh joined06:40
rfmind joined06:44
crose left06:45
hussam left06:49
jtmusky joined06:49
sord937 joined06:53
tiin57 left06:57
tiin57 joined07:01
rcoote joined07:01
amosbird Hello, how can I add back the submodule that is resetted?07:05
john_johnk joined07:05
sgn joined07:06
amosbird there is here07:06
http://oracle.wentropy.com/e68839128c276ea107:06
do I need to commit the submodule so that I can sync it?07:07
sgn1 left07:08
amosbird what does "git add submodule add .." do ?07:11
fling left07:13
ExeciN joined07:14
cbreak joined07:16
lulu_ joined07:18
fling joined07:18
lulu_ left07:18
lulu_ joined07:18
abrac joined07:18
rfmind left07:18
fling left07:23
milkt left07:26
milkt joined07:26
karab44 joined07:26
tiin57 left07:27
Furai left07:27
Goplat left07:29
is_null left07:31
_Borkr_ joined07:31
tiin57 joined07:31
thiago left07:31
fling joined07:32
thebope joined07:34
wrobinso1wrobinson07:35
Furai joined07:35
thebope left07:39
fling left07:39
amahl joined07:44
howdoi left07:45
k3yp left07:49
fling joined07:50
LetoThe2nd joined07:54
tiin57 left07:57
tiin57 joined08:00
wrobinson left08:01
dff left08:03
ryab left08:04
esc left08:06
unluckyshrubbery left08:06
ryab joined08:06
esc joined08:06
esc left08:06
esc joined08:06
Haohmaru joined08:07
rfuentess joined08:09
chele joined08:12
ryab left08:12
ryab joined08:15
gioyik_ joined08:16
gioyik left08:17
DevAntoine joined08:18
tiin57 left08:27
tiin57 joined08:31
yetoo left08:31
mat001 left08:32
AppleGaming joined08:35
gioyik_ left08:35
brethil left08:38
ferdna left08:38
ArchNoob joined08:39
abrac left08:39
brethil joined08:40
oxymoron93 joined08:42
stdedos joined08:45
mexen_office joined08:48
NeoCron joined08:48
abrac joined08:50
radsmoo joined08:50
Aquazi joined08:50
lxsameer left08:55
mozgalom joined08:57
tiin57 left08:57
stdedos Hello there08:58
I want to exclude any and all .gitignore files from the `git-archive` command, wherever they may be08:58
if I write `git archive ... '!:.gitignore'`, it will only ignore `repo/.gitignore`08:58
if I write `git archive ... '!:**/.gitignore'`, it will keep `repo/.gitignore` (but remove every other one)08:58
I thought `**` expands to 0 and infinite directories 😕08:58
Vaanir left08:58
osse it expands to between one and infinite for some stupid reason08:59
try :!(glob)**/.gitignore09:00
tiin57 joined09:01
CryptoClub left09:01
Bombe left09:03
kafl joined09:03
osse or simply give both09:04
Mattiaslndstrm left09:04
bolovanos__ joined09:04
stdedos Nope09:04
Doesn't work09:04
Yeah, I did the second09:05
but isn't it a bug?09:05
CryptoClub joined09:05
osse I have had this discussion before, but I don't remember09:06
I think it's not a bug because the there is a / there that needs to be matched09:06
it's more like a plain string matching09:06
stdedos Why does the `/file.xyz` works then in .gitignore?09:06
osse the patterns in .gitignore have their own rules09:07
stdedos OH REALLY? :-D09:07
I thought it was the same "library" that handled those09:07
osse it probably is. but it's configurable?09:08
silverbaq joined09:08
stdedos I didn't get that last one09:08
osse try '!(exclude,glob)**/.gitignore'09:09
Bombe joined09:09
stdedos even workse :-D09:09
dionysus69 joined09:10
radsmoo left09:10
osse I mean the same library can offer different matching modes09:10
stdedos I thought you said "they are distinct" for some reason09:11
s/said/meant/09:12
on a different question, for the same matter: I am using `git-archive` to produce a zip, in order to feed that to SomeProgram (tm)09:13
radsmoo joined09:13
stdedos However, SomeProgram requires a top-level directory09:13
osse So what happens here is that ** is not special without the (glob) thing. It's just two * next to eachother, which is reduntant. So **/foo effectively the same as */foo and that needs to match the / which means it will match at least one dir09:14
Use the --prefix option09:14
stdedos so, I did `git archive HEAD -o file-0.3.0.zip --prefix="$(basename "$(realpath .)")/"`09:16
However, SomeProgram complains that the "structure of the plugin is different"09:16
Out of lack of imagination, I just compressed the git-dir, removed what I didn't want, and gave that to SomeProgram09:17
It was all happy and jolly to read _that_ one09:18
osse try --prefix=foo( instead of --prefix=$(shell madness) and see if that helps09:20
foo/09:20
stdedos And let's just say that, SomeProgram has no logs to say what it doesn't like, and that SomeProgram's devs, while almighty powerful, decide to shrug it off "you did something wrong" ....09:20
osse and open the different zip files in and compare them yourself09:20
stdedos didn't help09:20
I had plain dir before the shell-fu. didn't help*09:20
I did `unzip -l files` and I cannot see real differences09:20
jla joined09:21
stdedos I can actually see more files in the dumb version vs the git-archive ...09:21
Gurkenglas joined09:22
osse is there a different in the path?09:22
PJBoy joined09:23
stdedos No09:23
osse then something else is the problem09:23
stdedos I literally did `diff` on the `unzip` output09:23
osse try git archive without any exclusions09:23
stdedos The only thing that has bothered me, is that some old version of that zip file does not contain `Length 0 | dir/name/` entries, but that's all09:24
dumb and archive version have those09:24
petrj joined09:24
thansen left09:26
thansen joined09:26
petrj hi, what is the proper way to follow http redirects with clone?09:27
tiin57 left09:27
petrj $ git clone -c http.followRedirects=true https://git.io/Jt5yR09:27
tried this but it doesn't work with 2.25.109:28
stdedos osse ... it works 😂09:29
Raging_Hog joined09:29
osse stdedos: hmm what works now?09:30
stdedos SomeProgram accepts the zip without exclusion rules given on the command line09:30
tiin57 joined09:30
juhwad__jaziz09:31
osse Then for SomeReason it requires .gitignore files in the zip?!?!09:31
jimmiehansson joined09:31
osse do the unzip diff thing with and without the exclusions. Maybe you exclude something other than just .gitignore files09:31
stdedos I did09:31
the dumb file has an extra Makefile, and the archive file has the `.idea` folder09:32
both of which are not necessary to SomeProgram09:32
downunder left09:33
stdedos Is it possible that there is some weird "corruption-like" error from the extra excludes?09:33
osse dumb meaning you zipped the folder yourself?09:34
downunder joined09:35
mobidrop left09:35
thebope joined09:35
mobidrop joined09:35
osse Firstly, git archive will only produce an archive with the versioned files. So if the Makefile is something that your IDE produces and that is required then you're fucked either way09:36
mowcat joined09:36
petrj left09:36
Dreadnaught joined09:37
stdedos dumb is the manual compression,. yeah09:37
osse try this: git check-attr -a .idea09:37
gearnode joined09:37
stdedos empty09:37
(and no, the Makefile I wrote it myself to not remember commands)09:37
Kulrak left09:37
osse what does the "no" mean09:38
stdedos So if the Makefile is something that your IDE produces --> No, I wrote Makefile myself09:38
osse But is it part of the git repo?09:38
stdedos no, it's unchecked at the moment09:39
s/unchecked/untracked/09:39
dimi1947 joined09:40
osse that means you're fucked09:40
at least by default. But git archive --add-file exists09:41
stdedos Yeah, but I don't need the Makefile 😕09:41
osse Oh shit, I misread09:41
stdedos It's just that my manual sanitization process was not complete09:41
jla left09:41
stdedos anyway "the important files" are there in both cases09:42
osse Then I give up09:42
stdedos It's just that "something" happens to git-archive artifact, when I ask for more exclusions09:42
👍09:42
osse I don't see any way for me to debug this09:42
just to be clear: git archive --prefix=whatever/ -o whatever.zip works?09:43
stdedos yeah09:43
just tried it09:43
osse ànd: git archive --prefix=whatever/ -o whatever.zip -- ':!(exclude,glob)**/.gitignore' doesn't?09:43
stdedos ** ':!(glob)**/.gitignore' ':!requirements.txt ':!.idea'09:44
hnOsmium0001 left09:44
stdedos yes, it doesn't09:44
mexen_office left09:47
osse remove them one by one until it works09:47
hmm the quoting there is screwed09:48
stdedos even if I just add ':!(exclude,glob)**/.gitignore' it's messed up09:48
osse typo. the ! is not supposed to be there09:49
thebope left09:49
stdedos I think "somehow" `git-archive` "messes up" the archive when it's given extra pathspec09:49
(yeah, I wanted to tell you about that typo - do you think `git` should fix it?)09:49
osse not sure what you mean by that09:50
unluckyshrubbery joined09:51
stdedos ':!(glob)**/.gitignore' does not work09:52
calcul0n__calcul0n09:52
stdedos I thought git recognized `!` (magic-signature) and `(glob)` (long form) on the same command09:53
However, I think that it stops at `!`, and ignores `(glob)`, as if I have a directory named `(glob)`09:53
Should that crash and burn, if not recognized?09:54
gearnode left09:55
gearnode joined09:56
radsmoo_ joined09:57
jimmiehansson left09:57
tiin57 left09:57
radsmoo left09:57
jimmiehansson joined09:57
lightstalker left10:00
osse I don't know the exact details10:00
tiin57 joined10:01
pagios left10:01
marlun joined10:01
jimmie_ joined10:01
jimmiehansson left10:01
oxymoron93 left10:01
marlun When viewing a commit with git show <commit> can I somehow show the full file as context?10:02
lightstalker joined10:02
ikke -U999910:03
pagios joined10:03
marlun ikke: thanks, I just found it as well in the diff options, didn't know that worked here as well :)10:04
oxymoron93 joined10:04
adlternative left10:06
KnoP joined10:09
jla joined10:09
abrac left10:15
OnkelBlade joined10:15
def_jam joined10:17
abrac joined10:18
eb0t_ joined10:18
eblip left10:18
eb0t left10:18
feriman joined10:21
eb0t joined10:26
eblip joined10:26
eb0t_ left10:26
eb0t left10:26
def_jam left10:27
tiin57 left10:27
vinleod joined10:28
Technodrome joined10:29
eb0t joined10:29
tiin57 joined10:30
vinleodvdamewood10:30
ExeciN left10:33
stinkpot left10:36
yousef9_yousef910:38
milkt left10:40
Sc0tty- joined10:42
Nitrousoxide_ joined10:42
Nitrousoxide_ left10:43
jla left10:43
_nightw0lf joined10:43
clime joined10:43
Nitrousoxide left10:45
adlternative joined10:50
tiin57 left10:57
onizu joined10:58
silverbaq left11:00
tiin57 joined11:00
silverbaq joined11:00
silverbaq left11:05
silverbaq joined11:05
mp3 joined11:06
axsuul left11:10
axsuul joined11:11
Jackneill left11:16
radsmoo_ left11:20
Mattiaslndstrm joined11:24
tiin57 left11:27
tiin57 joined11:30
herren left11:31
ArchNoob left11:32
Jackneill joined11:32
ch joined11:33
kerframil joined11:34
AckSynAck joined11:34
erro__ joined11:39
_Borkr_ left11:42
iokill left11:44
finn_elija left11:47
faceface joined11:47
finn_elija joined11:47
iokill joined11:50
tgunr_tgunr11:51
ExeciN joined11:52
nuala left11:52
mowcat left11:53
Mattiaslndstrm left11:54
klonn joined11:55
klonn left11:57
tiin57 left11:57
abrac left11:58
tiin57 joined12:01
terabyte left12:03
AckSynAck left12:03
ArchNoob joined12:09
mexen_office joined12:09
rsx joined12:09
p0a joined12:10
p0a Hello can someone please walk me through contributing a PR for a project on github?12:10
I have downloaded github/foo and have made my changes which I now wish to contribute to the project12:10
as I undestand it, I now need to make a branch that is my own local copy, then somehow mirror that information on my github profile and then use github's functionality to do the PR12:11
Venemo you make a fork of the project. you clone the fork, add commits, push to the fork. then you open a PR on GitHub12:11
p0a I haven't yet committed anything12:11
well I cloned the official project instead12:11
can I remedy this?12:11
Venemo yes, you can add your fork as a remote to the local repo12:12
p0a my repo?12:12
my github profile repo right?12:12
Venemo sorry I don't understand the question12:12
p0a I don't either12:12
Norrin Venemo does it even need to be a fork?12:13
p0a there's my local copy, the official github page and my page12:13
Norrin can't he just make a new repo12:13
?12:13
Venemo Norrin: not if you have access to the upstream repo12:13
p0a typically spends a day, every time, trying to figure out how to contribute a PR12:13
Norrin Venemo he doesn't12:13
i kinda don't think it needs to be a "fork" though12:13
just make a new repo12:13
yes. start a new repo under your account and push local repo to that new repo in your account12:13
Venemo it's easiest to use the fork feature12:13
p0a spend your years learning programming only to be foiled by that evil github12:13
benfelin joined12:14
Norrin Venemo ok, no harm12:14
p0a I don't like having a repo on github, it makes me anxious about whether it is up to date or what12:14
so I typically just delete everything, fork it and so on12:14
Norrin p0a that's fine12:15
p0a It's not fine, it's awful12:15
Norrin so yeah, your "profile" is not a repo12:15
p0a So what do I do?12:16
dimi1947 left12:16
Norrin "<Venemo> yes, you can add your fork as a remote to the local repo"12:16
you got stuck there?12:16
p0a Yeah I don't understand what it means12:16
Venemo so, you go to the upstream repo, you click "fork". that will give you a repo on github.12:16
p0a By upstream, you mean the official repo?12:16
Venemo yes12:16
p0a but I've already done that in the past12:16
should i first delete it?12:17
Venemo you don't need to12:17
why would you12:17
p0a Because it probably has information I've createrd12:17
Norrin well.... if it is diverged from what he has locally, he has to delete it12:17
p0a that I don't remember what it's purpose was anymore12:17
mexen_office left12:17
Venemo you can rebase your branch on top of the latest upstream, and go from there12:17
p0a I don't really like rebase12:17
I fondly remember spending a day rebasing12:17
I don't even know what it means in terms of github12:18
Norrin but it could still have garbage in it that he doesn't want in his PR12:18
p0a right, I'll just delete it12:18
if only i can find the delete button now12:18
Norrin it means a force push and you don't want to get in the habit of doing that whenever you feel lik eit12:18
Venemo well, in this case, you don't actually need to rebase then, you can just overwrite the branch in your repo with a branch from upstream12:18
kafl left12:18
mexen_office joined12:18
p0a I hate github, it's so disfunctional12:19
open source is disfunctional12:19
Venemo I don't see your problem12:19
p0a holy cow12:19
well I do just fine using git on my own for my local projects12:19
Venemo what I just described to you, is doable in like 2 minutes12:19
p0a but anything github related is a pain12:19
Norrin only because you haven't learned it12:20
kafl joined12:20
Norrin it's not complicated12:20
p0a true and I never will!12:20
Norrin not with that attitude12:20
Venemo so. you have a local repo which is a clone of the official upstream repo of that project, right?12:20
p0a It doesnt' stick, I contribute to OSS once every 5 months12:20
Venemo and you also a have a fork on your github profile, which is outdated, if I understood correctly12:20
Norrin it's not about OSS. Most companies use github12:20
if you had a job where you needed to use github, you'd learn it12:21
p0a I don't work in programming12:21
Norrin well there you go12:21
Venemo so, all you have to do is create a branch in your local repo, push that branch to your fork, and then you can open a pull request from that12:21
Norrin true ^12:21
p0a I don't understand the purpose of a local repo12:21
Norrin can get back without deleting the fork12:21
p0a I'll delete everything12:21
I'm just tired of thinking about how this works12:22
Venemo the local repo is a copy of the repo on your computer, where you actually make changes, that is its purpose.12:22
Norrin you've sunken into a defeatist attitude lol12:22
p0a Norrin: It's been many years that every few months I spend a day trying to figure out github12:22
It's a real pain12:22
It's really awful trying to contribute something when the real block is always gihtub12:23
Norrin github is free to use. you should use it for your local projects so that you can retain how to use it12:23
p0a that's just the cloud hip12:23
Venemo p0a: this is how it is done for both github and gitlab, and bitbucket as well.12:23
p0a What's optimal is ssh'ing into a box that has a local git repo12:24
osse any kind of collaboration with git uses a local repo12:24
Venemo p0a: I think I've given you straightforward instructions. I do something like this several times every day. it takes about 2 minutes, including the time spent on downloading things from the network.12:24
Norrin git is basically always git. those corps just had kinda tiny features to their web interface, but git itself doesn't change12:24
p0a I hate the web interface12:24
osse !spindle12:24
gitinfo [!git-spindle] https://github.com/seveas/git-spindle is a handy tool to use the features of GitHub (and GH Enterprise), GitLab, BitBucket and possibly more from the command line.12:24
Venemo you don't need the web interfact for any of the steps I described above12:25
finalbeta left12:25
p0a okay so I forked upstream, now I create a branch, then I push to my branch12:25
Norrin try again Re: Venemo12:25
true*12:25
p0a but how do I note that my online branch is there in my local git repo?12:25
I need to do something with origin and master and all that stuff12:25
Venemo a local repo can have multiple remotes set up12:26
Norrin leaving. might not be back12:26
Venemo "origin" refers to the place that you cloned, so based on what you told us, it is currently the official upstream repo of the project12:26
you can add your own fork as another remote12:27
tiin57 left12:27
p0a I have some stuff in my computer12:27
I want to put in my github profile whatever12:27
bremner sounds like you might want https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes12:28
and related material.12:28
p0a please no more of that12:28
bremner *shrug*12:29
p0a I'm so sick of reading about git and github and remote and origin and master and fetch clone push pull and the git cmd line crazynesss12:29
It has to be simple12:29
bremner why?12:29
p0a well here's the thing12:29
I always find myself in a unique state12:29
it's always a little different12:29
and I always have to delve into the git book again12:29
Venemo so, you dislike the web interface, and you also think the command like is crazy12:29
p0a I'm sick and tired of this torture12:29
bremner well, that's not really our problem12:30
I mean, you get this channel is volunteers helping you out of kindness right?12:30
p0a I'm just so frustrated with github12:31
tiin57 joined12:31
feriman left12:31
p0a I'm trying to log into a file a routine that I can always follow to contribute to OSS without thinking about it12:31
jaziz left12:31
p0a but I don't have the energy to read the git book again12:31
I'll just upload the files in a github comment and ask someone to do it for me lol12:33
I mean, if they want to. I mean, that's it. I can't do it12:33
Norrin joined12:34
Venemo sorry p0a but I don't see what exactly you want from us. we already told you how you can solve your problem12:36
abrac joined12:36
Technodrome left12:36
p0a I posted the changes in a zip file in a github comment12:41
It's not the time to be reading the git book for the nth time when you're trying to do something completely unrelated in your life12:41
Norrin Venemo you should have stopped when i did12:42
Venemo heh :)12:42
NeoCron left12:46
NeoCron joined12:47
Mattiaslndstrm joined12:50
cdown joined12:50
dviola left12:50
cdown_ joined12:52
cdown_ left12:53
dviola joined12:53
cdown_ joined12:53
cdown left12:54
cdown_cdown12:54
maxster joined12:56
Mattiaslndstrm left12:57
tiin57 left12:57
p0a thank you for the effort, I'm just too incapable of following advice right now12:57
p0a left12:57
tiin57 joined13:01
bolovanos_ joined13:04
sweatsuit left13:05
Gurkenglas left13:05
Gurkenglas joined13:05
Gurkenglas When I add a Notes.txt to my local version of a repository it naturally wants to add that file to commits so I add it to .gitignore but now it wants to add that .gitignore change to commits so I add .gitignore to .gitignore but that doesn't work, what do?13:05
DevAntoine left13:07
DevAntoine joined13:07
avu Gurkenglas: the .gitignore file in the repo belongs to the repo so it gets tracked there, if you want to ignore some files just for you locally, you can use core.excludesfile13:07
cliluw left13:08
bolovanos__ left13:08
avu Gurkenglas: I have it set to ~/.gitignore_global here, not sure what the default is, check with `git config --get core.excludesfile`13:08
cliluw joined13:09
Gurkenglas avu, no output13:09
avu Gurkenglas: then the default might be it not being set at all13:10
Gurkenglas: set it to some file outside of the repository13:10
boutcher joined13:11
ikke There is also a repo specific ignore file13:11
.git/info/exclude13:12
CryptoClub left13:15
maxster left13:17
CryptoClub joined13:17
Gurkenglas avu, git config --get core.excludesfile is now G:\Git\excludesfile and that is now G:/ss13/Notes.txt13:19
but git status still lists Notes.txt as added13:19
ikke Gurkenglas: it should point to a file that contains files to ignore, just like .gitignore13:21
Gurkenglas ikke, yes thats what I did and described in the last two lines right?13:22
sweatsuit joined13:22
avu Gurkenglas: just put 'Notes.txt' in there13:22
Gurkenglas: I don't think putting full paths in there that start outside of the repo where it should be applied works13:23
Gurkenglas ah okay then code.excludesfile makes some more sense than I thought. .git/info/exclude worked thanks13:24
rfuentess left13:27
abrac left13:27
tiin57 left13:27
rfuentess joined13:27
linuxguru joined13:29
mat001 joined13:30
tiin57 joined13:31
benfelin left13:34
Maxattax joined13:35
benfelin joined13:36
Pickchea joined13:37
Technodrome joined13:38
DevAntoine left13:42
DevAntoine joined13:42
thebope joined13:45
staafl_inv0022 left13:45
k3yp joined13:46
silverbaq left13:46
benfelin left13:47
benfelin joined13:48
Dotz0cat left13:49
thebope left13:50
Xenguy left13:55
tiin57 left13:57
thebope joined14:00
tiin57 joined14:01
Qo027 joined14:01
rosco_y joined14:01
rosco_y list14:01
benfelin left14:01
thansen left14:02
osse !list14:02
gitinfo [!mailing_list] The mailing list can be reached via [email@hidden.address] You don't need to subscribe to the list, you will always be put in cc on reply. Read archives at http://public-inbox.org/git14:02
benfelin joined14:04
erro__ left14:04
fabs joined14:04
ikke Bot trigger by proxy :-D14:07
karab44 left14:10
meropyri left14:11
thebope left14:12
thebope joined14:12
meropyri joined14:12
nuala joined14:16
enrh_enrh14:20
enrh left14:20
enrh joined14:21
tiin57 left14:27
gast0n joined14:28
crose joined14:29
tiin57 joined14:30
boutcher left14:30
thansen joined14:34
bravespear|2 left14:36
superschnell joined14:38
superschnell Hi all. How do I show a single commit by revision id using git on the cli? I'm having problems showing the commit in context in PHPstorm's git log viewer.14:38
mustache_ride joined14:39
itp_student|54 joined14:39
superschnell eh, sorry, nvm14:39
I can show it.. problem is.. I can't see in which branch it was14:40
osse superschnell: that information is not directly stored by git14:41
itp_student|54 left14:42
osse superschnell: you can try git branch --contains={revisionhere} but if it's an old commit that might list many branches, one of which is master14:42
superschnell It's not even stored remotely? I don't understand how PHPstorm can then filter commits by branch14:44
thebopeevan14:45
evanthebope14:45
mobidrop left14:45
osse probably by filtering out commits that appears in other branches as well14:47
benfelin left14:53
abrac joined14:53
benfelin joined14:55
AnAverageHuman joined14:55
tiin57 left14:57
Pickchea left14:59
mexen_office left15:00
tiin57 joined15:01
graphicsv Hi. `git reset --hard HEAD@{N}` works only for the current branch I'm in, right?15:06
vicfred joined15:06
graphicsv I mean, it won't mess with other branches.15:06
shush joined15:10
osse yes15:10
CodeSlingerPaul joined15:11
shush left15:14
hbautista joined15:15
wiindigo joined15:17
austin987 left15:17
benfelin left15:18
abrac left15:18
madewokherd joined15:18
crose left15:20
benfelin joined15:20
AppleGaming left15:21
geirha left15:21
ArchNoob left15:22
hussam joined15:22
vdamewood left15:23
ELFrederich left15:24
ELFrederich joined15:24
tiin57 left15:27
muhaha joined15:29
boutcher joined15:29
tiin57 joined15:30
austin987 joined15:31
hussam left15:32
hussam joined15:32
stats4647 left15:35
stats4647 joined15:36
sgn1 joined15:40
Newami joined15:42
sgn left15:42
thiago joined15:42
rosco_y left15:45
rosco left15:45
oxymoron93 left15:48
moldorcoder7 left15:49
jla joined15:54
wiindigo left15:55
Newami left15:55
arcatech joined15:56
tiin57 left15:57
kupi joined15:57
axisys left15:58
jla left15:58
axisys joined15:58
mowcat joined15:58
rcoote left15:59
axisys left15:59
moldorcoder7 joined15:59
clime left16:01
tiin57 joined16:01
rosco_y joined16:02
mowcat left16:03
Ranhir joined16:03
axisys joined16:04
mozgalom left16:06
sgn joined16:06
superschnell exit16:06
superschnell left16:06
ldiamond left16:08
sgn1 left16:09
teclator left16:09
teclator_ joined16:09
gioyik joined16:10
ExeciN left16:13
teclator_ left16:13
teclator joined16:14
clime joined16:14
Ranhir left16:17
maxster joined16:17
Thorn left16:19
fling left16:20
Kodak22 joined16:21
sgn1 joined16:22
sgn left16:24
gitinfo set mode: +v16:25
EvanCarroll https://stackoverflow.com/questions/66353917/can-sparse-checkout-patterns-be-added-to-gitmodules16:25
gearnode left16:25
Kodak22 Hello all. I know only very little about git, and am considering it a somewhat easy way to manage a community based CAD file managment16:25
This project is an open sourced mecanical watch movement, where people will be able to make their own versions, based on our "official" one, and it sounded to me like something git would do, but of course, these are binary files, so a lot of the advanced compare functions will not work16:26
gearnode joined16:26
jla joined16:27
tiin57 left16:27
maxster sounds cool Kodak2216:27
Lord_of_Life left16:28
sudoforge joined16:29
cods left16:30
cods joined16:30
tiin57 joined16:31
sudoforge left16:31
Kodak22 Thanks! I just have my doubts if its a good idea, or if we should go with airtables or excel or something else. Key is low effort (since we are all volunteering our time)16:32
sudoforge joined16:32
sudoforge left16:32
Lord_of_Life joined16:32
Kodak22 CRM's sound like a better idea (could even handle inventory etc, when we get there), but setting up a CRM scares me a bit...16:32
vdamewood joined16:32
Peng left16:34
Peng joined16:34
sudoforge joined16:35
Cork left16:36
mackerman Kodak22: git has the advantages of being good at tracking history, distributed, and free from the control of any one company or service16:38
Disadvantages, binary diffs aren't meaningful, and also won't compress well increasing repo size.16:39
m0viefreak joined16:39
AnAverageHuman left16:40
mackerman Lowest effort would be getting a git hosting which also offers collaborative features. GitLab, GitHub.16:40
fling joined16:40
Cork joined16:41
Kodak22 and just use the webinterface i guess? I'm also wondering how things work between forks in git. Once you fork, are you still dependent to "main"?16:42
mackerman However, all of this is focused on file based release, CAD designs, code, whatever. Product inventory or customer relatiionship management is generally out of scope for such things.16:43
dimi1947 joined16:43
karab44 joined16:43
mackerman A fork is an entirely independent repository.16:44
ikke Kodak22: is the format purely binary?16:44
Kodak22: word documents are for example zipped xml files16:44
mackerman fork is a verb for core git, but rather what various git hosters call making your own copy of a thing.16:44
* fork is not verb for core git16:45
Kodak22 yeah, CAD files (either inventor .iam, .stp, itp etc) and .pdf files16:45
ikke Kodak22: It's the process of making a copy of a project that still has a reference to the forked project, with the goal of having a space to push commits / branches to without the original project having to add you as a collaborator, and provide pull / merge requests from there16:46
AnAverageHuman joined16:46
boutcher left16:47
Kodak22 so if the base project changes something, you could be notified that there is a change (but since its binary, you of course can't know what has changed without opening and comparing)16:47
?16:47
mowcat joined16:48
mackerman Not really, you need to fetch and read the progress of the "upstream" remote.16:48
orbyt_ joined16:49
Kodak22 And since its binary, only the commit comments will be a way of documenting changes i imagine?16:49
ikke right16:49
imMute Kodak22: because it's binary, git won't be able to show you a diff itself. if you have a tool that can diff these binary files somehow, you can instruct git to use that tool when you ask for a diff.16:49
hnOsmium0001 joined16:49
ikke and merging is at most a matter of choosing one of 2 versions16:49
imMute ikke: can't you setup a merge tool like you can with diffs?16:50
(assuming such a tool for the binary file type in question exists)16:50
heyitsrama joined16:51
Kodak22 Not certain imMute, they use AutoCad and Inventor where i work, and i'm not sure they can track changes.16:52
ikke imMute: yes16:52
if you have something that's able to do that16:52
abrac joined16:52
imMute Kodak22: I mean a tool where you can say "here's version A and here's version B, show me the differences". the tool doesn't *track* the differences, it just *shows* them to you.16:52
long4mud left16:53
Kodak22 aaah, right, sorry.16:53
gearnode left16:53
arcatech left16:54
gearnode joined16:54
tiin57 left16:57
mackerman textconv filters are a way to call a program to get some text out of a file for use by diff and log https://git-scm.com/docs/gitattributes#_performing_text_diffs_of_binary_files16:57
arcatech joined16:58
mackerman Assuming such a program exists, its very specific to the file formats used.16:58
Kodak22 gotcha, thanks!16:59
tiin57 joined17:01
mackerman Even with non-diffable binary blobs, git basics are useful. A history, documented commit messages, and GPG signed releases.17:02
DevAntoine left17:03
DevAntoine joined17:04
Kodak22 yeah. btw, talking about repo size, does git keep copies of old files?17:04
ikke yes17:05
that's it's whole purpose17:05
Kodak22 right, ofc (like i said, only know very little about git), thanks for clearing that up >.<17:06
Sc0tty- left17:06
ikke so dependening on the size of the cad files, that could increase the size of the repository significantly17:07
Cork left17:09
Haohmaru left17:09
wootehfoot joined17:10
rsx left17:10
imMute note that git compresses the files, so it's not like it's storing 1:1 copies of every version of the file. but "binary" files tend to not compress well.17:10
sgn1 left17:11
sgn joined17:11
Kodak22 I'm not really stressed about that though, now that i think about it, commits will be rare (atleast once we're ready to publish). What i'm more stressed about is tracking dependencies over versions of the movements (skeletonised, automatic vs manual wind etc)17:11
EvanCarroll Kodak22: I wouldn't use git if the files are strictly binary, what's the point? What do you want to achieve if you can't meaningfully use delta-diffs.17:11
Cork joined17:11
Kodak22 Its to track versions of the same base movement, track dependencies (like this pinion goes in versions A, B, D, but not in C, for example). I know its not a perfect fit, but setting up a CRM is scaring me17:12
mackerman git is better at tracking history than your average file sharing application.17:12
Kodak22 brb, gotta run to the store real quick (i'm getting really useful feedback btw, thanks a million!!)17:13
rfuentess left17:17
Cork left17:21
led_belly left17:24
Cork joined17:25
jimmie_ left17:25
cd joined17:26
Kodak22 The use-case of "this pinion goes in versions A, B, D, but not C". is that a realistic usecase of Git?17:27
tiin57 left17:27
hussam left17:29
hussam joined17:30
mackerman Could make sense as a feature branch from which A B D are derived17:30
nedbat Kodak22: it depends what you mean by "versions"? would these be separate branches?17:30
tiin57 joined17:31
austin987 left17:31
led_belly joined17:32
Xiti left17:32
mehwork left17:35
sgn1 joined17:36
orbyt_ left17:37
Kodak22 nedbat i guess? they would be different watch movements, so i'm unsure if those would be branches or forks17:37
(again, forks, sorry)17:38
chele left17:38
karab44 left17:38
dimi1979 joined17:38
orbyt_v7 joined17:38
nyxyn joined17:39
sgn left17:40
Xiti joined17:40
nyxyn left17:40
dimi1947 left17:41
HumanG33k left17:41
mexen_office joined17:43
hussam left17:45
hussam joined17:45
sudoforge left17:46
sudoforge joined17:47
HumanG33k joined17:50
sudoforge left17:50
sudoforge joined17:50
HumanG33k left17:51
HumanG33k joined17:52
wootehfoot left17:53
Technodrome left17:54
tiin57 left17:57
ArchNoob joined17:58
Muimi left17:59
tiin57 joined18:01
maskat- joined18:02
maskat- left18:02
austin987 joined18:03
fflam left18:04
fflam joined18:04
iskander left18:04
kek_ joined18:05
kek_ hi18:05
charking joined18:05
kek_ There is a repo A. I want to fork it. I want to pull changes from it but I want to push to my fork. Can I just fork it and add a second remote?18:06
j416 yes18:06
charking Hello. On Linux how can you make a Git repository only readable by the owner (without setting umask globally)?18:07
If I chmod -R go-rwx the .git directory, as soon as I commit a new file, several files in .git get 0644 permissions.18:07
kek_ thanks :)18:08
kerframil charking: as long as the top-most directory is 700, only the owner will be able to descend into it.18:08
j416 o/18:08
noidea joined18:08
iskander joined18:09
charking kerframil: ah, right! Thanks.18:10
iskander left18:10
elSueco left18:11
elSueco joined18:12
austin987 left18:13
Betal joined18:16
henri joined18:16
henri left18:16
henri joined18:17
maxster left18:17
Pickchea joined18:18
nedbat Kodak22: before we get to git: just using plain files, how would you manage these versions?18:18
wrobinson joined18:19
nedbat Kodak22: git is best for managing the time dimension of a project, keeping track of what it was like a year ago, and how it is now.18:19
durham joined18:20
Kodak22 probably in a spreadsheet to be honest, which is why im frantically trying to find something a little bit more futureproof, but still manageable by people who are not tech-savvy18:20
muhaha left18:21
Kodak22 which is why the web interface of something like github sounds not too bad (where I, or someone else, could manage rights and if commits are accepted or not)18:21
durham_ joined18:22
stinkpot joined18:23
Kodak22 I am also looking into open sourced, self hosted CRM as an option, but i am pessimistic18:24
durham left18:24
dmc left18:25
durham_ left18:27
Kodak22 er, sorry, i meant ERP (entreprise resource managment, not customer)18:27
austin987 joined18:27
tiin57 left18:27
gpanders left18:27
gpanders joined18:27
durham joined18:28
Betal Kodak22: did you check the selfhosted list?18:28
Kodak22 @betal18:29
oops, Betal, no i dont know that list18:29
stinkpotgigas_cedar18:29
Betal it might have something you like, https://github.com/awesome-selfhosted/awesome-selfhosted#enterprise-resource-planning18:29
Kodak22 ah, thanks Betal!18:30
tiin57 joined18:31
Betal Kodak22: I did not tested 99% of this list :P18:31
ghost43_ left18:31
ghost43 joined18:31
Cork left18:32
Betal most git related selfhost are in "software development"18:33
Kodak22: try to make a list of things of what you need (like requeriments), and see if one of these projects can help18:34
Cork joined18:34
ArchNoob left18:36
dmc joined18:38
dimi1947 joined18:38
maxster joined18:38
durham left18:38
durham joined18:38
Cork left18:39
elSueco left18:39
dimi1979 left18:40
impermanence joined18:40
shush joined18:40
henri left18:40
impermanence is there an easy way to tell if my shop has github enterprise?18:41
I've literally never used it so I'm not sure how to tell the difference between community and enterprise18:41
henri joined18:41
oriba joined18:43
Cork joined18:43
LetoThe2nd left18:44
kerframil try ##github, perhaps?18:44
clime left18:46
kek_ left18:46
Technodrome joined18:47
Cork left18:48
NeoCron left18:49
ArchNoob joined18:52
abrac left18:53
maxster left18:53
Cork joined18:54
worc3131 joined18:54
tiin57 left18:57
wisbit joined18:59
wisbit left18:59
wisbit joined19:00
mexen_office left19:00
tiin57 joined19:00
john_johnk left19:01
Raging_Hog left19:02
nasamuffin left19:02
nasamuffin joined19:03
Hello71 left19:04
Hello71 joined19:04
bolovanos__ joined19:05
AnAverageHuman left19:05
mitigate joined19:05
moldorcoder7 left19:06
DevAntoine left19:06
DevAntoine joined19:07
stdedos left19:07
mitigate with git -v git-2.17, if I do git add -A -f and then do a git commit, the permissions of my [changed] files get changed: "mode change 100755 => 100644 configure" - why would this happen? is it a bug of that version in some ubuntu?19:07
I dont have a .gitattributes19:08
bolovanos_ left19:08
Kodak22 thanks Betal!!19:09
mitigate the permissions of the files on the disk havent changed. it is checked out on /dev/shm though19:10
clime joined19:10
DevAntoine left19:11
john_johnk joined19:12
rond_ joined19:14
roadie joined19:15
durham left19:15
durham joined19:15
mitigate git diff doesnt show anything. if i check it out in a different directory the permissions are lost19:18
moldorcoder7 joined19:19
abrac joined19:23
ArchNoob left19:23
qsx`qsx19:23
mitigate why is it doing the mode change??19:23
when the mode hasn't changed19:24
sgn1 left19:25
kupi left19:27
osse mitigate: what does ls -l configure say?19:27
tiin57 left19:27
fabs left19:27
mitigate it shows it correctly: -rwxr-xr-x 1 user group 1057 Feb 17 07:50 configure19:28
ArchNoob joined19:28
mitigate i'm just importing an unpacked tarball19:29
and a new version on top of it19:29
osse and what does git config core.fileMode say?19:29
mitigate hmm it says false19:30
it shouldnt19:30
osse add --show-origin19:30
tiin57 joined19:31
sgn joined19:31
AnAverageHuman joined19:31
mitigate yes it's changed in the .git/config. but i dont know how that could happen. i've already got a bunch of imported history without this happening.19:32
osse I don't know either19:32
mitigate i certainly didnt touch it.19:32
osse but it's probably the reason for this19:33
mitigate yes i should have spotted it. thanks19:33
cdown left19:33
long4mud joined19:34
[[1g01wk]] joined19:39
durham left19:42
durham joined19:43
riksteri left19:45
cliluw left19:47
cliluw joined19:47
abrac left19:50
rond_ left19:53
tiin57 left19:57
Lord_of_Life left19:59
Kodak22 left20:00
jnavila joined20:00
elSueco joined20:00
tiin57 joined20:01
srinidhi left20:01
ArchNoob left20:01
milkt joined20:02
elSueco left20:02
DarthRadar9 joined20:04
CrtxReavr So I made a commit of two file changes that's already been associated to a PR.20:06
mitigate left20:06
tgunr left20:06
CrtxReavr But I need to amend the commit by dropping the changes to one file, and adding a different version of the other file.20:06
DarthRadar9 left20:07
srinidhi joined20:07
POQDavid left20:07
pikapika left20:08
niv left20:08
elSueco joined20:08
sgn1 joined20:10
Lord_of_Life joined20:10
jla left20:11
dionysus69 left20:11
sgn left20:12
maxster joined20:13
POQDavid joined20:14
pikapika joined20:14
osse go on20:16
niv joined20:18
jstein joined20:20
abrac joined20:22
shush left20:23
dudebbn__ joined20:25
sord937 left20:25
abrac left20:26
elSueco left20:26
bongjovi joined20:26
tiin57 left20:27
elSueco joined20:27
tiin57 joined20:30
srinidhi left20:32
tgunr joined20:33
cliluw left20:34
roadie left20:34
roadie joined20:35
heysucko joined20:35
cliluw joined20:35
elSueco left20:35
srinidhi joined20:36
elSueco joined20:36
jla joined20:36
jla left20:37
Pickchea left20:37
cliluw left20:38
cliluw joined20:39
charking left20:40
worc3131 left20:41
worc3131 joined20:42
srinidhi left20:43
cliluw left20:43
tonythomas left20:44
srinidhi joined20:44
shabius_ left20:45
srinidhi left20:46
maxster left20:46
noidea left20:51
shabius joined20:53
srinidhi joined20:53
p-core joined20:54
tiin57 left20:57
p-core left20:57
shush joined20:59
boutcher joined20:59
tiin57 joined21:00
cyrus_mc_ joined21:01
cdown joined21:01
ndorf left21:02
maxster joined21:02
ndorf joined21:02
zebrag joined21:06
pikapika left21:07
CrtxReavr Can I remove changes to a file that's been committed and pushed, but not merged?21:08
niv left21:08
POQDavid left21:08
CrtxReavr 'git show' lists changes to two files.21:09
n3wborn left21:10
osse CrtxReavr: yes21:10
CrtxReavr And how would I go about that?21:10
osse do e.g. git checkout -p HEAD~1 -- file21:10
pick and choose changes21:10
NeoCron joined21:10
osse (or just edit the file, whichever is easiest)21:10
git commit --amend and git push --force21:10
bolovanos_ joined21:11
niv joined21:11
n3wborn joined21:12
pikapika joined21:12
CrtxReavr 'git commit --amend' gives me:21:13
error: insufficient permission for adding an object to repository database .git/objects21:13
error: Error building trees21:13
bolovanos__ left21:14
CrtxReavr The first line actually prints twice.21:14
royal_screwup21 joined21:14
osse hmm21:14
maxster left21:14
osse judging by the error it sounds like the kind of error you'21:14
d get with just a plain git commit as well21:14
CrtxReavr I need to amend the commit message too.21:15
Karyon left21:15
osse you will be prompted to modify the message21:16
POQDavid joined21:16
Karyon joined21:17
tgunr_ joined21:17
roadie left21:18
Maxattax left21:18
tgunr- joined21:19
tgunr left21:19
impermanence left21:20
tgunr_ left21:22
bolovanos_ left21:24
cdown left21:25
rc_the_sound_guy joined21:26
bn_work joined21:26
tiin57 left21:27
heysucko left21:27
tgunr- left21:28
rc_the_sound_guy left21:30
tiin57 joined21:31
sgn joined21:31
jelmer left21:31
tgunr joined21:33
sgn1 left21:33
jelmer joined21:34
shush left21:34
shush joined21:35
CryptoClub left21:37
Socialoutcast joined21:37
tgunr_ joined21:38
shush left21:38
shush joined21:38
CryptoClub joined21:38
tgunr left21:39
maxster joined21:39
zmt01 left21:40
henri left21:43
worc3131 left21:44
dimi1947 left21:50
rak joined21:51
rak I have branches B and C forked from a common ancestor A. I have deleted some files from B, and some files from C. How can I develop these two branches independently and merge changes from B into C and vice versa without the file deletions propagating?21:52
I had hoped that doing a 'git merge -s ours' from B into C and from C into B at the outset would somehow create a merge resolution and that git would remember the merge going forward, but every time I try to make a subsequent merge, git keeps trying to delete the files again.21:53
tedfernau joined21:53
imMute git wasn't designed to handle a use case like that...21:53
irc_user joined21:54
cliluw joined21:54
tiin57 left21:57
Socialoutcast left21:58
ArchNoob joined21:58
maxster left21:59
tiin57 joined22:00
dgw left22:03
dgw joined22:04
codebam_ joined22:05
stats4647 left22:05
jnavila left22:06
stats4647 joined22:06
maxster joined22:07
royal_screwup21 left22:08
royal_screwup21 joined22:08
boutcher left22:09
bongjovi left22:11
durham_ joined22:13
durham left22:13
skered left22:18
m0viefreak left22:19
NeoCron left22:20
Maxattax joined22:21
maxster left22:23
misuto left22:23
skered joined22:24
tiin57 left22:27
Technodrome left22:29
jess left22:30
tiin57 joined22:30
geirha joined22:31
gearnode left22:32
amahl left22:35
durham joined22:37
durham_ left22:37
jaziz joined22:41
orbyt_v7 left22:42
impermanence joined22:44
sgn left22:45
durham left22:47
soifou left22:48
jstein left22:48
soifou joined22:48
royal_screwup21 left22:51
sgn joined22:51
royal_screwup21 joined22:53
durham joined22:54
maxster joined22:56
tiin57 left22:57
cd left22:58
misuto joined22:59
LouWestin left23:00
tiin57 joined23:00
jess joined23:01
LouWestin joined23:01
durham_ joined23:03
durham left23:03
Maxattax left23:07
Maxattax joined23:07
wrobinson left23:09
john_johnk left23:12
bolovanos joined23:12
BlessJah left23:15
john_johnk joined23:15
maxster left23:15
BlessJah joined23:15
oatmealraisin joined23:15
maxster joined23:15
Dotz0cat joined23:16
zmt00 joined23:17
onizu left23:18
impermanence left23:18
royal_screwup21 left23:19
royal_screwup21 joined23:19
ferdna joined23:20
bolovanos_ joined23:21
arcatech left23:23
bolovanos left23:23
royal_screwup21 left23:24
justan0theruser left23:25
shush left23:26
john_johnk left23:26
tiin57 left23:27
bolovanos_ left23:27
tiin57 joined23:30
gearnode joined23:30
sgn1 joined23:37
zebrag left23:38
codebam__ joined23:38
zebrag joined23:38
codebam_ left23:38
sgn left23:38
codebam__ left23:41
nehsou^ left23:43
calcul0n left23:44
arcatech joined23:50
arcatech left23:52
sgn1sgn23:54
ArchNoob left23:54
royal_screwup21 joined23:56
shush joined23:56
Xenguy joined23:57
adder`` left23:57
tiin57 left23:57
adder left23:57
arcatech joined23:59

Logs Search ←Prev date Next date→ Channels Documentation