IRCloggy #git 2019-01-09

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.

2019-01-09

dege left00:00
rkazak joined00:00
jinak left00:00
LordRyan nothing that i know of, i don't look too much into the internals00:01
Bradipo What parts of git would require a tty?00:01
virmagicis joined00:02
Bradipo Should be easy enough to configure ssh to not allocate a tty and see what breaks.00:02
oscurochu joined00:03
LordRyan exactly the point, i think that it's a version of ssh that runs without xterm00:04
oscurochu left00:04
Bradipo ssh only requries a terminal when running interactive commands (e.g. a remote shell in interactive mode).00:04
I believe git+ssh will have the git client send a remote git command over the wire that does all the talking remote-side.00:05
oscurochu joined00:06
Bradipo e.g. git-upload-pack00:07
I don't see how either git-upload-pack or git-receive-pack (and their corresponding client-side commands) would require a tty.00:08
aleph- joined00:12
SwiftMatt joined00:12
HZun it makes sense if ssh not always requires a terminal. i did not know that. i guess i will read up on ssh in general then.00:13
thanks for the help.00:13
regedit left00:13
SwiftMatt left00:14
Bradipo The git command might want a tty if it has pretty colorized output, but that has nothing to do with SSH.00:15
dslegends left00:17
oscurochu left00:17
jokajak left00:21
jokajak joined00:24
WolfOrwell left00:24
oscurochu joined00:27
andyhuzhill joined00:27
andyhuzhill left00:29
andyhuzhill joined00:30
m1dnight_ left00:30
diogenese left00:31
oscurochu left00:31
diogenese joined00:31
HZun left00:35
bn_work left00:39
Sasazuka joined00:41
afidegnum joined00:45
afidegnum hello, git push origin 1.0.0 gives me an error of emote: Repository not found.00:46
how do i create one through git ?00:46
pionen joined00:47
Hello71 tty doesn't have anything to do with colors00:48
TERM does00:48
afidegnum: you can't00:48
!xy00:48
rkazak left00:48
Hello71 hm00:48
pionen left00:48
afidegnum do i mean to creat ea new repo manually via github ?00:50
rkazak joined00:51
Bradipo Hello71: Right, good correction. I was thinking that it might use isatty() to determine whether or not to output colors, but clearly that would depend on the terminal as well (which uses a tty).00:52
kent\n joined00:52
Bradipo left00:52
SwiftMatt joined00:55
afidegnum ok, can anyone take me through please?00:56
i have removed the .git directory00:58
how do i start ?00:58
orbyt_ joined00:58
drbean left00:59
\void left00:59
drbean joined01:00
reveller joined01:01
rkazak left01:02
zulutango joined01:04
SwiftMatt left01:04
voidSurfr joined01:04
thiago joined01:05
troyt left01:06
d10n-work left01:06
troyt joined01:06
Bobdude joined01:08
armyriad left01:09
armyriad joined01:10
berndj joined01:11
ferdna joined01:14
reveller Hi. I work on a large, active open source project. I submitted a large, involved PR last July that I’ll call “july-branch”. The master branch has progressed significantly and now there are merge conflicts. I created a new branch today from master that I’ll call “january-branch”, merged in my old july-branch and resolved the conflicts. I’d like to make the original july-branch look like today’s january-branch and force-01:17
to july-branch so it updates the PR with a single commit. Help?01:17
shicks2525 joined01:17
snowgoggles left01:18
snowgoggles joined01:18
n3wborn left01:19
shicks_ left01:19
shicks_ joined01:21
shicks2525 left01:22
GreenJello left01:22
Wetmelon joined01:23
oscurochu joined01:24
GreenJello joined01:25
drbean left01:26
drbean joined01:27
drbean left01:31
drbean joined01:31
oscurochu left01:37
lacrymology left01:38
jhulten left01:41
mat001 left01:42
mat001 joined01:43
jakogut_ joined01:44
orbyt_ left01:47
sanscoeur left01:50
ketas left01:50
ketas joined01:55
netj left01:57
netj joined01:58
PocketKiller left02:00
orbyt_ joined02:03
aw1 left02:04
waveclaw joined02:09
finalbeta joined02:09
aw1 joined02:10
virmagicis left02:11
mloskot left02:12
boombatower left02:13
mat001 left02:14
justanotheruser left02:14
justanotheruser joined02:15
mat001 joined02:15
manuelschneid3r left02:16
fission6 joined02:18
mat001 left02:20
dfee left02:20
waveclaw left02:22
khisanth_ left02:23
fission6 left02:26
orbyt_ left02:30
jokajak left02:30
jokajak joined02:32
m0viefreak left02:35
khisanth_ joined02:36
snowgoggles left02:36
pks left02:37
TomyLobo left02:38
orbyt_ joined02:41
dfee joined02:41
z8z joined02:42
shaarad joined02:43
Dirak left02:44
timvisher left02:45
timvisher joined02:49
esrse joined02:49
Sasazuka left02:50
drbean left02:52
drbean joined02:52
orbyt_ left02:53
Hello71 git checkout july; git reset --hard january; git push --force-with-lease02:53
or if you already have january checked out you could do something like git branch -f july; git push --force-with-lease july:july02:55
jubal left02:58
jubal_ joined02:58
supernovah is there a way to initiate a completely manual merge, as in everything in the diff I choose using my mergetool, no-ff and no-commit on top?03:01
because I need to make subtle changes along the way and the auto-merge will introduce errors03:01
shaarad left03:02
supernovah like if I just modified the files as is and committed - there would be no merge, is there like a git merge --init or similar, which tells git I'm merging manually03:05
and like a git merge --finalise to complete it03:05
Dirak joined03:06
waveclaw joined03:07
rpjsf joined03:08
waveclaw left03:08
supernovah git merge --no-ff --no-commit <hash> creates a bunch of output of auto-merging ./path/to/file.c, and it's breaking the code03:10
diegoaguilar left03:10
SwiftMatt joined03:12
supernovah this is not the classic master vs feature-branch, it's master vs master - divergence and mating03:13
reveller Hello71: Thanks for the info!03:13
Hello71 !backup03:13
Ookma-Kyi joined03:13
Hello71 oh right03:13
anyways, as long as you committed it's pretty hard to fuck it up badly enough that you can't recover it via reflog03:14
Ookma-Kyi question: how should i handle this We found a potential security vulnerability in one of your dependencies.03:14
Hello71 #github03:14
Ookma-Kyi i mean branchwise03:14
supernovah git told you it found a security vulnerability lol what?03:14
does git do codean now?03:14
Ookma-Kyi feature, hotfix, bugfix branch?03:15
basically i have to regenerate my package-lock.json03:15
supernovah am I in the wrong channel?03:16
Ookma-Kyi no03:16
supernovah then why are you talking about nodejs?03:16
Ookma-Kyi because i'm asking branchwise03:16
Hello71 Ookma-Kyi: please go to #github03:16
Ookma-Kyi ok03:16
Hello71 and prepare to wait03:16
rchavik joined03:17
SwiftMatt left03:17
Ookma-Kyi left03:18
Goplat joined03:21
aleph- left03:24
SwiftMatt joined03:28
redrambl1s joined03:33
Essadon left03:34
finalbeta left03:34
redrambl1s left03:41
bookworm left03:41
mat001 joined03:42
seventh__ left03:42
mat001 left03:44
rpjsf left03:44
SwiftMatt left03:44
mat001 joined03:47
robotman321 left03:51
Cabanossi left03:56
bookworm joined03:56
Cabanossi joined03:57
yyy joined03:58
lagothrix left03:58
lagothrix joined03:58
orbyt_ joined04:00
orbyt_ left04:00
freeman42x left04:05
yyy left04:06
KeyJoo joined04:06
seventh__ joined04:07
cdown joined04:09
bdonnahue joined04:19
bdonnahue hey guys what FOSS clients are you using? I am sick of giteye's bugs04:19
justanotheruser left04:20
justanotheruser joined04:21
justanotheruser left04:22
justanotheruser joined04:25
ToBeFree joined04:29
dfee left04:32
GreenJello left04:32
Cabanoss- joined04:33
Cabanossi left04:34
sauvin joined04:35
voidSurfr left04:37
cdown left04:39
Dirak left04:39
cdown joined04:40
TomyLobo joined04:43
dreiss joined04:46
andyhuzhill left04:46
crimastergogo joined04:47
andyhuzhill joined04:47
Dirak joined04:48
surfist left04:50
surfist joined04:50
Mattiaslndstrm left04:50
aw1 left04:52
MACscr_ joined04:53
rewt left04:53
rewt`` joined04:53
rchavik_ joined04:53
rewt``rewt04:53
tgunr_ joined04:53
bookworm_ joined04:54
crimastergogo left04:55
ashka` joined04:55
craftyguy_ joined04:56
mitchell left04:56
hyperair left04:57
hypera1r joined04:57
axisys_ joined04:57
Puffball_ joined04:57
mingdao_ joined04:57
mooasaur1s joined04:58
jakogut__ joined04:58
lghtstkr joined05:00
pks joined05:00
bookworm left05:02
rchavik left05:02
jakogut_ left05:02
bvdw left05:02
greatgatsby left05:02
Zohnuqu3pah5iejo left05:02
Puffball left05:02
mooasaurus left05:02
MACscr left05:02
moei left05:02
osse left05:02
causasui left05:02
synthmeat left05:02
tgunr left05:02
gde33 left05:02
Impaloo left05:02
fflam left05:02
Geezus42 left05:02
sentriz left05:02
craftyguy left05:02
mingdao left05:02
ashka left05:02
SJr left05:02
q-chymera left05:02
axisys left05:02
paraxial left05:02
serialoverflow left05:02
Admish left05:02
g2anj left05:02
lightstalker left05:02
meLon left05:02
craftyguy_craftyguy05:02
ashka`ashka05:02
SJr joined05:02
bvdw joined05:02
serialoverflow joined05:03
paraxial joined05:03
Geezus42 joined05:04
q-chymera joined05:04
alyptik left05:05
Impaloo joined05:06
Dirak left05:06
sentriz joined05:06
tjagad joined05:06
bket left05:07
tjagad left05:08
gde33 joined05:08
meLon joined05:09
synthmeat joined05:09
fflam joined05:09
duderonomy joined05:10
bket joined05:10
dreiss left05:11
cdown_ joined05:11
cdown left05:12
cdown_cdown05:12
Dirak joined05:12
tjagad joined05:14
bket left05:15
bket joined05:15
bket left05:16
tjagad left05:17
mat001 left05:17
tsdh joined05:19
ToBeFree left05:19
bket joined05:19
tjagad joined05:21
tjagad left05:21
dreiss joined05:26
waveclaw joined05:26
mowcat joined05:29
mowcat left05:29
Kaisyu joined05:29
mowcat joined05:30
waveclaw left05:31
tjagad joined05:32
_ikke_ bdonnahue: git05:32
bdonnahue: and tig05:33
waveclaw joined05:34
GreenJello joined05:34
dfee joined05:36
waveclaw left05:36
mat001 joined05:37
FermiDirak joined05:37
alyptik joined05:37
waveclaw joined05:37
wxg joined05:37
waveclaw left05:38
devang_2401_ joined05:38
Inline left05:38
waveclaw joined05:39
devang_2401_ hi I'm Devang. I am a GSOC aspirant, are there beginner level projects I can working on?05:39
dreiss left05:40
mat001 left05:41
_ikke_ devang_2401_: Welcome devang_2401. Here are some ideas, though they are mostly from last year, I haven't seen any updates yet: https://git.github.io/05:41
waveclaw left05:46
waveclaw joined05:46
devang_2401_ left05:47
keepLearning512 joined05:49
FermiDirak left05:54
finalbeta joined05:54
crimastergogo joined05:55
hofmann3900 joined05:59
cdown left06:01
cur8or joined06:03
thiago left06:04
randominternetus joined06:07
crimastergogo left06:10
Wetmelon left06:10
randominternetus There's a repo I like to do some modification on. I like to know how it'll be like exactly to handle new codes. Lets say I fork the repo and do the modifications on file A. Now the original repo maintainers do a bug fix on the same line. What will I have to do? handle conflicts?:/06:10
crimastergogo joined06:10
orbyt_ joined06:12
cur8or left06:13
FermiDirak joined06:16
FermiDirak left06:25
ngui left06:25
ngui joined06:26
fairuz joined06:27
ferdna left06:28
dreiss joined06:28
aleph- joined06:29
ngui left06:30
Goplat left06:32
orbyt_ left06:34
Dirak left06:35
mat001 joined06:35
mikecmpbll left06:36
grawity yes06:38
crimastergogo left06:39
mikecmpbll joined06:39
mat001 left06:39
m1dnight_ joined06:43
oxymoron93 joined06:48
Dirak joined06:49
timvisher left06:49
dpyro left06:52
SwiftMatt joined06:52
gusgg joined06:52
gusgg Is there any workflow that would allow me to squash some commits in one branch, but if I wanted to, I could see the invidiual commits that comprised the squash? I could manully keep a reference to some commit hashes, but they'd only live in a feature branch, and I would like to avoid keeping arbitrarily many brnaches.06:53
Dirak left06:55
cur8or joined06:55
andrzejv joined06:56
SwiftMatt left07:00
cur8or left07:01
randominternetus grawity, like manually doing merge conflicts?:/07:02
osse joined07:04
keepLearning512 left07:06
sQVe joined07:07
dreiss left07:12
gusgg left07:18
ngui joined07:31
wxg left07:31
WolfOrwell joined07:34
ngui left07:35
ngui joined07:35
manojbagari left07:36
dreiss joined07:37
Dirak joined07:40
n3wborn joined07:41
carb0n joined07:45
seventh__ left07:45
manojbagari joined07:47
Bobdude left07:48
mikecmpbll left07:49
keepLearning512 joined07:50
mooasaur1s left07:52
justanotheruser left07:56
dege joined07:57
Phylock joined07:58
mooasaurus joined07:59
d^sh_ joined08:00
chele joined08:01
d^sh left08:04
kjartan joined08:04
mbagari joined08:06
manojbagari left08:10
mbagari left08:11
manojbagari joined08:11
rchavik_ left08:12
rchavik_ joined08:14
Makaveli7 joined08:20
gitinfo joined08:21
ChanServ set mode: +o08:21
void__ joined08:24
strugee joined08:25
fairuz left08:26
Makaveli7 left08:27
jast joined08:27
TripFandango joined08:27
jast hi guys, sorry for gitinfo outage, server needed a manual reboot for some reason08:28
TripFandango left08:28
mona_x joined08:31
carb0n_ joined08:37
carb0n left08:39
_ikke_ jast: thanks :-)08:40
mksybr left08:43
ngui left08:45
sQVe left08:45
ngui joined08:46
bsaboia joined08:49
ngui left08:50
ngui joined08:50
nowhere_man left08:50
mikecmpbll joined08:52
mikecmpbll left08:54
jubal joined08:55
nowhere_man joined08:55
jubal_ left08:57
carb0n_ left09:00
mloskot joined09:00
planetcall|work joined09:01
floppydh joined09:01
dfee left09:01
rchavik_ left09:03
rchavik_ joined09:03
dreiss left09:05
carb0n_ joined09:10
justanotheruser joined09:10
rchavik_ left09:10
mikecmpbll joined09:13
andyhuzhill left09:17
andyhuzhill joined09:17
andyhuzhill left09:21
andyhuzhill joined09:22
Noti joined09:23
cswl joined09:23
carb0n_ left09:24
aleph- left09:26
andyhuzhill left09:27
SwiftMatt joined09:27
andyhuzhill joined09:27
Tobbi_ joined09:27
bsaboia left09:28
GreenJello left09:29
SwiftMatt left09:30
drbean left09:31
andyhuzhill left09:31
andyhuzhill joined09:32
z8z left09:33
Tobbi_ left09:35
andyhuzhill left09:35
Tobbi_ joined09:36
mona_x left09:36
mona_x joined09:41
crimastergogo joined09:41
SwiftMatt joined09:43
SwiftMatt left09:43
q-chymera left09:44
mzf joined09:45
T_UNIX joined09:45
Tobbi_ left09:46
Tobbi_ joined09:48
Noti left09:49
ngui left09:50
ngui joined09:51
crimastergogo left09:51
im0nde left09:52
Noti joined09:53
yyy joined09:53
im0nde joined09:53
void__ left09:55
svennidal joined09:56
Tawonga left09:56
karoshi joined09:58
Noti left09:59
karoshi Okay I'm probably doing something daft. I'm trying to push my django set-up to git. I had it working but due to a mistake in the django config I had to make a new repo - now when I push, it says everythings up to to date. But I can only see the README.md in the repo? https://hastebin.com/anelijedeg.coffeescript10:00
canton7 karoshi, you haven't made any commits...?10:00
bookworm_bookworm10:01
Noti joined10:02
karoshi Oh, okay. Yeah that was it lol. I thought that was bundled under 'push'10:02
all working now, thx(: - Too used to github desktop treating me nice it seems10:02
duderonomy left10:03
manuelschneid3r joined10:03
sQVe joined10:04
karoshi Another quick one, I've saved my credentials using git config credential.helper store -- If I give other people access to my VPS with their own username/directory. Will they be able to push to git fine? Or will it try and do it with my credentials?10:05
ngui left10:05
ngui joined10:05
manuelschneid3r left10:05
manuelschneid3r joined10:06
carb0n_ joined10:07
canton7 git-credential-store puts your credentials in ~/.git-credentials, so it's local to you10:08
man git credential-store10:08
gitinfo the git-credential-store manpage is available at https://gitirc.eu/git-credential-store.html10:08
Tawonga joined10:09
D630 joined10:11
HZun joined10:11
dege left10:11
tgunr_ left10:12
tgunr joined10:13
blackntan joined10:13
ngui left10:15
ngui joined10:16
planetcall|work I am trying to migrate my source from TFS to Git. I want to remove and dereference some directories which contain large blobs like zip etc. I found the way to do it on this link. https://dalibornasevic.com/posts/2-permanently-remove-files-and-folders-from-a-git-repository. The problem is that it is taking very long. I might be doing something wrong.10:17
executing something like -> git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch filename' --prune-empty --tag-name-filter cat -- --all is taking very long time10:17
any better idea?10:18
Kaisyu left10:19
catsup left10:19
catsup joined10:19
ngui left10:20
catsup left10:20
ngui joined10:20
karoshi canton7: ty10:20
catsup joined10:21
Noti left10:23
kjartan left10:26
mona_x left10:27
kjartan joined10:28
crimastergogo joined10:29
ngui left10:30
ngui joined10:31
crimastergogo left10:31
mona_x joined10:32
[twisti] joined10:32
manojbagari left10:32
manojbagari joined10:33
[twisti] i use git in the following setup: my dev machine is windows, the folder i am working on is a mounted volume from a linux VM. all the dev tools (eclipse etc) run on the windows host. i would like to be able to check in both from linux and from windows, from the same directory. naturally, my question is about line endings. is there any sane way of living with my setup, or am i screwed ?10:33
Noti joined10:35
manojbagari left10:36
janx [twisti]++ (Personally, I've just heard that setting `core.autocrlf = false` and `core.whitespace = off` are generally good ideas, but I've never experimented with such an exciting setup. Good luck!)10:36
manojbagari joined10:36
Dirak left10:37
manojbagari left10:39
manojbagari joined10:40
n3wborn left10:40
manojbagari left10:43
tarkus joined10:43
manojbagari joined10:43
ngui left10:45
ngui joined10:45
mona_x left10:46
manojbagari left10:46
manojbagari joined10:47
karoshi left10:50
manojbagari left10:50
manojbagari joined10:50
ahmed89 joined10:51
mona_x joined10:51
YuGiOhJCJ joined10:52
manojbagari left10:53
manojbagari joined10:54
Puffball_ left10:54
manojbagari left10:57
carb0n_carb0n10:57
manojbagari joined10:57
manojbagari left11:00
Noti left11:01
manojbagari joined11:01
mona_x left11:02
jungsubk joined11:04
SwiftMatt joined11:04
manojbagari left11:04
SwiftMatt left11:04
manojbagari joined11:04
ngui left11:05
ngui joined11:06
stitched_unicorn joined11:10
ngui left11:10
ngui joined11:10
afidegnum left11:11
keepLearning512 left11:16
troulouliou_div2 joined11:16
jungsubk left11:21
jstein_ joined11:22
jstein_jstein11:22
rez- joined11:22
stitched_unicorn left11:25
yyy left11:36
q-chymera joined11:37
m1dnight_ left11:37
ngui left11:40
ngui joined11:41
jast [twisti]: if your windows dev tools respect platform defaults, a .gitattributes file should do the trick11:42
see !crlf11:42
gitinfo To fix problems with line ending on different platforms, check out http://line-endings.gitrecipes.de/. Line ending normalization can be the cause of changed files that appear to not go away.11:42
m1dnight_ joined11:43
jast you might get warnings, though, because the linux client will be expecting the files in the working tree to be LF-encoded, while Windows will expect CRLF11:43
mra90 joined11:45
jubal left11:46
jubal joined11:48
troulouliou_div2 left11:48
ngui left11:50
ngui joined11:50
mra90 why after "git pull master" I don't see commits history from master?11:50
hmm I think if that would be OK, expected11:51
keepLearning512 joined11:52
canton7 mra90, you should get an error: the syntax is 'git pull <remote> <branch>' or 'git pull <remote>', and 'master' is a branch, not a remote11:55
mra90 canton7: what if I have local branch called master11:57
I don't see any error here11:57
canton7 'git pull' is for fetching updates to a branch from a remote repository, and then merging them into your current branch11:58
like I said, the first argument is the name of the remote repository to fetch changes from11:58
mra90 canton7: ok make sense11:58
canton7 now, it makes sense to run 'git merge master', as that will merge your local master branch into your current branch11:59
mra90 canton7: yes this is what I did11:59
canton7 you said you ran "git pull master"11:59
jast and 'git merge master' doesn't make sense, either, while you have master checked out :)12:00
rtjure joined12:00
supernovah left12:01
mra90 can I cherry pick specyfic file from other branch?12:03
jast not exactly - you can checkout an arbitrary version12:03
sQVe left12:03
jast you can also apply a diff for a specific file from an arbitrary version but it's a little more work12:03
mona_x joined12:04
troulouliou_div2 joined12:08
ngui left12:10
ngui joined12:11
snakegums_ left12:14
ngui left12:15
ngui joined12:15
sQVe joined12:17
sybariten joined12:18
dege joined12:18
sybariten hey, a question about Good Practice (TM). So i'm a real amateur programmer and make a script here and there to help with daily chores. Do you guys keep a folder like ~/usr/bin where you have different kind of script files? If so, do you version them, and is that in one big repo then? Cause git would want individual things to be in individual folders, right?12:19
grawity yes12:20
so I have a ~/bin and it's one big repo12:20
alcohol left12:20
jast git doesn't really care about folders, but separate projects are best kept in separate repositories12:20
grawity 1) it does; tree objects are folders12:20
2) it does; enjoy putting two git repos under the same ~/foo/12:20
jast in terms of versioning things properly, I mean12:20
that said, for a collection of small scripts that's probably overkill12:21
grawity I assume sybariten was asking about #2 here anyway12:21
which, well, it's possible but it's also annoying12:21
yyy joined12:21
jast so you could definitely do worse than stuffing your scripts in a repo in whichever way you like12:21
but if there's anything that evolves into more than a small script, I'd consider moving it into its own repo12:21
sybariten jast: ok, gotcha. grawity: yup, #2 in a way12:23
grawity my code repo has ended up in a bit of a mess, to put it mildly12:23
sybariten i'll make one common repo then... sigh.. and will try to think of a catchy name.... thanks for your help!12:23
grawity but whenever a script ends up outgrowing it, I try to extract its commits with filter-branch12:23
jast it's technically possible to have multiple repos use the same working tree (= essentially base folder), but it's a huge hassle to work with12:23
sybariten: here's a free name suggestion for you: 'scripts' :P12:24
sybariten jast: considering i'm still learning about the basic concepts of git and versioning (such as branches and trunk and what have ya), i think i'll stay as far away from hassle as possible12:24
g2anj joined12:24
jast yeah, smart choice.. I wouldn't recommend it to a seasoned git user12:25
furrymcgee left12:25
armyriad left12:25
sybariten btw, follow up question .... is git:ing directly from inside emacs also a hassle? I bet it's possible and some people do it. But i'm often surprised of how bloody complicated it can be to actually set up some things in emacs12:25
armyriad joined12:25
grawity https://magit.vc/12:26
jast there's a plugin called magit12:26
grawity because of course there is12:26
jast I tried it briefly when I test-drove emacs, looked good12:26
lucasb joined12:26
sybariten okay12:26
treehug88 left12:27
waffeln left12:27
mobile_c left12:32
troulouliou_div2 left12:32
esrse left12:32
mingdao_mingdao12:33
donofrio left12:34
donofrio joined12:34
ngui left12:35
ngui joined12:36
keepLearning512 left12:36
troulouliou_div2 joined12:42
kerframil joined12:43
ngui left12:45
tarkus left12:46
jstein left12:48
sybariten cleanest? ~/bin/script or ~/bin/scripts ?12:50
ngui joined12:51
dawik both sheit12:51
grawity why not just ~/bin12:51
Essadon joined12:54
ngui left12:55
ngui joined12:55
mra90 why I have to use "force with lease" the second time I want to push my branch?12:57
grawity the second time, after what actions?12:57
_ikke_ mra90: did you rewrite comits?12:57
ie, commit --amend, rebase12:57
grawity the short answer is "because of something you did between the first push and now"12:57
mra90 _ikke_: yes I did --amend12:57
blackntan left12:58
_ikke_ Then that's the reason12:58
grawity then your push is trying to remove the old commit from the server12:58
and that's only allowed with --force12:58
mra90 okay make sense12:58
i have one more problem, I pushed just one commit to github but there I see two commit for pull requests12:59
Noti joined12:59
mra90 the new one and the one from a month ago12:59
how is that possible?12:59
canton7 mra90, presumably the branch that you pushed had 2 commits on it13:03
mra90 no there is only one above master13:04
canton7 output of !lol ?13:05
gitinfo A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all13:05
alcohol joined13:06
treehug88 joined13:06
keepLearning512 joined13:06
_ikke_ mra90: is the remote master behind?13:07
mra90 _ikke_: yes13:07
canton7 ah, good spot13:07
blackntan joined13:07
_rgn is there a tool that could come up with a simple commit message based on the git status, like, "added foo.png" if there's a single added file etc. obviously this is not how i typically write commit messages but sometimes the commit message can't be anything more informative13:07
mra90 I noticed that in github it says that my new commit has two parents hmm weird isn't it?13:07
_ikke_ mra90: that means it's a merge commit13:08
grawity did you do something like13:08
mra90 yes, so what is wrong?13:08
grawity push, amend, push again, get an error about --force, try to pull instead, don't bother looking at what you pulled, push again13:09
dslegends joined13:09
grawity when you do that, you end up with a merge of both the old and new commits13:09
_ikke_ That's plausible13:09
mra90 grawity: I might have done it but I see no probelm with that13:10
_ikke_ mra90: then you end up with what you see now13:10
grawity you just said it's "weird"13:10
if you've done it, then it's literally the cause for the merge commit (i.e. the commit with two parents)13:10
mra90 grawity: I said the github outcome of all this action is weird13:10
not what I have done13:10
grawity what's weird about it?13:10
a merge by definition has two parents13:11
troulouliou_div2 left13:11
sybariten grawity: if just ~/bin, should the repo be bin.git then? And the reason i thought about a subdir was that i might have small individual binaries that are compiled on a user level, in that dir13:11
mra90 grawity: as I said I made single commit but end up with two13:11
grawity no13:11
mra90 ok so I will reset it all and start over with pull instead of mege13:11
grawity you 1) made a single commit, 2) amended it, creating a new commit and throwing away the old one, 3) ran 'git pull', re-downloading the old commit alongside the new one13:11
_ikke_ not redownloading mind you13:12
grawity not like it matters now13:12
whether it's redownloaded or whether it was cached doesn't change the outcome13:12
mra90 so what sould I do now?13:12
grawity in order to achieve what?13:13
mra90 single commit pull request in github13:13
^^13:13
My plan is reset to last commit before merge13:15
then pull upstream/master13:15
then make new commit & push again13:15
ngui left13:15
ngui joined13:16
mra90 ohh I still see that commit ;/13:19
D630 left13:20
manuelschneid3r left13:22
ngui left13:25
ngui joined13:25
mbagari joined13:25
D630 joined13:29
mra90 shit I just can't fix it! ;(13:29
why do I see that commit which has already been merged13:29
manojbagari left13:29
johnny56_ left13:29
jubal left13:29
manojbagari joined13:30
mbagari left13:30
jubal joined13:32
DLFRDGdilfridge13:33
bbenz joined13:33
manuelschneid3r joined13:34
treehug88 mra90 you could cut a new branch from master13:35
mra90 treehug88: yes but I would like to fix that one13:35
ngui left13:35
bbenz do you guys use git for deployment?13:35
mra90 the strange thing is it look like pull from master doesn't work since at least one file has different content13:35
ngui joined13:36
treehug88 at what cost in labor? :] the point is to get the branch/PR merged I presume. Sorry don't know how to fix your issue13:36
bbenz I've seen companies that used git for deployment13:36
worked at them, even13:37
bbenz treehug88: I'm using git for deployment at my current company13:37
I kind of had to defend my design yesterday and I fumbled13:37
treehug88 every deployment method has pros and cons13:38
bbenz my best answer was "somebody I met at a hackathon says he does it all the time"13:38
treehug88 yeah that's not a widely appreciated argument, it's not even a call to authority really13:38
bbenz yeah I know, like I said I was fumbling13:38
treehug88 how about 'avoids an extra step bundling code into a tarball' and 'provides the exact files to production needed'13:39
bbenz well, the other dev at my company didn't know much about git13:39
treehug88 and 'less moving pieces'13:39
CodeSlingerPaul joined13:40
bbenz he set the production code as the remote environment13:40
ngui left13:40
bbenz the remote repo is the production environment13:40
ngui joined13:40
bbenz and I was like "that's not the point of a remote repo"13:40
he said it just skips a step, which is true in a sense13:41
so for the other major project in my company I set up a remote repo, and I log onto the production server and pull the repository whenever we want to roll out an update13:42
am I making a fool of myself? I don't want to prove myself right, I want to be less wrong. Git for deployment is a thing, right?13:42
Eryn_1983_FL left13:44
Eryn_1983_FL joined13:44
veegee left13:45
veegee joined13:47
ngui left13:55
ngui joined13:56
mrom joined13:57
mrom left13:57
mrom joined13:59
mrom left13:59
ngui left14:00
Guest1337 joined14:03
xcm left14:04
jast !deploy14:04
gitinfo Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html14:04
xcm joined14:04
bbenz thanks jast14:05
jast it's not always a good idea to do it with git only, e.g. if permissions matter14:05
KeyJoo left14:05
jast and ownership and stuff like that14:05
thiago joined14:05
jast or if any of the files need processing, e.g. built or reorganized from repo contents14:06
ngui joined14:06
bbenz jast: I am actually dealing with permissions issues right now14:07
Guest1337 left14:07
bbenz jast: I don't want to stray off topic, but what is the solution for these deployment things?14:07
I mean, if you can just point me in the right direction I'll take my research elsewhere14:08
maybe not THE solution, but A solution would14:08
mra90 ok I solved it14:08
blackntan left14:09
ngui left14:10
ngui joined14:10
dege left14:12
fission6 joined14:12
johnny56_ joined14:13
jast bbenz: could range from a build server that creates container/VM images -- to a script that fetches data from git and then sets the permissions14:13
xcm left14:14
xcm joined14:16
Noti left14:18
dpyro joined14:18
dviola joined14:19
bbenz jast: thank you14:21
random_yanek left14:24
SerialSmile joined14:29
blackntan joined14:34
ngui left14:35
andrzejv left14:36
kjartan left14:36
ngui joined14:36
HZun left14:37
kjartan joined14:38
topdownjimmy joined14:39
topdownjimmy Is it possible, when doing git log -Skeyword, to also show the hunks that contain my search keyword? If I add the -p flag, it shows me *all* diffs, but I'd like to see only the ones that contain the keyword.14:40
dege joined14:41
thiago left14:44
ngui left14:45
HolodocPrime joined14:45
D630 left14:45
cdown joined14:48
dviola left14:50
sQVe left14:51
manojbagari left14:53
bdonnahue bdonnahue14:53
manojbagari joined14:53
randominternetus left14:56
mra90 left14:56
ngui joined14:56
manojbagari left14:57
boombatower joined14:57
manojbagari joined14:57
manojbagari left15:00
ngui left15:00
ngui joined15:00
manojbagari joined15:00
Inline joined15:01
cdown left15:01
redrambl5s joined15:01
cdown joined15:03
manojbagari left15:04
manojbagari joined15:04
greggerz joined15:04
redrambl6s joined15:05
manojbagari left15:07
sjoshi joined15:07
manojbagari joined15:08
ngui left15:10
ngui joined15:11
manojbagari left15:11
maryo joined15:11
manojbagari joined15:11
carb0n left15:12
carb0n joined15:12
tsdh left15:12
Dougie187 joined15:14
manojbagari left15:14
manojbagari joined15:14
Raed left15:15
julius_ joined15:15
julius_ hi15:15
manojbagari left15:18
manojbagari joined15:18
cdown left15:19
ngui left15:20
ngui joined15:20
downer06 left15:20
manojbagari left15:21
sQVe joined15:21
manojbagari joined15:21
Noti joined15:22
manuelschneid3r left15:23
keepLearning512 left15:24
downer06 joined15:24
Raed joined15:24
manojbagari left15:25
manojbagari joined15:25
keepLearning512 joined15:25
thiago joined15:26
rez- left15:26
Noti left15:26
carb0n left15:27
keepLearning512 left15:27
stitched_unicorn joined15:27
manojbagari left15:28
llef joined15:28
manojbagari joined15:28
dudek joined15:29
troyt left15:30
llef problem: the git-client that pushed a commit now doesn't seem to "see" that commit as pushed; meanwhile, a colleague's git-client doesn't "see" that commit either, but he cannot push to the given branch, because git says he needs to pull from it first; meanwhile, BitBucket's web-UI shows the commit15:31
there on the given branch15:31
... also, attempts to pull or fetch from the branch seem to all succeed (no visible errors)15:31
manojbagari left15:32
manojbagari joined15:32
llef ... also git fsck and git show (with the given commit) don't seem to show corruption15:33
julius_ left15:33
cswl left15:33
wadadli trying to write some automation here15:40
how can I get git to tell me all the things that changed in a commit since the last commit?15:41
by all the things I mean files15:41
powerbit left15:42
troyt joined15:44
wxg joined15:48
jacksonisiahpro joined15:48
gitinfo set mode: +v15:49
_ikke_ git show --name-only15:51
for scripts, it might be better to use git diff-tree --name-only HEAD~ HEAD15:52
julius_ joined15:53
julius_ sorry...disconnect15:53
i simply redownloaded the code with git clone15:54
wadadli _ikke_: so many ways to achieve the same outcome but wonder what the implications are using git show, git diff-tree, git rev-parse, git diff etc15:54
cdown joined15:59
dege left15:59
ngui left16:00
ngui joined16:01
wadadli git diff-tree --no-commit-id --name-only -r HEAD16:01
does a good job for me16:01
_ikke_ git show is an end-user command, the output could very from git version to git version16:02
git diff-tree and rev-parse are mean for scripting, so the output is more stable / defined16:02
al-damiri joined16:03
wadadli makes me wonder what the difference is between git-diff and git-diff-tree16:04
the issue is determining how many commits are in the PR16:06
mikeputnam joined16:06
wadadli or how many commits were added since the last commit16:07
I don't think git has a notion of this16:07
ngui left16:10
ngui joined16:10
Neophyliam joined16:10
flying_penguin joined16:11
AllenJB joined16:12
Neophyliam left16:12
AbleBacon joined16:13
nowhere_man left16:13
stitched_unicorn left16:14
dfee joined16:14
dpyro left16:15
dege joined16:16
Peng_ joined16:18
manojbagari left16:20
manojbagari joined16:20
ToBeFree joined16:21
jacksonisiahpro left16:21
dege left16:21
dviola joined16:21
kerframil left16:23
ToBeFree left16:23
manojbagari left16:24
manojbagari joined16:24
mat001 joined16:24
stitched_unicorn joined16:25
sylario joined16:26
lucasb left16:26
oxymoron93 left16:27
manojbagari left16:27
lacrymology joined16:27
chrisml how can i revert a patch to a file in a specific commit?16:27
dege joined16:27
manojbagari joined16:28
chrisml the commit has a lot of changes to different files, and the file in question has a lot of changes16:28
mat001 left16:28
thiago git revert, then undo (don't commit) the changes to all other files16:28
chrisml i might just manually do it xD16:29
osse you can git diff -R commit~ commit | git apply16:29
ehh16:29
git diff -R commit~ commit -- file | git apply16:29
dpyro joined16:29
ngui left16:30
mfoolb joined16:30
ngui joined16:31
manojbagari left16:31
manojbagari joined16:31
sQVe left16:31
keepLearning512 joined16:32
tjagad left16:34
mfoolb I have a lame question.. sorry about that. I want to make;make install a specific revision from a git repo.. what else I should do after git checkout hex_code?16:34
nowhere_man joined16:34
manojbagari left16:34
osse mfoolb: nothing git-specific.16:34
make; make install I guess16:34
manojbagari joined16:35
ngui left16:35
ngui joined16:35
mitchell joined16:35
floppydh left16:36
Peng left16:36
Peng joined16:36
chele left16:36
mfoolb osse: I did that but the git repo I'm using has only a branch so version is the same for all the revision I use, How can I check that I'm running the revision I need after installing?16:37
keepLearning512 left16:37
manojbagari left16:38
jwr joined16:38
osse mfoolb: how does the program determine the version number?16:38
manojbagari joined16:38
jwr If I setup support for git lfs, then add a large file and push, do all of my coworkers need to them set up support for lfs on their machines too?16:38
mfoolb osse: There's just one branch.. same version different committs/revision I need to test some of these.. I have the hex_code referring to the revisions16:39
osse I don't know then16:40
Manually change the version number before compiling and check that it is what you expect16:40
Do you have any reason to believe you're running the wrong version?16:40
GreenJello joined16:40
mfoolb osse: well no if they all don't work :/16:41
manojbagari left16:41
snits joined16:41
manojbagari joined16:42
osse mfoolb: after git checkout you get the source code you asked for, and that's that. after make and make install that code is compiled I guess.16:42
what the version number is is not up to git16:42
mfoolb osse: Thank you.. that was what I thought.. bye16:42
mfoolb left16:43
manojbagari left16:45
GreenJello left16:45
ngui left16:45
manojbagari joined16:45
mona_x left16:45
ngui joined16:46
manuelschneid3r joined16:46
manojbagari left16:49
manojbagari joined16:49
\void joined16:50
ngui left16:50
ngui joined16:50
SerialSmile left16:51
manojbagari left16:52
manojbagari joined16:53
svennidal left16:53
ngui left16:55
ngui joined16:56
manojbagari left16:56
manojbagari joined16:56
czart joined16:57
manojbagari left16:59
manojbagari joined17:00
SmashingX This should show me uncommited commits, am I right? git log --oneline @{upstream}..17:02
it used to work before17:03
manojbagari left17:03
manojbagari joined17:03
SmashingX I mean, I think the part that I'm not sure if it's right is the @{upstream} one17:03
and the two dots17:03
parsnip left17:04
dpyro left17:04
ngui left17:05
ngui joined17:05
osse SmashingX: unpushed, yes17:06
parsnip joined17:06
osse it's an abbreviation of HEAD@{upstream}..HEAD17:06
you can shorten it further: @{u}..17:06
manojbagari left17:06
SmashingX unpushed commits, my bad17:06
commited but unpusshed17:07
unpushed17:07
manojbagari joined17:07
SmashingX osse: but I get an error17:07
that's why I ask17:07
osse ok17:07
which one17:07
manojbagari left17:10
sjoshi left17:10
manojbagari joined17:10
ngui left17:10
fission6 left17:10
ngui joined17:11
manojbagari left17:13
random_yanek joined17:13
random_yanek left17:13
manojbagari joined17:14
ngui left17:15
ngui joined17:15
random_yanek joined17:16
nowhere_man left17:16
nowhere_man joined17:16
manojbagari left17:17
acercle joined17:17
manojbagari joined17:17
fission6 joined17:20
manojbagari left17:20
crimastergogo joined17:20
afuentes joined17:20
Amnesia joined17:21
manojbagari joined17:21
Amnesia question, how can I squeeze two commits into a single one?17:21
(after stuff has been pushed)17:21
Mattiaslndstrm joined17:21
rick8024 joined17:21
nowhere_man left17:22
Amnesia (and a MR has been created as well..)17:23
KnoP left17:23
rick8024KnoP17:23
osse Amnesia: you will have to do an interactive rebase, then force push17:24
manojbagari left17:24
osse if it's for an MR then that's usually not a problem. It's fairly common17:24
manojbagari joined17:24
yyy left17:25
ngui left17:25
yyy joined17:25
ngui joined17:26
Amnesia hm, lemme see how this works, vim openend:D17:26
tyvm osse17:26
bbenz left17:26
SmashingX osse: https://paste.centos.org/view/09556d6617:27
manojbagari left17:27
Siecje joined17:27
duderonomy joined17:27
manojbagari joined17:28
Siecje Is it possible to view all changes in meld, Right now I can do `git difftool --tool meld` and it will open each file one at a time.17:29
parsnip left17:29
Mattiaslndstrm left17:29
mikecmpbll left17:30
manojbagari left17:31
lghtstkrlightstalker17:31
manojbagari joined17:31
mat001 joined17:32
parsnip joined17:32
wxg left17:33
Siecje Okay it is git difftool --tool meld --dir-diff17:33
maryo left17:33
manojbagari left17:34
manojbagari joined17:35
ngui left17:35
ngui joined17:35
Mattiaslndstrm joined17:37
guardian if I add * in a .gitignore, does it prevent git from looking at subdirs?17:38
GreenJello joined17:38
manojbagari left17:38
grawity generally it should, because it will match the subdirs themselves17:38
manojbagari joined17:38
guardian I'm failing at using both "*" and "!subdir/*.foo" :(17:38
Amnesia left17:39
grawity try **17:39
just to make sure, are those files currently untracked?17:39
TJ- joined17:40
fission6 left17:40
guardian no they'r enot17:40
the .gitignore is in a subdir of the repo17:40
crimastergogo left17:40
guardian that subdir has further subdirs17:40
and does the order of patterns have importance?17:40
(loooong time I didn't use all that)17:41
crimastergogo joined17:41
grawity if files are tracked, they will remain tracked regardless of what .gitignore says about them17:41
manojbagari left17:41
manojbagari joined17:42
mikecmpbll joined17:43
manojbagari left17:43
Siecje left17:43
fission6 joined17:43
wootehfoot joined17:44
prg318 joined17:44
guardian yeah in fact I think my big mistake is now paying enough attention to * vs /*17:44
jwr left17:48
Envil joined17:50
ngui left17:50
ngui joined17:51
manuelschneid3r left17:51
AtumT joined17:52
prg318 left17:52
sleepingforest when merging from branches, is there a way to omit the commit "merge branch X"17:53
wildlander joined17:54
prg318 joined17:54
ngui left17:55
ngui joined17:55
czart left17:56
AtumT left17:58
AtumT joined17:58
mat001 left18:00
SGrover joined18:00
ngui left18:00
sanscoeur joined18:00
mat001 joined18:00
ngui joined18:01
lmat joined18:02
SGrover Not sure if I'm dealing with a GIT issue, or a Gitea issue (most likely). I create a pull request in Gitea from my develop branch to my master branch. It lists commits/files from the past few months. If I run git diff master develop --names-only - I see a small handful of files I have modified today.18:02
iam730 joined18:03
lmat What is possible in git that is not possible in SVN?18:03
julius_ left18:03
SGrover At this point I'm going to do the manual merge, but I'm concerned my repo may be out of whack. Any feedback on this?18:03
lmat One's distributed, one's centralized, so being able to work without everyone having a connection to the central repo is big.18:04
_ikke_ lmat: sane branches18:04
lmat Another one maybe: SVN can't merge in changes more than once?18:04
_ikke_ lmat: I think that's not true anymore18:04
lmat _ikke_: I'm more interested in what a developer can do rather than how the two are implemented...if that makes sense :-)18:04
mat001_ joined18:04
_ikke_ lmat: Well, it does benefit the developer18:05
ngui left18:05
SmashingX Why I'm getting an error then? https://paste.centos.org/view/09556d6618:05
ngui joined18:05
mat001 left18:05
_ikke_ SmashingX: Might be that you did not set an upstream for the current branch18:05
SmashingX ? how do I set it up?18:06
lmat SmashingX: git help branch; look for --set-upstream or so.18:06
_ikke_ git branch --set-upstream-to <remote>/<branchname> <branchname>18:06
SmashingX before I do that what's the definition of upstream in this case?18:07
lmat A lot of the differences between git and svn seems to focus on the client: "merging is easy" seems mostly to be a matter of tooling.18:07
alyptik left18:07
plexigras joined18:09
e the big difference is local branches18:10
merging is easy (and most things git users like are possible) *because* of the decentralisation18:10
orbyt_ joined18:10
lmat e: "merging is easy" I agree that the git client is better at presenting merges to the user, but this isn't about "git"; given a better svn client, svn should be just as good, no?18:11
redrambl6s left18:12
e did you finish reading the sentence18:12
lmat e: Oh, I didn't read it correctly. How does decentralization make merging easy?18:12
e: Because all branches concerned are local, so it works quickly?18:12
hofmann3900 left18:12
redrambl5s left18:13
e right, the "client" (it's not really a client though) knows everything18:15
nuc left18:16
e in svn, iirc, merges are just something that happen on the server and you get a conflicted result to clean up if they didn't work, and in order to change it the repository would have to have more state (and there'd have to be more protocol, but i guess that's less important) until it was essentially like everyone running git remotely18:17
jhulten joined18:18
nuc joined18:20
nuc left18:21
lmat e: "it's not really a client though"? Of course it is... you type "git checkout" rather than "git get" because the git *client* (that is, the command-line interface) doesn't understand "get". Likewise, I have to git clone --max-depth=1 ...proj; cd proj; rm -rf .git; instead of git export ...proj; because the git *client* doesn't understand "export".18:22
nuc joined18:23
lmat e: Now, there is also a set of protocols, and that's what I'm interested in. For instance, the fact that SVN branches and tags amount to copy-on-write directories, and "pointers" in git; these are more fundamental protocol differences.18:23
orbyt_rep_bot18:24
rep_botorbyt_18:25
lmat "svn creates .svn directories in every folder", again a client issue (fixed in svn 7, right?)18:26
"You have to tell SVN whenever you move or delete something. Git will just figure it out." Again, that's because the SVN client isn't very smart, right? I mean, some fairly simple code (lifted largely from git?) could be employed to make the same magic happen in SVN...18:26
durham joined18:27
bremner well, in principle svn could have been identical to git, except for the name.18:28
So I'm not sure how useful hypotheticals are here.18:28
JeffH joined18:29
planetcall|work left18:30
ngui left18:30
ngui joined18:31
chamunks joined18:31
tgunr left18:32
ngui left18:35
ngui joined18:35
stitched_unicorn left18:35
leeN joined18:40
ngui left18:40
ngui joined18:41
crimastergogo left18:42
ngui left18:45
royal_screwup21 joined18:45
ngui joined18:45
orbyt_ left18:45
geekodour08 joined18:45
manuelschneid3r joined18:46
kjartan left18:46
royal_screwup21 my git status looks like this: https://repl.it/repls/GorgeousIntelligentCoordinate18:46
irdr joined18:47
royal_screwup21 how do I undo those unstaged commits?18:47
_ikke_ unstaged modified files?18:47
ChrisLane joined18:48
lmat "Ignore semantics are easier in git." Certainly a client issue...he just doesn't like how the ignore properties are implemented in SVN18:48
kjartan joined18:48
fission6 left18:48
royal_screwup21 _ikke_: yup...actually just realized, I can do git checkout <file>18:48
lmat bremner: Maybe you're right; maybe it's silly to consider "svn" apart from the svn client. Also, maybe I'm looking for a difference that I'm not allowing to exist...18:49
royal_screwup21 _ikke_: when I do add "git add .", for some reason it doesn't stage those files18:50
Makaveli7 joined18:50
lmat royal_screwup21: That would be because they're the same as the index already?18:50
(they're pristine?)18:50
axisys_ left18:50
royal_screwup21 ahh I think I know why, it might be because I'm git add . -- the "." there stages everything in the current directory18:50
lmat royal_screwup21: Sure...everything that's different from the index anyway (either added or modified).18:51
czart joined18:51
ngui_ joined18:51
axisys joined18:51
JeffH left18:52
orbyt_ joined18:52
ngui left18:55
ngui_ngui18:55
keepLearning512 joined18:55
anderson joined18:57
gitinfo set mode: +v18:57
jhulten left18:57
Sasazuka joined19:01
eldritch joined19:02
mat001_ left19:02
ngui left19:04
ozcanesen joined19:05
mat001 joined19:05
ngui joined19:05
fission6 joined19:05
Dirak joined19:06
swift1 joined19:07
mat001 left19:09
alyptik joined19:10
ngui left19:10
ngui joined19:11
sanscoeur left19:11
geekodur08_ joined19:12
geekodour08 left19:13
mattcen left19:14
mattcen joined19:16
Phylock left19:16
sanscoeur joined19:20
sanscoeur left19:21
im0nde left19:22
stitched_unicorn joined19:23
psprint joined19:25
psprint n19:25
Hello. What happened that I've suddenly have to enter password on OS X, despite that the KeyRing is there, available like before when it was working?19:25
blackntan left19:27
ozcanesen left19:27
ngui left19:30
ngui joined19:30
psprint I've tried rebooting19:30
satifant left19:30
sanscoeur joined19:32
jhulten joined19:32
ghost43 left19:34
mattcen left19:35
yyy left19:35
T_UNIX left19:35
ghost43 joined19:35
yyy joined19:35
stitched_unicorn left19:36
im0nde joined19:36
mattcen joined19:36
Scriptonaut joined19:38
Scriptonaut hey, I added a submodule to a branch, everything is working fine, however when I switch branches, my status shows me that the submodule directory is an untracked file. Why is the submodule moving branches with me, shouldn't it stay on the branch I put it on?19:39
mat001 joined19:39
altendky joined19:41
satifant joined19:44
nextloop Scriptonaut: maybe you do not have the submodule in the other branch yet?19:45
wootehfoot left19:46
_ikke_ psprint: can you check git config credential.helper?19:47
RuckusBringer joined19:48
rar joined19:49
rar hey. if I rebase my branch from master (this is github), then I have to force-push as otherwise I get errors about being behind19:49
is there a better way?19:50
altendky rar: i merge so as to keep history instead of rebase which rewrites history to make it look tidy19:50
rar i currently fetch --all and then rebase upstream/master19:50
altendky rar: rebase is literally destroying all your commits and rebuilding them from a different base19:50
rar altendky: ok, just a basic merge?19:51
from the branch?19:51
altendky rar: --no-ff personally19:51
Scriptonaut nextloop: it's not in the other branch, and I don't want it in the other branch19:51
I want it to stay on that branch19:51
or should I add it to both?19:51
rar altendky: but will my own commit then be on top of what others have done?19:51
osse SmashingX: your shell is removing the {} for some reason19:52
rar thought I had to rebase to make that happen19:52
osse SmashingX: quote it19:52
SmashingX osse: oh, is that the problem?19:52
I'm using fish19:52
osse judging from the error message it is19:52
SmashingX yup you were right19:52
it works now19:53
but what is the @{upstream} in this case?19:53
altendky rar: this has a couple pictures https://www.atlassian.com/git/tutorials/merging-vs-rebasing19:53
rar: or https://hackernoon.com/git-merge-vs-rebase-whats-the-diff-76413c11733319:54
ngui left19:55
rar altendky: ok, just asking :) I know my team mates want clean looking pull requests on github19:55
osse SmashingX: it's a short way of referring to whatever is the current branch's upstream branch19:55
ngui joined19:56
RuckusBringer left19:56
osse SmashingX: e.g. master's upstream branch is usually origin/mastër19:56
SmashingX: run git branch -vv. the upstream branches are inside [ ]19:56
flobin joined19:56
altendky rar: there's plenty of opinion on this. i prefer accurate history to tidy history in most cases. especially when it's already been shared (such as pushing to a server that isn't just yours)19:57
flobin hi everybody19:57
Scriptonaut so what do I do about my submodule, do I have to just add it on the other branch?20:00
ngui left20:00
Scriptonaut you can't have submodules only exist on certain branches20:00
ngui joined20:00
Scriptonaut once you add them, they must be added to the whole project?20:00
sanscoeur left20:00
SmashingX osse: but that branch is set to origin/master by default when you set up the repository?20:00
sanscoeur joined20:01
irrgit left20:03
psprint _ikke_: you're right, the credential-helper ... osxkeychain was commented out, I did this and forgot about it, THANKS20:05
yyy left20:05
orbyt_ left20:06
tarkus joined20:07
Sasazuka left20:07
czart left20:10
ngui left20:10
topdownjimmy Is it possible, when doing git log -Skeyword, to also show the hunks that contain my search keyword? If I add the -p flag, it shows me *all* diffs, but I'd like to see only the ones that contain the keyword.20:10
ngui joined20:10
mattcen left20:14
ngui left20:15
_ikke_ psprint: no problem :-)20:15
Toadisattva joined20:15
ngui joined20:15
mattcen joined20:16
fstd_ joined20:19
nextloop Scriptonaut: maybe you need to use git submodule deinit20:20
[twisti] left20:20
nextloop not sure, never was in your situation20:20
dviola left20:21
fstd left20:23
fstd_fstd20:23
orbisvicis joined20:24
orbisvicis does a git patch contain enough information to checkout the revision it was intended to be applied to ?20:24
altendky orbisvicis: do you have a patch you are curious about? a commit hash is generally fairly recognizable20:26
orbisvicis it was generated by git, so it contains "from: <hash>", but that's the hash of the patch without a parent. Then there is "github.com/darktable-org/darktable.git20:27
err, there is "index ced51f2..eae885c 100644", I'm not sure what that means20:28
altendky orbisvicis: yeah, i was checking that. those hashes don't match my HEAD or latest commit that changed the file in my diff20:29
e lmat: i had to go answer the phone, but no, there isn't a git client20:30
most of the git commands simply interact with a repository20:30
Zexaron joined20:30
e a few establish a client-server relationship, but most don't, and any git repository can be used as a server equally as well20:31
orbisvicis ok its a file index, need to read up on that20:32
rar left20:35
acercle left20:37
malmalmal joined20:42
malmalmal left20:43
malmalmal joined20:44
troulouliou_dev joined20:44
keepLearning512 left20:44
malmalmal left20:45
lmat e: There's no git client? How can you say such a thing?20:45
CheckDavid left20:46
malmalmal joined20:46
e it's sort of fundamental to what git is20:46
lmat e: Maybe you're talking about a "client" in a client-server relationship? I just mean "the application used to interact with the data". Like tortoise-svn is an svn client, and tortoise-git is *a* git client.20:46
yyy joined20:47
lmat And vim is a client used to edit files in /etc, etc.20:47
e well, ok, but i'm not going to say anything else, then, in case you've randomly decided other words i say mean things they don't mean20:48
lmat e: :'( You don't recognize that use of the word "client"?20:48
n3wborn joined20:48
lmat e: It's really okay to have misunderstandings like that... now I know what you mean, and I agree, there's no distinction between server and client except arbitrarily when pushing and fetching.20:49
grawity I don't think I've seen that use of the word "client" outside describing a network client-server relationship20:49
lmat e: Anyway, earlier what I meant is that the big differences cited between SVN and GIT seem to have to do with the client (the application that's used to interact with the repositories) and not with the actual differences between SVN and GIT.20:50
jhulten left20:50
AtumT_ joined20:51
lmat grawity: Check the wikipedia page for Client and search for "windos 10"20:51
jhulten joined20:52
freeman42x joined20:53
AtumT left20:53
yyy left20:53
alyptik left20:54
lmat grawity: nevermind, I just removed it. Anyway, it could be that I'm misusing the term (hence the misunderstanding with Mr. e)20:54
Scriptonaut left20:54
Envil left20:55
cbrt64 left20:55
Revan- left20:56
cbrt64 joined20:58
orbyt_ joined20:58
m0viefreak joined20:59
orbyt_ left21:00
orbyt_ joined21:02
AtumT joined21:04
AtumT_ left21:04
xcm left21:04
xcm joined21:05
mobile_c joined21:07
supernovah joined21:15
supernovah what are you supposed to do if your computer turned off during a mergetool21:16
_ikke_ supernovah: what does git status say?21:16
supernovah standard diverge comment then: you have unmerged paths, fix conflicts and run commit, abort to abort then standard semi-verbose modification output21:19
if I run git mergetool will it go over all my files again21:20
and what about the files _BACKUP _BASE _LOCAL and _REMOTE for the last file I was checking21:20
Sasazuka joined21:21
alyptik joined21:22
Makaveli7 left21:24
supernovah oh well guess I just have to do the same eight hours of work from yesterday again21:24
ngui left21:25
ngui joined21:26
_ikke_ :-(21:26
raulp left21:27
supernovah be nice if microsoft updates were my decision to apply21:27
malmalmal left21:27
powerbit joined21:28
raulp joined21:28
greatgatsby joined21:29
Phylock joined21:29
plexigras left21:30
jhulten left21:30
ngui left21:30
ngui joined21:30
craigo joined21:31
jhulten joined21:31
jhulten left21:32
orbyt_ left21:35
z|bandito joined21:36
im0ndedonlaton21:37
manuels joined21:37
dudek left21:38
donlatonim0nde21:38
jhulten joined21:38
im0ndedonlaton21:39
xcm left21:43
donlatonim0nde21:43
jungsubk joined21:43
xcm joined21:43
jhulten left21:44
duderonomy left21:44
redrambles joined21:48
jungsubk left21:51
redrambles left21:59
hahuang6-hahuang6522:04
jhulten joined22:05
Crell joined22:05
Crell Hi folks. From a script environment, what's the best/easiest way to tell if two local branches are in sync? Viz, I only want to push branch X if it has differences from branch Y.22:05
troulouliou_dev left22:07
supernovah is there a special name for the working tree, so I can git diff <hash> <working-tree> and get the +'s and minuses the right way around22:10
jast Crell: one way is to do `git rev-parse` on both of them22:11
thiago supernovah: how are they wrong now?22:11
jast supernovah: git diff -R <hash>22:12
lacrymology left22:12
Dougie187 left22:12
jast of course "right way around" is a matter of perspective, but that's the flag to flip things around :)22:13
fission6 left22:13
TheRuckus joined22:17
jhulten left22:17
sostenuto joined22:19
cebor left22:21
TheRuckus left22:21
cebor joined22:21
malmalmal joined22:23
jhulten joined22:24
LionsMane joined22:24
redrambl5s joined22:25
xcm left22:25
xcm joined22:25
q6AA4FD left22:25
malmalmal left22:26
q6AA4FD joined22:28
tarkus left22:29
mloskot left22:30
CheckDavid joined22:30
redrambl5s left22:32
jhulten left22:33
redrambles joined22:36
TJ- left22:37
shicks_ left22:38
sweatsuit left22:39
redrambles left22:40
sweatsuit joined22:40
GinoMan2440 left22:42
AbleBacon left22:43
fission6 joined22:44
jhulten joined22:46
shicks2525 joined22:46
iam730 left22:47
javaJake left22:47
AbleBacon joined22:47
jhulten left22:48
orbyt_ joined22:48
iam730 joined22:49
aleph- joined22:49
waffeln joined22:49
AtumT left22:50
flobin left22:50
jhulten joined22:51
duderonomy joined22:52
malmalmal joined22:52
jhulten left22:53
jhulten joined22:54
afuentes left22:55
malmalmal left22:57
jhulten left22:58
jhulten joined23:00
jakogut__jakogut23:01
sweatsuit left23:02
javaJake joined23:03
sweatsuit joined23:04
fission6 left23:05
fission6 joined23:10
AbleBacon left23:12
jhulten left23:12
leeN left23:13
sweatsuit left23:13
fission6 left23:14
jhulten joined23:14
mikeputnam left23:16
sweatsuit joined23:16
jhulten left23:21
xcm left23:23
xcm joined23:23
snowgoggles joined23:23
gkatsev joined23:25
jhulten joined23:27
jhulten left23:29
jhulten joined23:31
rullie joined23:31
rullie hello, how do I get the diff between branch A and B and staged that difference on A?23:32
say I'm on A right now, and I wanna "checkout" B, but I just want it staged23:33
seni joined23:33
seni does doing a hard reset delete the stash?23:33
greggerz left23:34
jhulten left23:38
_rgn no23:38
thiago left23:43
llef left23:43
jhulten joined23:46
jhulten left23:49
dpyro joined23:49
jhulten joined23:51
greatgatsby left23:52
rewt left23:52
rewt`` joined23:52
rewt``rewt23:53
jhulten left23:53
n3wborn left23:55
jhulten joined23:55
foul_owl left23:57

Logs Search ←Prev date Next date→ Channels Documentation