IRCloggy #git 2016-06-22

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.

2016-06-22

ollien s/something like/something like this/00:00
cdown_cdown00:00
Kallis joined00:00
EvilPenguin joined00:00
kadoban ollien: Er, #vim, possibly? Or maybe I missed something00:01
ollien shoot00:01
thank you00:01
kadoban 'welcome00:01
ollien today is very far from my day00:01
guardianJ left00:02
horse joined00:02
ajf- joined00:03
texinwien joined00:03
horse left00:04
ajf- left00:05
Rodya_ left00:05
afuentes left00:05
ajf- joined00:06
romerocesar joined00:08
qpdb joined00:10
texinwien left00:10
Rodya_ joined00:10
JackFruh joined00:12
JackFruh left00:12
mdw_ joined00:12
romerocesar left00:13
diablerouge joined00:13
mdw left00:15
aidalgol joined00:16
horse joined00:16
ntonjeta left00:16
jimi_ left00:17
aidalgol left00:17
horse left00:18
nettoweb joined00:19
aidalgol joined00:19
mdw_ left00:19
Lyqyd joined00:19
shgysk8zer0 left00:20
tesuji_ joined00:20
mdw joined00:20
semantipc joined00:21
Lyqyd left00:24
tgunr joined00:24
mdw left00:25
mehola joined00:25
Kaisyu joined00:25
rubyonrailed joined00:28
fuchstronaut joined00:29
horse joined00:29
ajf- left00:30
mehola left00:30
mdw joined00:30
horse left00:31
jeffreylevesque left00:32
skirk joined00:32
jeffreylevesque joined00:33
fuchstronaut left00:35
StuartMI left00:35
allcentury left00:36
nettoweb left00:37
guardianJ joined00:37
nettoweb joined00:38
guardianJ left00:42
jceb_ left00:42
d0nkeyBOB joined00:42
horse joined00:43
aidalgol Where is the alias "!f()" syntax documented? All I can find are various blog posts with examples.00:43
ojacobson git help config00:44
or man git-config00:44
gitinfo the git-config manpage is available at http://jk.gs/git-config.html00:44
ojacobson > If the alias expansion is prefixed with an exclamation point, it will be treated as a shell command.00:44
the rest is in your shell of choice's documentation00:45
horse left00:45
diablerouge left00:45
aidalgol Ah, thanks. I missed that.00:45
LeBlaaan_ joined00:46
aidalgol So what advantage does "!f() { ... }; f" have over just "..."? (i.e. the body of the function directly)00:47
(This is assuming Bash.)00:47
ojacobson it has to do with the way bash expands arguments to aliases00:47
er, git expands00:47
alias.foo = … will run 'git foo bar baz --monkey' as 'git … bar baz --monkey', which may not be appropriate00:48
using a shell function lets you use $1, $2, etc, or loop over arguments, or…00:48
it also lets you run multiple Git commands00:48
passing the same args to all of them, for example, rather than only to the last one00:48
LeBlaaanc left00:49
aidalgol Ah, that makes sense when you want to use arguments, but && outside of a function seems to work just fine.00:49
Er, I meant to say as opposed to just "!..." earlier. So still a shell invocation.00:49
ojacobson Sure. Even so, if you have any arguments, an && chain will send them all to the last operation, unmodified and unfiltered00:50
ajf- joined00:51
LeBlaaan_ left00:53
thiago joined00:53
_August_ left00:53
eight58 left00:53
eka joined00:54
ojacobson I have prune-merged = "!f() { git for-each-ref refs/heads/* --merged | while read hash type ref; do branch=\"$(git rev-parse --abbrev-ref \"${ref}\")\"; git branch -d \"${branch}\"; done; }; f" for example00:54
I never want to deal with arguments, and rather than keeping that in my head, the shell function protects me from myself00:54
_August_ joined00:54
aidalgol But for something more trivial and without variables, such as "!git stash && git pull && git stash pop", just ! is safe?00:55
ojacobson define safe00:55
EvilPenguin left00:55
hahuang65 joined00:55
ojacobson I mean, if you pass it any args, they're going to `git stash pop`, regardless of wheher that makes any sense00:56
aidalgol I'm not going to get bitten by expansion or substitution bugs.00:56
fstd_ joined00:56
aidalgol ah, then no, not safe.00:56
horse joined00:56
hahuang61 left00:56
horse left00:58
ajf- left00:59
fstd_fstd01:00
Dougie187 joined01:00
mdw left01:00
ajf- joined01:02
zivester joined01:02
hahuang65 left01:03
hahuang65 joined01:03
ahr3n left01:05
FuzzySockets left01:08
guardianJ joined01:08
ome joined01:10
FuzzySockets joined01:10
horse joined01:10
johnflux joined01:11
ajf- left01:11
GandalfTheWizard joined01:12
horse left01:12
johnflux In my project, if I do: git submodules init && git submodules update I get a permission denied error. I have to then edit .git/config and edit the submodule url = ssh://.... to add my username like: url = ssh://johnflux@...01:12
ajf- joined01:12
johnflux is there another way that I should add the username for ssh?01:12
ajf- left01:12
dreiss joined01:13
GandalfTheWizard left01:13
bluepixel joined01:13
btree joined01:14
btree left01:15
xall left01:17
eletuchy joined01:17
BombStrike joined01:17
semantipc left01:18
felixjet joined01:18
barteks2x left01:19
eletuchy_ left01:19
eletuchy_ joined01:21
eletuchy left01:22
guardianJ left01:22
GandalfTheWizard joined01:23
horse joined01:24
eletuchy joined01:25
horse left01:26
eletuchy_ left01:26
Asiajey joined01:27
Asiajey left01:27
Asiajey joined01:27
lindenle joined01:27
rkazak left01:28
d0nn1e joined01:28
eletuchy_ joined01:29
jstimm_ left01:29
eletuchy left01:30
nettoweb left01:31
eletuchy joined01:32
lindenle left01:32
hashpuppy left01:32
eletuchy_ left01:33
eletuchy_ joined01:35
eletuchy left01:37
fracting joined01:37
horse joined01:37
eletuchy joined01:37
eletuch__ joined01:39
dreiss left01:39
horse left01:39
cqi joined01:39
eletuchy_ left01:40
david007 joined01:40
eletuchy_ joined01:41
jaguarmagenta joined01:41
fracting left01:41
eletuchy left01:42
eletuchy joined01:42
eletuch__ left01:43
gkatsev joined01:43
eletuch__ joined01:44
jaguarmagenta left01:45
eletuchy_ left01:45
rkazak joined01:46
eletuchy_ joined01:46
eletuchy left01:47
eletuchy joined01:48
eletuch__ left01:49
ilbot3 joined01:49
eletuch__ joined01:50
Wulf4 joined01:50
liuzhen joined01:50
Asiajey left01:51
horse joined01:51
eletuchy_ left01:51
maestrojed left01:52
eletuchy left01:53
horse left01:53
aax left01:53
Wulf4Wulf01:53
EvilPenguin joined01:53
fracting joined01:54
eight58 joined01:56
pks joined01:57
backnforth joined01:58
_28_ria joined02:00
mns joined02:01
drbean_ joined02:01
CheckDavid left02:02
gkatsev left02:02
gkatsev joined02:03
ToBeCloud left02:04
horse joined02:04
horse left02:06
DolphinDream joined02:07
Lye383r7 joined02:10
rkazak left02:13
chachasmooth joined02:13
Kallis left02:14
Lye383r7 left02:16
d0nkeyBOB left02:17
sagerdearia joined02:17
xall joined02:18
horse joined02:18
mda- joined02:18
horse left02:19
_August_ left02:20
_August_ joined02:20
nettoweb joined02:20
safe joined02:20
st0opkid joined02:22
diegoviola left02:26
mehola joined02:26
Motoko joined02:28
Motoko left02:28
Motoko joined02:28
annoymouse left02:29
fuchstronaut joined02:30
xall left02:30
mehola left02:31
xall joined02:31
horse joined02:32
pwnz0r joined02:32
horse left02:33
dreiss joined02:35
fuchstronaut left02:35
lindenle joined02:35
xall left02:36
durham joined02:39
efdetonator left02:41
espindola left02:42
sdothum left02:43
hexagoxel joined02:44
mmlb joined02:45
horse joined02:45
tristanp joined02:46
Goplat joined02:46
Kronuz joined02:46
jbu joined02:47
horse left02:47
jbu all: I'd like to undo a lot of uncommitted deletes in a folder (lazy to do each file one by one) so I'd like to do it recursively or interactively. I see that I can do this using git reset -- ./, but this removes it from index, but doesn't undo the delete on the filesystem. Anyone know what I ought to do?02:49
kadoban jbu: Are the deletes the only uncommited changes?02:49
jbu kadoban, they are uncommited and currently in my "changes not staged for commit"02:50
kadoban jbu: Are they the *only* changes though? There's nothing else you want to keep, right?02:50
jbu kadoban, no, there are other changes I wish to keep, so I don't want to just blow away the whole local branch02:51
kadoban jbu: Are the other changes you want to keep all commited, or are some uncommited?02:51
jbu kadoban, the files I wish to keep I've managed to keep in the "committed" section, and the ofiles I wish to undo-delete are in my not-staged-to-delete section02:52
kadoban jbu: Make a backup just in case (just make a copy of the entire directory). And then you can do something like 'git checkout .' should work02:53
mda- left02:53
xaviergmail left02:53
jbu kadoban, I appreciate your help. This assumes that I have a manageable number of files localized to a small number of folders, right? Just for future knowledge, what if I had many many files I wished to keep spreading across many many folders making it really annoying to physically copy?02:54
xaviergmail joined02:54
kadoban jbu: You can make a backup of any repository by just copying the whole thing, it's just files. It doesn't really assume they're a manageable number. I guess it assumes that you have enough hard drive space to double the size of the thing, but it's only temporary.02:55
axiom_1 joined02:56
kadoban I asked you to make a backup just because if you misunderstood what I was asking above (about uncommited changes), the checkout command can lose you a lot of work02:56
I think we are understanding each other, but I wouldn't 100% bet on it, so ... it's a safety measure.02:56
jbu kadoban, and then I copy the changed files one by one back into the new local repository, right?02:56
ah!02:57
kadoban jbu: No, the backup is just so if something goes wrong you have it. The only command you actually need is the checkout one, that'll bring back the deleted files from the current commit.02:57
jbu kadoban, I did misunderstand what you said...I didn't notice the period in git checkout...yes this worked perfectly02:57
italoacasas left02:57
jbu I didn't realize checkout worked on folders02:57
kadoban, thanks a lot!02:57
kadoban Ah, good. Yep, it does. 'welcome02:57
horse joined02:59
pwnz0r left02:59
NeXTSUN joined03:00
horse left03:01
nettoweb left03:01
backnforth left03:02
rgrinberg joined03:03
zumba_ad_ joined03:03
aavrug joined03:04
nettoweb joined03:06
italoacasas joined03:06
espindola joined03:07
howdoi joined03:08
romerocesar joined03:10
go1111111 joined03:10
safe left03:10
nettoweb left03:11
horse joined03:12
horse left03:14
romerocesar left03:14
digidog_ joined03:14
mda1_ joined03:16
digidog_ left03:17
dreiss left03:17
Gsham joined03:18
durham left03:20
mehola joined03:20
k3rn31 joined03:20
xlegoman joined03:22
NeXTSUN left03:24
ShekharReddy joined03:24
horse joined03:26
durham joined03:27
horse left03:28
dreiss joined03:28
k3rn31 left03:30
Dougie187 left03:31
xall joined03:32
mikecmpbll joined03:32
Gsham left03:33
arescorpio joined03:33
eletuchy joined03:33
EvilPenguin left03:33
dreiss left03:34
durham left03:34
rkazak joined03:34
GandalfTheWizard left03:34
eletuch__ left03:35
sangy joined03:36
hyperair joined03:36
eletuchy_ joined03:36
rkazak left03:36
nnyk_ joined03:37
eletuchy_ left03:37
jaguarmagenta joined03:38
eletuchy left03:39
horse joined03:39
romerocesar joined03:40
horse left03:41
diegoaguilar joined03:43
mikecmpbll left03:43
watabou joined03:43
axiom_1 left03:44
xall left03:44
rahtgaz left03:44
romerocesar left03:45
rgrinberg left03:47
romerocesar joined03:50
fahadash left03:52
dimi1947 joined03:53
horse joined03:53
horse left03:55
sebbu joined03:55
romerocesar left03:55
mmlb left03:56
Rodya_ left03:57
eletuchy joined03:57
dimi1947 left03:57
Lunatrius joined04:00
romerocesar joined04:00
tesuji_ left04:01
tesuji joined04:01
eletuchy left04:02
espindola left04:02
romerocesar left04:05
horse joined04:07
dopesong joined04:08
horse left04:08
romerocesar joined04:11
User458764 joined04:11
xaviergmail left04:11
xaviergmail joined04:13
rscata joined04:14
romerocesar left04:15
pwnz0r joined04:15
madewokherd left04:17
eletuchy joined04:19
horse joined04:20
romerocesar joined04:21
xaviergmail left04:22
horse left04:22
maestrojed joined04:22
eletuchy left04:23
dopesong left04:23
romerocesar left04:25
k3rn31 joined04:26
inflames left04:27
moei joined04:28
glebihan joined04:29
romerocesar joined04:31
fuchstronaut joined04:31
horse joined04:34
romerocesar left04:35
fuchstronaut left04:35
horse left04:36
mikecmpbll joined04:37
eletuchy joined04:39
zumba_ad_ left04:41
yaewa joined04:41
b1tchcakes left04:41
zumba_addict joined04:42
User458764 left04:43
moei left04:43
eletuchy left04:44
watabou left04:45
stephaneyfx joined04:46
xall joined04:46
a_thakur joined04:47
horse joined04:47
mikecmpbll left04:48
horse left04:49
gkatsev left04:49
eight58 left04:49
gkatsev joined04:50
xall left04:51
boombatower joined04:52
User458764 joined04:52
nettoweb joined04:54
User458764 left04:54
subhojit777 joined04:55
stephaneyfx left04:56
stephaneyfx joined04:56
netj joined04:57
nettoweb left04:59
horse joined05:01
zivester left05:01
Cabanossi joined05:02
horse left05:03
GandalfTheWizard joined05:03
rf__ joined05:05
Codfection left05:09
Codfection joined05:10
sangy left05:10
romerocesar joined05:11
a_thakur left05:11
gitinfo set mode: +v05:13
stephaneyfx Hi all. Sorry if this is a silly question... Why does the "git filter-branch" man page state that variables need to be re-exported for --env-filter? From what I understand in the (ba)sh man page, changing the value of an environment variable does not require to re-export it for the change to appear in subsequent child processes. I guess unless "export -n" is used. What am I missing?05:14
nilg joined05:14
horse joined05:15
FuzzySockets left05:15
romerocesar left05:16
aidalgol left05:16
horse left05:16
italoacasas left05:17
leeN joined05:18
a_thakur joined05:18
rubyonrailed left05:20
romerocesar joined05:21
steadystatic left05:22
maestrojed left05:25
romerocesar left05:26
sauvin joined05:26
jason237 left05:27
inflames joined05:28
gkatsev left05:28
horse joined05:28
gkatsev joined05:28
ShekharReddy left05:28
horse left05:30
stuh84 joined05:30
Guest55 joined05:31
piling left05:33
eletuchy joined05:34
fahadash joined05:34
DirtyCajun joined05:36
ThomasLocke joined05:36
dsantiago joined05:38
eletuchy left05:38
User458764 joined05:39
stephaneyfx left05:40
yaewa left05:40
moei joined05:41
gkatsev left05:41
horse joined05:42
Jck joined05:43
qt-x joined05:43
horse left05:44
cyphase joined05:44
cyphase left05:44
cyphase joined05:45
lordjancso joined05:45
stuh84 left05:45
Jck left05:45
retropikzel joined05:49
stonerfish left05:50
stonerfish joined05:51
Motoko left05:51
Guest55 left05:52
carell joined05:53
User458764 left05:54
horse joined05:55
jason237 joined05:56
Oebele joined05:56
rkazak joined05:56
harish joined05:57
horse left05:57
DolphinDream left05:58
netcrime joined05:58
DirtyCajun left05:59
gkatsev joined05:59
Raging_Hog joined06:01
Repox joined06:02
zumba_addict left06:03
reim left06:03
zumba_addict joined06:03
boombatower left06:05
Guest55 joined06:05
DirtyCajun joined06:05
emPi joined06:07
arescorpio left06:09
horse joined06:09
romerocesar joined06:10
drbean joined06:10
netcrime Hi. I´m new to GIT and having trouble Pushing my code. I´m working on Masters branch. Other dev joined and my commit became ahead of origin/master branch (screen: http://prntscr.com/bjfesy). When I try to pull code from git I get an error (screen: http://prntscr.com/bjffxy) Same error when I try to Push my code. How can I fix it? Thank you06:10
nnyk_ left06:10
Omen joined06:11
horse left06:11
OmenGuest6712906:11
TomyLobo joined06:11
kadoban netcrime: Did you read the error? It tells you what's wrong, and unless I'm badly mistaken, it even gives you options for how to proceed near the bottom.06:12
reim joined06:13
d0nkeyBOB joined06:13
jceb joined06:13
drbean_ left06:14
drbean_ joined06:14
Sucks joined06:14
ShekharReddy joined06:15
drbean left06:15
netcrime kadoban: Yes I see the error but I don´t know how to fix it. I´m perfectly fine with overwriting these files as they are same on my local branch as in origin. I don´t see options to fix it06:15
ResidentBiscuit joined06:15
netcrime kadoban: You mean this is the options ? http://prntscr.com/bjfhxt06:16
kadoban No06:16
netcrime kadoban: then everything else is just an error output06:17
a_thakur left06:18
a_thakur joined06:18
d0nkeyBOB left06:18
Sucks left06:19
Sucks joined06:19
apotry joined06:20
D-Boy joined06:20
milki joined06:21
ResidentBiscuit left06:21
MrMojito_Busy joined06:21
zeroed joined06:21
Sucks left06:22
MrMojito_Busy left06:22
Sucks joined06:22
horse joined06:22
MrMojito_Busy joined06:23
MrMojito_Busy left06:23
opal joined06:24
horse left06:24
MrMojito joined06:25
MrMojito left06:25
MrMojito joined06:25
fracting left06:27
vuoto joined06:27
nilg left06:27
cordova joined06:27
eletuchy joined06:28
FuzzySockets joined06:28
cyan__ joined06:30
fuchstronaut joined06:32
TheHackOps joined06:33
TheHackOps Quick question, I have a feature branch which is some 300+ commits ahead of master but is perfectly in sync with master06:33
My idea was to just make that branch master06:33
eletuchy left06:33
TheHackOps Is there a safe way to do said thing06:33
JeroenT joined06:34
kadoban TheHackOps: What does it mean that it's perfectly in sync with master?06:34
yuhlw joined06:35
TheHackOps Is 0 commits behind master06:35
but 340 ahead06:35
Lesson learned, terrible idea06:35
But here we are06:35
kadoban,06:36
kadoban TheHackOps: Oh, you can either just merge it into master (which will fast-forward), or you can simply point master where the branch currently does with 'git reset --hard'06:36
horse joined06:36
fuchstronaut left06:36
kadoban TheHackOps: The merge is probably "safer", you can do --ff-only I believe is the right one to make sure it doesn't do an actual merge, just in case you're mistaken or type the wrong thing somehow.06:36
TheHackOps kadoban, So the idea is, master will now effectivly point to the latest commit of feature-branch06:37
kadoban TheHackOps: Yep.06:38
TheHackOps Hmm06:38
horse left06:38
TheHackOps I cant even tell you how scary this is :D06:38
kadoban TheHackOps: !backup helps aleviate anxiety, heh06:38
gitinfo TheHackOps: Worried about your data while trying stuff out in your repo? The repository in its entirety lives inside the .git directory in the root of your work tree so to backup everything `cp -a path/to/workdir path/to/backup` or equivalent will suffice as long as the repo is not modified during backup. See also http://sethrobertson.github.com/GitBestPractices/#backups06:38
thiago yes, you must have done some really scary work06:38
TheHackOps thiago, omg hey o/06:39
lindenle left06:39
kadoban You can almost always undo stuff without a backup, but a backup makes it trivial, so it's not a bad idea.06:39
TheHackOps Eh we kinda let a feature branch get away from us06:39
thiago probably rebased commits that weren't yours, then reverted stuff, checked out older versions and committed, etc.06:39
feature branches with 300 commits are ok, nothing to be scared about, by itself06:39
TheHackOps The idea was when it diverged was to be merged back into master after 10 commits06:39
300 or so commits later06:40
kadoban Er? I hope not, that's not my understanding of the situation. If that happened ... ignore everything else.06:40
thiago 300 commits that do nothing ("is perfectly in sync") is very scary06:40
TheHackOps thiago, Nah its a whole new module of the app06:40
Sceorem joined06:40
TheHackOps We need to get that module back into master06:40
thiago "is perfectly in sync" = "has exactly the same content"06:41
git diff shows nothing06:41
TheHackOps thiago, Sorry06:41
thiago is that what you meant?06:41
TheHackOps no06:41
ahhaha06:41
One sec, Ill visually show what I mean06:41
thiago ok, so you have 300 commits that implement something06:41
TomyLobo left06:41
thiago you want to merge. Do it. What's the issue?06:41
fracting joined06:41
nettoweb joined06:42
TheHackOps http://imgur.com/bHducZr06:43
thiago, erm resolving that many merge conflicts06:43
gives me nightmares06:43
thiago that doesn't say absolutely anything06:43
well, you have one other choice only:06:44
kadoban TheHackOps: There won't be any conflicts, there can't be (if I'm understanding the situation). You can make sure with --ff-only, if there would be even the chance of a real merge, it'll bail out.06:44
thiago abandon all work done in master since the feature branch was created06:44
what do you choose?06:44
TheHackOps Im going to try kadoban's idea in a copy of the repo06:45
I think its exactly what i want06:45
thiago you said it's 0 commits behind06:45
so there won't be any conflicts06:45
perlpilot_ joined06:45
thiago the slowest part of the merge will be checking out all of the files06:45
dharrigan joined06:45
TheHackOps thiago, I have never had a good way with words06:46
Not when i asked in C++ and not here :(06:46
romerocesar_ joined06:46
ki0 joined06:46
nickthetait1 joined06:46
djh_ joined06:47
nettoweb left06:47
TheHackOps Wow06:47
That worked rly rly rly well06:47
RichardJ joined06:48
TheHackOps Thanks guys06:48
kadoban Yay06:48
TheHackOps It just moved it to where I expected no issues06:48
some extra files created06:48
thiago you said it was 0 commits behind06:48
TheHackOps but thats it06:48
thiago, I get nervous06:48
:(06:48
thiago conflicts were impossible06:48
TheHackOps thiago, I know that now06:48
boshhead_ joined06:49
BlaXpirit_ joined06:49
romerocesar left06:49
PaulePan1er joined06:49
and_i joined06:49
Soliton joined06:49
kanzure_ joined06:49
horse joined06:50
hyperair left06:50
hyperair joined06:50
the_ktosiek joined06:50
GrayShade joined06:50
ketas- joined06:51
Orphis_ joined06:51
zeemz joined06:51
harleypig_ joined06:51
gingitsune joined06:51
attente_ joined06:51
jchonig_ joined06:51
GrayShade why could a "git fetch" hang? the remote is an http url which i can clone otherwise. there's no network filtering that i'm aware of.06:51
it says "POST git-upload-pack (gzip 2638 to 1342 bytes)", then stays like that06:51
ki0 left06:51
horse left06:52
thiago networking problem or server problem06:52
use tcpdump on both sides (client and server) to see if packets being sent are arriving06:53
if packets are not arriving, it's a network problem (probably MTU setting)06:53
GrayShade server is github06:53
thiago if all packets sent are arriving, then it's likely the server is hung06:53
GrayShade ipv406:53
yossarian joined06:54
yossarian left06:54
thiago so it's unlikely to be a problem with github's server or github's network06:54
it must be yours06:54
Guest42010 joined06:54
bodie__ joined06:54
Werring` joined06:54
uidzer0 joined06:54
APK joined06:55
GrayShade suppose so, but it's strange since a clone of the same remote works (i get the same POST message, the "remote: counting objects")06:55
Ankhers_ joined06:55
fugiman joined06:55
CentaurW- joined06:55
canton7_ joined06:55
thiago that's why I think it's an MTU problem06:55
try lowering yours06:55
Atlantic778 joined06:56
HarryHallman joined06:56
HelloAtMega joined06:56
elastix joined06:56
pR0Ps_ joined06:58
AustinIncognito joined06:59
Marbug_ joined07:00
GrayShade ah, the remote isn't github :D07:00
tolland_ joined07:00
ki0 joined07:00
tomzx_ joined07:00
SirFunk_ joined07:00
hhee joined07:01
ThomasLocke_ joined07:01
KellerKatze joined07:01
tomog999_ joined07:01
reizuki_ joined07:01
Silex^^ joined07:02
tenc joined07:02
GrayShade "traceroute to [...], 30 hops max, 65000 byte packets[1] 47105 segmentation fault" sigh.07:02
markmark joined07:02
tomzx_ left07:02
nwf_ joined07:02
tomzx joined07:02
rewt`` joined07:03
dreiss joined07:03
rewt``rewt07:03
varx joined07:03
horse joined07:03
retropikzel_ joined07:04
taylorm left07:04
encod3 joined07:04
cordova left07:04
retropikzel left07:04
ThomasLocke left07:04
_August_ left07:04
reizuki left07:04
CentaurW-CentaurWarchief07:04
canton7_canton707:04
bodie__bodie_07:04
Werring`Werring07:04
pR0Ps_pR0Ps07:04
satbyy_ joined07:04
spudowiar1 joined07:05
Sonderblade joined07:05
_August_ joined07:05
horse left07:05
drbean_ left07:06
harleypig_harleypig07:06
nettoweb joined07:06
Hounddog joined07:07
mikecmpbll joined07:07
SebastianFlyte joined07:07
GandalfTheWizard left07:08
lordjancso left07:08
vuoto left07:08
drbean joined07:09
eletuchy joined07:10
nettoweb left07:11
Macaveli joined07:12
xall joined07:13
zumba_addict left07:13
newlifer joined07:13
Guest55 left07:14
bgamari joined07:14
deltab joined07:14
BlackMaria joined07:14
bcc joined07:14
neanderslob left07:14
jab416171 joined07:14
neanderslob joined07:15
Kicer86 joined07:15
flobin joined07:16
leandrosansilva joined07:16
flobin hi everyone07:16
I'm getting an error that I don't understand, namely:07:16
remote: fatal: pack has 99 unresolved deltas07:16
error: unpack failed: index-pack abnormal exit07:16
when trying to "git push origin master"07:16
more here: https://gist.github.com/Flobin/c10fa2133b281329186a8f0ed511e9cf07:16
milki flobin: either corrupted repo, disk space issues, or filesystem errors07:16
BlaXpirit_ left07:16
milki probably07:16
romerocesar_ left07:16
flobin ah07:17
BlaXpirit joined07:17
milki flobin: o, that ones different. you misseed the reason for the failure07:17
horse joined07:17
milki flobin: line 707:17
flobin: are you perhaps playing with sparse repos?07:17
flobin oh, right07:17
no, this is just a regular repo as far as I know07:17
milki wierd07:17
zeroed left07:18
milki well it sounds like either the remote ran out of compute power or its missing data07:18
ensyde joined07:18
milki ait07:18
its github...07:18
flobin the remote in this case is github, so it would probably be the latter07:18
milki github probably has issues hten07:18
flobin: i would just try later >.>07:18
flobin right07:18
this was yesterday so I'm trying again right now07:19
horse left07:19
nb-ben that's like time traveling07:19
milki github does custom things to git07:19
so they could have other issues07:19
zeroed joined07:20
zeroed left07:20
zeroed joined07:20
feignix joined07:20
ketas-ketas07:21
eletuchy_ joined07:21
ahmedelgabri joined07:21
Guest67129 left07:22
flobin well dang, it worked now07:22
Macaveli left07:22
rkazak left07:22
gkatsev left07:22
romerocesar joined07:22
gkatsev joined07:23
boshhead_boshhead07:23
eletuch__ joined07:23
eletuchy left07:24
BlaXpiritBlaXpirit_07:25
eletuchy joined07:25
BlaXpirit_BlaXpirit07:25
eletuchy_ left07:26
Balliad joined07:27
eletuch__ left07:28
eletuchy_ joined07:28
romerocesar_ joined07:30
pwnz0r left07:30
eletuch__ joined07:30
horse joined07:30
eletuchy left07:31
pwnz0r joined07:31
romerocesar left07:31
cdown_ joined07:31
st0opkid left07:32
jceb left07:32
GrayShade left07:32
thiago left07:32
horse left07:32
eletuchy joined07:32
jaguarmagenta left07:33
eletuchy_ left07:33
texinwien joined07:33
dsdeiz joined07:33
dsdeiz left07:33
dsdeiz joined07:33
cdown left07:34
cdown_cdown07:34
apotry left07:34
apotry joined07:34
eletuch__ left07:35
pwnz0r left07:35
eletuchy_ joined07:36
astrofog joined07:36
romerocesar_ left07:36
cyan__ left07:36
mikecmpbll left07:37
eletuchy left07:38
zeroed left07:38
eletuchy joined07:38
apotry left07:39
dreiss left07:39
ahmed_elgabri joined07:39
TomyWork joined07:40
eletuch__ joined07:40
ahmedelgabri left07:40
eletuchy_ left07:41
cordova joined07:42
fees joined07:42
eletuchy_ joined07:42
elastix left07:42
fahadash left07:42
eletuchy left07:43
feignix left07:43
xall left07:43
absence joined07:43
fracting left07:44
horse joined07:44
cordova left07:44
PaulePan1erPaulePanter07:44
eletuchy joined07:44
the_ktosiekktosiek07:45
jceb joined07:45
eletuch__ left07:45
absence when doing an interactive rebase and editing commits, is it possible to edit the actual patch rather than the file data? i think it would be easier in some cases07:45
_August_ left07:45
horse left07:46
_August_ joined07:46
kedare joined07:46
multi_io joined07:46
aax joined07:47
feignix joined07:47
eletuchy_ left07:47
flobin left07:48
eletuchy_ joined07:49
eletuchy left07:50
romerocesar joined07:50
eletuchy joined07:50
eletuchy_ left07:53
eletuchy_ joined07:54
garethdaine joined07:54
romerocesar left07:55
flobin joined07:55
jbitdrop joined07:55
eletuch__ joined07:56
eletuchy left07:56
netj left07:57
netj joined07:57
texinwien left07:57
horse joined07:58
eletuchy joined07:58
eletuchy_ left07:58
a_thakur left07:59
a_thakur joined07:59
horse left07:59
eletuch__ left08:00
a_thakur left08:01
eletuchy_ joined08:01
jknetl joined08:02
ahr3n joined08:02
dminca joined08:02
dminca Hi guys08:02
gitinfo dminca: 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.08:02
dminca Everyone seems to have problem with `git init`08:03
eletuchy left08:03
dminca meaning that, you can do `git init` in an already initialized Git project08:03
peem I have a repo that needs certain things happening on every commit, like "puppet module build" for example. I thought that I can add it to pre-commit hook, but it seems to be false logic, as I need to do git add first, then run that again in hook script to cover new files generated by puppet. Is there a better vay of doing such thing ?08:03
eijk_ joined08:03
eletuchy joined08:04
dminca all the files that were in .gitignore appear as Untracked,08:04
sorry, files that weren't in .gitignore appear as Untracked.08:05
a_thakur joined08:05
dminca I think this is a bug, where can I file this one?08:05
eletuch__ joined08:06
cdown left08:06
eletuchy_ left08:06
kurkale6ka joined08:07
faiz joined08:08
faiz left08:08
eletuchy left08:09
ToBeCloud joined08:09
gitinfo set mode: +v08:09
eletuchy joined08:09
zeemz left08:10
horse joined08:11
mikecmpbll joined08:11
eletuch__ left08:11
zeemz joined08:12
cdown joined08:12
eletuchy_ joined08:13
Lvjasha joined08:13
horse left08:13
faiz joined08:14
ramsub07 joined08:14
ocbtec joined08:14
circ-user-aKdA0 joined08:15
Lvjasha left08:15
eletuchy left08:15
netcarver joined08:16
flobin left08:16
horse joined08:16
faiz left08:16
imjacobclark joined08:16
Calrik joined08:17
User458764 joined08:17
dimi1947 joined08:17
cdown left08:17
dimi1947 left08:18
eletuchy_ left08:18
nnyk_ joined08:18
dsdeiz left08:19
marcogmonteiro joined08:19
horse left08:20
Lynxium joined08:22
mikecmpbll left08:23
FrontPsych joined08:23
Goplat left08:25
ams__ joined08:25
gelei007 joined08:26
dminca left08:28
dminca joined08:29
FuzzySockets left08:30
muthu joined08:32
FrontPsych left08:32
fuchstronaut joined08:32
mithenks joined08:33
qsx !list08:34
gitinfo [!mailing_list] The mailing list can be reached via [email@hidden.address] You don't need to subscribe to the list, you will always be put in cc on reply. Read archives at http://j.mp/gitlist08:34
qsx dminca: ^08:34
eletuchy joined08:34
User458764 left08:36
ph88 joined08:36
ph88 how can i find out when git version 1.7.4.4 was released ?08:36
cyan__ joined08:37
fuchstronaut left08:37
texinwien joined08:39
i7c Date: Wed Apr 6 10:50:06 2011 -070008:39
eletuchy left08:39
dminca thanks gsx08:39
i7c git show v1.7.4.408:39
ph88 oki thx08:39
lindenle joined08:40
i7c show -s to not get run over by the output ;)08:41
sanketdg joined08:41
programmerZhou joined08:41
JeroenT left08:42
JeroenT joined08:44
mikecmpbll joined08:44
Arban joined08:44
lindenle left08:45
programmerZhou left08:45
drbean_ joined08:45
drbean left08:46
Sucks left08:47
ahmed_elgabri left08:47
Didac joined08:50
drbean_ left08:50
qsx wonders what kind of fonts people have who always mistake qsx for gsx08:52
_August_ left08:52
_August_ joined08:52
iLembus joined08:52
SimonNaa joined08:52
notebox joined08:53
monokrome joined08:54
i7c I tab complete even three letter nicks. :)08:56
SimonNa left08:56
gkatsev left08:56
Gsham joined08:57
Gsham left08:57
gkatsev joined08:57
troulouliou_div2 joined08:58
qsx yeah08:58
this can lead to problems.08:58
(i’m in a channel where we have a js and a jn, and both get the same color …)08:59
i7c: https://www.youtube.com/watch?v=KZ9roZAYDok08:59
yuhlw left09:00
yuhlw_ joined09:00
barteks2x joined09:01
grindhold joined09:01
yuhlw_ left09:02
yuhlw joined09:02
yuhlw_ joined09:03
yuhlw_ left09:03
yuhlw__ joined09:04
yuhlw left09:04
liuzhen left09:04
yuhlw__ left09:04
circ-user-aKdA0 left09:04
ph88 hey guys, i compiled git from source and it compiled but now i get this error: fatal: Unable to find remote helper for 'https'09:04
liuzhen joined09:05
horse joined09:05
ramsub07 left09:06
yuhlw_ joined09:06
horse hi git gurus. i have a server which i use to pull down switch config files. i would like to upload these files in to a remote gitbab instance, however, i dont want to clone the entire project and have it sat on this server.09:06
so is it possible to just clone and use a subfolder of a project?09:06
grawity no09:06
cyan__ left09:06
ahmed_elgabri joined09:07
horse grawity: that seems a bit sub optimal?09:07
grawity you can limit a clone to individual branches, or you can limit the *checkout* to specific files/folders (sparse checkout), but it'll always download at minimum the whole branch09:07
liuzhen left09:07
Raging_Hog left09:08
Raging_Hog joined09:08
i7c qsx, oh well. :P09:08
liuzhen joined09:08
qsx ph88: did you forget to link against libcurl?09:10
i7c qsx, I guess we're brothers then.09:10
qsx \o/09:10
horse grawity: so i'd always need to clone the entire porject?09:10
dopesong joined09:11
grawity yes09:11
ph88 qsx, yes .. but i´m going to take an alternative route .. install another vbox where i have root09:11
horse thankyou, that answers my question at least09:11
qsx er09:11
if that solves the problem for you …09:12
Raging_Hog left09:12
Raging_Hog joined09:12
kontoo before I go insane: if I want to incorporate changes from master into a feature branch f1 by rebasing, this is called "rebasing f1 *onto* master", right?09:13
I read conflicting statements on what gets rebased on what09:14
grawity yeah, you use master as the base, and re-apply your branch's commits on top of it09:15
mikecmpbll left09:15
grawity resulting in a rewritten f109:15
gkatsev left09:17
kontoo is this called "rebasing f1 onto master" or "rebasing master onto f1"?09:17
imjacobclark left09:17
kontoo that is my question09:17
gkatsev joined09:19
i7c You walk back branch A until you meet with branch B, walk branch B till you reach the tip and then apply all commits that you walked back on A. That's rebasing A onto B.09:19
feignix left09:19
eijk joined09:19
drbean joined09:19
fahadash joined09:19
i7c To make things more fun, there's an --onto option which may confuse you further. :)09:20
feignix joined09:20
i7c rebase --onto C B A: walk back A until you meet B (remember those commits), walk back until you meet C, walk to the tip of C and apply remembered commits.09:21
imjacobclark joined09:22
eijk_ left09:22
digidog joined09:26
keltvek joined09:27
kontoo i7c: isn't the last thing you wrote just "incorporate changes from branch A into branch C"?09:29
endiruna joined09:29
kontoo hmm actually "incorporate the changes introduces from branch A in relation to branch B into C"09:30
tvw joined09:30
jmpp left09:30
jmpp joined09:31
mikecmpbll joined09:32
jaguarmagenta joined09:33
mase-tech joined09:34
artemisart joined09:35
dimi1947 joined09:36
artemisart left09:37
imjacobclark left09:38
jaguarmagenta left09:38
dsdeiz joined09:41
dsdeiz left09:41
dsdeiz joined09:41
aavrug left09:41
shay- joined09:43
Raging_Hog left09:43
Raging_Hog joined09:43
ntonjeta joined09:44
achadwick joined09:44
liuzhen left09:44
drbean- joined09:45
shay- hey guys, I want to add a submodule to my project but I want to checkout a specific tag. The tag is named v3.0.1, I tried to add branch = v3.0.1 to the .gitmodules file, but the git submodule update --remote commands keeps failing with "fatal: Cannot update paths and switch to branch 'v3.0.1' at the same time." any suggestions?09:45
drbean left09:45
liuzhen joined09:45
fracting joined09:46
aavrug joined09:46
qsx cd submodule; git checkout v3.0.1; cd ..; git add submodule; git ???; git PROFIT09:46
drbean joined09:46
tvw left09:47
tvw joined09:48
drbean_ joined09:48
ahr3n left09:49
Sly1986 joined09:49
eletuchy joined09:49
drbean- left09:50
fscala left09:50
drbean- joined09:50
guardian hello, it seem there's something I didn't understand with git stash: I have 30 files modified in the index, among those 2 files have more modifications in the working tree09:51
drbean left09:51
guardian when doing git stash --keep-index, I expected the stash to contain only additional modifications for those 2 files09:51
romerocesar joined09:51
guardian but git stash show --stat lists the 30 files09:51
what did I miss? :/09:52
mehola left09:52
fscala joined09:52
_ikke_ guardian: --keep-index only says that changes that are staged are not removed09:52
not that it should not stash staged changes09:52
drbean joined09:52
drbean_ left09:53
eletuchy left09:54
drbean- left09:55
kedare left09:55
rawtaz could someone shed some light on https://pastebin.mozilla.org/8878838 for me? ive read that this could be due to the repo not allowing non-fast-forward push, but im puzzled because i have done this many times before to remote repos that were set up (afaik) the same way as this one is.09:55
mdw joined09:56
rawtaz is there a problem with how the commit history looks? afaik i should be able to push this (if the repo allows it of course)09:56
romerocesar left09:56
hahuang65 left09:57
rawtaz yeah the repo has denyNonFastforwards=true. odd that i havent encountered this before..09:58
drbean left09:58
gkatsev left09:58
gkatsev joined09:58
moei left10:00
CheckDavid joined10:00
rawtaz might be that the other repos i thought of werent bare, after all10:01
stratos joined10:01
imjacobclark joined10:03
JeroenT left10:04
cdown joined10:06
izabera joined10:07
jknetl left10:07
phanimahesh joined10:07
son_ joined10:08
dsdeiz_ joined10:09
son_ left10:09
mofai joined10:10
dsdeiz left10:11
k3rn31 left10:11
drbean joined10:12
guardian _ikke_: is "do not stash index" a thing?10:12
mofai left10:13
i7c kontoo: no.10:13
absence when doing an interactive rebase and editing commits, is it possible to edit the actual patch rather than the file data? i think it would be easier in some cases10:13
i7c kontoo: it rebases A, so the only branch that is changed is A.10:13
mofai joined10:13
ToBeCloud left10:14
grawity absence: commits aren't patches10:14
i7c kontoo: C and B remain the same. So unless I don't get your "incorporate" formulation, it appears to be wrong to me. ;)10:14
grawity absence: that said, you could `git reset`, then `git add -p`, and adjust the diff there10:14
toogley joined10:15
mofai left10:16
zeroed joined10:16
texinwien left10:16
toogley left10:16
johnmilton left10:17
Sly1986 left10:17
cwillu_at_work joined10:17
j416 grawity: --keep-index10:18
ah, didn't read scrollback, apologies10:18
and not grawity; guardian.10:19
k3rn31 joined10:19
j416 guardian: commit instead, might be esier10:19
easier, even.10:19
sanketdg left10:21
acetakwas joined10:23
lou_ joined10:23
acetakwas left10:23
davisonio joined10:24
acetakwas joined10:24
davisonio left10:24
davisonio joined10:24
vicente_ joined10:24
gitinfo set mode: +v10:25
vicente_ Hi10:25
gitinfo vicente_: 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.10:25
vicente_ I have a perforce repository that I can not mix with anythng else. But I was wondering if it's possible to have git on my repository without touching any of the files there. Like scanning all those folders/files but doing the writting operations in a different independent folder. Is that possible?10:28
allcentury joined10:28
selckin GIT_DIR & friends10:28
vicente_ selckin: that's the answer for my question, right? I'm going to check10:29
selckin if the question was if you can store .git outside of the working directory10:29
leeN left10:29
shirafuno joined10:29
endiruna left10:30
shirafuno Hi guys, currently trying to add a git repository to a GoCD pipeline. The repository is held on BitBucket. putting the https://bitbucket/shirafuno/repo.git doesn’t work as I think it’s because its the overview and not the repo(?) and when going on source it gives a long af url which it also doesn’t like. Would anybody know how to add a repo url to a pipeline.10:32
vicente_ selckin: I think that will work for me, thanks10:32
selckin find a button that says clone and use the url that gives you10:32
vicente_ left10:33
fuchstronaut joined10:33
shirafuno Found it, put https://shirafuno@bitbucket.org/shirafuno/repo.git and now it’s saying it could not read the password for :repo: No such device or address10:34
selckin that no longer sounds like a git problem10:35
shirafuno right okay10:35
thank you10:35
JeroenT joined10:36
ensyde left10:36
fuchstronaut left10:38
phanimahesh absence: Technically you can, by marking commits edit instead of pick. rebase stops just after it, so you can amend the commit and continue the rebase10:41
ahr3n joined10:42
dimi1947 left10:45
KnightsOfNi joined10:46
choki joined10:47
ramsub07 joined10:48
fuchstronaut joined10:49
absence grawity: they may not BE patches, but they're often presented that way. git add -p asks me a bunch of "stage this hunk?" questions, i'd prefer to edit the "patch" in a text editor (just for simple stuff like moving lines)10:49
ferr1 joined10:49
moei joined10:50
grawity sure, press 'e' in git add -p10:50
absence grawity: oh, nice10:54
jimi_ joined10:56
jottr joined10:56
cqi left10:56
afuentes joined10:57
mdw left10:57
GuKKDevel_ joined10:58
GuKKDevel left10:58
d0nkeyBOB joined10:58
fuchstronaut left10:59
rahtgaz joined10:59
d0nkeyBOB left11:00
ensyde joined11:00
_August_ left11:02
_August_ joined11:03
mdw joined11:04
acetakwas left11:07
shay- left11:08
mdw left11:09
Yatekii joined11:09
Yatekii hey guys11:09
I have a very weird problem:11:09
shay- joined11:10
guardian j416: yep ended up doing that11:10
thanks for caring11:10
sdothum joined11:10
Yatekii I am (sadly) on Windows. I have the cygwin git bash. When I do a git status it says everything is up2date with origin and stuff and latest commit is the one from yesterday with a variable changed from false to true. when I do vim changed_file.c it shows me that this variable is now true as expected. when I open that file in other editors, say eclipse (yes I hate myself) or Atom, it shows the variable to be FALSE. very weird, yes? when I change that11:12
variable to be true again in Atom and save and do a git status, it now shows me that the variable was changed to true. but when I do checkout what was changed in the commit from yesterday it says it was changed to true as well. how can this even be?11:12
cdown left11:13
Yatekii I am very confused right now and hope someone can help me :)11:13
aard joined11:13
Macaveli joined11:13
djb-irc joined11:13
nettoweb joined11:14
JeroenT left11:14
selckin eclipse and friends will often cache the file etc, try restarting everything11:14
cdown joined11:16
Yatekii selckin: I tried that already.11:16
also atom does cache them as well but once I close them the cache is gone. so no way it's the cache.11:17
also: git recognizes the change11:17
aguimaraes1986 joined11:17
Yatekii so something is seriously broken :S11:17
selckin well if you don't touch git, and 2 editors show you a differend result, either the editor is broken or your disk is magicly so broken its swapping those exact 4 chars11:17
Yatekii well I can provide you a sceen to show you that is REALLY as I say11:18
sec11:18
bruce_lee joined11:18
gkatsev left11:18
selckin i know for example notepad++ will cache the content if it can't safe the file due to premission issues, and show the old if you reopen it11:18
its the most retarded editor in the world11:18
Yatekii I know and it is not like that as I stated 3 time snow11:19
selckin you stated 4 bytes magicly change, its not that either11:19
imjacobclark left11:19
gkatsev joined11:19
phanimahesh I don't know, I have seen a similar bug recently. Multiple editors opening the same directory showed different stuff. On a mac.11:20
acetakwas joined11:20
mdw joined11:20
selckin mac doesn't have a filesystem11:20
ensyde left11:20
mdw left11:21
phanimahesh Mac uses HFS, a case insensitive filesystem.11:21
selckin it caches everything11:21
grawity wat11:21
selckin git had to work around many problems for mac11:21
phanimahesh selckin: Wut? Mac doesn't have a filesystem? what do you mean?11:21
selckin +working11:21
mdw joined11:21
GuKKDevel_ left11:21
fuchstronaut joined11:21
phanimahesh The problem was very specific. GUI stuff thinks something, consistent with all Graphical editors. vim and nano in terminal think it's something else.11:22
Scratched my head for a while, and convinced myself it's a waste of time to investigate.11:22
I would have laughed if not for the fact that I have seen it with my eyes.11:22
stonerfish left11:24
ramsub07 left11:24
ensyde joined11:24
Yatekii http://i.imgur.com/oNNtCGI.png here is the shot. Either I am missing sth. or it is beyond broken11:26
ravenzz joined11:26
zeroed left11:27
Yatekii normal windows notepad says it's false too btw11:27
and it sure as hell doesn't cache11:27
pc was also restarted so I assume the FS didn't cache it either.11:27
stonerfish joined11:27
gkatsev left11:28
feignix left11:29
gkatsev joined11:29
ravenzz left11:30
k3rn31 left11:30
jottr left11:30
feignix joined11:30
johnmilton joined11:30
settermjd joined11:30
rnsanchez joined11:31
Sceorem_ joined11:31
fahadash left11:32
Sceorem__ joined11:33
DolphinDream joined11:33
shinnya joined11:33
_August_ left11:34
_August_ joined11:34
jaguarmagenta joined11:34
wiensa joined11:34
wiensa left11:35
Sceorem left11:35
k3rn31 joined11:36
Junior joined11:36
Sceorem_ left11:36
Ankhers_Ankhers11:37
circ-user-bgUQR joined11:38
eletuchy joined11:38
jaguarmagenta left11:38
espindola joined11:39
shirafuno left11:40
imjacobclark joined11:40
ensyde__ joined11:40
Sceorem__ left11:42
eletuchy left11:43
shirafuno joined11:43
ensyde left11:44
drbean left11:45
a_thakur_ joined11:46
a_thakur_ left11:46
virus joined11:47
a_thakur left11:47
davisonio left11:47
mdw left11:47
shirafuno left11:47
a_thakur joined11:48
zeroed joined11:48
a_thakur left11:48
a_thakur joined11:49
drbean joined11:49
a_thakur_ joined11:51
a_thakur left11:51
a_thakur_ left11:52
a_thakur joined11:52
feignix left11:53
d0nkeyBOB joined11:53
d0nkeyBOB left11:53
a_thakur_ joined11:55
dopesong left11:55
dsdeiz_ left11:56
fwdit joined11:57
mdw joined11:57
Chill_Surf joined11:57
mdw left11:57
FrontPsych joined11:58
fuchstronaut left11:58
mdw joined11:58
User458764 joined11:58
fwdit left11:59
a_thakur left11:59
feignix joined12:00
gkatsev left12:00
ensyde__ left12:00
drbean left12:00
gkatsev joined12:01
mariuscc joined12:02
drbean joined12:04
synthroid joined12:04
crose joined12:05
Sceorem__ joined12:06
ramsub07 joined12:06
zivester joined12:08
dan2k3k4 joined12:09
FrontPsych left12:09
DolphinDream left12:10
choki left12:10
fahadash joined12:10
dan2k3k4 left12:10
drbean_ joined12:11
zeroed left12:11
dopesong joined12:11
drbean left12:12
virus left12:12
infra-red joined12:13
dsdeiz joined12:14
davisonio joined12:14
jeffreylevesque left12:15
dopesong left12:15
davisonio left12:16
diegoviola joined12:19
Macaveli left12:21
rwb joined12:22
noteness joined12:22
skasturi joined12:24
sulky_ joined12:25
dopesong joined12:25
User458764 left12:27
cxz joined12:28
a_thakur_ left12:28
liquidjamm joined12:28
pfsmorigo joined12:28
kanzure_kanzure12:29
FrontPsych joined12:29
fwdit joined12:29
jimi_ left12:30
aavrug left12:31
fwdit left12:31
drbean_ left12:31
carell left12:32
d0nkeyBOB joined12:32
vuoto joined12:33
eletuchy joined12:33
jeffreylevesque joined12:33
drbean joined12:35
rgrinberg joined12:36
a_thakur joined12:37
mykespb joined12:37
dan2k3k4 joined12:38
satbyy_ left12:38
eletuchy left12:38
CJKinni joined12:39
settermjd left12:40
carell joined12:40
horse left12:41
Oebele left12:42
notebox left12:44
theskillwithin joined12:45
DolphinDream joined12:45
rbr joined12:46
FeersumEndjinn joined12:46
k3rn31 left12:46
cdg joined12:47
efdetonator joined12:47
FeersumEndjinn left12:47
FeersumEndjinn joined12:47
acetakwas left12:48
FeersumE_ joined12:49
Soliton left12:49
crose left12:50
acetakwas joined12:50
Repox left12:50
FeersumEndjinn left12:52
sleezd joined12:52
Soliton joined12:52
ujjain joined12:52
ujjain left12:52
ujjain joined12:52
infra-red left12:52
CheckDavid left12:52
deepy joined12:52
introsp3ctive joined12:53
iLembus_ joined12:53
FeersumE_ left12:53
FeersumEndjinn joined12:54
Learath2 joined12:54
kfunk joined12:54
netcarver left12:54
jknetl joined12:55
satbyy joined12:55
iLembus left12:55
DolphinDreamm joined12:55
avar joined12:55
acetakwas left12:56
mischat joined12:56
likewhoa joined12:57
kloeri joined12:57
feignix left12:57
gechr joined12:57
docnvk joined12:58
ramsub07 left12:58
subhojit777 left12:59
musca joined12:59
acetakwas joined12:59
feignix joined13:00
piattino joined13:00
settermjd joined13:00
piattino hi. how can i get a list of modified files using git diff, like this but without the M prefix? git status --porcelain --untracked-file=no --no-column13:00
flopsec joined13:01
piattino preferably, null-separated, to feed into a script, but anything will do13:01
grawity git diff-tree --name-only13:01
rscata left13:01
FrontPsych left13:01
rominronin joined13:02
FeersumEndjinn left13:02
piattino grawity: thanks man. still have a "spurious" first line.. (git diff-tree --name-only @) -> sha1\nfile1\nfile2..13:03
CEnnis91 joined13:03
grawity wait, I probably suggested the wrong one13:03
retropikzel_ left13:03
User458764 joined13:05
happy-dude joined13:05
piattino git diff --name-only -z13:06
KnightsOfNi left13:06
piattino grawity: thanks for pointing me in the right directoin13:07
david007 left13:08
gechr left13:09
gechr joined13:09
gechr left13:09
segment-fault joined13:11
feignix left13:11
texinwien joined13:11
italoacasas joined13:11
italoacasas left13:12
KnightsOfNi joined13:12
italoacasas joined13:12
Raging_Hog left13:13
settermjd left13:13
gechr joined13:13
PHPanos joined13:13
italoacasas left13:14
mmlb joined13:14
gechr left13:14
binaryplease joined13:15
carell left13:16
doktori joined13:16
binaryplease Hi, I understand the correct workflow to contribute to a opensource project is: create fork, make changes, commit, push, create pull request. If I want to contribute again after some time, how do I update my fork? or should I delete it and create a new fresh fork?13:16
grawity piattino: I actually meant diff-index but I guess it's mostly the same13:17
binaryplease: the same way you'd merge a branch13:17
ePirat left13:18
someone_ joined13:18
grawity well, usually you'd keep 'master' in your fork untouched, and make changes in new branches13:18
italoacasas joined13:18
gitinfo set mode: +v13:18
ramsub07 joined13:18
grawity so you could update master without having to mess up the old pull requests13:18
binaryplease: more specifically, if you cloned your fork, then `git remote add` the original repo13:19
and vice versa13:19
then you can just merge upstream/master or whatever13:19
someone_ Hello, a branch on gitlab has some commits that were squashed, but i want to get the state of the branch before the squash happened.. i can't seem to check out that commit sha since i don't have that git history locally.. how do i get the history or the sha?13:19
I tried git fetch origin <sha> with no luck13:20
binaryplease grawity: Thanks , addig the original repo to my fork as remote was the missing piece of the puzzle\13:20
grawity it's not required – you can fetch/pull/push with a URL directly – but having both repos as remotes makes things more convenient13:20
someone_: you cannot fetch objects that aren't referenced13:20
someone_: (it's partly a security feature, since such rewrites might be intentional)13:21
diegoviola left13:21
someone_ i mean the objects are there in the gitlab repo, i can see the code on there13:21
grawity well, if gitlab web UI allows browsing them, *shrug*13:21
I suppose github does as well13:21
someone_ the repo has the history, i just can't fetch it then?13:21
grawity but they still run mostly regular git-daemon, which doesn't.13:21
tvw left13:21
dan2k3k4 left13:22
Urbany joined13:22
rewt someone_, do you see the actual commits, or just the code that was committed?13:22
grawity right, you can ask the original author to push it into a temp branch or something, but you can't fetch 'stale' objects directly13:22
someone_ rewt: the commits13:23
i see the 6 commits, their shas, and the commit that replaced them with the force update13:23
rewt in the network graph?13:23
someone_ just can't seem to fetch the state of that branch before the force update13:23
rewt or the activity list?13:23
grawity you cannot fetch the state of that branch before the force update.13:23
someone_ well i can view the commits in gitlab, but i suppose that's just the activity list, not really sure what you mean by network graph13:24
rnsanchez left13:24
rewt there's a graph tab where you can click network and it shows vertical lines of the branches13:24
rnsanchez_ joined13:24
ash_workz joined13:24
BigWillie joined13:24
dan2k3k4 joined13:25
rewt the activity list stays forever, so any discarded commits will stay linked there... but when gc is run, those links will no longer work13:25
vuoto_ joined13:25
someone_ just in bitbucket, so it's different13:25
rewt same as when you discar a commit locally; you can still get at it for some time if you know the hash, but not after a gc13:25
Sceorem joined13:26
rewt bitbucket is not gitlab :/13:26
ramsub08 joined13:26
garethdaine_ joined13:26
eletuchy joined13:27
ramsub07 left13:27
someone_ yeah my bad13:27
rewt this is what gitlab's network graph looks like: https://about.gitlab.com/images/press/screenshots/network_graph.png13:27
someone_ we used to be on gitlab, moved to bitbucket13:27
garethdaine left13:28
garethdaine_garethdaine13:28
arand joined13:28
notebox joined13:28
Sceorem__ left13:28
rewt bitbucked has plugins to provide something similar13:28
crameth joined13:28
crameth left13:28
ntonjeta left13:29
vuoto_ left13:29
vuoto left13:29
vuoto joined13:29
allcentury left13:29
_rnsanchez_ joined13:29
gelei007 left13:30
carell joined13:31
piattino left13:31
eletuchy left13:31
davisonio joined13:32
ramsub07 joined13:32
anup108 joined13:32
someone_ yeah, definitely ain't possible.. thanks13:32
someone_ left13:32
ramsub08 left13:32
rnsanchez_ left13:33
_rht joined13:34
stratos left13:35
LeBlaaanc joined13:35
jaguarmagenta joined13:35
MrMojito left13:35
mbrzuzy joined13:36
WizJin joined13:36
zivester left13:37
User458764 left13:38
Asiajey joined13:38
jaguarmagenta left13:39
ramsub08 joined13:40
ramsub07 left13:40
User458764 joined13:40
f3r70rr35f joined13:40
efdetonator left13:41
jimi_ joined13:41
lpapp joined13:42
lpapp hi, git log A --not B and git log A..(.)B return something different than I expect. Why could that happen?13:42
I expect commits from the 25th of May onwards, but I get them from the 15th of April onwards.13:43
allcentury joined13:43
lpapp basically from a different tag (release) than A. What could cause this?13:43
mikecmpb_ joined13:44
Dougie187 joined13:44
MrMojito joined13:44
vuoto left13:44
vuoto joined13:45
LionsMane joined13:46
harish left13:47
mmlb left13:47
mikecmpbll left13:47
brandonw joined13:48
mase-tech left13:48
mykespb left13:48
notebox left13:48
MrMojito1 joined13:48
vuoto left13:49
vuoto joined13:49
nettoweb left13:50
CJKinni left13:50
User458764 left13:51
MrMojito left13:51
remitamine joined13:51
lpapp perhaps it is because of branching off13:52
_ikke_ lpapp: has something from that tag been merged into A?13:52
lpapp from the moment of branching it lists all the commits13:52
not only the commits after that particular tag in that branch.13:52
mmlb joined13:53
diegoviola joined13:54
drbean left13:54
lpapp _ikke_: I think so.13:55
GodGinrai joined13:55
phaleth joined13:56
CJKinni joined13:57
fuchstronaut joined13:58
liuzhen left13:59
ehuuwj joined13:59
liuzhen joined14:00
GandalfTheWizard joined14:00
jknetl left14:00
cyan__ joined14:01
tabrez joined14:01
AaronMT joined14:01
LeBlaaanc left14:01
acetakwas left14:02
Spacew00t joined14:02
GandalfTheWizard left14:02
anup108 left14:02
kfpratt joined14:03
fuchstronaut left14:03
Ahmed90 joined14:03
GandalfTheWizard joined14:04
ahr3n left14:04
skirk left14:04
k3rn31 joined14:04
italoacasas left14:04
FrontPsych joined14:05
Softeisbieger joined14:05
romerocesar joined14:06
diegoaguilar left14:09
doktori left14:10
diegoviola left14:10
diegoviola joined14:10
steadystatic joined14:10
romerocesar left14:11
imjacobclark left14:11
User458764 joined14:13
venmx joined14:15
remitamine left14:15
cdg left14:15
rahtgaz left14:15
cdg joined14:15
qt-x left14:16
attente_ left14:18
dsdeiz_ joined14:19
dsdeiz left14:19
cdg left14:20
eletuchy joined14:20
mns How would I find out all the config settings and their values for a particular module ? git-p4 is the module in question.14:20
--list will only give me what is in the .git/config file.14:21
osse mns: try git config --get-regexp p414:22
leandrosansilva left14:23
MrMojito1 left14:23
garethdaine left14:23
cdg joined14:24
mns osse: that will only list what I have in the config file.14:24
leandrosansilva joined14:24
garethdaine joined14:24
sangy joined14:24
osse mns: where else would they be?14:25
muthu left14:25
eletuchy left14:25
moritz in the cloud!14:25
cdg_ joined14:26
mns osse: what I would like to know is what are the config options available to me. a list of all git-p4 config settings. They must have default values, besides however one configures them in git/config14:26
MrMojito1 joined14:26
osse ah14:26
i don't know. man git-config doesn't list them so man git-p4 is my best guess.14:27
gitinfo the git-config manpage is available at http://jk.gs/git-config.html14:27
MrMojito2 joined14:27
StuartMI joined14:27
cdg left14:29
osse turns out man git-p4 is a really good guess.14:29
italoacasas joined14:31
MrMojito1 left14:31
mns duh, yes it does seem like that. should've looked there first.14:32
notebox joined14:32
phanimahesh left14:33
a_thakur_ joined14:33
marc_v92 joined14:34
Trinity joined14:35
Phylock joined14:35
Trinity has anyone tried out git-lfs?14:35
lpapp left14:35
selckin !ask14:35
gitinfo Yes, it's okay to ask questions here.... in fact, you just asked one! ;-) Pretty much any question is fine. We're not terribly picky, but we might be asleep. Please be patient and you should get an answer soon.14:35
Trinity How was your experience, what did you like about it, what did you dislike about i t?14:35
zivester joined14:35
segment-fault left14:36
a_thakur left14:36
jason237 left14:37
happycoder joined14:37
jceb left14:38
vuoto_ joined14:38
ome left14:39
happycoder In my dotfiles git repo, I was experimenting with antigen and zgen. I deleted all files related to zgen and installed antigen. I did not commit anything. The git status lists a bunch of files I deleted and added in red. Meanwhile, I modified my vimrc, did `git add vimrc` and `git commit "message"`. I now need to restore all those files showing in red to their versions commited in the repo. what to do?14:40
remitamine joined14:40
Gsham joined14:40
piattino joined14:41
GodGinrai happycoder: Use git-checkout to checkout the version of those files in HEAD14:41
happycoder GodGinrai, shall I list all files manually?14:41
or a `git checkout` or `git checkout *` would do?14:41
lindenle joined14:42
dminca happycoder what does it say if you do a git status14:43
GodGinrai happycoder: or you could do something like this: `git status | awk '/deleted/ { print "git checkout -- " $2 }' | bash`14:43
happycoder GodGinrai, cool14:43
GodGinrai, done! thanks14:44
mmlb left14:44
GodGinrai yw14:44
happycoder dminca, thanks anyway :)14:44
dminca cool :)14:44
next time use git clean -f14:44
if you didn't commit the files you wanted to test14:44
imjacobclark joined14:44
happycoder oh.. I see14:44
dminca git clean -fd (if you also have directories in staging)14:45
mmlb joined14:45
_ikke_ git clean only handles untracked files..14:45
mariuscc left14:46
dminca it's very useful when you solve merge conflicts, after the conflict is solved , meld leaves some crappy *.orig files14:46
_ikke_ git does that itself14:46
dminca _ikke_ right14:46
happycoder It shows this now: HEAD detached at 999c0e914:46
dminca do git checkout -14:46
lindenle left14:47
_ikke_ git config --global mergetool.keepBackup false14:47
ResidentBiscuit joined14:47
dminca _ikke_ got that enabled but it still keeps them , I don't know why14:47
I think it's from meld14:47
I got a ~/.gitconfig14:47
happycoder done14:47
thanks dminca14:47
dminca yw happycoder14:48
k3rn31 left14:49
ferr1 left14:49
marc_v92 left14:49
mmlb left14:50
crose joined14:51
User458764 left14:51
vuoto left14:51
vuoto_ left14:51
vuoto joined14:51
ResidentBiscuit left14:52
ResidentBiscuit joined14:53
makinen joined14:53
jknetl joined14:54
marc_v92 joined14:54
makinen how do I set the account name which is be used in pushing to the remote repo14:54
romerocesar joined14:55
grawity http(s) or ssh?14:55
also, github ssh or 'plain' ssh?14:55
IrishPrime joined14:55
dminca left14:55
IrishPrime left14:56
jknetl left14:56
makinen I'm not sure. I can log into our gitlab server14:56
ssh I guess14:56
marc_v92 left14:56
grawity ok then, what remote URL is shown in `git remote -v`?14:57
carell left14:57
IrishPrime joined14:57
ResidentBiscuit left14:57
makinen origin [email@hidden.address] (fetch)14:58
visualshock joined14:58
visualshock What does ** mean in paths?14:58
jhass smells like xy to me. makinen, what's your actual problem? Try to describe without any assumptions made14:58
visualshock: it expands to any file or directory below, recursively14:59
romerocesar left14:59
visualshock jhass, thanks!14:59
dopesong left14:59
lindenle joined15:00
mmlb joined15:00
happycoder I have a cache folder in my dotfiles repo. I added it to gitignore only after initial commit. How to remove cache from the repo completely?15:00
mmlb left15:00
grawity happycoder: filter-branch15:01
acetakwas joined15:01
dsdeiz_ left15:02
davisonio left15:02
dminca joined15:02
rkazak joined15:03
ReenignE joined15:03
ReenignE left15:03
ReenignE joined15:03
yx_ joined15:04
ResidentBiscuit joined15:05
makinen jhass: I copied a working git branch directory from another computer. Now git asks for a password for 'git@dev..' instead of the user name I'm using to log into gitlab15:05
gingitsune left15:05
jhass makinen: copy your SSH key too15:05
or add this machines SSH key to your gitlab account15:05
makinen ah15:06
yx_xnrand15:06
mmlb joined15:06
grawity for gitlab, the ssh username is always 'git', you're recognized entirely based on your pubkey15:06
davisonio joined15:07
Matrixiumn joined15:07
sonOfRa_ joined15:07
noteness_ joined15:07
rkazak left15:07
moritz secret key, actually15:07
jhass debatable semantics15:08
grawity keypair, let's say15:08
jhass I'll stick to keypair15:08
paul424 joined15:08
grawity IMHO when one says 'secret key' it tends to be more about symmetric keys15:08
like with HMAC15:09
QshelTier joined15:09
jhass you're recognized by proving ownership of a public key, to do that you do need the corresponding private key. So both are involved and keypair is probably really the best term15:09
grawity so calling SSH publickey auth 'secret key'-based would be more ambiguous than not15:09
yeah, I guess15:09
wagle_ joined15:09
neanderslob left15:10
dr_leppe1 joined15:10
ocbtec_ joined15:10
vmiklos joined15:10
flopsec left15:10
iLembus_ left15:10
noteness left15:10
ocbtec left15:10
ph88 left15:10
TomyWork left15:10
SirFunk_ left15:10
uidzer0 left15:10
sauvin left15:10
hexagoxel left15:10
pks left15:10
BombStrike left15:10
diegoaguilar joined15:10
Karunamon|2 joined15:10
uidzer0 joined15:10
LiENUX joined15:10
nocbreak joined15:10
kisonecat_ joined15:10
TheHackOps left15:10
e-dardl joined15:10
BombStrike joined15:10
pks joined15:10
SirFunk joined15:10
NotTheFBI joined15:10
tjone270 joined15:10
hexagoxel_ joined15:10
iLembus_ joined15:10
Cyclohexane joined15:11
lss8 joined15:11
ph88 joined15:11
synthmeat joined15:11
gsingh93 joined15:11
tilpner joined15:11
NeverDie joined15:11
wrksx joined15:11
TomyWork joined15:11
wrksx hey guys15:11
cyan__ left15:11
osse hey joe15:11
Timvde joined15:11
hexagoxel_hexagoxel15:11
flopsec joined15:12
wrksx wondering, when merging a feature branch in the master branch, do you personalize the merge commit message ?15:12
sauvin joined15:12
jast not if the branch name is descriptive enough15:12
Hello71 joined15:12
wagle_wagle15:12
jast in fact git used to default to not prompting you for a commit message for merges15:12
haasn` joined15:13
wrksx I was thinking 'in case someone is not clear about the content they can check history15:13
Motoko joined15:13
zeemz left15:14
FrontPsych left15:14
jason237 joined15:14
paul424 left15:14
bango2 joined15:14
wrksx (sorry interrupted by phone call)15:15
but I wondered if any of you had experience with that workflow =)15:15
ThomasLocke_ left15:15
FrontPsych joined15:15
JRHaigh joined15:15
fracting left15:15
Sceorem left15:16
PHPanos left15:17
diegoaguilar left15:17
TooLmaN joined15:17
TooLmaN left15:18
diegoaguilar joined15:19
Phylock left15:19
zumba_ad_ joined15:19
osse I customize it often, to pretend my branch had a better name that what it actually had :p15:20
abra0 joined15:20
ToBeFree joined15:20
tyreld joined15:21
paul424 joined15:21
synthroid left15:21
_ng joined15:22
mariuscc joined15:24
TomyWork left15:24
thiago joined15:26
wrksx Lets say I tried to merge branch A into master, but a conflict occur. Now I want to fix the conflict. But the conflict is a pain in the ass to solve, and I got something else to do urgently, and I need to get a clean master before checking out to another "unrealated" branch. What method would you recommend?15:26
Pegasus_RPG joined15:26
carell joined15:27
Pegasus_RPG Hello. I've messed up a subdirectory in my repo and need to pull a copy from the upstream repo I cloned. How can I do that? git checkout <directory> seems to only pull from my fork15:28
wrksx I used to reset hard master to the previous commit to fix that. is that ok? Is there any better way? I'm think of the revert stuff specially, not sure how revert is different from that reset.15:28
acetakwas left15:28
sweatsuit joined15:29
visualshock left15:29
fracting joined15:29
nettoweb joined15:29
mithenks left15:29
remitamine left15:29
_August_ left15:30
acetakwas joined15:30
_August_ joined15:30
mib_0ye joined15:31
nwf_nwf15:31
wrksx Pegasus_RPG, Beware, I'm not a pro. That beeing said, I know checkout is only retreiving stuff from your local repo. "Pull" is what you actually use to retreive stuff from a remote.15:31
Pegasus_RPG, now even if you messed things in your branch, what was in it before you mess it up should still be retreivable from your local copy.15:32
nettoweb left15:32
jhass Pegasus_RPG: git checkout upstream/master -- folder15:33
or whatever your remote is named15:33
fracting left15:34
nettoweb joined15:34
ReenignE wrksx: Revert applies commit patches in reverse, it makes new changes which are simply the opposite of the patches. This is ideal when you have to revert commits that are already being tracked remotely, allowing you to make new commits which reverse the changes without changing the history.15:34
mib_0ye left15:35
ReenignE wrksx: `git merge --abort` could have been used if you're using git >= 1.7.415:35
jaguarmagenta joined15:36
Softeisbieger left15:36
sweatsuit left15:36
wrksx ReenignE, right thanks for the detailled info.15:37
DieguezZ joined15:37
Pegasus_RPG jhass: great, thank you!15:38
oops I omitted the --15:38
weckl joined15:38
mib_0ye joined15:38
nitin joined15:38
doktori joined15:38
diegoviola left15:38
sweatsuit joined15:39
Gsham left15:39
vuoto left15:39
GodGinrai Pegasus_RPG: `git checkout <commit_hash> file`. Just provide the commit hash of the upstream and you should be good.15:40
jaguarmagenta left15:40
vuoto joined15:41
cdg_ left15:41
mib_0ye http://tinyurl.com/jfcurn5 http://tinyurl.com/jfcurn5 http://tinyurl.com/jfcurn5 http://tinyurl.com/jfcurn5 http://tinyurl.com/jfcurn5 http://tinyurl.com/jfcurn5 http://tinyurl.com/jfcurn5 http://tinyurl.com/jfcurn5 http://tinyurl.com/jfcurn5 http://tinyurl.com/jfcurn5 http://tinyurl.com/jfcurn5 http://tinyurl.com/jfcurn515:42
zeroed joined15:42
mib_0ye left15:42
Balliad left15:42
toogley joined15:42
remitamine joined15:43
Pegasus_RPG left15:43
kadoban joined15:43
leandrosansilva left15:43
toogley left15:43
Trinity left15:45
Trinity joined15:46
reim left15:46
Electrometro joined15:47
wrksx I've read somewhere that reset --soft can be undone15:48
So I set up a test repo, couples of commit, and reset soft.15:48
Phylock joined15:48
wrksx Now I'm wondering how to 'undo' the soft reset =)15:48
Electrometro left15:49
wrksx Let me know if you know how =)15:49
doktori left15:49
ReenignE wrksx: Likely said because a soft reset leaves the changes in the working copy and only resets the local git index to the ref provided. Meaning the working copy remains untouched.15:49
wrksx ouch15:49
ReenignE, So you mean my commit is gone?15:50
i7c git reset --soft HEAD@{1}15:50
Gsham joined15:50
ReenignE ^15:50
reset again15:50
wrksx lol15:50
reset forward wth15:50
ReenignE You can see the point before your reset in `git reflog`15:50
ahmed_elgabri left15:50
ReenignE Even resets are additive wrt your local reflog.15:50
kpease joined15:50
wrksx let's check reflog, learnin is nice15:51
King_Hual joined15:51
akushner joined15:51
ochorocho__ joined15:51
ReenignE The HEAD@{1} in the command i7c mentioned is the format seen in the reflog.15:51
wrksx So this actually is not literally a reset forward. I's a reset to the state before the first reset. Well done git u smart15:52
m0nkmaster joined15:52
i7c wrksx, reset is nothing like revert. You can even reset a branch to a totally unrelated commit with no common ancestry.15:52
wrksx And you guys are so helpful thanks a lot15:52
i7c It just goes to another commit, it does not care about forward, backward, or none of those.15:52
jh3 joined15:53
happycoder left15:53
KellerKatzeKellerFuchs15:53
synthroid joined15:54
annoymouse joined15:54
diegoaguilar left15:55
dsdeiz joined15:55
dsdeiz left15:55
dsdeiz joined15:55
nitin left15:55
mikecmpb_ left15:56
steadystatic left15:56
irco joined15:56
scoobert1on joined15:56
wrksx Men, git is simply one of the best piece of software I ever seen15:56
_ikke_ Nice to hear that :-)15:57
cyan__ joined15:57
wrksx It can do *everything*15:57
jhass git make me a pizza15:58
git: 'make' is not a git command. See 'git --help'.15:58
don't get my hopes up like that :(15:58
wrksx lulz15:58
osse wrksx: except tracking empty directories15:58
KEK15:58
paul424 left15:58
Chill_Surf left15:59
fuchstronaut joined15:59
King_Hual left16:00
wrksx osse, hum yeah... Looks like there are still room for improvement =)16:00
fmcgeough joined16:01
EvilPenguin joined16:01
TomyLobo joined16:01
reim joined16:02
ramsub08 left16:02
wrksx oh shit I was about to leave the office when "the sound of silence" started16:03
kfpratt left16:03
wrksx gotta work a few minutes more =)16:03
efdetonator joined16:03
reim left16:03
clemf joined16:04
javster joined16:04
wrksx left16:04
clemf left16:04
mbrzuzy left16:04
dokma joined16:04
fuchstronaut left16:04
clemf joined16:05
dokma git status says there are 5 moded files. However only 1 has actual changes, the others seem to just have the modification time changed. What's best in this case?16:05
reim joined16:05
aarobc joined16:05
carell left16:06
DieguezZ left16:06
zeroed left16:07
phanimahesh joined16:07
mmlb left16:08
cyan__ left16:08
efdetonator left16:08
eletuchy joined16:09
a_thakur_ left16:09
_August_ left16:10
Phylock left16:10
MatrixiumnXack16:10
_August_ joined16:11
markmarkmarkmarkmark16:11
romerocesar joined16:12
davisonio left16:12
mmlb joined16:12
xaviergmail joined16:12
spudowiar1spudowiar16:12
eletuchy left16:13
xaviergmail left16:14
_ikke_ git update-index --refresh16:14
?16:14
efdetonator joined16:15
k3rn31 joined16:15
durham joined16:16
durham left16:16
AaronMT_ joined16:17
AaronMT left16:17
tomog999 joined16:18
davisonio joined16:18
clemf left16:18
mmlb left16:19
tomog999_ left16:20
carell joined16:21
m0nkmaster left16:21
dreiss joined16:23
Gsham left16:23
nidr0x joined16:23
AaronMT joined16:25
netcarver joined16:25
Urbany left16:25
flopsec left16:25
AaronMT_ left16:26
WizJin left16:26
durham joined16:26
ahmed_elgabri joined16:27
invisbl left16:27
M-ou-se joined16:27
invisbl joined16:28
vuoto left16:28
King_Hual joined16:28
vuoto joined16:28
arand left16:29
ramsub07 joined16:29
imjacobclark left16:29
astrofog left16:29
FuzzySockets joined16:29
QshelTierBombe16:29
Phylock joined16:29
samson joined16:30
settermjd joined16:30
vuoto left16:30
vuoto joined16:31
vuoto left16:31
maestrojed joined16:31
vuoto joined16:31
satbyy left16:31
vuoto left16:32
vuoto joined16:32
vuoto left16:32
vuoto joined16:32
Asiajey left16:32
ochorocho__ left16:33
ochorocho__ joined16:33
NightMonkey joined16:34
rkazak joined16:34
SimonNaa left16:34
vuoto left16:35
vuoto joined16:36
blackpajamas joined16:36
Hounddog left16:37
clemf joined16:37
dminca left16:37
GandalfTheWizard left16:38
dminca joined16:38
rkazak left16:38
subhojit777 joined16:38
StuartMI left16:39
carell left16:40
shinnya left16:40
xall joined16:41
EduardoMartins joined16:41
jimi_ left16:41
realz joined16:42
dreiss left16:42
vuoto left16:44
kurkale6ka left16:44
vuoto joined16:44
mbrzuzy joined16:45
mase-tech joined16:45
Gsham joined16:48
vuoto_ joined16:48
sebbu left16:50
dan2k3k4 left16:52
invisbl left16:53
DevAntoine joined16:53
DevAntoine hi16:53
I need to remove the last commit from develop which is a merge from another branch16:53
(and it's already been pushed)16:53
User458764 joined16:53
DevAntoine can I simply git resert --hard HEAD^1 and force push or considering it's a merge it's more complicated?16:54
durham left16:54
clemf left16:55
milki the only "complicated" part is how you undo it. which you seem to have a handle on already16:55
taylorm joined16:56
netcrime left16:57
clemf joined16:58
GodGinrai DevAntoine: https://git-scm.com/blog/2010/03/02/undoing-merges.html16:59
mmlb joined16:59
crater2150 joined16:59
DevAntoine yeah, reset hard will do the trick17:00
troulouliou_div2 left17:02
carell joined17:02
steadystatic joined17:02
romerocesar left17:03
EvilPenguin left17:03
eletuchy joined17:03
clemf left17:03
encod3 left17:03
madewokherd joined17:04
crose left17:04
thiago left17:05
ResidentBiscuit Or you can do a revert commit17:05
If you dont want to have to force push17:05
johnflux left17:06
romerocesar joined17:07
EvilPenguin joined17:07
piattino left17:07
blackpajamas left17:07
eijk left17:08
clemf joined17:08
eletuchy left17:08
eijk joined17:08
d0nkeyBOB left17:08
netcarver left17:09
rbern joined17:10
jceb joined17:10
netcarver joined17:11
netcarver left17:11
elastix joined17:12
kwizart joined17:12
d0nkeyBOB joined17:12
eijk left17:13
vuoto_ left17:13
romerocesar_ joined17:13
vuoto_ joined17:14
vuoto_ left17:14
vuoto left17:14
StuartMI joined17:14
jimi_ joined17:14
vuoto joined17:14
vuoto left17:14
elastix left17:14
vuoto joined17:14
reim left17:15
romerocesar left17:15
Gsham left17:16
romerocesar_ left17:16
romerocesar joined17:16
Arban left17:17
Arban joined17:17
dreiss joined17:17
DieguezZ joined17:17
realz left17:17
realz joined17:18
clemf left17:18
mdw left17:18
clemf joined17:18
diegoaguilar joined17:19
d5sx43 joined17:19
romerocesar left17:20
settermjd left17:20
refried_ joined17:20
refried_ I've been using git stash -k -u to prepare to test whether the thing i'm about to commit builds correctly —then when I ran into a build issue, I did git stash pop to undo the stashing, with the intent to fiddle with the index some more to get exactly the right thing in there17:22
but, when i stash pop I get a bunch of conflicts17:22
luckily I made a backup in anticipation of this; but does the thing I'm trying to do make sense, and is there a safe way to do it?17:22
WizJin joined17:23
refried_ e.g. to do a stash and then undo it to the pre-stash state if you don't like the outcome? without creating conflicts17:23
*i.e.17:23
Gsham joined17:24
a_thakur joined17:25
lindenle left17:26
dminca left17:27
dminca1 joined17:28
lindenle joined17:29
arand joined17:29
a_thakur left17:30
uhmgswa^2 joined17:30
milki refried_: either stop making conflicting changes while your stash is stashed17:31
refried_: or use real branches17:31
italoacasas left17:31
satbyy joined17:32
d5sx43 left17:32
hahuang65 joined17:33
nwkj86 joined17:33
carell left17:33
uhmgawa left17:33
davisonio left17:34
notebox left17:34
acetakwas left17:35
Ahmed90 left17:36
jorelc joined17:36
italoacasas joined17:36
jaguarmagenta joined17:37
Gsham left17:37
reim joined17:38
espindola left17:40
flopsec joined17:40
User458764 left17:41
jaguarmagenta left17:41
texinwien left17:41
d0nn1e left17:41
refried_ left17:42
thiago joined17:43
d0nn1e joined17:43
User458764 joined17:44
alex1a joined17:45
Repox joined17:47
cdown left17:47
cyan__ joined17:49
basiclaser joined17:49
italoacasas left17:49
italoacasas joined17:50
pipegeek joined17:51
w00tner joined17:51
w00tner hello!17:51
paul424 joined17:52
w00tner i have several repo that got forked . I did a bug fix. but i only want to send that commit to other repos. do i have to use patch in this case ?17:52
marcogmonteiro left17:54
clemf left17:54
refried_ joined17:55
jhass at least I don't understand your situation. Could you try to describe it differently again? If possible with some real values (I did a clone of https://foo and then a commit on the master branch... something like that)17:55
diogenese left17:55
cyan__ left17:56
moei left17:56
DieguezZ left17:57
davisonio joined17:57
diogenese joined17:57
eletuchy joined17:58
nnyk_ left17:59
iLembus_ left18:00
remitamine left18:00
clemf joined18:00
ochorocho__ left18:00
nocbreak refried_: git stash pop will not make conflicts unless you changed something from where it was stashed18:00
refried_ nocbreak hmm it really seemed to18:00
fuchstronaut joined18:00
nidr0x left18:01
achadwick left18:01
refried_ milki I didn't edit any of the files externally18:02
i had files with some changes staged and some changes not staged18:02
eletuchy left18:02
refried_ i did git stash -k -u to hide the unstaged changes18:02
zjaffee joined18:02
zjaffee left18:02
refried_ and when I did git stash pop, the files had conflicts18:02
I didn't edit any source in between18:03
just compiled them, which doesn't affect any tracked files18:03
fii joined18:03
carell joined18:04
ahmed_elgabri left18:04
fuchstronaut left18:05
tabrez left18:05
moei joined18:05
nocbreak did you really get a conflict? with conflict markers?18:06
jason237 left18:06
davisonio left18:06
afuentes left18:08
nocbreakcbreak18:08
jason237 joined18:08
texinwien joined18:09
Pegasus_RPG joined18:09
Urbany joined18:09
refried_ cbreak: I dunno about conflict markers; I got as far as this https://gist.github.com/refried/c95a1033d7a4b84952beccbbccb1c246 before restoring from backup18:09
cbreak git status / git diff should tell you what conflicts18:10
leeN joined18:10
cbreak refried_: if you really didn't change anything, just nuke away the index with git reset --hard18:10
DevAntoine left18:10
fscala left18:10
fuchstronaut joined18:10
ehuuwj left18:10
refried_ did you look at the gist18:11
cbreak yes18:11
refried_ git status showed unmerged paths: "both added"18:11
cbreak yes, because you kept the index18:11
so you had changes that added some file18:12
fuchstronaut left18:12
cbreak and you had that change stashed too18:12
so it seems to have conflicted18:12
m0viefreak joined18:12
refried_ i guess it was an added file that was partially staged and partially not18:12
then the unstaged part stashed away18:12
then it conflicted with itself18:13
fscala joined18:13
refried_ i don't remember what the inside of the file looked like, or if I even checked it, but I would've expected git stash and git stash pop to be inverses18:13
efdetonator left18:13
refried_ given that there were no other changes18:14
remitamine joined18:14
cbreak refried_: they are18:14
but you used -k18:14
that leaves debries behind18:14
refried_ right, but that doesn't change my expectation18:14
cdg joined18:14
ajf- joined18:14
refried_ it's not debris, it's a view of what the commit will look like18:15
is there a safer way to do that?18:15
my goal is to test whether a commit i'm preparing will compile18:16
Sucks joined18:16
refried_ so stash -k -u will make my working dir look like the commit18:16
crayon joined18:17
refried_ but then stash pop immediately after creates conflicts 0_o18:17
cbreak just nuke the changes away when you're done18:17
git reset --hard HEAD should kill everything uncommitted18:17
refried_ i don't wanna kill everything uncommitted, i had uncommitted, unstaged work that i didn't want to lose18:17
inflames left18:17
cbreak so?18:17
you stashed those away18:18
anth0ny joined18:18
refried_ right, but when i applied the stash i got conflicts — which lead me to believe that that wasn't a safe way to save those changes18:18
mablae joined18:18
refried_ *head18:18
*led18:18
heh18:18
don't want conflicts18:18
Pegasus_RPG left18:19
dstarh joined18:19
joshc joined18:19
weber.freenode.net set mode: +v18:19
refried_ just want to restore the working dir to the pre-stash state18:19
phaleth left18:20
ToxicFrog refried_: wait, what actually happened here? You stashed, then made a bunch of changes, then did "stash apply" without committing the changes you just made?18:20
cbreak refried_: so, do what I told you18:20
remitamine left18:20
refried_ ToxicFrog: no, i stashed -k -u, made no changes, did stash pop, which resulted in a bunch of conflicts18:21
ToxicFrog Ooooh. You stashed with --keep-index.18:21
elastix joined18:21
refried_ *nod*18:22
uhmgawa joined18:22
zjaffee joined18:22
refried_ wondering if there's a way to do something similar without generating conflicts18:22
uhmgswa^2 left18:23
jorelc left18:24
realz left18:25
refried_ so that i can run tests on the working dir as it will appear in the commit (this is why i did stash -k -u), and then continue working with the unstaged changes in tact (this is why i did stash pop); there were no changes other than those made by those two commands18:25
mostlybadfly joined18:25
realz joined18:25
davidosomething joined18:25
stonerfish left18:26
subhojit777 left18:27
kadoban refried_: https://www.emptypath.com/git_pre_commit_testing this is my way to do that, if it helps18:27
foist joined18:27
refried_ thanks i'll check it otu18:28
kadoban (I didn't follow the conversation, just responding to the last line)18:28
refried_ *out18:28
yeah that's good enough18:28
basically trying to do pre-commit testing18:28
ramsub07 left18:28
Dyonisos joined18:28
refried_ provided it's actually based on the contents of the commit, and not the contents of the working dir18:28
Sasazuka joined18:29
annoymouse left18:29
stonerfish joined18:29
kadoban Yep, that's the same goal the blog post has. You can skip to the final result if it's too verbose, though you miss out on a bit of ... why you have to do all the extra crap.18:30
reim left18:30
durham joined18:30
foist Is there some way to do `git diff`, but only include lines in the diff that match a certain pattern? I want to generate a diff that only contains logger lines.18:31
refried_ kadoban: i had backed up my working dir, anticipating problems; that worked too, just... sigh18:31
romerocesar joined18:32
kadoban refried_: Yeah I used to have kind of a horrible thing based on the script just making a backup, but ... it sucked, and took forever too.18:34
CJKinni` joined18:34
reim joined18:34
irco left18:35
reim left18:35
rbern left18:35
LeBlaaanc joined18:37
CJKinni left18:37
|2321 joined18:37
romerocesar left18:37
eka_ joined18:38
eka left18:40
k3rn31 left18:40
clemf left18:41
diegoviola joined18:41
dmto joined18:42
duderonomy joined18:44
zjaffee left18:45
fuchstronaut joined18:45
livingstn joined18:47
paul424 left18:47
maucar joined18:47
jceb left18:49
settermjd joined18:49
sebbu joined18:49
tgunr left18:51
User458764 left18:52
aax left18:53
ochorocho__ joined18:56
eka_ left18:56
ahmed_elgabri joined18:57
kfpratt joined18:57
mmlb left18:58
ochorocho__ left19:00
paul424 joined19:01
User458764 joined19:02
vuoto_ joined19:03
annoymouse joined19:03
ochorocho__ joined19:04
mwhooker joined19:04
vuoto left19:04
refried_ left19:04
tgunr joined19:05
refried_ joined19:06
eka joined19:06
eletuchy joined19:06
FuzzySockets left19:07
steadystatic_ joined19:07
eletuchy_ joined19:08
steadystatic left19:09
steadystatic_steadystatic19:09
settermjd left19:09
t0by joined19:10
nettoweb left19:10
eletuchy left19:11
eka left19:11
dsdeiz left19:12
zumba_ad_ left19:12
FuzzySockets joined19:12
a_thakur joined19:13
quetz joined19:13
eletuchy_ left19:14
carell left19:14
vuoto_ left19:15
vuoto joined19:15
netj left19:15
eletuchy joined19:15
carell joined19:15
netj joined19:16
settermjd joined19:16
AaronMT left19:17
a_thakur left19:18
cyphase left19:19
howdoi left19:19
cyphase joined19:20
courrier joined19:20
roger_raymond joined19:22
fahadash left19:22
tgunr left19:22
Calrik left19:24
SoRoot joined19:25
johnmilton left19:26
harish joined19:27
ResidentBiscuit left19:28
bewilled joined19:28
tabrez joined19:28
ResidentBiscuit joined19:28
t0by left19:29
bewilled Hi. How can I make sure dev and master are the same each time I want to push to dev?19:29
feignix joined19:29
jh3 left19:30
feignix left19:30
milki this sounds very specific to your problem. do you have any details to share?19:30
phanimahesh left19:31
feignix joined19:31
t0by joined19:31
GodGinrai bewilled: that sounds weird. Shouldn't master be behind dev?19:31
bewilled GodGinrai: I'm thinking just allowing one commit to dev19:33
GodGinrai: then that commit is either pushed or discarded19:33
eletuchy_ joined19:34
efdetonator joined19:35
eletuchy left19:36
eletuchy joined19:37
jaguarmagenta joined19:37
remitamine joined19:38
bewilled GodGinrai: Push to dev, test. If everything is correct push to master, else don't allow new commits until the incorrect commit is removed19:39
eletuchy_ left19:39
_ng left19:40
sauvin left19:41
eletuchy_ joined19:41
jaguarmagenta left19:42
sauvin joined19:43
eletuch__ joined19:43
fuchstronaut left19:43
eletuchy left19:43
eletuchy joined19:45
eletuchy_ left19:45
d0nkeyBOB left19:46
docnvk left19:47
eletuch__ left19:48
eletuchy_ joined19:48
cdown joined19:48
texinwien left19:48
editshare-ericf joined19:49
EvilPenguin left19:50
ahmed_elgabri left19:50
eletuchy left19:50
Tryop88 joined19:51
_August_ left19:51
fahadash joined19:51
_August_ joined19:51
FeersumEndjinn joined19:51
FeersumEndjinn left19:52
EvilPenguin joined19:53
eletuchy joined19:54
harish left19:55
liuzhen left19:56
mariuscc left19:56
eletuch__ joined19:56
eletuchy_ left19:56
liuzhen joined19:57
zmanfx joined19:57
SoRoot left19:57
cdown left19:57
eletuchy left19:59
eletuchy joined20:00
rbern joined20:00
eletuch__ left20:02
fuchstronaut joined20:02
zumba_ad_ joined20:02
eletuchy_ joined20:03
mmlb joined20:03
valerd joined20:05
rbern left20:05
eletuchy left20:05
GodGinrai is there any simple way to find that a branch is up-to-date with its remote that I can use in a script?20:05
BlaXpirit GodGinrai, google, the answers are there20:06
GodGinrai Googling shows me some `git rev-list` parsing and `git pull --dry-run` solutions20:06
But those honestly seem like using the wrong tool for the job20:06
I was wondering if there was a simpler method20:07
BlaXpirit well what's your actual use case?20:07
fuchstronaut left20:07
dopesong joined20:07
b1tchcakes joined20:07
harish joined20:07
docnvk joined20:07
tabrez left20:07
efdetonator you can git fetch and compare git rev-parse branch with git rev-parse origin/branch20:08
GodGinrai BlaXpirit: Basically, we have users pushing old code to our test server, which causes problems. The *rule* is that you are supposed to pull the latest master before placing the codes on the server, so I wanted to add some code to our script that pushes that makes it bail if your master is not up-to-date20:08
BlaXpirit GodGinrai, but git will not allow you to push20:09
eletuchy joined20:09
refried_ left20:09
GodGinrai BlaXpirit: this isn't a git push we're disallowing.20:09
BlaXpirit ah you're probably not pushing, just copying20:09
madduck_ joined20:09
a_thakur joined20:10
weckl left20:10
GodGinrai BlaXpirit: you can call it whatever you want, my point is that we are trying to disallow the user from doing something non-git if their master is not up-to-date20:10
eletuch__ joined20:11
mwhooker left20:11
dopesong left20:11
GodGinrai efdetonator: does that return the commit hashes that the branches point to?20:11
eletuchy_ left20:11
BlaXpirit GodGinrai, well what's wrong with this one http://stackoverflow.com/a/327842720:11
zjaffee joined20:12
diegoaguilar left20:12
eletuchy_ joined20:13
LiENUXLiENUS20:13
eletuchy left20:13
GodGinrai BlaXpirit: honestly, the fact that git parrots at me in tons of other tasks whether my branch is up-to-date, I assumed that it had a command that could be used to just check that.20:13
eletuchy joined20:14
eletuch__ left20:15
a_thakur left20:15
dopesong joined20:15
eletuch__ joined20:16
siddharaj6010_ joined20:17
basiclaser left20:17
eletuchy_ left20:17
rbern joined20:19
clemf joined20:19
eletuchy left20:19
efdetonator GodGinrai: yes20:19
eletuchy joined20:19
jh3 joined20:20
boombatower joined20:20
DolphinDream left20:21
refried_ joined20:21
remitamine left20:22
eletuchy_ joined20:22
SoRoot joined20:22
eletuch__ left20:22
SoRoot left20:22
jstein_ joined20:23
eletuch__ joined20:24
eletuchy left20:24
jstein_jstein20:25
siddharaj6010_ left20:25
jchonig_ left20:25
eletuchy joined20:25
jh3 left20:26
eletuchy_ left20:26
eletuchy_ joined20:27
valerd left20:27
rwb left20:28
eletuch__ left20:28
davisonio joined20:29
eletuch__ joined20:29
clemf left20:29
eletuchy left20:30
Jetchisel joined20:30
eletuchy joined20:31
sshbio joined20:31
clemf joined20:31
xaviergmail joined20:32
eletuchy_ left20:32
jeffreylevesque left20:32
cyan__ joined20:32
eletuchy_ joined20:33
romerocesar joined20:33
eletuch__ left20:33
gingitsune joined20:34
harish left20:34
eletuch__ joined20:35
xaviergmail left20:35
eletuchy left20:36
docnvk left20:36
eletuchy joined20:36
settermjd left20:37
eletuchy_ left20:37
MrMojito2 left20:37
maucar left20:37
GodGinrai How does git tell if there are changes to commit, for example, in the output of git-status?20:37
romerocesar left20:38
xaviergmail joined20:38
carell left20:39
EvilPenguin left20:39
radsy joined20:39
eletuch__ left20:39
eletuchy_ joined20:40
sshbio left20:40
boombatower left20:41
djb-irc left20:41
eletuch__ joined20:41
eletuchy left20:42
_ikke_ GodGinrai: it compares stat information + contents against its index20:42
jimi_ left20:42
nachoman joined20:43
GodGinrai _ikke_: stat information being from the filesystem?20:44
jchonig joined20:44
eletuchy_ left20:44
reim joined20:44
eletuchy joined20:45
ejb joined20:45
xaviergmail left20:45
xaviergmail joined20:45
mostlybadfly left20:47
eletuchy_ joined20:47
courrier left20:47
eletuch__ left20:47
User458764 left20:47
Timvde left20:47
synthroid left20:49
eletuch__ joined20:49
eletuchy left20:49
IrishPrime left20:50
rudi_s GodGinrai: Yes.20:50
zumba_ad_ left20:50
rudi_s It compares size/mtime and if necessary content against its index (.git/index) to decide which files contain modifications.20:50
introsp3ctive left20:51
eletuchy joined20:51
quetz left20:51
mage_ joined20:51
eletuchy_ left20:51
fmcgeough left20:52
jason237 left20:52
eletuchy_ joined20:53
eletuch__ left20:53
paul424 left20:53
feignix left20:54
vuoto left20:54
BigWillie left20:54
eletuch__ joined20:55
Timvde joined20:55
GodGinrai rudi_s: well, then that explains why `git status` in my mounted volume in docker shows that all of my files have changes that need to be committed.20:55
mage_ left20:55
eletuchy left20:55
eletuchy joined20:56
JanC_ joined20:56
GodGinrai but damn, I was hoping to be able to tell if the user had an unclean repo20:57
eletuchy_ left20:57
ResidentBiscuit left20:57
rudi_s GodGinrai: What?20:57
|2321 left20:57
rudi_s How does that explain anything?20:57
EvilPenguin joined20:57
JanC_JanC20:57
FrontPsych left20:58
FuzzySockets left20:58
GodGinrai rudi_s: the mode is different on every file in the mounted volume, and so it sees tons of changes20:58
eletuchy_ joined20:58
johnmilton joined20:58
rudi_s GodGinrai: Unless it's +-x, git doesn't care.20:59
AaronMT joined20:59
eletuch__ left20:59
GodGinrai rudi_s: it's going from 100644 to 100755 for most of the files20:59
rudi_s I guess I don't want to know what you or docker are doing there .. but yes, if the x-bit changes, git will notice.21:00
efdetonator left21:00
eletuch__ joined21:00
eletuchy left21:01
cdown joined21:01
GodGinrai rudi_s: I'm just mounting a volume. I suspect it's not docker's fault, and actually the fault of virtualbox's shared folders. I could be wrong, tho'21:01
aguimaraes1986 left21:02
harish joined21:02
rudi_s ...21:02
eletuchy_ left21:02
aidalgol joined21:03
johnmilton left21:03
eletuchy joined21:03
ash_workz left21:05
jeffreylevesque joined21:05
ahmed_elgabri joined21:05
eletuch__ left21:05
eletuchy_ joined21:07
harish left21:07
ejb left21:08
diegoaguilar joined21:08
DieguezZ joined21:09
eletuchy left21:09
eletuch__ joined21:09
nettoweb joined21:09
eletuchy joined21:10
nettoweb left21:11
Gsham joined21:11
eletuchy_ left21:11
cdown_ joined21:11
nettoweb joined21:11
Seveas !dropbox21:11
gitinfo Use git-remote-dropbox instead of placing your repository directly in the "Dropbox folder", or you'll get sync errors(and eventually, a corrupted repo). https://github.com/anishathalye/git-remote-dropbox21:11
mbrzuzy left21:12
eletuchy_ joined21:13
eletuch__ left21:13
GodGinrai rudi_s: is there any easy way to check just the contents of the files for changes instead of the mode?21:13
clemf left21:14
rudi_s GodGinrai: core.fileMode = false21:14
ResidentBiscuit joined21:14
cdown left21:15
reim left21:15
cdown_cdown21:15
eletuchy left21:15
GodGinrai rudi_s: Is there a way to do this temporarily without dirtying the config? (like how you can specify env vars before a command in shell: `SOMEVAR=1 ./my_script`)21:16
nettoweb left21:16
Seveas git -c foo=bar21:16
eletuchy joined21:16
johnmilton joined21:16
GodGinrai Seveas: ty21:16
reim joined21:17
mellernoia joined21:17
stoopkid joined21:17
eletuch__ joined21:18
eletuchy_ left21:18
apprentice joined21:19
gingitsune left21:19
eletuchy_ joined21:20
emPi left21:20
visualshock joined21:20
eletuchy left21:21
reim left21:21
clemf joined21:21
w00tner left21:21
apprentice left21:21
eletuch__ left21:22
lildude3970 joined21:22
eletuchy joined21:23
reim joined21:23
dstarh left21:23
gitinfo set mode: +v21:24
lildude3970 It would appear that the code I've pushed to my github repo is showing up under a different username. Is it possible to change this for potentially the last 5-10 commits? :/21:24
ochorocho__ left21:24
TomyLobo left21:24
mwhooker joined21:25
eletuch__ joined21:25
eletuchy_ left21:25
hhee left21:26
eletuchy_ joined21:27
eletuchy left21:27
eletuchy joined21:29
visualshock I have added contributors to my github repo, and when they push something it appears under "pull requests" right?21:29
eletuch__ left21:29
johnmilton left21:30
Eugene visualshock - if they have Push permissions to your repo they can push directly to the branches. You can make a Pull Request between branches within the same repo, but a more common Github workflow is to have the contributor Fork it into their own personal space, and then create a PR from that back to your parent repo21:30
kadoban visualshock: No, PRs are a separate thing. They require no permission from you to create.21:30
eletuch__ joined21:30
mage_ joined21:30
kadoban lildude3970: I forget how attribution works on github. Do you have your email address correct in your commits? Is it the same email address that github has on your account?21:31
Spacew00t left21:31
eletuchy_ left21:31
mdw joined21:31
allcentury left21:32
mdw left21:32
visualshock Ok, I have given them all push access, but I still had to merge the pull request. Maybe it was their intention.21:32
mdw joined21:33
eletuchy left21:33
eletuchy joined21:33
mdw left21:34
kadoban Probably. Having push access doesn't mean you have to use it, you can still create PRs.21:34
xlegoman left21:34
mdw joined21:35
mdw left21:35
eletuch__ left21:35
eletuchy_ joined21:36
GodGinrai lildude3970: github determines this by the email address of the committer. Just make sure the email addrs are correct in the respective accounts21:36
mdw joined21:37
eletuch__ joined21:37
jaguarmagenta joined21:38
eletuchy left21:38
lildude3970 kadoban: The email address in the commits is correct, in fact it hasn't changed at all when I do a git config21:39
mdw left21:39
raijin joined21:39
Gsham left21:39
lildude3970 GodGinrai: I actually just flat out deleted the other account a few minutes ago, because it's old and I don't use it, and I never wanted it to be associated with this particular repo.21:39
When I run git log in my repo, though, I can't even see where/when/how the other account got involved because the name and email was never changed for any of the commits21:40
GodGinrai lildude3970: hrm... Maybe github caches the user it first recognizes it as.21:40
eletuchy_ left21:40
GodGinrai lildude3970: if the other account on github had that email address, then it is possible for it to hijack it anyway21:40
Gsham joined21:40
lildude3970 :(21:40
I'm just so frustrated... Should I just delete the repo entirely and start over?21:41
mdw joined21:41
lildude3970 I'm apparantly still commiting under the wrong user ID even now21:41
mcint__ joined21:41
mdw left21:41
lildude3970 And I can't find any clear explanations on how to fix it21:41
GodGinrai lildude3970: I would browse through the github docs and see if they have a proposed fix. This has happened to me as well, so I wouldn't be surprised if someone had reported it.21:41
nachoman left21:42
jaguarmagenta left21:43
rubyonrailed joined21:43
ahmed_elgabri left21:44
CJKinni` left21:44
rgrinberg left21:44
SimonNa joined21:44
gsingh joined21:45
johnmilton joined21:45
mase-tech left21:46
[cust] joined21:47
mdw joined21:47
Dougie187 left21:47
Muzer joined21:48
mdw left21:48
joki left21:48
raininja joined21:48
raijin left21:48
ahmed_elgabri joined21:49
EvilPenguin left21:49
Phylock left21:50
aard left21:50
EvilPenguin joined21:50
t0by left21:51
davisonio left21:51
Kicer86 left21:52
jyjon joined21:53
jimi_ joined21:53
xall left21:53
joki joined21:54
gitinfo set mode: +v21:54
mcint__ Are there servers/applications (or a way to configure http-backend) to serve content from my own server a la raw.githubusercontent?21:54
steadystatic left21:54
mcint__ to serve file content by commit/commit-ish and path21:55
APKAKPWD21:55
nnyk_ joined21:55
remitamine joined21:55
_August_ left21:55
nick123 joined21:56
_August_ joined21:56
jimi_ left21:57
cdown I have a mapping where one of the commands is `:normal }<CR>`. When this command moves the cursor (ie. there is a paragraph to move to), the macro continues further. However, when `:normal }<CR>` does not move the cursor, it just displays that in the status and doesn't do anything else. How can I continue regardless?21:57
orbitphreak joined21:57
eight58 joined21:57
ejb joined21:57
cdown ie. the command is `xxx:normal }<CR>yyy`, and "yyy" only happens if there was a paragraph to move to21:57
mwhooker left21:58
cdown Whereas I'd like to continue whether or not `:normal }` did anything.21:58
fornax joined21:58
zivester left21:58
mcint__ cdown: that might be a #vim question21:58
cdown what the fuck21:58
i thought i pressed alt-g21:58
*v21:58
but i clearly pressed alt-v and came in here21:58
sigh, sorry21:58
mcint__ gl21:58
GodGinrai lol21:59
Lunatrius` joined21:59
kasper93 joined22:00
GodGinrai left22:00
cdown well, it was 3 chars long, so i guess my brain didn't register that the status line shows the wrong channel ;-)22:00
jimi_ joined22:00
lildude3970 Ah gosh.22:00
_rht left22:00
lildude3970 I think I might have fixed it.22:00
:>22:00
jyjon left22:01
nick123 left22:01
lildude3970 I had no idea it was tied to email in that way.22:01
jyjon joined22:01
Gamecubic joined22:02
hide joined22:02
AaronMT left22:02
Tryop88 left22:03
bango2 left22:03
aax joined22:03
cyan__ left22:03
Lunatrius left22:03
Lunatrius`Lunatrius22:03
mwhooker joined22:03
eletuch__ left22:04
barteks2x left22:04
barteks2x joined22:04
mdw joined22:05
eletuchy joined22:05
jimi_ left22:05
DolphinDream joined22:06
mdw left22:06
clemf left22:06
italoacasas left22:06
fuchstronaut joined22:08
fees left22:08
kadoban ... isn't that what we said above?22:08
_August_ left22:09
jyjon left22:09
eletuchy_ joined22:09
_August_ joined22:09
nnyk_ left22:10
mcint__ ah gitweb out of the box...plus server22:10
jyjon joined22:10
lildude3970 kadoban: I had no idea before you had said that, of course.22:11
:)22:11
ajf- left22:11
DolphinDream left22:11
eletuchy left22:11
DolphinDream joined22:12
clemf joined22:12
fuchstronaut left22:12
eletuchy joined22:12
King_Hual left22:13
eletuch__ joined22:14
ejb left22:14
cdown left22:14
ToBeCloud joined22:14
gitinfo set mode: +v22:15
eletuchy_ left22:15
jyjon left22:16
eletuchy_ joined22:16
ejb joined22:16
eletuchy left22:17
ajf- joined22:17
f3r70rr35f left22:17
clemf left22:17
eletuchy joined22:18
DolphinDream left22:18
eletuch__ left22:19
bewilled left22:19
rgrinberg joined22:20
eletuch__ joined22:20
LionsMane left22:20
eletuchy_ left22:21
taylorm left22:21
eletuchy_ joined22:21
eletuchy left22:23
eletuchy joined22:23
clemf joined22:24
fscala left22:24
eletuch__ left22:24
eletuchy_ left22:26
fscala joined22:26
Darcidride joined22:26
eletuchy_ joined22:26
docnvk joined22:27
ajf- left22:27
italoacasas joined22:27
eletuch__ joined22:28
eletuchy left22:29
annoymouse left22:29
kadoban left22:30
nellicus_ joined22:30
eletuchy joined22:30
happy-dude left22:31
eletuchy_ left22:31
caudill joined22:31
lildude3970 left22:32
NeverDie left22:32
eletuchy_ joined22:32
eletuch__ left22:33
eletuch__ joined22:34
basiclaser joined22:34
caudill left22:34
eletuchy left22:34
sauvin left22:35
eletuchy joined22:36
sauvin joined22:36
eletuchy_ left22:37
ajf- joined22:37
zjaffee left22:37
elastix left22:37
eletuchy_ joined22:37
User458764 joined22:38
eletuch__ left22:38
lindenle left22:39
eletuch__ joined22:39
shaggycat joined22:40
eletuchy left22:40
eletuchy joined22:41
ahmed_elgabri left22:41
eletuchy_ left22:42
xaviergmail left22:42
clemf left22:42
eletuchy_ joined22:43
visualshock left22:43
jimi_ joined22:43
xaviergmail joined22:44
eletuch__ left22:44
shaggycat left22:45
w00tner joined22:45
clemf joined22:45
Sucks left22:45
eletuchy left22:45
clemf left22:45
w00tnerGuest8036122:45
darkbit joined22:45
shaggycat joined22:45
eletuchy joined22:46
jstein left22:46
Dyonisos left22:46
clemf joined22:46
clemf left22:46
clemf joined22:47
clemf left22:47
clemf joined22:48
clemf left22:48
eletuchy_ left22:48
clemf joined22:48
eletuchy_ joined22:49
clemf left22:49
nnyk_ joined22:49
zjaffee joined22:49
clemf joined22:49
clemf left22:50
mdw joined22:51
Gsham left22:51
eletuchy left22:51
mdw left22:51
ochorocho__ joined22:52
mdw joined22:52
eletuchy joined22:52
mdw left22:52
ejb left22:53
mdw joined22:53
ejb joined22:53
ejb left22:53
ejb joined22:53
ejb left22:54
mdw left22:54
eletuch__ joined22:54
eletuchy_ left22:54
mdw joined22:55
foul_owl joined22:56
eletuchy_ joined22:56
eletuchy left22:56
ochorocho__ left22:56
nick123 joined22:57
DieguezZ left22:57
xall joined22:57
eletuchy joined22:58
eletuch__ left22:59
Arban left22:59
nwkj86 left22:59
taylorm joined22:59
ResidentBiscuit left23:00
eletuch__ joined23:00
eletuchy_ left23:01
gsingh left23:01
nick123 left23:02
eletuchy_ joined23:02
fahadash left23:02
Wulf left23:02
gsingh joined23:02
eletuchy left23:02
bruce_lee left23:03
mwhooker left23:03
aarobc left23:03
eletuchy joined23:04
eletuch__ left23:05
dopesong left23:05
eletuch__ joined23:06
eletuchy_ left23:07
diegoaguilar left23:07
nnyk_ left23:07
NyB joined23:07
zivester joined23:08
eletuchy left23:08
eletuchy joined23:09
ahr3n joined23:10
eletuchy_ joined23:11
taylorm left23:11
eletuch__ left23:11
ajf- left23:12
NyB Hi! Has the behavior of !-prefixed (shell) aliases changed recently (for some definition of recently)? It seems to be switching to the worktree first now...23:12
brcolow left23:13
eletuch__ joined23:13
eletuchy left23:13
NyB ...but at least it sets GIT_PREFIX23:14
eletuchy joined23:15
eletuchy_ left23:16
CEnnis91 left23:16
reim left23:17
circ-user-bgUQR left23:17
eletuchy_ joined23:17
ffabi left23:17
eletuch__ left23:17
diegoaguilar joined23:17
reim joined23:18
eletuch__ joined23:19
xall left23:19
reim left23:19
eletuchy left23:19
diegoaguilar left23:20
xall joined23:20
ffabi joined23:21
reim joined23:21
Darcidride left23:22
eletuchy_ left23:22
mdw left23:22
diegoaguilar joined23:23
eletuch__ left23:23
reim left23:23
mablae_ joined23:25
mablae left23:28
LeBlaaanc left23:29
LeBlaaanc joined23:29
tjone270_ joined23:31
larsrustand joined23:31
tyreld left23:33
cdg left23:33
tjone270 left23:34
sauvin left23:36
jaguarmagenta joined23:39
gsingh left23:39
orbitphreak left23:39
lindenle joined23:39
sauvin joined23:41
jaguarmagenta left23:43
lindenle left23:44
Repox left23:45
fornax left23:47
allcentury joined23:48
eletuchy joined23:49
dmto left23:50
drbean joined23:52
eletuchy left23:53
afuentes joined23:53
radsy left23:54
mellernoia left23:54
refried_ left23:56
Guest89011 joined23:56
Guest89011nuck23:56
Lyqyd joined23:56
shinnya joined23:58
darkbit left23:58
clemf joined23:59

Logs Search ←Prev date Next date→ Channels Documentation