IRCloggy #git 2018-04-29

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-04-29

rain1 thanks00:00
what do I do next?00:00
rosa joined00:00
rain1 if i try to push it says hint: Updates were rejected because the tip of your current branch is behind00:00
oh git push --force00:00
rafasc another dead kitten. Every time you --force, a kitten dies.00:01
I expected this would remove my commits from showing in the log $ git log --not --author=rafasc00:01
rain1 left00:02
rafasc how do you do reverse in regex?00:02
Thominus left00:02
Thominus joined00:03
nowhere_man left00:03
rafasc that is, match everything except the string i give00:03
ferdna joined00:04
Tobbi left00:05
hdon joined00:05
mel00010 left00:06
Karyon left00:06
jready joined00:07
skered left00:09
hdon left00:10
amirpro joined00:12
jelmer left00:12
Mattiaslndstrm joined00:14
rosa_ joined00:14
osse Are your sure youfe asking in the right channel? :p00:14
netj left00:15
rosa left00:15
netj joined00:15
osse Maybe youre looking for git grep -v00:15
skered joined00:18
jelmer joined00:18
diogenese joined00:20
hdon joined00:20
mattcen left00:20
rosa_ left00:21
rafasc heh, I was tring to make log show all commits except ones from a certain user.00:22
similar to what --author=rafasc does, but in reverse.00:22
turns out it's not that easy..00:23
livingstn left00:24
rafasc osse did you see my previous question?00:25
mattcen joined00:25
rafasc was just asking the regex question cause --author uses regex :P00:26
menip joined00:27
menip left00:27
Regon left00:28
Mattiaslndstrm left00:28
rafasc anyways, I found what I was looking, so feel free to disregard.00:28
nowhere_man joined00:29
m0viefreak joined00:30
nnyk joined00:31
ArcaTech joined00:31
rosa joined00:34
livingstn joined00:34
sandroqz left00:34
Singmyr left00:36
cliluw left00:38
cliluw joined00:38
darkhanb_ joined00:42
darkhanb left00:43
macrover joined00:46
macrover left00:47
orbyt_ joined00:48
macrover joined00:49
whatsupdoc_ joined00:50
tsaka__ left00:51
cliluw left00:51
ArcaTech left00:51
cliluw joined00:52
Karyon joined00:52
rosa left00:52
livingstn left00:53
rosa joined00:55
cdown left00:55
cdown joined00:57
rosa left00:59
Karyon_ joined01:01
sandroqz joined01:02
Karyon left01:04
Karyon_ left01:11
justanotheruser joined01:13
whatsupdoc_ left01:13
justan0theruser left01:14
Gurkenglas left01:15
Persondude left01:15
austin_laptop joined01:16
austin987 left01:16
Karyon_ joined01:18
jstimm joined01:18
finalbeta joined01:19
fatalhalt left01:22
m0viefreak left01:24
RougeR left01:24
livingstn joined01:24
livingstn left01:28
livingstn joined01:29
adamantium left01:31
adamantium joined01:32
ResidentBiscuit joined01:33
ZyX-I left01:35
ToBeCloud left01:35
jready left01:35
Karyon_ left01:37
mattcen left01:37
macrover left01:37
hdon left01:38
Lyqyd joined01:40
phinxy left01:46
tunekey left01:46
tunekey joined01:47
ArcaTech joined01:48
ArcaTech left01:49
ilbot3 left01:49
z]bandito joined01:52
Karyon_ joined01:52
mud joined01:54
z|bandito left01:55
whatsupdoc_ joined01:56
ilbot3 joined01:57
nowhere_man left01:58
xaa left01:58
z|bandito joined01:58
nowhere_man joined01:58
Karyon_ left01:59
z]bandito left02:00
mattcen joined02:01
durham left02:03
Lunatrius left02:05
jstimm left02:07
d3r3k left02:11
_antares_ joined02:11
zulutango joined02:12
m0viefreak joined02:13
nnyk left02:19
nowhere_man left02:20
Juesto How do i permamently remove some commits that look somewhat dumb02:20
Lunatrius joined02:20
Juesto such as a merge and some accidental/mistake-y commit02:20
wootehfoot left02:21
arecaceae left02:22
winfli joined02:22
winfli left02:22
arecaceae joined02:22
winfli joined02:22
winfli left02:23
winfli joined02:24
mattcen left02:24
ResidentBiscuit left02:26
mattcen joined02:27
sentriz left02:30
a3Dman left02:30
black_13_ left02:31
mattcen left02:32
a3Dman joined02:33
cur8or joined02:34
mattcen joined02:38
summi joined02:39
cur8or left02:39
gitinfo set mode: +v02:40
summi I've created a new branch locally and wanna push to remote with the same name02:40
so I do git push -u origin my-branch-name?02:40
git is suggesting git push --set-upstream origin my-branch-name02:40
piggah left02:42
lagothri1 joined02:47
lagothrix left02:49
cfoch left02:51
shinnya left02:56
rosa joined02:57
summi left02:57
nnyk joined03:02
PioneerAxon joined03:03
PioneerAxon_ left03:05
rosa left03:13
piggah joined03:14
piggah_ joined03:18
livingstn left03:19
piggah left03:19
piggah_ left03:19
gtristan joined03:20
Guest21 left03:23
rosa joined03:24
zlsyx joined03:26
mattcen left03:26
canvon joined03:31
canvon_ left03:32
netj left03:32
netj joined03:32
rosa left03:33
mattcen joined03:36
pix9 left03:37
pix9 joined03:38
sleepingforest left03:38
whatsupdoc_ left03:40
upperdeck left03:43
rafasc left03:43
Karyon joined03:43
piggah joined03:44
stevelitt left03:48
Noldorin left03:50
Bobdude joined03:54
rosa joined03:56
mattcen left03:58
amirpro left04:00
mattcen joined04:02
tsaka__ joined04:03
Eugene Juesto - !fixup04:05
gitinfo Juesto: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!04:05
prg318 left04:06
dreiss left04:06
prg318 joined04:07
tsaka__ left04:08
upperdeck joined04:12
hdon joined04:20
jimmyrcom left04:20
nnyk left04:22
cur8or joined04:23
rosa left04:24
hdon left04:25
rosa joined04:25
cur8or left04:27
_antares_ left04:31
orbyt_ left04:36
boombatower left04:38
Juesto Eugene: i've tried googling and its just overwhelming to find what i want. i've asked a concrete question: how do i delete some mistaken commits?04:42
Eugene There is a Choose-Your-Own-Adventure linked by the bot which covers this, and many other, common cases04:44
!fixup_hints04:44
gitinfo Hints for fixing commits are: (1) NOT PUSHED/PUBLISHED: `git rebase -i $COMMIT^` or perhaps `git commit --amend` (or `git reset HEAD^`). (2) OTHERWISE, `git revert $COMMIT` to make a reverse commit. (3) If you have pushed and MUST remove it, use rebase or filter-branch and type !rewrite in IRC to learn about the implications.04:44
Eugene That's the tl;dr ^04:44
hdon joined04:45
Juesto !rewrite04:48
gitinfo Rewriting public history is not recommended. Everyone who has pulled the old history will have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push --force-with-lease <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum04:48
Juesto yeah.... its already pushed to the hell of it04:48
govg joined04:49
rosa left04:51
rosa joined04:52
mkalfon_ joined04:56
rosa left04:56
ka10k joined04:57
rosa joined04:58
ruslangaripov joined04:59
{HD} when I "git remote add ssh://user@ip" can I add a location for the private key to auth with?04:59
ka10k left04:59
Mattiaslndstrm joined05:00
Juesto {HD}: your .ssh does that via agent or whatever05:01
not sure if you can05:01
or in the git config05:01
pfleck joined05:01
Juesto i dont remember05:01
pks left05:02
{HD} I will google around. I hope I can because I have both pass and key auth available but for the sake of pushing I want to use key but it always asks for pass05:02
pks joined05:04
Mattiaslndstrm left05:04
tsaka__ joined05:08
mud left05:09
mattcen left05:12
rosa left05:13
mattcen joined05:17
ruslangaripov left05:18
thiago you can't choose the key in Git05:18
you can choose it in .ssh/config05:18
ruslangaripov joined05:18
thiago see man ssh_config05:18
KeyJoo joined05:19
KeyJoo left05:19
KeyJoo joined05:19
a3Dman left05:22
{HD} thiago: I found this: https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/05:23
which appears to have worked05:23
thiago you can set a key per host05:23
paranoid people do that...05:23
note that you can also use fake hosts05:24
{HD} well, I just tested my setup with the 2 ssh keys I am currently using and it seems to work.05:24
I don't know how the agent knows which to use05:24
hdon left05:26
sauvin left05:29
tsaka__ left05:30
sauvin joined05:30
thiago ~/.ssh/config05:36
and, of course, it uses the one that works with the server05:36
it sends the fingerprint to all of them to the server and the server says which one it accepts05:36
inovas left05:37
mlopezviedma_ joined05:38
{HD} thiago: so. It works for git but it isn’t working for just ssh from cli. Gotta still figure that one out.05:39
thiago huh?05:39
git doesn't do anything special. It just runs ssh.05:39
mlopezviedma left05:40
hdon joined05:41
tunekey left05:42
inovas joined05:44
Karyon left05:44
tsaka__ joined05:47
vovs03 joined05:50
KeyJoo left05:50
{HD} Yea, which is why it doesn’t make sense. I can ssh -i and that works. But it defaults to asking for password. I want it to default to looking at keys.05:52
¯\_(ツ)_/¯05:53
thiago left05:54
osk joined06:00
navidr joined06:01
reverse_light left06:04
tomfarr left06:05
tomfarr joined06:06
cfoch joined06:09
afuentes joined06:10
cur8or joined06:11
heiler left06:12
heiler joined06:12
cur8or left06:16
rosa joined06:16
reverse_light joined06:22
austin_laptop left06:24
piggah_ joined06:25
mattcen left06:26
James0r2_ joined06:26
piggah left06:28
James0r left06:29
rosa left06:29
a3Dman joined06:31
mattcen joined06:31
nd left06:32
czart_ joined06:33
nd joined06:33
skisela joined06:34
Juesto left06:34
piggah joined06:35
piggah_ left06:36
czart left06:36
darkbit joined06:39
azur_kind joined06:39
tkore\w joined06:40
tkore\w left06:40
darkbit left06:40
tkore\w joined06:40
tkore\w left06:41
tkore\w joined06:41
heiler left06:41
tkore\w left06:42
schleppel joined06:42
tkore\w joined06:43
govg left06:43
govg joined06:44
heiler joined06:45
fr33domlover joined06:46
shinnya joined06:50
hdon left06:50
HourGate_ joined06:51
dimi1947 joined06:56
hdon joined06:57
sandroqz left06:58
piggah_ joined06:59
piggah left07:00
pix9 left07:02
pix9 joined07:03
dreiss joined07:03
tkore\w left07:05
piggah_ left07:08
azur_kind left07:08
heiler left07:09
heiler joined07:09
mooasaurus left07:09
mooasaurus joined07:09
piggah joined07:12
dsdeiz joined07:18
dsdeiz left07:18
dsdeiz joined07:18
mkalfon_ left07:20
Bobdude left07:21
dsdeiz_ joined07:23
dsdeiz left07:24
nast joined07:26
dreiss left07:28
kgrimes joined07:29
nowhere_man joined07:30
nast left07:31
fatalhalt joined07:33
heiler left07:33
heiler joined07:34
rosa joined07:35
dpower left07:35
dreiss joined07:35
hdon left07:36
hdon joined07:38
rosa left07:39
heiler left07:39
heiler joined07:40
hdon left07:42
rosa joined07:43
pfleck1 joined07:44
Naq joined07:46
rosa left07:46
hdon joined07:47
heiler left07:47
heiler joined07:48
hdon left07:52
rosa joined07:55
CtrlC left07:55
heiler left07:58
cur8or joined07:59
hurricanehrndz left08:00
heiler joined08:00
osk left08:02
hurricanehrndz joined08:03
Lyqyd left08:03
oxymoron93 joined08:03
cur8or left08:03
VladGh left08:04
mrBen2k2k2k joined08:04
VladGh_ joined08:04
foul_owl left08:04
oaao joined08:05
sjoshi joined08:05
rosa left08:06
heiler left08:06
heiler joined08:07
rosa joined08:07
sjoshi left08:08
oaao left08:08
tsaka__ left08:10
Naq left08:11
Naq joined08:11
ferdna left08:13
rosa left08:13
oaao joined08:14
oaao left08:14
sjoshi joined08:14
sjoshi left08:15
taoqy joined08:15
mattcen left08:16
obi_jan_kenobi joined08:16
taoqy left08:16
rajat joined08:16
taoqy joined08:16
fatalhalt left08:16
Nizumzen joined08:17
mattcen joined08:17
jikz left08:17
foul_owl joined08:20
fatalhalt joined08:23
pfleck1 left08:23
taoqy left08:23
taoqy joined08:24
King_Hual joined08:24
King_Hual left08:24
King_Hual joined08:24
pfleck left08:26
bendo left08:26
King_Hual left08:26
Nizumzen left08:27
robotroll joined08:27
zlsyx left08:29
jstein_ joined08:29
jstein_jstein08:29
pfleck joined08:29
Goplat left08:31
heiler left08:31
heiler joined08:31
heiler left08:37
heiler joined08:37
dimi1947 left08:38
hdon joined08:41
pfleck1 joined08:41
piggah left08:43
govg left08:43
govg joined08:45
heiler left08:45
pfleck1 left08:46
heiler joined08:51
Zexaron joined08:55
MutantMahesh joined08:56
dsdeiz_ left08:57
heiler left08:58
MutantMahesh left08:59
sentriz joined09:04
Tobbi joined09:05
jelmer left09:07
cfoch left09:08
jelmer joined09:08
plexigras joined09:11
Nizumzen joined09:12
hdon left09:12
thinkpad left09:15
jnavila joined09:15
energizer left09:17
thxffo left09:17
hunterlabs left09:19
g00s joined09:19
thinkpad joined09:20
catsup left09:21
orzo joined09:21
catsup joined09:21
catsup left09:22
catsup joined09:22
thxffo joined09:23
hunterlabs joined09:23
Doginal left09:27
zlsyx joined09:27
typedef joined09:27
sameerynho joined09:27
g00s left09:29
Thominus left09:29
Thominus joined09:30
manuelschneid3r joined09:38
nnyk_ joined09:38
ok91 joined09:39
mohabaks joined09:42
tkore\w joined09:42
tkore\w left09:42
tkore\w joined09:42
nnyk_ left09:43
xaa joined09:44
taoqy left09:46
jstein left09:46
gavit {HD}: which os are you running09:47
turtletaro joined09:47
inovas left09:53
nnyk_ joined09:54
dimi1947 joined09:54
Gurkenglas joined09:56
inovas joined09:58
mohabaks left09:59
nnyk_ left10:01
turtletaro left10:03
turtletaro joined10:03
oxymoron93 left10:08
pfleck left10:09
mattcen left10:13
mattcen joined10:15
yeshurun joined10:15
Nizumzen left10:16
Fernando-Basso joined10:18
tvw joined10:18
gtristan left10:21
nnyk_ joined10:24
nnyk_ left10:28
kgrimes left10:28
routingsparks joined10:28
turtletaro left10:29
Strepsils joined10:31
Strepsils left10:32
ferr left10:32
gareppa joined10:37
routingsparks left10:39
gtristan joined10:42
obi_jan_kenobi left10:43
dpyro left10:44
amirpro joined10:44
gareppa left10:45
Fernando-Basso left10:45
jnavila left10:46
gareppa joined10:46
borkr joined10:47
jelmer left10:48
jelmer joined10:49
gareppa left10:53
RougeR joined10:55
Minty_ joined10:56
Minty_ Hi, I can't believe I'm the only person who is asking this but I can't find anything online about this. I am starting a new project and want to use the git flow workflow. How do I start?! Surely my initial commit should be to the develop branch, not the master. Before my first release, surely there is no master10:57
but as soon as i do git init locally, i'm in master. if i then do git branch develop; git checkout develop, my local repository will empty10:57
i would have had to push my local repo first up to master to then checkout to develop and pull from master10:57
peterR`` joined10:59
bremner master is usually a branch, not a repo11:00
I don't know git-flow terminology, but I think you might be mixing it up.11:00
Minty_ bremner: ok but my point is how do i do my initial commit not to master?11:00
bremner create a new branch, and commit there.11:01
gareppa joined11:01
Minty_ bremner: but as i said above; git branch develop; git checkout develop will cause my local directory to wipe.11:01
bremner: i already had an empty file structure before git init11:01
and i want my initial file structure to my commit to develop11:01
bremner if you want the new branch to be based on the current one, use git checkout -b develop11:02
Minty_ bremner: ah thank you!11:02
ferr joined11:02
gareppa left11:03
gtristan left11:03
ferr left11:04
Minty_ bremner: I got: fatal: Not a valid object name: 'master'.11:05
when running git branch develop11:05
is that because i need to add remote origin first?11:05
bremner no11:05
Nizumzen joined11:05
bremner !repro11:05
gitinfo [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://git.io/viMGr ) of your terminal session so we can see exactly what you see11:05
amirpro left11:08
amirpro joined11:09
Minty_ bremner: i don't think that will help. maybe this is because I'm running these commands from within my context-sensitive ide?11:10
bremner: i just tied git help branch and received this error "fatal: 'web--browse' appears to be a git command, but we were not able to execute it. Maybe git-web--browse is broken?"11:10
bremner the bot has an answer for everything...11:10
!gui11:10
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.11:10
Minty_ bremner: i am using cli.11:10
bremner: via a terminal window inside of my editor...11:10
elichai2 joined11:13
amirpro left11:13
Minty_ bremner: i've just read up - the reason is i have to create master first11:13
with an initial commit11:13
Naq left11:13
Minty_ so back to my original question, i HAVE to make an initial commit to master?11:13
bremner no11:13
amirpro joined11:13
bremner "git checkout -b" should work11:14
Minty_ bremner: oh i can just go and run git checkout -b develop11:14
bremner: i assumed i had to create the branch first11:15
bremner: but i realise now that the -b flag does that for me11:15
n3wborn left11:17
mohabaks joined11:19
j416 Minty_: fwiw, typically start with a first commit on master anyway. I usually put a readme there to begin with. Then I branch off.11:20
s/typically/I typically/11:20
Minty_ j416: ok11:21
j416 Minty_: because, you still need branch "master" later, and then you would have to create it. When you create a branch it needs to point to something, or your histories would be unrelated.11:23
Minty_ geez i am so confused right now11:25
i'm going to start again11:25
Zexaron left11:25
Minty_ Ok, so i have a local project which just has some directories and blank files in it11:25
j416 Minty_: it's a graph of commits, think of it like that.11:25
Minty_ i create my repo on github and i put readme, license and .gitignore in it (via the github UI)11:25
j416 Minty_: branch names are just pointers to commits. DNS entries if you will.11:25
Minty_ if i then add that origin and pull from it, will it clear out my local directory?11:25
Seveas Minty_: nope11:26
Minty_ why wouldn't it? surely it would find things locally that aren't in the repo and it would delete them?11:26
Seveas git doesn't like deleting files it doesn't know about, and only does so when specifically asked11:26
j416 Minty_: try without github first; remove that from the equation.11:26
Minty_ j416: ok11:27
j416 Minty_: github is just a hosting provider with extra features.11:27
Minty_: git works just fine without it.11:27
Minty_ j416: ok, so here's what i'm going to do. locally; git init followed by git add .gitignore followed by git commit -m "Initial Commit", then git add .; git commit -m "Second Commit"11:28
j416: once i've done all that, then i'll add a remote repo and push to it11:28
that sound sensible?11:28
j416 Minty_: mkdir foo; cd foo; echo "# My Foo Project" > README.md; git init; git add README.md; git commit -m 'Initiall commit'11:28
Minty_: yes, sounds sensible.11:29
Minty_: or just add it all in the first commit.11:29
s/Initiall/Initial/11:29
can't spel today11:29
Minty_ j416: i have loads of files that i need to exclude which is why i need my first commit to include gitignore11:29
jelmer left11:30
j416 Minty_: you don't _need_ .gitignore to not commit files.11:30
Minty_ j416: i know but i want to use git add .11:30
j416 Minty_: you can simply choose to not commit them.11:30
Minty_: right.11:30
Minty_ because there's quite a few11:30
but also quite a few i don't want like pycharm files etc.11:30
jelmer joined11:30
j416 so add whatever makes sense as some boilerplate for your project11:30
readme, .gitignore, whatnot.11:30
heck, even a first version of your project.11:31
I quite like having a first commit with something rather generic, without program-specific things (well, apart from the name). That way I can steal that first commit and re-use it in similar projects and I don't have to reinvent the wheel every time.11:32
Minty_ j416: i think this is just a warning message rather than an issue as it is working regardless but when i ran git push -u origin master, i got the below:11:32
error: cannot spawn sh: No such file or directory11:32
j416 that is unrelated to your workflow11:33
vovs03 left11:33
j416 never seen this error before.11:33
Minty_ j416: ok thanks11:33
j416 perhaps something with your prompt?11:33
Minty_ j416: so now i have done 2 commits and pushed to github repo; https://github.com/adamcunnington/DataLake11:33
j416: locally if i want to continue on develop; is the correct workflow as follows? git branch develop11:33
git checkout develop11:34
j416 "git branch dev && git checkout dev" is the same as "git checkout -b dev"11:34
answer is yes; this will create a new branch.11:34
Minty_ git pull origin develop11:34
i need to do a pull right?11:34
j416 no11:34
Minty_ i mean i don't need to11:35
but i want to - right?11:35
j416 why?11:35
Minty_ because develop should start off looking like master?11:35
amirpro_ joined11:35
j416 does github have something you need?11:35
Minty_ yea, my initial 2 commits11:35
that i pushed to master11:35
j416 you have those already11:35
Minty_ i don't understand11:35
surely they were commited to my local master branch?11:35
j416 yes11:35
so you have them11:35
Minty_ and when i change branches, my new branch is "empty"?11:35
j416 you don't need to download them11:35
no11:35
try it.11:36
the new branch points to the current commit by default.11:36
Minty_ j416: ahhh11:36
j416 in your case, the last commit of master.11:36
Minty_ clever11:36
so git pull is when i want to "get latest changes" from central repo11:36
which in this case is my github remote origin11:36
gareppa joined11:37
amirpro left11:38
amirpro_amirpro11:38
dimi1947 left11:39
Minty_ j416: how do i know when to use git push -u origin master vs. git push origin master11:39
yeshurun left11:40
Regon joined11:44
j416 man git-push11:46
gitinfo the git-push manpage is available at https://gitirc.eu/git-push.html11:46
j416 Minty_: -u configures your repo so that next time you do 'git push', it knows you mean 'git push origin master'11:46
Minty_: you can use 'git push origin master' every time if you prefer, but 'git push' suffices if you have given it -u once.11:47
Minty_: you'd probably benefit from !book11:47
gitinfo Minty_: There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable11:47
Minty_ j416: thanks11:50
j416 Minty_: also, https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html11:50
(referring to acde0bc00c02)11:50
Nizumzen left11:50
taoqy joined11:51
d^sh left11:53
Nizumzen joined11:53
d^sh joined11:53
cdown_ joined11:55
Singmyr joined11:55
bwn left11:55
amirpro left11:56
BouncyKnightMike joined11:56
jnavila joined11:57
ok91 left11:57
cdown left11:57
cdown_cdown11:58
Nizumzen left11:58
gareppa left11:59
amirpro joined12:03
xaa left12:05
tsaka__ joined12:05
gareppa joined12:10
sunri5e left12:10
jikz joined12:11
sunri5e joined12:11
beefjoe joined12:11
Silenced joined12:13
bwn joined12:15
jikz left12:16
BouncyKnightMike left12:16
pfleck joined12:17
jikz joined12:17
gareppa left12:18
jikz left12:19
jikz joined12:20
kmt_ joined12:20
kmt_ left12:20
jikz left12:21
Halo joined12:21
jikz joined12:21
SingmyrFraky12:22
ZyX-I joined12:22
dimi1947 joined12:24
FrakyFrakylol12:27
plexigras left12:27
plexigras joined12:28
linuxmodder joined12:28
linuxmodder left12:29
linuxmodder joined12:30
Karyon joined12:30
a3Dman left12:34
zulutango left12:35
PioneerAxon left12:40
phinxy joined12:41
PioneerAxon joined12:42
manuelschneid3r left12:43
Nizumzen joined12:47
jikz left12:48
navidr left12:48
_kk22kk_ joined12:48
tsaka__ left12:52
Naq joined12:55
Naq left12:55
{HD} gavit: its a mac so High Sierra12:57
pfleck left12:58
jnavila left12:58
skisela left13:00
Karyon left13:02
amirpro left13:03
amirpro joined13:05
amirpro left13:08
amirpro joined13:09
redj_ left13:09
Nizumzen left13:12
amirpro left13:13
linuxmodder left13:14
pfleck joined13:14
amirpro joined13:14
dimi1947 left13:15
amirpro left13:18
pfleck left13:19
beerdrop left13:19
pfleck joined13:20
Karyon joined13:23
amirpro_ joined13:24
cfoch joined13:24
frobnic left13:24
frobnic joined13:25
amirpro joined13:25
PioneerAxon_ joined13:26
vovs03 joined13:26
amirpro_ left13:28
PioneerAxon left13:29
azur_kind joined13:29
beerdrop joined13:31
livingstn joined13:32
liori left13:32
liori joined13:32
Plouescat joined13:33
Plouescat left13:34
ferr joined13:35
Noldorin joined13:35
vovs03 left13:37
netj left13:37
netj joined13:38
pix9 left13:46
pix9 joined13:46
ferdna joined13:48
p0s1x joined13:52
p0s1x left13:53
skisela joined13:54
rajat left13:57
ferr left13:58
pfleck left14:03
pfleck joined14:08
inovas left14:09
shinnya left14:09
mohabaks left14:13
inovas joined14:13
CheckDavid joined14:19
winfli left14:20
typedef left14:22
livingstn left14:27
elichai2 left14:32
nnyk_ joined14:37
Nizumzen joined14:39
livingstn joined14:39
Naq joined14:41
Naq left14:43
tsaka__ joined14:43
livingstn left14:44
astrofog joined14:44
amirpro left14:45
zlsyx left14:47
ferdna left14:47
peterR`` left14:48
jelmer left14:49
Cromulent|2 joined14:50
mud joined14:52
astrofog left14:52
Cromulent|2 left14:52
Nizumzen left14:52
jelmer joined14:53
livingstn joined14:53
sunri5e left14:53
Cromulent|2 joined14:54
sunri5e joined14:55
amirpro joined14:55
tkore\w left14:59
zeroed joined15:00
tunekey joined15:02
MrBiogene left15:04
crmne left15:08
pfleck left15:11
crmne joined15:12
ruslangaripov left15:14
ruslangaripov joined15:14
Soni left15:21
czart_ left15:25
czart joined15:26
Soni joined15:27
rafasc joined15:28
ocds joined15:33
peterR`` joined15:34
Puffball joined15:35
moplo joined15:35
Noldorin left15:37
Noldorin joined15:38
_kk22kk_ left15:39
Mattiaslndstrm joined15:40
yeshurun joined15:41
al-damiri joined15:43
pfleck joined15:43
ok91 joined15:44
pfleck left15:48
rosa joined15:49
Eryn_1983_FL left15:49
thiago joined15:50
ocds left15:51
stoopkid left15:51
nnyk_ left15:53
moplo left15:53
czart left15:54
moplo joined15:54
moplo left15:55
czart joined15:55
pzp joined15:55
czart_ joined15:56
czart_ left15:57
czart_ joined15:58
rosa left15:59
czart left16:00
czart__ joined16:00
Eryn_1983_FL joined16:02
czart_ left16:03
dreiss left16:06
skisela left16:07
tunekey left16:09
amirpro left16:10
tunekey joined16:10
jready joined16:11
ki0 joined16:11
jimmyrcom joined16:13
rajat joined16:20
Ontaine joined16:21
tvw left16:25
tkore\w joined16:26
nevyn left16:27
amirpro joined16:30
rajat left16:31
pfleck joined16:32
pasky` left16:35
pfleck left16:39
cfoch hello16:41
why may"git submodule update" get stuck?16:41
cbreak missing commit in remote? :)16:42
pasky` joined16:42
cfoch how do I check that? That's not my repo.16:43
zeroed left16:43
cbreak the error message should tell you16:44
a3Dman joined16:45
tombusby left16:46
tombusby joined16:46
cfoch there is no error message16:46
it just say "cloning into <some_path>"16:46
Puffball left16:47
menip joined16:49
menip left16:49
ocds joined16:49
thiago try to git clone manually16:49
rafasc left16:49
cfoch yes, I have done that and it worked16:52
thiago did you do of the URL in .gitmodules?16:52
cfoch it's still rare that submodule update didn't work16:52
livingstn left16:52
thiago it's unheard of16:53
ki0 left16:57
fr33domlover left16:58
livingstn joined17:00
cur8or joined17:00
rosa joined17:02
tymczenko joined17:03
livingstn left17:03
cur8or left17:04
stoopkid joined17:06
rosa left17:06
amirpro left17:07
zlsyx joined17:10
nnyk_ joined17:10
zlsyx left17:14
rosa joined17:16
redj joined17:16
orbyt_ joined17:16
phluks joined17:16
nnyk_ left17:18
CheckDavid left17:18
rosa left17:19
atrigent left17:19
atrigent joined17:19
vdamewood joined17:20
livingstn joined17:21
osse joined17:24
jready left17:26
jready joined17:26
amirpro joined17:27
hrd_04 joined17:28
energizer joined17:29
jready left17:31
Karyon_ joined17:31
Thominus left17:32
Thominus joined17:32
Karyon left17:34
livingstn left17:35
jakogut_ joined17:36
TinkerT left17:36
ruslangaripov left17:37
TinkerT joined17:38
jakogut__ joined17:42
dreiss joined17:42
jakogut_ left17:43
Doginal joined17:47
xaa joined17:49
d3r3k joined17:51
yeshurun left17:52
rosa joined17:53
dreiss left17:53
hrd04 joined17:53
hrd_04 left17:53
Ontaine left17:53
wget_ left17:55
dege joined17:57
basiclaser joined18:00
wget joined18:00
raynold left18:01
rosa left18:01
orbyt_ left18:03
MACscr|lappy joined18:03
beefjoe left18:05
pzp left18:05
Ontaine joined18:06
amirpro left18:08
hdon joined18:08
vdamewood left18:09
MACscr|lappy left18:10
zlsyx joined18:12
hdon left18:13
mattcen left18:13
ewitz joined18:16
rajat joined18:17
mattcen joined18:18
MACscr|lappy joined18:21
Tobbi left18:22
gtristan joined18:23
rajat left18:25
sicinthehead left18:25
MACscr|lappy left18:26
sicinthehead joined18:26
Tobbi joined18:28
azur_kind left18:28
MACscr|lappy joined18:29
paul424 joined18:29
coumbole joined18:33
MACscr|lappy left18:36
MACscr|lappy joined18:37
dege left18:37
Ontaine left18:37
Ontaine joined18:38
Ontaine left18:38
Ontaine joined18:38
Ontaine left18:39
Ontaine joined18:39
Ontaine left18:40
phinxy left18:40
Ontaine joined18:40
Ontaine left18:40
zlsyx left18:41
Ontaine joined18:42
crmne left18:43
amatas joined18:43
ok91 left18:44
amatas left18:44
ok91 joined18:45
amatas joined18:45
YuGiOhJCJ joined18:46
amatas left18:46
orbyt_ joined18:46
crmne joined18:47
ok92 joined18:47
pfleck joined18:47
ok91 left18:47
ok92ok9118:47
MACscr|lappy left18:48
duke left18:48
Karyon joined18:49
duke joined18:50
duke left18:50
duke joined18:50
jnavila joined18:50
mmercer left18:52
ToBeFree joined18:52
gitinfo set mode: +v18:52
Ontaine left18:52
Karyon_ left18:53
kgrimes joined18:54
phluks left18:55
shodan` joined18:56
phluks joined18:56
hdon joined18:57
ToBeFree left18:58
shodan` left18:59
Cromulent|2 left18:59
Nizumzen joined19:00
phluks left19:02
kfoonamalik joined19:02
mkoed joined19:04
mkoed left19:04
mkoed joined19:05
Karyon left19:05
xeno left19:05
Karyon joined19:06
nnyk_ joined19:06
Karyon left19:06
watsonjar2 left19:06
zonerd joined19:06
Nizumzen left19:06
gitinfo set mode: +v19:08
zonerd hi all19:08
gitinfo zonerd: 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.19:08
muelleme joined19:09
zonerd i'm such an idiot, I accidentally ran: git reset --hard HEAD^19:09
I meant to do soft reset19:09
_ikke_ auch19:09
zonerd is there anyway to recover my uncommited changes19:09
dzho ouch19:09
dzho doesn't know of a way19:09
dzho not unless you somehow had backups made some other way19:10
_ikke_ either because you git added those specific changes, or your editor is smart enough to have those still in ab uffer19:10
otherwise, your out of luck19:10
dzho has done that19:10
zonerd no smart IDE, just sublime text19:10
dzho it's a hard lesson19:10
skisela joined19:10
_ikke_ zonerd: something like undo perhaps?19:10
skisela left19:11
zonerd I didnt have those files opened in the editor anyway19:11
cdown left19:12
thxffo left19:12
hunterlabs left19:12
zonerd damn it, it seems I dont have any recent backups either..19:12
Lyqyd joined19:12
_ikke_ did you run git add by chance recently on those changes?19:13
cfoch left19:13
zonerd no19:14
thiago if you have done a git diff on those uncommitted changes, then the files are still there19:15
you can check them out19:15
zonerd not indexed nor commited. I know, I'm screwed...19:15
phinxy joined19:15
_ikke_ thiago: diff does not add things to the index iirc19:15
zonerd he meant diff in the console, right? no luck19:16
Kobaz git git gitty up19:16
so i'm having an issue where every time i do a pull, it does a merge19:16
* 2.0 4f97b0b Merge branch '2.0' of foo.local:/git/Modules/Queue into 2.019:17
thiago _ikke_: I thought it git add'ed the file. Just checked, it doesn't.19:17
Kobaz i'm fully to to date with the remote branch19:17
gareppa joined19:17
zonerd feels like screaming19:19
thiago Kobaz: nothing wrong there19:21
Kobaz usually i can just fast forward19:22
thiago Kobaz: being up to date does not mean you don't have *more* changes.19:22
Kobaz: git status will tell you19:22
git log @{u}..19:22
Kobaz but *every single* pull, is a merge19:22
thiago that will show what you have more19:22
yes19:22
Kobaz this is not normal19:22
tymczenko left19:22
Kobaz i should be able to fast-forward, there's nothing fancy going on19:22
thiago you have at least one commit that upstream doesn't19:23
so every pull is a merge, not a fast-forward19:23
dermoth left19:23
YuGiOhJCJ left19:23
_aeris_ left19:23
ghost43 left19:23
Thominus left19:23
_exotime_ left19:23
tombusby left19:23
thiago this is entirely normal19:23
Kobaz how do i find that commit19:23
thiago 12:22 < thiago> git log @{u}..19:23
including the two dots19:23
dzho interesting19:24
Kobaz from where to where?19:24
craftyguy left19:24
dermoth joined19:24
thiago sorry, what?19:24
zonerd you could also fetch first, then rebase manually19:24
YuGiOhJCJ joined19:24
ghost43 joined19:24
tombusby joined19:24
Goplat joined19:24
Kobaz git log @{u} --oneline | wc -l -> 243719:25
_aeris_ joined19:25
craftyguy joined19:25
Kobaz i definitely haven't diverged 2437 commits19:25
exotime joined19:25
thiago maybe upstream rebased19:25
is that possible?19:25
phinxy left19:25
Kobaz i tried a rebase a while ago locally that failed19:25
i reverted everything19:25
thiago do you want to throw away any possible changes you have?19:26
git reset --hard @{u}19:26
Thominus joined19:26
thiago but if upstream rebases, the problem will show up again19:26
Kobaz i can make a copy and try that19:26
phinxy joined19:26
gareppa left19:26
thiago if you made a mistake in rebasing, this could also be the cause19:26
muelleme left19:27
kfoonamalik left19:27
gareppa joined19:28
Thominus left19:28
energizer left19:29
fstd_ joined19:29
energizer joined19:29
linuxmodder joined19:29
tymczenko joined19:29
energizer left19:29
energizer joined19:30
Thominus joined19:31
hunterlabs joined19:32
fstd left19:32
fstd_fstd19:32
thxffo joined19:33
piggah_ joined19:34
hrd04 left19:34
manuelschneid3r joined19:34
zlsyx joined19:34
gareppa left19:35
nnyk_ left19:35
netj left19:38
netj joined19:38
wootehfoot joined19:39
zlsyx left19:39
hseg joined19:41
livingstn joined19:41
hseg Hi. I accidentally committed a version of a config file with passwords. Have cleaned history so all branches don't point to that history. A) Will git gc throw out that commit? B) How can I check this?19:42
(e.g. in B) is there some way I can see all stored versions of that path?)19:42
_antares_ joined19:43
jready joined19:44
_ikke_ hseg: Eventually GC will remove those objects, given they are not referenced anymore19:44
austin987 joined19:44
_ikke_ The eventually is because 1. objects new than 14 days are not removed, and 2. the reflog keeps a reference to objects for 90 days by default19:45
newer*19:45
hseg Hm. OK.19:45
Can live with that. Any way to check they've been removed?19:46
e.g. my point B) above?19:46
jnavila left19:47
_ikke_ git log --patch --full-history --all -- path/to/file should show you all commits + diffs for that specific file19:48
everything that is referenced that is19:48
hseg Nope, password commit doesn't show up.19:49
But if I add --reflog, it shows up19:49
_ikke_ right, that's expected19:50
but the reflog is never pushed19:50
I mean, if objects are just referenced by the reflog19:50
hseg Good. Reflog expiry is time-based or entry-based?19:50
Thominus left19:51
YoungJedi joined19:51
hseg I suppose that when this entry expires from the reflog, it won't show up anymore.19:51
snowkidind joined19:51
_ikke_ time based19:51
90 days19:51
Thominus joined19:51
_ikke_ You can run git reflog --expire-unreachable to expire entries that are no longer reachable anymore19:52
hseg Unrecognized argument19:52
Thominus left19:52
Thominus joined19:53
hseg Oh, it needs a timestamp argument19:53
jnavila joined19:53
hseg What's the format? YYYY-MM-DDTHH:mm:ss?19:56
YoungJedi left19:59
hseg Nm, found solution. Thanks!19:59
hseg left19:59
minionofgozer_ left20:00
linuxmodder left20:00
Thominus left20:02
Thominus joined20:02
hdon left20:04
dege joined20:04
rosa joined20:05
amirpro joined20:05
jready left20:08
nnyk_ joined20:08
rosa left20:08
jready joined20:08
ryanjohnstonyyc joined20:08
rosa joined20:12
nnyk_ left20:12
jnavila left20:12
hdon joined20:12
jready left20:13
jready joined20:17
reaper joined20:18
sheeldotme joined20:18
Bobdude joined20:19
reaper left20:20
reaper joined20:21
rosa left20:22
rosa joined20:23
reaper left20:24
YoungJedi joined20:24
YoungJedi left20:25
jnavila joined20:27
zonerd left20:27
rosa left20:27
jnavila left20:27
raymond left20:28
sheeldotme Hey all, after I create a commit using libgit I still see changes to be committed in "git status". "git add ." resolves this, I'd really appreciate any pointers as to what I may be missing. Thanks!20:28
gloomy joined20:29
raymond joined20:29
mlopezviedma_mlopezviedma20:30
pfleck left20:30
rosa joined20:30
phinxy left20:31
livingstn left20:31
phinxy joined20:32
rosa left20:33
ferdna joined20:35
phinxy left20:35
skered I can do 'git log -n1 6e2688872' and I get the proper log message for that commit however I'm trying to find the branch that has this commit. 'git branch --contains 6e2688872' returns nothing.20:36
pfleck joined20:36
skered Is this the wrong way to find the branch? Or is there another way?20:36
_ikke_ sheeldotme: you need to somehow update the index before you commit20:36
skered: are you sure that commit is still being referenced somehow?20:37
skered _ikke_: Yes, because I can get the commit message?20:38
_ikke_ doesn't mean anything20:38
as long as that object is still available, you can query it20:38
sheeldotme _ikke_ I'm calling the rust equivalent of the c function: git_index_write_tree, should that not be sufficient? https://libgit2.github.com/libgit2/#HEAD/group/index/git_index_write_tree20:39
"This method will scan the index and write a representation of its current state back to disk; it recursively creates tree objects for each of the subtrees stored in the index, but only returns the OID of the root tree."20:39
_ikke_ sheeldotme: you need it the other way around20:39
sheeldotme _ikke_ even if I'm manually adding the path to the index before hand?20:41
livingstn joined20:41
Silenced left20:42
paul424 left20:43
_ikke_ sheeldotme: I don't know libgit that well20:44
menip joined20:44
menip left20:44
_ikke_ sheeldotme: but the symptoms indicate that the changes haven't been added to the index20:45
sheeldotme Oh, that's fair, I'll look into your suggestion though, I agree that's what it sounds like. Thanks for your help _ikke_!20:45
zulutango joined20:46
livingstn left20:50
zlsyx joined20:53
dege left20:54
drodger left20:55
ok91 left20:55
Thominus left20:56
Thominus joined20:56
minionofgozer joined20:57
Thominus left20:58
drodger joined20:59
stevenbenner left20:59
pasky` left21:00
jelmer left21:01
jelmer joined21:01
phinxy joined21:07
livingstn joined21:08
NightStrike joined21:08
nnyk_ joined21:09
minionofgozer left21:09
minionofgozer joined21:11
borkr left21:12
Phylock left21:13
tombusby left21:13
tombusby joined21:13
gloomy left21:16
Mattiaslndstrm left21:16
jast left21:18
livingstn left21:18
jast joined21:19
Thominus joined21:20
hdon left21:21
pasky` joined21:21
dege joined21:24
Mattiaslndstrm joined21:25
phinxy left21:27
mattcen left21:28
peterR`` left21:28
Karyon joined21:28
Thominus left21:29
zlsyx left21:29
Thominus joined21:30
phinxy joined21:30
kfoonamalik joined21:30
rosa joined21:31
mkoed left21:32
mkoed joined21:33
rosa left21:33
derkooh joined21:34
rosa joined21:36
cur8or joined21:37
pfleck left21:37
kgrimes left21:38
pfleck joined21:38
rosa left21:38
ki0 joined21:39
amirpro left21:41
cur8or left21:41
barnett joined21:42
amirpro joined21:42
dege left21:42
derkooh left21:43
derkooh joined21:43
amirpro left21:44
derkooh left21:44
amirpro joined21:44
livingstn joined21:46
kfoonamalik left21:46
ki0 left21:47
sheeldotme left21:48
hdon joined21:49
mattcen joined21:50
YuGiOhJCJ left21:50
phinxy left21:50
phinxy joined21:52
wootehfoot left21:52
phinxy left21:52
_antares_ left21:52
livingstn left21:53
hdon left21:54
fabioluciano joined21:56
fabioluciano left21:56
phinxy joined21:58
kgrimes joined21:59
barnett left22:04
Karyon left22:05
govg left22:05
Karyon joined22:06
nnyk_ left22:06
Thominus left22:07
govg joined22:07
Thominus joined22:07
kfoonamalik joined22:08
Thominus left22:09
kfoonamalik left22:09
hdon joined22:10
hdon left22:11
hdon joined22:11
govg left22:11
phinxy left22:12
govg joined22:12
kn-928 joined22:14
kn-928 left22:15
nnyk_ joined22:15
phinxy joined22:16
bluepixe1 joined22:18
nowhere_man left22:18
bluepixel left22:18
Thominus joined22:21
nowhere_man joined22:21
schleppel left22:25
tymczenko left22:27
gkn joined22:27
comptroller left22:31
thiago left22:32
nnyk_ left22:33
inovas left22:33
alex_rus left22:33
Gurkenglas left22:35
drodger left22:35
fabioluciano joined22:36
fabioluciano left22:36
drodger joined22:37
inovas joined22:39
CannedSpinach joined22:39
fabioluciano joined22:40
ki0 joined22:40
tymczenko joined22:41
phinxy left22:42
wintrytbs left22:43
Regon left22:43
manuelschneid3r left22:45
comptroller joined22:47
phinxy joined22:47
nahtnam left22:49
ki0 left22:51
venmx joined22:51
cdown joined22:54
john-34 left23:01
taoqy left23:01
fabioluciano left23:01
fabioluciano joined23:02
fabioluciano left23:02
stoopkid left23:02
fabioluciano joined23:02
john-34 joined23:03
jready left23:03
phinxy left23:04
jready joined23:04
finalbeta left23:04
phinxy joined23:05
phinxy left23:08
stoopkid joined23:08
jready left23:08
venmx left23:10
_ikke_ left23:10
goweol joined23:11
zlsyx joined23:11
bluepixel joined23:11
rafasc joined23:12
jready joined23:12
fabioluciano left23:13
dreiss joined23:13
Gurkenglas joined23:14
phinxy joined23:14
bluepixe1 left23:14
_ikke_ joined23:14
phinxy left23:17
mattcen left23:17
phinxy joined23:18
snowkidind left23:18
netj left23:19
netj joined23:19
mel00010 joined23:21
hdon left23:22
Karyon left23:23
amirpro left23:23
t0adst00l joined23:24
dpyro joined23:25
amirpro joined23:26
mattcen joined23:26
dreiss left23:27
sameerynho left23:28
amirpro left23:29
amirpro joined23:30
wagle left23:30
wagle joined23:30
_ikke_ left23:31
kgrimes left23:32
tymczenko left23:32
jelmer left23:32
jelmer joined23:34
Karyon joined23:34
kgrimes joined23:35
dviola joined23:36
coumbole left23:36
_ikke_ joined23:37
barnett joined23:38
basiclaser left23:40
ghormoon left23:41
orbyt_ left23:44
atrigent_ joined23:44
t0adst00l left23:48
atrigent left23:48
barnett left23:48
orbyt_ joined23:49
t0adst00l joined23:51
hdon joined23:57
phinxy left23:58
CannedSpinach left23:59

Logs Search ←Prev date Next date→ Channels Documentation