IRCloggy #git 2018-12-07

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.

2018-12-07

finalbeta left00:04
n3wborn left00:04
dfee joined00:04
scrptktty left00:12
energizer Do you like to do feature branches off master when working on a one-person project?00:14
Peng Sometimes00:17
pkx3 joined00:18
shicks2525 left00:18
pkx3__ left00:19
shicks2525 joined00:20
riposte joined00:20
ozcanesen left00:21
m0viefreak left00:24
graphene left00:24
jottr left00:25
graphene joined00:25
mud energizer: Sure, they still make sense. The cost is low/nonexistant, and they're good for organization. And often i'll get distracted before finishing a feature and need to do something else00:28
dege left00:31
courrier left00:32
riposte left00:38
riposte joined00:39
bavi joined00:40
energizer mud: What do you do in that case?00:41
freeman42x left00:41
mloskot left00:41
andyhuzhill joined00:41
kadoban energizer: Switch out of the feature branch and start a new one usually00:42
energizer kadoban: so on the feature branch i'd have a bunch of tiny commits, then before switching i'd commit -m'[WIP] fix typos', do work on another branch, merge that into master. come back to the original feature branch, do some more commits, and merge into master00:44
yes?00:44
er merge from master before merging into master, but otherwise ^00:45
kadoban energizer: Sounds about right, ya00:47
SlashLife^work left00:47
energizer At the bottom of this page, under "Rebase vs. Merge", it gives the impression that rebasing is *cleaner* but merging more complete/accurate/historical00:49
But if I rebased, wouldn't I be plopping all those 'fix typo x', '[WIP] do something' commits right onto master?00:50
whereas if i merge, I'd just get the single merge commit with a good commit message00:50
or is that wrong?00:50
i dont see what's cleaner about rebasing here00:51
wootehfoot left00:51
Zexaron left00:51
kadoban energizer: I am not of the school of thought that finds merging messy.00:53
energizer kadoban: like if i'm looking at the log of master, i'd just see a list of merge commits, right? not all the WIP stuff00:54
kadoban Depends which command you run I think. But ya, I like being able to see the little break outs and merges for features. It makes them nicely organized00:55
Instead of giant blocks of undifferentiated commits, you can see little outs and ins, and it gives you a chance to document in the merge commit message00:55
darkbit joined00:56
dviola joined01:00
dfee left01:00
b100s joined01:00
b100s hi2all; is there ability to revert only deleted lines ? : )01:01
gooooootime left01:02
netj left01:04
netj joined01:04
energizer kadoban: sounds perfect, thanks01:05
dansan left01:09
dansan joined01:09
paulwood_ left01:11
Solifugus joined01:14
kadoban energizer: Anytime01:14
Aquazi left01:14
kadoban b100s: Not directly, no. You can always customize a revert though (--no-commit)01:14
Solifugus I am tired of having to type in my github user/pass -- I think I remember there is a way to add it to git config... google insn't helping..01:14
jubal left01:16
acercle left01:17
orbyt_ left01:17
mud Solifugus: the usual way is to use ssh pubkey auth01:19
prakashdanish joined01:19
mud I think there's also some kind of credential manager, i never used it tho01:19
thebope left01:20
thebope joined01:20
bremner man gitcredentials01:20
gitinfo the gitcredentials manpage is available at https://gitirc.eu/gitcredentials.html01:20
bremner ssh keys are better, if you can use them01:21
iam730 joined01:23
kfoonamalik left01:23
thiago left01:25
thebope left01:25
weird_error joined01:26
graphene left01:26
graphene joined01:27
Sasazuka left01:27
iam730 left01:29
z|bandito left01:29
iam730 joined01:31
ukyrgf joined01:32
Essadon left01:32
timvisher joined01:36
qpdb left01:39
qpdb joined01:39
computerquip Is there any way to configure git to use more of my server when resolving deltas? Probably 25 minutes of building chrome goes into git and most of that is resolving deltas.01:42
keepLearning512 joined01:42
silverballz left01:44
al-damiri left01:46
novum left01:46
astrofog joined01:51
prakashdanish left01:52
Wetmelon joined01:55
thebope joined01:57
sweatsuit left01:59
sweatsuit joined02:00
prakashdanish joined02:03
craftyguy joined02:06
F0rTex left02:07
ngui left02:08
F0rTex joined02:08
in1t3r left02:09
ngui joined02:14
Narrat left02:16
dansan left02:17
dviola left02:17
dansan joined02:18
Kaisyu7 joined02:18
mce joined02:19
dzho man git config | grep threads02:20
gitinfo the git-config manpage is available at https://gitirc.eu/git-config.html02:20
dzho that shows me two config options02:20
grep.threads and pack.threads02:20
finalbeta joined02:20
dzho computerquip: not sure that'll help, but there it is02:21
silverballz joined02:23
dansan left02:24
g2anj left02:28
bn_work left02:29
esrse joined02:32
diogenese left02:33
Solifugus left02:36
silverballz left02:39
g2anj joined02:39
keepLearning512 left02:41
astrofog left02:45
navidr joined02:48
prakashdanish left02:48
weird_error left02:48
graphene left02:49
bavi left02:49
graphene joined02:49
graphene left02:50
graphene joined02:51
alex_pa joined02:56
novum joined02:56
dansan joined02:56
diogenese joined02:57
thebope left03:07
darkbit left03:07
sweatsuit left03:08
Dirak left03:09
cd left03:12
sweatsuit joined03:12
sweatsuit left03:17
sweatsuit joined03:19
mce left03:19
figurelisp joined03:24
figurelisp Now that i understand rebase i want to understand when i shouldn't rebase03:25
sweatsuit left03:25
figurelisp say all my feature branches are from develop branch. Then after working on my feature branches i merge them back to dev and make a build off develop for QA. I rebase feture branches before merging them to develop03:26
but now when pushing features to production, client decide to push 3 feature out of 4.03:27
sweatsuit joined03:27
figurelisp I have a release branch in which i merge features what should be on new release production as per client03:28
but as i havve rebase all my features, merging latest feature branch means I'll have all four features on release branch03:28
what should i do to tacle this situation03:28
If someone can help me figure out and clear out this i would be really grateful03:29
sorry for this long messages03:29
lagothrixGuest7258203:29
Guest72582 left03:29
lagothrix joined03:29
ghost43 left03:30
\void left03:31
Dirak joined03:31
ghost43 joined03:31
crackin joined03:31
cmaj9 joined03:31
nshp joined03:32
andyhuzhill left03:34
ngui left03:34
andyhuzhill joined03:34
ngui joined03:34
andyhuzhill left03:38
ngui left03:39
andyhuzhill joined03:39
ngui joined03:39
jangaljaggz03:39
jaggz deltab, I ended up emailing freenode, by the way, to lift the kline. :)03:47
deltab welcome back :-)03:47
netj left03:47
netj joined03:48
jaggz heh, thanks :)03:48
it was removed this morning sometime.. I slept through it so I didn't suffer much.03:48
fission6 joined03:52
jorj left03:53
Toadisattva joined03:53
hernan604 joined03:53
Willis left03:53
profmac left03:53
motoko-chan joined03:53
gtristan joined03:54
deltab figurelisp: I'm new to this, but I would use interactive rebase to drop the unwanted feature, either after merging to production or on a new branch03:54
jorj joined03:54
Willis joined03:55
deltab alternatively rebase the three features onto production03:55
diginaut joined03:55
profmac joined03:56
figurelisp deltab: ok, another question if you don't mind. I read that i should not rebase on public branch and only on private branch03:58
cbrt64 left03:58
figurelisp Is that also means that once i have pushed my provate branch to remote i should not rebase it03:58
deltab the issue as I understand it is that people could already be using commits, having created their own commits on top of it04:00
FermiDirak joined04:01
deltab so they'd have to do something extra, such as rebasing their work onto your new commits04:01
figurelisp what if my feature branch isn't merged back to public branch so people are not using my commit. So there is no rewrite of history of other people's commit04:01
deltab then I believe that would be okay04:03
figurelisp ok thank you for the help04:03
Dirak left04:03
deltab but I don't really understand that area, so don't rely just on what I say04:04
figurelisp ok, i'll research more on it04:04
mrCyborg|zzz left04:05
deltab oh, I think in addition to causing annoyance to people, there could also be situations in which work is lost04:05
mrCyborg|zzz joined04:05
deltab especially if using 'force' to overwrite branches04:07
howdoi joined04:07
figurelisp yeah but that wouldn't be the case if my commits are not known to public04:08
then force push would be only of my commits04:08
before anyone has them pulled04:08
deltab nods noncomittally04:09
ColdKeyboard joined04:09
rafasc figurelisp: that's the gist of it, yes.04:14
don't rewrite commits others might be using.04:15
many projects consider PR branches not shared, so you can rebase them at will even if they're technically public.04:15
cswl joined04:16
figurelisp rafasc: So i understand what rebase does, but only one scenario i can think of using rebase is when there are say two feature branch from develop then another developer merges his feature to develop branch. Now my feature needs to use his feature branch code so i rebase my feature branch with develop.04:17
keeping aside squashing,edit,picking or any other interactive mode features04:17
rafasc yes, but people also rebase PR's to keep up to date with the branch they intend to merge into.04:19
imagine you make a feature off develop, you do 10 commits and go on vacation. When you comeback, you do another 5 and ask the feature to be merged.04:20
Cabanossi joined04:21
figurelisp yeah04:21
rafasc the maintainer may have a hard time merging it because develop diverged substantially and he doesn't know your code well.04:21
fission6 left04:21
rafasc So you, as the person who knows more about that feature, rebase the PR on top of develop and ask to merge again.04:21
Cabanoss- left04:22
rafasc This can be done with merges, but it doesn't look as nice.04:22
merge develop into feature, then feature into develop04:22
boombatower left04:23
figurelisp yeah it sure does pollute your tree04:24
crackin left04:24
figurelisp let say one feature is completed and merged, now another feature is being worked on then rebased with develop so having code of first feature.04:25
now my client says only publish second feature to production04:26
but now second feature has code of first feature because of rebase04:26
how to tackle this situation04:26
rafasc:04:26
rafasc for that, you'll need to keep branches separate.04:29
kadoban left04:29
kegster left04:30
figurelisp this problem is more like which i have to figure it on my own right04:30
rafasc or you can try and rebase the branch onto the commit before it got merged.04:30
but for that, that branch cannot depend on the work of the previous feature.04:31
figurelisp hmm04:31
kegster joined04:32
rafasc git rebase --onto <merge_from_feature_1>^1 <first commit of feature2>^1 feature_204:32
man git rebase04:33
gitinfo the git-rebase manpage is available at https://gitirc.eu/git-rebase.html04:33
figurelisp thank you very much for thisguidance04:33
figurelisp left04:36
Emperor_Earth left04:48
Wetmelon left04:48
sweatsuit left04:49
jaggz hrm.. on github, how do I re-run a build's tests -- this one stalled for some reason: https://travis-ci.org/keras-team/keras/jobs/46441211004:49
(here's the PR: https://github.com/keras-team/keras/pull/11795 )04:49
crackin joined04:50
sweatsuit joined04:51
timj1 joined04:52
mce joined04:53
timj left04:54
crackin left04:55
dfee joined04:59
rafasc .search travis rerun build05:00
gitinfo Trigger a Travis -CI rebuild without pushing a commit? - Stack ... <https://gitirc.eu/t/ao> | GitHub - thelinuxkid/ travis - rerun: re-run Travis CI jobs offline <https://gitirc.eu/t/ap> | Auto Rerun Pull Request Builds when Target Branch ... - GitHub <https://gitirc.eu/t/aq> | ...05:01
pks_ joined05:01
pks left05:02
pks_pks05:02
awkwords joined05:03
xcm left05:08
xcm joined05:10
rafasc left05:10
KeyJoo joined05:15
sauvin joined05:18
tsdh joined05:21
libertyprime left05:22
rsrx left05:22
cbrt64 joined05:24
heroux joined05:33
topdownjimmy left05:34
topdownjimmy joined05:35
xcm left05:37
wxg joined05:38
xcm joined05:38
Toadisattva left05:43
iam730 left05:44
mce left05:45
mce joined05:47
Shentino left05:47
wxg left05:52
Shentino joined05:54
Wulf joined05:59
awkwords left06:10
alex_pa left06:14
andyhuzhill left06:14
andyhuzhill joined06:14
andyhuzhill left06:18
andyhuzhill joined06:19
cbrt64 left06:24
Goplat left06:25
sourcream joined06:28
Xiti left06:29
cbrt64 joined06:30
Xiti joined06:31
donofrio left06:31
Phylock joined06:31
sQVe joined06:32
mce left06:33
elsheepo joined06:35
cbrt64 left06:35
sourcream left06:36
plexigras joined06:37
dfee left06:39
silverballz joined06:42
plexigras left06:42
timj1 left06:46
thiago joined06:47
Ayo joined06:50
igemnace joined06:54
timj joined06:55
FermiDirak left06:55
Furai left07:03
cbrt64 joined07:03
esrse left07:05
Furai joined07:09
JoshuaD left07:11
jakogut_ left07:17
supernov1h joined07:18
alex_pa joined07:21
alex_pa left07:22
alex_pa joined07:22
awkwords joined07:23
Ayo left07:25
Ayo joined07:26
Dirak joined07:27
ghost43 left07:28
chele joined07:29
motoko-chan left07:29
supernov1h left07:29
Dirak left07:32
crimastergogo joined07:34
ghost43 joined07:36
thiago left07:36
mowcat left07:38
dfee joined07:38
Phylock left07:47
Dirak joined07:47
n3wborn joined07:49
naoey left07:52
zulutango left07:52
zulutango joined07:53
Silenced joined07:55
nxet joined07:59
Silenced left07:59
sydbarret joined08:00
sydbarret how do you export 1 file to one branch to another? or its better to go to the other brunch and import?08:00
vlt sydbarret: I’m not sure if I understand the question. The answer might involve "cherry-pick".08:02
sydbarret say you are in branch A which has a.py file but you wanna replace that file with the one you have in branch B08:03
git checkout B path/to/a.py?08:04
crimastergogo left08:04
vlt That will put it (only) in your working dir.08:05
naoey joined08:05
sydbarret so whats the answer then08:06
woulndt it replace it since im that branch already?08:06
Noti joined08:08
_ikke_ It would replace that file in your working tree08:09
You can then commit the changes to that file to get it into your branch08:10
vlt sydbarret: After checking put you can commit the file to the current branch. But you could also just cherry-pick the commit that put the file in the current state.08:10
checking *out08:10
gxt left08:10
sydbarret ok thanks08:10
sydbarret left08:10
freeman42x joined08:11
mona_x joined08:14
mona_x left08:14
ngui left08:14
mona_x joined08:14
Ayo left08:14
ngui joined08:14
Ayo joined08:17
ngui left08:19
ngui joined08:19
freeman42x left08:22
anddam left08:25
dfee left08:26
mona_x left08:27
elsheepo left08:29
Guest14049 joined08:31
gtristan left08:32
mce joined08:34
Sonderblade joined08:34
Sonderblade left08:34
dfee joined08:37
Mat001 left08:40
crimastergogo joined08:44
diogenese left08:45
mloskot joined08:45
rkta left08:45
gtristan joined08:49
diogenese joined08:49
andyhuzhill left08:51
nixroot joined08:53
andyhuzhill joined08:56
floppydh joined08:58
theoceaniscool joined08:59
cbrt64 left09:00
mona_x joined09:03
eduardas_m joined09:03
andyhuzhill left09:04
andyhuzhill joined09:05
andyhuzhill left09:09
andyhuzhill joined09:09
T_UNIX joined09:12
GreenJello left09:12
Dirak left09:13
yyy joined09:13
dpyro left09:17
nixroot left09:27
rkta joined09:32
andyhuzhill left09:33
nixroot joined09:34
im0nde left09:37
dege joined09:44
aw1 joined09:46
Emperor_Earth joined09:48
sozuba joined09:48
ngui left09:49
ngui joined09:49
d6d joined09:50
limbo_ Anyone know of a free (free software) application for viewing diffs with a UI like meld, but support for comparing arbtrary branches of a git repo.09:50
?#09:50
Emperor_Earth left09:53
joaoh82 joined09:54
Emperor_Earth joined09:55
moei joined09:56
planetcall|work joined09:57
pbodev1 Hi, do you think this is a good alternative to git stash? https://stackoverflow.solutions/question/show_question_details/3509:59
bsaboia joined09:59
ngui left10:04
ngui joined10:04
n3wborn left10:04
Mike11 joined10:07
dfee left10:09
ThiefMaster wtf is this shit site (stackoverflow.solutions)10:11
rkta left10:12
ThiefMaster taking SO content without credits...10:12
rkta joined10:12
pbodev1 there's no SO content in there, is just the name10:14
ThiefMaster ok, so just a misleading domain name10:15
pbodev1 i guess it was a bad call when i bought the domain10:15
ThiefMaster yeah, sounds like a way to get in legal trouble with SO10:15
pbodev1 :))10:15
Habbie pbodev1, 'git add .' may add new files - git stash does not do that10:15
ThiefMaster and about your question: manually committing instead of stashing seems like a bad idea10:15
Habbie pbodev1, also, the page does not say what your problem with git stash is10:16
pbodev1 there are like 200 free SO domain to buy, i thought is not illegal when i did it10:16
git stash always give me worrings10:17
if i make a bad move I can lose things10:17
ngui left10:19
ngui joined10:19
throstur` joined10:19
pbodev1 so `git reset HEAD^` will not make it exactly the same, to the original position?10:20
ThiefMaster pbodev1: no, you can always `git stash pop` to restore it10:20
also, `git stash save -p` to stash only selected changes10:20
and unless you `git stash drop` you won't lose anything10:20
i think `git reflog` might contain stashes as well so even dropping one doesn't permanently delete it10:20
pbodev1 So about my SOS you think is a bad ideea? I was thinking at something la SO but just the question and the solution, like 20 people contributing for the same solution, instead of giving 20 different answers10:22
so is like a SO solution, that is why `stackoverflow.solutions`10:23
ngui left10:24
ngui joined10:24
pbodev1 there's also https://stackoverflow.org/ so i thought there is no problem in doing this10:24
Habbie pbodev1, if you actually start doing the same thing, with the same name, that might be legally troublesome10:24
pbodev1 is totally different in so many ways10:25
i countered more then 2010:25
Habbie 'ok'10:25
if it's so different, then why call it the same? :)10:25
pbodev1 and there is no content copy/paste10:25
because someone comes on SO and makes a personal question and people are trying to help him and so on10:26
limbo_ pbodev1: It's not illegal to own a confusing domain like that. Just don't try to imply that it's related to stackexchange's sites.10:26
grawity implying that it's related *would* be a trademark case, I'm sure10:27
pbodev1 and after some time, is the natural thing to come with a final solution10:27
ye..10:27
maybe i'll change it after all10:27
joaoh82 left10:27
limbo_ Also, stackoverflow is a specific kind of error in computer software.10:27
People may forget.10:27
grawity it's irrelevant here10:28
if the site was just talking about that kind of error, yes10:28
pbodev1 and i like SO and i wanted to stay in the family :) felt natural to do it10:28
joaoh82 joined10:28
grawity but if it tries to be a stackoverflow-like QA site, that's another thing10:28
limbo_ grawity: Good point, I looked at the homepage after saying that.10:29
pbodev1 you cannot ask questions, you can only come with your own solution10:29
and eventually somebody else to improve it10:30
limbo_ pbodev1: imitating another site is a terrible idea if you want your site to be good or successful. Unless it's some kind of aggregation/interface to the other site, and that is clearly stated.10:30
sozuba left10:31
limbo_ It has nothing to do with SE, and seems to only have that naem for brand appeal. It's like making a soft drink called coca-pineapple.10:31
KeyJoo left10:31
awkwords left10:32
Essadon joined10:32
yyy left10:33
sozuba joined10:33
awkwords joined10:37
CodeSlingerPaul joined10:40
sQVe left10:41
jungsubk joined10:41
nixroot left10:41
goodafternoon joined10:41
g00s left10:42
pbodev1 I deleted all the SO referencies, so now remains only the domain name10:43
goodafternoon left10:43
mce left10:44
rexwin_ joined10:45
nixroot joined10:45
weird_error joined10:50
Kartagis left10:54
ngui left10:54
jungsubk left10:54
ngui joined10:54
fmgt joined10:58
ngui left10:59
ngui joined10:59
YoungFrog it's funny that you mention git commit & git reset as a safer git stash. I see it the other way.10:59
joaoh82 left11:01
mce joined11:01
sQVe joined11:06
pbodev1 sometimes I invent strange things that I do not comprehend, and git is still a foreign language for me, and I think it will remain :)11:09
crimastergogo left11:10
Noti left11:10
pbodev1 I have 3 new ideas every day, from different domains, most of them strange. was thinking making a site with ideas, that people would come and put their ideas for other people to implement them11:11
elsheepo joined11:14
sQVe left11:17
elsheepobeatzz11:18
Wulf left11:18
courrier joined11:19
yuriii joined11:19
ngui left11:19
ngui joined11:19
yuriii Hello!11:21
I'm having problem that git push --force is rejected with non (non-fast-forward), despite using --force.11:21
gitinfo yuriii: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.11:21
yuriii Ought to be a configuration problem11:21
If I first delete the remote branch and then push, then pushing obviously works.11:23
Any ideas? =)11:23
Habbie remotes can reject force pushes11:23
ngui left11:24
bremner yuriii: did you look at the remote config?11:24
ngui joined11:24
yuriii What config option should I look for?11:24
ppang joined11:24
yuriii I haven't changed any setting on the remote repo. They should be default.11:25
Habbie they don't sound default :)11:26
what kind of repo is it?11:26
Luyin joined11:27
bremner receive.denyNonFastForward11:27
yuriii My own created simply with "git init --bare --shared". Pushing some scripts from vm to a vm host.11:27
bremner +s11:27
Puffball left11:28
yuriii It works! Thanks!11:29
Luyin hi! I'm trying to exclude a few paths via .gitignore. I got a folder temp in "FS": ./FS/temp/ and ./FS/temp_NEW, and I want to ignore both temp and temp_NEW, but nothing else in FS. Can I use "FS/temp*" in .gitignore for that? I think I can't because man gitignore says '"*" matches anything except "/"'11:29
gitinfo the gitignore manpage is available at https://gitirc.eu/gitignore.html11:29
Raging_Hog joined11:31
yyy joined11:33
Ayo left11:35
Ayo joined11:35
DelTree if temp_NEW is a file, I would do ./FS/temp/* and ./FS/temp_NEW11:37
sQVe joined11:38
Luyin no, sorry. they're both directories11:39
ngui left11:39
DelTree then maybe ./FS/temp*/*, but temp_OLD would be ignored as well...11:39
ngui joined11:39
ngui left11:44
ngui joined11:44
ngui left11:46
dmc left11:48
dmc joined11:48
Luyin hmm ok temp_OLD doesn't exist, but it would probably not be a problem. But I see what you're trying to say. It would be cleaner to put two lines for that11:49
DelTree depends on what you intend to do with future temp* directories if they ever come to exist...11:50
beatzz left11:54
jungsubk joined11:55
Luyin I see, makes sense. Thanks for the input!11:55
Boobie joined11:55
fission6 joined11:57
ngui joined11:59
joaoh82 joined12:00
ngui left12:00
ngui joined12:02
lankanmon joined12:02
goodafternoon joined12:02
kadoban joined12:02
Mike11 left12:04
joaoh82 left12:05
jungsubk left12:05
mobile_c joined12:07
jungsubk joined12:08
Silenced joined12:09
prakashdanish joined12:14
jungsubk left12:16
sozuba left12:16
shaarad joined12:16
ngui left12:16
jungsubk joined12:17
ngui joined12:17
overbythere joined12:17
jubal joined12:18
fission6 left12:18
AyoGuest2952012:19
Guest29520 left12:19
Ayo joined12:19
ngui left12:21
ngui joined12:21
MooNJaCk- joined12:26
Silenced left12:28
shaarad left12:31
shaarad joined12:32
jungsubk left12:33
chele left12:33
chele joined12:34
shaarad left12:35
joaoh82 joined12:37
joaoh82 left12:37
chele left12:39
Guest14049 left12:40
ngui left12:41
ngui joined12:42
sozuba joined12:46
TheRuckus joined12:46
mostlybadfly joined12:50
overbythere left12:53
chele joined12:55
igemnace left12:55
ngui left12:56
yyy left12:56
ngui joined12:56
th3m1s joined12:57
sozuba left13:00
throstur` left13:01
aw1 left13:01
TheRuckus left13:03
daurnimator joined13:03
joaoh82 joined13:04
blackmesa joined13:04
CheckDavid joined13:04
yyy joined13:04
gxt joined13:05
chele left13:05
mce left13:05
joaoh82 left13:07
joaoh82 joined13:08
chele joined13:08
courrier left13:09
mce joined13:09
Anthaas Is there a name for different...techniques of getting thing live? For example, multiple devs create feature branches, create PRs against a release branch which a single or all other devs approve etc before a single dev merges them in and deploys?13:10
If so, what would you call the dev which does the merging/deploying?13:10
demiurge release engineer13:10
alex_pa left13:11
alex_pa joined13:12
AyoGuest7176013:13
Ayo joined13:13
dege left13:13
Guest71760 left13:14
ngui left13:16
ngui joined13:17
throstur` joined13:17
awkwords_ joined13:19
Ayo left13:20
rkta_ joined13:20
mloskot left13:20
Ayo joined13:20
Silmarilion joined13:20
ngui left13:21
awkwords left13:21
ngui joined13:22
timvisher left13:22
rkta left13:23
rkta_rkta13:23
arooni joined13:24
andrybak joined13:25
fission6 joined13:27
th3m1s left13:32
throstur` left13:33
awkwords_ left13:33
TheRuckus joined13:34
TheRuckus left13:34
awkwords joined13:34
tsdh left13:34
th3m1s joined13:35
throstur` joined13:36
TheRuckus joined13:36
prakashdanish left13:37
Luyin release manager?13:39
solarjoe4 joined13:41
ppang left13:43
mce left13:44
Anthaas Sorry - phone call, thanks!13:45
novum left13:46
crackin joined13:49
zulutango left13:50
goodafternoon left13:50
kerframil joined13:52
crackin left13:53
rominronin joined13:54
fmgt left13:55
rafasc joined13:56
jungsubk joined13:57
nixdork left13:58
awkwords_ joined14:03
awkwords left14:05
keepLearning512 joined14:06
fission6 left14:08
jungsubk left14:08
jungsubk joined14:08
keepLearning512 left14:10
keepLearning512 joined14:10
keepLearning512 left14:11
yyy left14:12
fission6 joined14:13
yyy joined14:14
logithack joined14:15
ngui left14:16
keepLearning512 joined14:17
ngui joined14:17
keepLearning512 left14:18
bjoe2k4 joined14:19
ngui left14:21
ngui joined14:21
jungsubk left14:22
Mike11 joined14:22
fission6 left14:24
alex_pa left14:24
alex_pa joined14:24
nixroot left14:27
keepLearning512 joined14:29
keepLearning512 left14:30
keepLearning512 joined14:31
floppydh left14:31
jungsubk joined14:33
joaoh82 left14:35
joaoh82 joined14:35
keepLearning512 left14:36
Mat001 joined14:37
yyy left14:37
yyy joined14:38
Mike11 left14:38
bolovanos joined14:39
nixroot joined14:40
Raed left14:40
czart joined14:41
awkwords joined14:41
blackmesa left14:41
rexwin_ I am trying to clone of a repository from Github. it does not create any folder after clicking on clone repo14:42
jungsubk left14:43
nixr00t joined14:43
awkwords_ left14:43
Dariuk left14:43
nixroot left14:46
boombatower joined14:47
Raed joined14:48
joaoh82 left14:48
fission6 joined14:50
rsrx joined14:50
joaoh82 joined14:51
Raed left14:54
Raed joined14:55
Dariuk joined14:56
joaoh82 left14:58
gkze joined14:58
MooNJaCk- left14:58
Raed left15:01
ngui left15:01
Raed joined15:02
ngui joined15:02
Trieste left15:02
nxet left15:02
Trieste joined15:03
blackmesa joined15:05
ngui left15:06
rkta left15:06
ngui joined15:06
czart left15:08
rexwin_ I am getting this when trying to commit15:09
fatal: LF would be replaced by CRLF in .gitattributes15:09
AyoGuest4076915:11
Guest40769 left15:11
Ayo joined15:12
rexwin_ git config --global core.safecrlf false did the trick15:13
but there are no fines upload to my github repo15:13
files15:13
draget joined15:14
Silmarilion left15:15
draget If I have a submodule and the host on which the submodule lies is not available, can I still clone all files from the parent repository including the submodule files?15:15
bsanford joined15:16
draget I want to use files from a specific commit from another repository. I thought a submodule might be the 'cleaner' approach than just copying the files. But I am not 100% sure if the host with the other repository is always available.15:16
alex_pa left15:17
AyoGuest1917315:17
Ayo joined15:17
Guest19173 left15:17
nixr00t left15:18
qqx draget: No. The parent repo will only have the commit ID(s), not the content. You could create a mirror of that repository, and get the submodules from there.15:18
draget Do you think a mirror would be cleaner that just copying the files and point out the state in a README?15:19
jwest left15:19
ngui left15:21
ngui joined15:22
CheckDavid left15:23
jnewt_ joined15:24
rafasc Do you have a mirror available?15:24
draget I am running a private gitlab.15:24
mns left15:25
rafasc git has a mechanism to rewrite urls, I think you can make a rule that redirects the requests to the url from the repo to your mirror.15:26
(which can be just a local repo in a repository)15:26
ngui left15:26
yyy left15:26
ngui joined15:26
yyy joined15:27
Mike11 joined15:28
rafasc And... I missed the point. Too early to talk, need more coffee.15:29
git subtree is a viable in your situation, and it should be better than just copying the files. Especially if you want to contribute back to that repository.15:30
sQVe left15:32
eldritch2 joined15:32
bsanford left15:33
anderson_ joined15:34
joaoh82 joined15:35
freeman42x joined15:36
ngui left15:36
cdown_ joined15:36
joaoh82 left15:37
draget What about simply commiting the other repository under the frist one? Anything wrong with that?15:37
Toadisattva joined15:38
cdown left15:39
cdown_cdown15:39
Luyin left15:44
dege joined15:46
rafasc yes15:47
git recognize other repos and make 'gitlinks' to it.15:47
'gitlinks' are part of what submodules are.15:48
So you're not really avoiding the problem, you're just making it worse because now you have a gitlink, but not the extra metadata that make submodules work.15:49
chele left15:50
discopatrick joined15:50
greggerz joined15:52
throstur` left15:53
solarjoe4 left15:56
yuriii left15:58
raffo left15:59
dpyro joined16:03
bsaboia left16:06
rominronin left16:07
blackmesa1 joined16:07
psprint joined16:09
blackmesa left16:09
psprint How to check that a revision exists, if it's only fetched (git fetch origin myBranch), not checked out yet (so no tracking is set up). `git rev-parse --verify --quiet "myBranch"' doesn't work16:10
raffo joined16:11
moritz psprint: it's called origin/myBranch, not myBranch16:12
Ayo left16:12
psprint ahso16:12
Ayo joined16:12
psprint could I somehow check all possible remotes, like `git rev-parse --verify --quiet "*/myBranch"' ?16:13
moritz for remote in $(git remote); do git rev-parse --very --quiet "$remote/myBranch"; done16:15
psprint It's weird that this doesn't work: git rev-parse --verify --quiet --glob-pattern "refs/*/ZPath-feature" && echo yes || echo no16:16
rafasc psprint: what are you trying to do?16:16
_ikke_ psprint: might it be that * does not match /?16:16
so refs/remotes/foo/ZPath-feature does not match?16:17
fahadash joined16:17
psprint rafasc: I'm doing syntax highlighting in shell (zsh) that's very specific, interprets commands, highlight e.g. correct/incorrect refs passed to diff, checkout, pull, etc. - and here I'm aiming at highlighting fetched repository as correct-ref if it's an argument for `git checkout ...', because the command will work correctly, set up tracking, etc.16:18
rafasc maybe look up into https://github.com/git/git/blob/master/contrib/completion/git-completion.bash#L63516:20
psprint _ikke_: the fetched branch is under refs/origin/ZPath-feature, hmm16:20
_ikke_ psprint: huh, that's not a valid remote tracking branch16:21
psprint: ie, git branch -r would not list it16:21
d6d left16:21
psprint _ikke_: It is to be checked out and set-up tracking only after the `git checkout ZPath-feature' will be run16:21
which is the command that I want to highlight as using a correct ref ZPath-feature16:22
zsoc joined16:23
psprint _ikke_: I see origin/ZPath-feature after `git branch -r', hmm. Did I wrongly assume that it will be refs/heads/... ?16:23
rafasc problem is that the logic behind the magic used in git checkout is not as simple as that.16:23
dviola joined16:23
psprint 3000 lines in the completion, that might be the destination number of lines for the syntax-highlighter of Git, as it does pretty similar thing16:25
mowcat joined16:26
psprint the completion doesn't contain glob-pattern option16:27
igemnace joined16:27
thiago joined16:29
eduardas_m left16:31
psprint I'm doing `git fetch origin ZPath-feature', the branch shows in `branch -r' as origin/ZPath-feature, OK, but following find command found 1 match in logs/ only: `find . -iname '*ZPath*feature*''. Could it be that git is using some other storage than files ? ;)16:35
Goplat joined16:35
rafasc psprint: refs can be packed. You should not parse the contents of .git/16:36
psprint ok16:37
rafasc you need to use the API. Anthing else will fail.16:37
psprint Lol, I was doing --glob-pattern, while it is: --glob=pattern.. The following finally works correctly: git rev-parse --verify --quiet --glob="*/ZPath-feature" && echo yes || echo no16:38
rafasc e.g. git for-each-ref refs/remotes/<remote> --format='%(refname:short)'16:38
having a ref that ends in ZPath-feature doesn't guarantee the checkout will succeed.16:39
if you have more than one remote with refs with the same name, which is extremely common, checkout will fail.16:40
read about the checkout.defaultRemote config.16:42
psprint hmm, so I should first-level check if the ref with the suffix exists, and then test if there are more than 116:42
rafasc You basically will need to re-implement the entire DWIM logic in shell script.16:43
linuxmodder joined16:44
rafasc including checking if checkout.defaultRemote is set, dealing with the difference between checking out a remote tracking branch vs a local branch (former implies --track, latter doesn't) etc.16:45
I think in this case it's easier to ask forgiveness than permission.16:47
linuxmodder_ joined16:50
prakashdanish joined16:52
linuxmodder left16:52
psprint ok. One thing: git rev-parse with --glob="*/master" will return $? != 0, even though it will find the ref(s)16:53
rafasc git for-each-ref refs/remotes/*/<name> --format='%(refname:short)' | wc -l == 116:53
Ranhir joined16:53
linuxmodder joined16:54
vdl joined16:54
rafasc git for-each-ref refs/remotes/$remote/<name> --format='%(refname:short)' | wc -l == 116:55
psprint It might be even a bug, the non-zero exit status, as I see only 3 mentions of "return" in https://www.git-scm.com/docs/git-rev-parse16:55
rafasc where remote=checkout.defaultRemote if defined, * otherwise16:55
linuxmodder_ left16:57
KeyJoo joined16:57
thebope joined16:58
psprint the for-each-ref returns 0 always, on the other hand16:59
thiago left16:59
rafasc check if $git rev-list --glob=refs/remotes/$remote/$branch --no-walk --count; returns 1;16:59
Guest14049 joined17:00
rafasc branch= the ref you're testing, remote= checkout.defaultRemote if configured, otherwise '*'17:00
I think that's the best you can do.17:01
psprint yes it returns 1 and 0 correctly, but I mean the shell exit status code, the $?17:01
ahso17:01
rafasc psprint: no, it will print to stdout.17:01
it's not an exit code.17:01
psprint rafasc: yes, and I mean the exit code17:01
durham joined17:03
psprint Finally it works, the code in question - using -n "..." instead of shell exit code (which seems to be always false, non-zero for this command): [[ "${FAST_HIGHLIGHT[chroma-git-subcommand]}" = "checkout" && -n "$(command git rev-parse --verify --quiet --glob="*/$__wrd" 2>/dev/null)" ]]; then17:03
qqx left17:03
qqx joined17:04
KeyJoo left17:04
awkwords_ joined17:04
rafasc psprint: I think you can use rev-parse verify, but you need to change that --glob.17:05
mooasaurus left17:06
psprint rafasc: how?17:06
mooasaurus joined17:06
rafasc to take into account checkout.defaultRemote17:06
awkwords left17:07
qqx I don't think it makes sense to use rev-parse --verify and --glob together.17:08
psprint Ok, I'll do it in a second pass to the code, I've had stressful 2 hours trying to match all odds and stuff, so that the basic check for fetched branch works17:08
qqx: ah, maybe this is the reason it always returned $? != 017:09
qqx psprint: Yeah.17:09
rafasc psprint: instead of * use prefix="refs/remotes/$(git config --default '*' --get checkout.defaultRemote)"17:09
T_UNIX left17:10
qqx psprint: Yes, you weren't passing any object name for --verify to work with, so it was considering that to be an error.17:10
rafasc psprint: --glob="refs/remotes/$(git config --default '*' --get checkout.defaultRemote)/$__wrd"17:10
qqx The pattern for --glob doesn't count there.17:10
psprint qqx: without --verify, it always returns $? = 0, no error, even with no refs are found, But that's fine, I'll stick to the -n "" output testing17:11
Ayo left17:12
psprint rafasc: thanks17:12
rafasc or check if $rev-list --count --no-walk --glob="refs/remotes/$(git config --default '*' --get checkout.defaultRemote)/$__wrd"; evaluates to 1;17:12
psprint true, that would cover the conflicting-names issue17:13
rafasc: error: unknown option `default'17:14
rafasc yes, the count differs from 1, it either doesn't exist or there's more than one entry that matches.17:14
Ayo joined17:14
rafasc I guess --default is newish.17:14
do it separately and test it if its empty.17:15
psprint I can do ${$(git config ...):-*}17:15
qqx The main benefit to config --default is that it can do some conversions, but that doesn't apply to the default remote.17:16
raulp left17:17
psprint I got a final version: git rev-list --count --no-walk --glob="refs/remotes/${$(git config --get checkout.defaultRemote):-*}/$__wrd"17:17
GreenJello joined17:18
im0nde joined17:18
psprint yay, it works :) thanks17:19
raulp joined17:21
SmashingX joined17:21
SmashingX anybody using smartgit?17:22
rafasc psprint: now do: git branch new; git checkout new; and watch it fail, even though it shouldn't ;)17:22
Goplat left17:23
GreenJello left17:23
SmashingX anybody using smartgit for linux, do you know how to be able to show the files that are unchanged in the current directory but not in the whole repo?17:23
rafasc SmashingX: yes. I'd assume at least the author of it uses it.17:23
!gui17:24
gitinfo Graphical user interfaces are not supported here. If you want to get support, it needs to be through the git CLI. Reasons: 1) Because very few people here use the graphical interface. 2) Because giving instructions for GUI's is difficult. 3) The command line gives you a history of what commands you have executed.17:24
rafasc I don't think you'll get answers about that.17:24
SmashingX well maybe somebody is using it here17:25
who knows17:25
durham left17:25
rafasc SmashingX: grep -Fxvf <(git ls-files --modified) <(git ls-files)17:27
warranty not included17:27
SmashingX ?17:28
rafasc: put that in where?17:28
where in the UI?17:28
rafasc in the shell. If there's one17:29
psprint rafasc: It seems to work, highlights "new" as a correct ref: http://psprint.blinkenshell.org/git-checkout-new-hl.png17:29
keepLearning512 joined17:29
blackmesa joined17:29
rafasc psprint: o.O how?17:30
nixdork joined17:30
logithack left17:30
psprint By your method, rev-list, I think it has no flaws17:30
rafasc how is it detecting local branches if were globbing against refs/remotes?17:31
SmashingX rafasc: mhhh, this is basic functionality, there should be just a button for that17:31
psprint rafasc: hah, I see17:31
blackmesa1 left17:31
rafasc you're probably highlighting everything correctly. try git checkout askdladk;17:32
because rev-list is writing 1 to stdout, not exiting with status 1. But that's just a guess17:32
blackmesa1 joined17:34
psprint rafasc: no, I get missed matches too: https://asciinema.org/a/YWmwZM3iQu07uJfmRmo5oLn9417:35
blackmesa left17:35
rafasc SmashingX: you found the first issue with GUIs. There's not enough buttons for everything without making a mess.17:35
psprint rafasc: ah! it's because of previous code17:35
rafasc: the code that handles local branches by its semi-old coded paths17:36
bebbet joined17:36
fission6 left17:37
rafasc psprint: you checkout new and your prompt says master o.017:37
nixdork left17:38
psprint I pressed Ctrl-C :]17:38
keepLearning512 left17:38
rafasc I figured a second after writing it, by the color of your triangle17:39
psprint to explain it totally, there's if git rev-parse --verify --quiet "$__wrd"; then ...; else "1" = "$(git rev-list ...", so it first tries to find local branch, only then tries to find a remote one17:39
rafasc makes sense 👍17:40
Learath2 what was that PS1 program included with git called?17:41
(or script, don't remember if it was one)17:41
logithack joined17:41
rafasc prompt.sh?17:42
bebbet left17:42
rafasc git::master/contrib/completion^{tree}17:43
gitinfo Git web link: https://github.com/git/git/commits/master/contrib/completion^{tree}17:43
rafasc git::master/contrib/completion17:43
gitinfo Git web link: https://github.com/git/git/commits/master/contrib/completion17:43
buyfn joined17:43
rafasc git-prompt.sh17:43
bebbet joined17:43
Regon joined17:44
polyrob left17:44
gitinfo Git web link: https://github.com/git/git/blob/master/contrib/completion17:44
Mike11 left17:46
polyrob joined17:46
Ayo left17:47
blackmesa1 left17:47
Ayo joined17:47
Guest14049 left17:47
nixdork joined17:49
TJ- joined17:51
prakashdanish left17:52
GreenJello joined17:52
wootehfoot joined17:54
bebbet left17:55
bebbet joined17:57
Silenced joined17:57
bebbet left17:57
bebbet joined17:58
raulp left17:59
watabou left18:00
raulp joined18:01
seventh__ joined18:02
fission6 joined18:03
dfee joined18:05
fragamus joined18:06
orbyt_ joined18:07
yyy left18:13
yyy joined18:13
rkta joined18:14
rexwin_ left18:15
sauvin left18:18
fragamus left18:23
thiago joined18:23
sunri5e left18:25
igemnace left18:25
inkbottle left18:26
lamont left18:27
sunri5e joined18:28
Narrat joined18:29
anderson_ left18:30
eldritch2 left18:30
yyy left18:32
yyy joined18:32
lamont joined18:33
fahadash left18:36
yyy left18:36
planetcall|work left18:37
AyoGuest7949718:38
Guest79497 left18:38
yyy joined18:38
Ayo joined18:38
\void joined18:38
yyy left18:43
Dirak joined18:43
paulwood_ joined18:43
paulwood_ left18:45
Gambit--_ joined18:46
Gambit--_Gambit-18:46
Gambit- Hi folks18:46
rafasc Gambit-: Hi!18:47
Gambit- I'd like to include an "example" credential file that people can copy and make use of, but I'd like to prevent anyone from actually editing that exact file and making changes to it. pre-commit on NOCOMMIT would work except of course that hooks aren't propagated. And .gitignore doesn't cover tracked files. Any other clever solutions?18:47
blackmesa1 joined18:47
Gambit- I'll probably solve this in a slightly different way, but I'm curious if there's some trick I'm unaware of that could be applied to situations like this.18:48
bebbet left18:48
bebbet joined18:49
sparr I have just done a `git merge` and I would like to undo it. Is there any shorthand for that?18:50
rafasc reset the branch to the commit before the merge:18:51
qqx sparr: git reset --hard @~18:51
rafasc git reset <merge_hash>^118:51
qqx's version will also discard any uncommited changes18:52
BtbN Gambit-, add it to gitignore and then force add it anyway.18:57
qqx BtbN: That won't really do anything. gitignore doesn't apply to files that are already tracked by git.18:58
BtbN Won't it prevent adding new changes?18:58
qqx BtbN: No18:58
BtbN Well, hope your users aren't stupid enough to commit their real creds.18:58
Gambit- Yeah, I thought of and tried the .gitignore thing too, and it behaves exactly as qqx describes.19:00
BtbN, we should all be so lucky :D19:00
yyy joined19:02
Silenced left19:02
eldritch joined19:05
anderson_ joined19:05
jakogut_ joined19:05
fragamus joined19:06
Puffball joined19:06
rafasc add a creds.sample to the repo and ignore 'creds'19:07
BtbN Yeah, the usual pattern is somefile-dist, which you are supposed to rename to somefile, and somefile in gitignore19:08
AyoGuest9245319:12
Guest92453 left19:12
Ayo joined19:12
fission6 left19:18
Gambit- rafasc: Yeah that's the basic model I decided made the most sense. I'm doing something slightly different because I (heh) realized I was making a library and not something they would directly checkout, but still.19:25
Thank you both for the pattern insight. It's good to know what convention looks like and that there's not some intrinsic feature I'm mis-using.19:25
rafasc !config19:26
gitinfo [!configfiles] It is recommended to store local configuration data in a file which is not tracked by git, but certain deployment scenarios(such as Heroku) may require otherwise. See https://gist.github.com/1423106 for some ideas19:26
rafasc there's more approaches there you can think about.19:26
Silmarilion joined19:27
Gambit- *thumbs up*19:27
Off to create more havoc, thanks again!19:27
Gambit- left19:27
diogenese left19:28
TrentonDAdams joined19:30
TrentonDAdams So I'm rebasing a branch (X) against master, then rebasing another branch (Y) against branch X. Every time I do it I get the same conflicts, repeatedly it seems for many of the commits in branch Y. So, I've squashed all the commits in branch X so that there's only one commit difference between X and master. Now I'm going to do the same for branch Y against X, as I think that'll make it simpler going forward. Thoughts?19:33
And in the future, I probably won't do multi-branch rebases, lol19:33
diogenese joined19:34
Silmarilion left19:35
rafasc or you could make git remember how you solve the conflicts by enabling git rerere.19:37
gxt left19:40
GinoMan joined19:41
czart joined19:42
TrentonDAdams rafasc: Thanks. So, from what I'm gathering, once I enable git rerere in the git config it mostly manages that stuff automatically?19:44
mooasaurus left19:44
rafasc yes, it will stop for conflict resolution, but it should resolve automatically if the conflict is exactly the same.19:46
this is done in order to give you a chance to verify if it resolved correctly19:46
it's been a while since I last used it, not sure I can help you much more than that.19:47
TrentonDAdams No problem, that's helpful, cause I'm getting sick of this resolution, lol19:47
yyy left19:48
fragamus left19:49
discopatrick left19:50
rafasc then (re)use the (re)corded (re)solution19:53
thebope left19:54
TrentonDAdams rafasc: I found the source of my problem. rebase squash caused me grief. I squashed master -> branch X. The last time I rebased Y against X the X had multiple commits. So Y has a record of those commits. I then squashed X's commits, so git is attempting to re-apply X's old commits as if they are Y's commits because it now can't tell that they were X's commit. If that makes any sense, lol19:59
linuxmodder left19:59
acercle joined20:00
durham joined20:00
durham left20:02
Jitta joined20:02
fission6 joined20:04
dviola left20:12
yyy joined20:12
bn_work joined20:13
fragamus joined20:15
czart left20:15
dfee left20:18
netj left20:22
netj joined20:22
Sasazuka joined20:23
yyy- joined20:23
fragamus left20:24
Dirak left20:25
andrybak left20:25
jwest joined20:25
joeyy joined20:27
yyy left20:27
wildlander joined20:29
fragamus joined20:29
rc96 joined20:30
bachler left20:30
mowcat left20:31
bachler joined20:34
graphene left20:34
graphene joined20:35
wootehfoot left20:36
rc96 Why do I keep getting prompted when I do a git pull20:36
for credentials20:36
I'm in Windows 1020:37
GreenJello rc96, you're probably using an https remote instead of ssh20:37
GinoMan2440 joined20:39
GinoMan left20:43
rc96 left20:43
timj left20:47
timj joined20:48
buyfn left20:48
iam730 joined20:49
novum joined20:49
bebbet left20:51
gtristan left20:52
Dirak joined20:54
fragamus left21:00
raffo left21:02
kerframil left21:06
cd joined21:08
mostlybadfly left21:09
diogenese left21:11
AtumT joined21:16
Hello71 left21:16
Hello71 joined21:17
cswl left21:21
D630 joined21:22
SmashingX rafasc: That's not totally true.21:25
rafasc to each their own.21:25
dfee joined21:25
SmashingX that is just basic functionallity as I was saying21:27
I don't see why that would make a mess21:27
rafasc the problem isn't that specific feature.21:28
bebbet joined21:28
rafasc it's that git is massively complex and there are tons of features that are "basic functionality"21:28
if you have bash completion, type git diff --<tab><tab>21:30
https://ptpb.pw/ElF-21:31
acercle left21:31
acercle joined21:32
rafasc that's just the basic functionality for a single command.21:32
dolphy left21:32
rafasc git help -av | wc -l returns 15021:32
Ram-Z left21:34
bebbet left21:35
Ram-Z joined21:35
bebbet joined21:36
Regon left21:37
kfoonamalik joined21:37
rafasc SmashingX: https://d2.alternativeto.net/dist/s/smartgit_895177_full.png?format=jpg&width=1600&height=1600&mode=min&upscale=false21:37
looks like you can have a column with index state and working tree state.21:38
sort by that.21:38
SmashingX But I'm confused why they don't have that functionality in smartgit but they do have it in smartsvn21:39
which is made by the same company21:39
rafasc you'll have to ask them.21:39
SmashingX when you select view all files, it only shows you the files in the directory either if they are modified or not21:40
but when I click that button in smartgit it shows me a bunch of hidden files (.bar) and many others, so it's hard to see21:40
kapil____ left21:41
GinoMan2440 left21:44
pawle joined21:45
joeco joined21:48
novum left21:48
joecojoseph9921:50
rafasc ever better: git ls-files --no-modified21:52
was not aware that ls-files had --no-modified21:52
Arcaelyx joined21:52
rafasc SmashingX: can't beat this ^ ;)21:53
linuxmodder joined21:54
jakogut_ left21:54
Goplat joined21:55
jakogut_ joined21:56
SmashingX I appreciate the suggestions, but I don;t think we are in the same channel21:57
Geezus42 joined21:58
Emperor_Earth left22:03
TheRuckus left22:06
rafasc again, to each their own22:07
novum joined22:10
linuxmodder left22:12
wreed joined22:12
linuxmodder joined22:16
mooasaurus joined22:18
dviola joined22:21
tazle_ left22:24
raffo joined22:27
silverballz left22:30
Ayo left22:33
inkbottle joined22:35
yyy joined22:35
yyy left22:35
Thominus joined22:41
strugee joined22:41
Onionnion joined22:46
Guest14049 joined22:54
yyy- left22:58
dre_ joined23:01
Silenced joined23:01
greggerz left23:01
graphene left23:02
graphene joined23:03
irdr left23:03
n3wborn joined23:03
TJ- left23:03
fission6 left23:06
timvisher joined23:08
str joined23:09
drith joined23:10
paraxial left23:13
diogenese joined23:13
paraxial joined23:13
MACscr left23:14
bolovanos left23:15
Silenced left23:15
Ram-Z left23:18
TheRuckus joined23:21
th3m1s left23:25
anderson_ left23:26
netj left23:28
anderson joined23:28
netj joined23:28
linuxmodder_ joined23:30
Ram-Z joined23:30
linuxmodder left23:32
linuxmodder joined23:34
Urangst joined23:35
linuxmodder_ left23:36
pawle left23:40
sunri5e_ joined23:40
sunri5e left23:42
CodeSlingerPaul left23:42
Jitta left23:42
thiago left23:43
Dirak left23:47
ngui joined23:51
linuxmodder_ joined23:51
Dirak joined23:51
Narrat left23:53
linuxmodder left23:53
TheRuckus left23:54
theoceaniscool left23:55
thebope joined23:57

Logs Search ←Prev date Next date→ Channels Documentation