IRCloggy #git 2015-07-23

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.

2015-07-23

Lyqyd joined00:00
ClearC2 left00:00
devoldmx left00:00
espindola joined00:01
imachuchu left00:02
clarkpan_ joined00:02
hexagoxel left00:02
hexagoxel joined00:04
HelloShitty left00:05
sentriz left00:05
clarkpan left00:05
j` joined00:07
j` left00:07
j` joined00:07
theskillwithin joined00:08
eletuchy left00:08
EricPoe left00:09
mizu_no_oto joined00:11
pm90_ left00:12
zumba_ad_ joined00:12
yqt left00:14
modocache joined00:14
yqt joined00:14
m0viefreak left00:17
Juxtapositional left00:17
emulator_ left00:18
modocache left00:18
m0viefreak joined00:18
zumba_ad_zumba_addict_00:20
thiago left00:21
Pookz joined00:21
gambl0re left00:23
taru joined00:24
VictorCL left00:24
bronson left00:24
Tobarja joined00:24
d10n-work left00:25
xudongz joined00:25
Fernando-Basso left00:25
mizu_no_oto left00:26
duderonomy left00:26
Kaisyu joined00:26
maestrojed left00:27
pm90_ joined00:28
nofxx left00:28
nfk left00:29
tyreld left00:30
ToBeCloud left00:30
FunkyELF joined00:30
tristanp left00:31
tristanp joined00:31
FunkyELF damn... cloning cpython using "git clone hg::https://hg.python.org/cpython" is painfully slow. Been running for 7 minutes and only 36800/9022200:32
tang^ left00:35
tristanp left00:36
dsantiago joined00:36
CKyle joined00:36
nda_ joined00:37
jwhisnant joined00:38
jwhisnant left00:38
eggoez left00:39
variable joined00:40
nda_ For some reason, when I run the command "git gc --aggressive", I just get this error eventually: fatal: Out of memory, malloc failed (tried to allocate 2199486 bytes)00:41
mattcen left00:41
mizu_no_oto joined00:41
nda_ Is that a known issue with large repos?00:42
eggoez joined00:42
nda_ By the way, I use Git v1.9.5 on Windosw.00:42
blackwind_123 left00:44
Mathiasdm left00:45
strull joined00:45
harish_ left00:46
maestrojed joined00:47
lindenle left00:47
arescorpio joined00:48
Wetmelon joined00:48
lucha left00:49
ccolorado joined00:49
pm90_ left00:50
jwhisnant joined00:50
ccolorado Hi I have a git repo with hundreds maybe thousand of branches however git fetch --all doesn't bring up all of them ( git branch -av only shouws around 10 branches )00:50
mellernoia-work left00:50
jwhisnant left00:50
mweshi_ joined00:50
pm90_ joined00:51
eggoez left00:53
mweshi left00:53
elementalest_ left00:53
kpease joined00:53
mizu_no_oto left00:55
pm90_ left00:56
leo60228 left00:56
m0viefreak left00:56
xlegoman left00:56
ahr3n joined00:57
Obfuscate left00:58
mattcen joined00:58
dgutierrez1287 joined00:59
Sasazuka left01:00
SimonNa left01:00
kpease left01:01
EricPoe joined01:02
dgutierrez1287 left01:03
diegoaguilar left01:05
eggoez joined01:07
diegoaguilar joined01:08
m0viefreak joined01:10
dougsland left01:12
daito joined01:12
modocache joined01:13
Vampire0 joined01:15
osse ccolorado: --all only means fetch from all remotes. do you have more than one01:17
clarkpan_ left01:17
osse ?01:17
modocache left01:18
Vampire0_ left01:18
ccolorado I only have one remote "origin"01:18
pks left01:18
kfoonamalik left01:19
osse what does git config remote.origin.fetch say ?01:19
m0viefreak left01:19
pks joined01:21
robbyoconnor joined01:21
clarkpan joined01:22
bronson joined01:25
durham left01:25
ccolorado +refs/heads/development:refs/remotes/origin/development01:26
osse there's the problem01:26
gebjgd left01:27
osse run git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' and fetch again01:27
ccolorado what does that means ?01:27
osse it means that by default fetch will only fetch the branch named development01:28
ccolorado I mean what I have, ( cause development is the parent of all those hundreds of branches )01:28
osse but if you change it it will fetch all01:28
ccolorado cool!01:28
seems is actually doing stuff01:28
ryez joined01:29
ccolorado osse: thanks so much :)01:29
i dont remember configuring that01:29
bronson left01:29
osse ccolorado: it happens by default if you use clone --single-branch for example01:30
ccolorado well i rembmer doing a shallow clone01:30
osse that too01:30
mscook left01:30
gopar joined01:31
gargola left01:31
mscook joined01:31
osse --shallow --depth x implies --single-branch01:31
mizu_no_oto joined01:32
ccolorado but i did eventually unshallowed it01:32
akushner_ left01:32
ccolorado would that still matter ( sorry internet went out for a bit )01:32
osse yes01:33
gargola joined01:33
gargola left01:33
gargola joined01:34
ccolorado osse: thanks ill have to investigate more how this all works but this was really helpful01:36
espindola left01:36
shinnya left01:36
osse it's just a setting in .git/config01:37
whitby left01:37
ryez left01:37
Goplat joined01:39
emulator_ joined01:40
a3Dman left01:41
SleePy joined01:42
modocache joined01:42
a3Dman joined01:44
thiago joined01:45
gamename joined01:46
gamename left01:46
modocache left01:46
d125q left01:47
harish joined01:48
lindenle joined01:48
Phoenixz left01:49
Phoenixz joined01:51
linux_dream joined01:51
linux_dream hi guys . I'd like to know how to update a file on github if locally i have a newer version. git add file , then git push origin master says everything is up to date and there's nothing to do01:52
ehmatthes joined01:56
ahr3n left01:56
lindenle left01:56
ClearC2 joined01:56
smw_ joined01:56
kushwowaname01:57
tvw left01:57
espindola joined02:00
ClearC2 left02:01
pheaver left02:02
franl joined02:02
fenugrec joined02:03
CKyle left02:03
cavallari joined02:04
nofxx joined02:04
nofxx left02:04
nofxx joined02:04
ehmatthes left02:05
_Atom_ joined02:07
fenugrec Hi, I'm sabotaging (a.k.a. merging) a few dirty commits from a remote branch. My goal is to squash 2-3 of these commits into 1. I need to do some manual editing at each step. I'm on a separate branch, and I just did "git fetch <remote_branch_1>; git merge --no-commit <dirty_commit_1>", and I've just finished solving conflicts, so "git status" shows every modification in green. Question is : can I do another "git merge --no-commit <dirty_commit_2>" directly ?02:08
zacts joined02:08
fenugrec Or git stash / pop ?02:08
faux___ joined02:08
CKyle joined02:08
emulator_ left02:09
mizu_no_oto left02:09
xcesariox joined02:10
xcesariox left02:10
emulator_ joined02:10
pwnz0r joined02:11
tomog999_ joined02:12
JanC left02:12
macabre joined02:12
xcesariox joined02:13
CKyle left02:13
emulator_ left02:13
emulator_ joined02:14
xlegoman joined02:14
tomog999 left02:14
maletor left02:14
Ryanar joined02:15
gfixler left02:15
franl left02:15
yqt left02:15
faux___ left02:15
Corey84 left02:16
emulator_ left02:17
linux_dream left02:19
CKyle joined02:19
showaz left02:21
emulator_ joined02:21
Phoenixz left02:22
iamjarvo joined02:23
[Saint] left02:24
tmager left02:25
Phoenixz joined02:25
mweshi_ left02:25
[Saint] joined02:26
JanC joined02:27
Kully3xf left02:27
strull left02:27
icosa1 joined02:28
Saturn812 left02:28
clarkpan left02:28
clarkpan joined02:28
Phoenixz left02:31
cmoneylulz joined02:34
Phoenixz joined02:36
Matthew-S joined02:37
Matthew-S Why does exempting extensions in gitignore not work recursively and what is a way to do so?02:38
eggoez left02:38
Matthew-S Currently my gitignore is something like this:02:39
*02:39
~*.cpp02:39
I mean !*.cpp02:39
But git still ignores folder/test.cpp02:39
_Atom_ left02:40
fenugrec !man gitignore | grep "\*\*"02:40
gitinfo The git man pages are available online at http://jk.gs/git.html. Or were you looking for the "man git-foo" syntax(without the !) ?02:40
the gitignore manpage is available at http://jk.gs/gitignore.html02:40
fenugrec Matthew-S ^ you need two *02:41
Matthew-S so, !**.cpp02:41
?02:41
fenugrec !give02:41
oops, wrong bot. man gitignore02:41
gitinfo the gitignore manpage is available at http://jk.gs/gitignore.html02:41
Phoenixz left02:42
CheckDavid left02:42
_Atom_ joined02:43
iamjarvo left02:44
iamjarvo joined02:45
tristanp joined02:45
Phoenixz joined02:46
bitkiller left02:48
Matthew-S Looking at the manpage, I would think this would work but it doesn't: !/**/*.cpp02:48
clarkpan left02:49
Ryanar left02:50
cavallari left02:50
fenugrec Matthew-S try !**/*.cpp02:50
axisys joined02:50
s00pcan left02:51
Matthew-S That only gets new cpp files in the relative root directory02:51
oojacoboo left02:51
fenugrec oops !/**/*.cpp02:52
didn't work ?02:52
iamjarvo left02:52
SocialBlunder joined02:53
s00pcan joined02:53
Matthew-S Nope02:53
fenugrec, I'm on git 1.9.102:53
tristanp left02:54
Matthew-S And I've made sure the ignore-everything asterisk is above the exclusion.02:54
tristanp joined02:54
terminal_echo left02:55
Matthew-S I've also tried using different types of asterisks such as **, /**, **/, and /**/02:55
terminal_echo joined02:55
Noldorin left02:56
Phoenixz left02:56
terminal_echo left02:57
fenugrec left02:57
cmoneylulz left02:58
Wetmelon Any recommended GUIs? I just downloaded SourceTree, gonna see if it's any better than the GitHub gui >.>02:58
Matthew-S Could it have something to do with this?: " It is not possible to re-include a file if a parent directory of that file is excluded"02:58
tristanp left02:59
theskillwithin Werring are you on a mac or windows?02:59
Wetmelon --^02:59
Wetmelon Windows 8.103:00
theskillwithin oh sorry to hear that03:00
ryez joined03:00
theskillwithin mac terminal just makes things so much easeir03:00
daivyk left03:00
theskillwithin iterm + oh my zsh03:00
Wetmelon zsh? Huh?03:00
BooMShanKerX joined03:01
LearningCN joined03:01
Wetmelon Oh. Z shell. Never heard of it03:01
theskillwithin pretty cool, it has themes that show what branch ur on right in ur terminal03:02
also if its dirty03:02
terminal_echo joined03:02
BooMShanKerX left03:03
darkbasic left03:04
darkbasic joined03:04
Matthew-S It seems as if I cannot use ** and then exclude something from a subfolder03:05
Essentially meaning it's impossibly to exclusively include only certain file types.03:06
pheaver joined03:06
eggoez joined03:06
BooMShanKerX joined03:07
Orbitrix joined03:10
Orbitrix left03:10
emulator_ left03:11
Orbitrix joined03:11
bahar left03:12
meatmanek joined03:13
Dragooon joined03:14
franl joined03:14
gfixler joined03:14
cagedwisdom left03:14
bollullera left03:15
Dragooon left03:16
d0lph1n98 joined03:16
arup_r joined03:17
mscook left03:18
durham joined03:18
mscook joined03:18
arup_r left03:19
theCole joined03:19
durham left03:21
devoldmx joined03:21
durham joined03:21
pwnz0r left03:22
franl left03:22
pheaver left03:23
mscook left03:23
theCole left03:23
smw_ left03:24
CKyle left03:26
eletuchy joined03:27
gopar left03:28
devoldmx_ joined03:28
devoldmx left03:28
waveclaw joined03:29
eletuchy left03:30
eletuchy joined03:30
baxx left03:31
cagedwisdom joined03:31
eletuchy left03:33
pm90_ joined03:33
pwnz0r joined03:33
eletuchy joined03:33
s00pcan left03:34
Matthew-S Finally, I've stumbled upon a solution. I can only exclude *.* within each level of subdirectories so that the whole folder is not ignored. And then the !/**/*.cpp works. Here's an example:03:34
https://gist.github.com/Wolfgange3311999/91c671f5e4d3c56cf5a103:35
eletuchy left03:35
eletuchy joined03:35
eletuchy left03:35
s00pcan joined03:35
harish_ joined03:44
madewokherd left03:46
espindola left03:46
harish left03:47
ryez left03:48
mscook joined03:49
Matthew-S left03:49
mscook left03:51
eletuchy joined03:52
mscook joined03:52
mscook left03:53
mscook joined03:53
Shentino2 joined03:53
Shentino left03:53
skorgon_ joined03:54
sarri left03:54
sarri joined03:57
ClearC2 joined03:57
mscook left03:58
modocache joined03:58
d0lph1n98 left03:59
eletuchy left04:00
daito left04:02
ClearC2 left04:02
modocache left04:03
unholycrab left04:03
unholycrab joined04:03
cdown left04:04
eletuchy joined04:04
GryAway joined04:04
Muhannad joined04:05
GryAway left04:05
_Atom_ left04:05
Tobarja left04:06
Sasazuka joined04:06
emulator_ joined04:07
gargola left04:08
Nooutlet left04:08
gargola joined04:08
MajorPayne joined04:08
Nooutlet joined04:09
whomp joined04:09
Sasazuka left04:10
mscook joined04:12
cdown_ joined04:14
ckruczek joined04:14
ccolorado left04:15
cdown_cdown04:16
Obfuscate joined04:17
SimonNa joined04:22
pwnz0r left04:24
bronson joined04:26
cdown left04:29
ResidentBiscuit joined04:29
Shentino2 left04:29
LearningCN left04:29
elsevero joined04:30
bronson left04:31
elsevero left04:31
sdothum left04:31
knownasilya left04:31
xudongz left04:32
Shentino joined04:32
LearningCN joined04:32
harish_ left04:32
Shentino left04:32
jceb joined04:33
ResidentBiscuit left04:34
Shentino joined04:34
sabgenton joined04:35
dreiss joined04:36
danzilio joined04:36
iamjarvo joined04:37
xlegoman left04:37
whomp left04:38
xlegoman joined04:38
happy-dude joined04:38
Plotinuz left04:39
LearningCN left04:40
beautifulmind joined04:41
Trow joined04:42
xlegoman left04:42
[Saint] left04:43
blackwind_123 joined04:43
clarkpan joined04:44
pwnz0r joined04:44
[Saint] joined04:45
eletuchy left04:48
jceb left04:48
t2mkn joined04:52
bket left04:52
modocache joined04:53
modocache left04:53
Mathiasdm joined04:54
bket joined04:54
nnyk joined04:56
scarabx joined04:57
Gamecubic left04:57
daito joined05:00
mikecmpbll left05:00
MechtiIde joined05:01
nda_ Is it a common problem that "git gc --aggressive" fails with " fatal: Out of memory, malloc failed ..."?05:03
Might add on Windows.05:03
lindenle joined05:04
tristanp joined05:05
danzilio left05:08
Plotinuz joined05:08
blackwind_123 left05:11
elementalest joined05:13
elementalest left05:13
elementalest joined05:13
rgb-one joined05:14
tristanp left05:15
tristanp joined05:16
emulator_ left05:18
harish_ joined05:20
tristanp left05:20
[Saint] left05:21
harish_ left05:21
scarabx left05:23
harish_ joined05:23
[Saint] joined05:23
ckruczek well a out of memory exception is always not a common problem :D05:25
but obviously on windows it is : http://stackoverflow.com/questions/10292903/git-on-windows-out-of-memory-malloc-failed05:26
awkwardusername joined05:27
[Saint] left05:28
Trow left05:29
iamjarvo left05:29
durham left05:29
BooMShanKerX left05:34
tarkus joined05:35
awkwardusername left05:36
iamjarvo joined05:38
TomyLobo joined05:39
the_cybersphinx left05:39
mehola joined05:41
fullstack joined05:42
fullstack How should I go about deploying a website from my local git to a remote server and restarting the service and stuff?05:42
_ikke_ fullstack: !deploy05:42
gitinfo fullstack: Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html05:42
_ikke_ fullstack: You want an actual deploy system for that05:42
fullstack: tools like capistrano05:43
fullstack thanks. capistrano, is that what everyone uses then?05:43
reading git as a deployment tool thanks again05:44
mark06 joined05:44
eletuchy joined05:44
_ikke_ fullstack: Everybody is a lot of people05:44
MechtiIde left05:44
Lyqyd left05:44
arescorpio left05:47
iamtakingiteasy git has a number of different hooks, including commit ones, enabling you to write a simple script to perform actual deloy on commit into repository05:47
_ikke_ You rarely want to deploy on commit05:48
iamtakingiteasy you may have a special 'production' brnach where commits are interepreted as deploys05:49
branch*05:49
bremner sounds like a contortion around some strange setup with only git acess, but ok, it could happen05:50
Silmarilion joined05:50
iamtakingiteasy not only git; it requires access to filesystem as well05:50
to install the hook you need05:50
but yeah, it is kinda a hipster-ish solution05:51
better to use an application container and deploy properly to one from your build system05:51
iamjarvo left05:51
iamtakingiteasy (e.g. java servlet container + maven deploy in local project)05:51
harish_ left05:53
ramsub07 left05:54
ThomasLocke joined05:54
lindenle left05:55
rzeka joined05:55
keroro520 joined05:57
EricPoe left05:57
ClearC2 joined05:58
icosa1 left05:58
nda_ ckruczek: You were right! Changing the config actually helped. Thank you! :D05:59
ckruczek nda_, cool, you are welcome. !next06:00
gitinfo nda_: Another satisfied customer. NEXT!06:00
nerd joined06:02
mutbuerger joined06:03
ClearC2 left06:03
rgb-one left06:03
SimonNa left06:04
icosa1 joined06:04
mark06 left06:04
leeN joined06:05
tpollard left06:05
ayaz joined06:06
sheilong left06:06
mscook left06:08
clarkpan left06:08
mscook joined06:08
mscook left06:11
skorgon_ left06:11
mscook joined06:11
jceb_ joined06:13
CEnnis91 left06:14
daito left06:15
mscook left06:16
hahuang65 joined06:17
sinkensabe joined06:18
Kelzier joined06:18
pm90_ left06:18
jiqissc joined06:19
lindenle joined06:19
phantombeta left06:19
sinkensabe left06:19
sinkensabe joined06:20
eGGsha joined06:20
ilmgb joined06:20
Corey84 joined06:24
hahuang65 left06:25
mscook joined06:25
Corey84 left06:26
clarkpan joined06:27
nnyk left06:27
lindenle left06:28
muhaha03__ joined06:28
elsevero joined06:28
fracting joined06:29
Corey84 joined06:29
johnkevinmbasco joined06:29
arup_r joined06:30
phantombeta joined06:33
mscook__ joined06:33
mscook left06:34
Wetmelon left06:34
Alienpruts joined06:35
fracting left06:35
daito joined06:35
clarkpan left06:35
ehmatthes joined06:36
kadoban left06:37
xlegoman joined06:39
johnkevi_ joined06:40
TomyLobo left06:41
clarkpan joined06:41
variable left06:42
fluter_ joined06:42
johnkevinmbasco left06:43
devoldmx joined06:43
fluter_ hi06:43
gitinfo fluter_: 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.06:43
fluter_ anyone configured gerrit?06:44
xlegoman left06:44
Darcidride joined06:46
devoldmx_ left06:47
harish_ joined06:48
harish_ left06:48
fracting joined06:48
hahuang65 joined06:50
duderonomy joined06:50
fracting left06:51
fracting joined06:51
mutbuerger left06:51
dreiss left06:52
mutbuerger joined06:54
Spriz joined06:54
arez joined06:55
Sceorem joined06:56
Spriz left06:57
Spriz joined06:57
thalleralexander joined06:59
b80905 joined06:59
beautifulmind left07:01
fracting left07:01
nnyk joined07:02
Goplat left07:02
tcurdt_ joined07:02
tumulte joined07:03
mscook__ left07:03
mscook joined07:04
b80905 How do I checkout the first commit?07:04
DistantStar joined07:05
barduck joined07:06
Bombe b80905, the same way you check out any other commit.07:06
pihpah joined07:08
netj left07:09
netj joined07:09
fluter_ if I delete a branch, will the commits on that branch also get delelted?07:10
psoo joined07:12
Bombe fluter_, not immediately. They are subject to Git’s garbage collection that is executed every once in a while, though.07:13
fluter_ Bombe: How can I remove a branch safely, yet preserve the commit it has?07:14
Bombe fluter_, I don’t understand what you are trying to do.07:14
pihpah left07:14
tarkus left07:14
pihpah joined07:14
Bombe fluter_, if you have no references to the commits (either a branch or a tag) the commits are unreachable (= useless) and can be deleted.07:15
fluter_ Bombe: it's about gerrit, I imported an existing repo into gerrit, but gerrit can't run because it reqires refs/meta/config to be a commit of its config07:15
so I created a orphan branch, and commit the project.config, and manually update refs/meta/config into that commit07:15
Bombe Sounds reasonable.07:16
fluter_ and pushed, now there is unnecessary config branch, I want to remove it, and preserve the commit07:16
Bombe How is that unnecessary? I think Gerrit needs it?07:16
fluter_ Bombe: gerrit needs refs/meta/config to be a commit of project.config, it does not needs the branch I created07:16
Bombe fluter_, refs/meta/config _is_ a branch.07:17
fluter_ because the branch with single commit is shown on the gui, and will be cloned by clients, I don't want to cause confusion07:17
Bombe: really? git clone does not get this branch07:17
Bombe fluter_, “will be cloned by clients” vs “git clone does not get this branch” – which is it?07:18
b80905 Is there another way to refer to commits other than by specifying a hash?07:18
heroux left07:18
Bombe b80905, sure. Branch names and tag names are two that come to mind.07:18
heroux joined07:19
thalleralexander left07:19
pihpah left07:19
fluter_ Bombe: for normal repo created by gerrit, git clone does not get this meta/config branch, but server has it07:19
PCatinean joined07:19
fracting joined07:19
fluter_ Bombe: for this imported project, because I created the config branch, client will see it when cloneing07:19
and I don't want that to happen,07:19
Bombe b80905, man git-rev-parse has more.07:19
gitinfo b80905: the git-rev-parse manpage is available at http://jk.gs/git-rev-parse.html07:19
fluter_ I want make it looks other project created by gerrit07:20
Bombe I have no idea how repos created by Gerrit look like.07:20
fluter_ Bombe: ok, let me ask this, the branches I created are at refs/heads/config07:21
b80905 Bombe: Can I refer to a commit by its number?07:21
fluter_ but for gerrit created project, it's ref/meta/config, why?07:21
is refs/meta/config a branch?07:22
Bombe b80905, there is no commit number. You can refer to “n commits before this commit/branch/tag.”07:22
mscook left07:22
Bombe fluter_, I have no idea how Git treats refs that are not somewhere in refs/{heads,remotes,tags}.07:23
mscook joined07:23
fluter_ me too, I don't know why it's refs/meta/config :(07:23
tristanp joined07:24
Brain joined07:24
t2mkn left07:24
ashnur hi. is there an easy way to debug post-receive hooks? i am trying to sync a checked out dir with it and i suspect there are some permission errors happening but I am not 100% sure and don't want to start giving write access without checking first if that's the problem07:24
TomyWork left07:25
flowinho joined07:26
ilmgb left07:26
mscook left07:27
codetroll joined07:28
encod3 left07:28
tristanp left07:28
Bombe fluter_, hmm. I just created a repository, hand-crafted refs/meta/config, cloned the repository, and refs/meta/config does not get cloned.07:28
kcj joined07:28
skylite joined07:29
fluter_ Bombe: right, that's what I meant.07:29
Bombe: the normally created branch will at refs/heads/config, and will get cloned07:29
so if I copy refs/heads/config into refs/meta/config, can I safely delete the config branch?07:29
codetroll left07:30
Bombe I could not create refs/meta/config with git-branch.07:30
Ah.07:30
Hmm.07:30
No idea, actually.07:30
You could remove refs/heads/config and use git-fsck to see if it’s a dangling blob now.07:30
If it is, it will be deleted on git-gc, if it isn’t Git still considers it reachable.07:31
Seveas Bombe: default clones only copy refs/heads/* and refs/tags/* refs/meta isn't a branch.07:31
Bombe Seveas, noticed that already. :)07:31
soc42 joined07:31
mithenks joined07:31
fluter_ Seveas: what is refs/meta/* ?07:32
Seveas fluter_: something Bombe came up with that nobody else does :)07:32
fluter_ Seveas: No, it's in every gerrit repo07:32
Seveas but hey, it's a free worls, you're free to name your refs however you want07:32
fluter_: ah. Never having used gerrit, I didn't know that07:33
p4trix joined07:33
fluter_ ok,07:33
dreiss joined07:35
modocache joined07:36
ilmgb joined07:36
modocache left07:36
howlymowly joined07:37
Bombe fluter_, apparently git considers refs/meta/config to be reachable, my small test repository did not report any dangling blobs.07:37
Muhannad left07:37
fluter_ Bombe: after delete the config branch?07:37
Bombe fluter_, well, I deleted the “master” branch in my test repository. :)07:37
fluter_ Bombe: okay :p and refs/meta/config is the head commit of master?07:38
Bombe Yes.07:38
fluter_ ok, it means git considers refs/meta/config to be something. :)07:38
petersr joined07:38
Bombe I’m pretty confident it does.07:39
fluter_ let me do that too, I will remove refs/heads/config :p07:39
eGGsha left07:39
ehmatthes left07:41
apfeluser joined07:42
tcurdt_ left07:43
PeterBooker joined07:43
tcurdt_ joined07:43
howlymowly left07:43
Corey84 left07:43
howlymowly joined07:44
eGGsha joined07:45
unholycrab left07:46
tcurdt_ left07:47
bonswouar joined07:48
p4trix left07:49
happy-dude left07:49
voodo joined07:49
IanWizard left07:49
thiago left07:50
settermjd joined07:50
apfeluser left07:50
Kartagis joined07:51
Kartagis hi07:51
SocialBlunder left07:51
Kartagis how can I git add -A minus one file?07:51
pantsman- joined07:52
pwnz0r left07:53
bongjovi joined07:54
tcurdt_ joined07:55
sabgenton left07:56
tcurdt_ left07:58
tcurdt_ joined07:58
fahadash left07:58
tumulte_ joined07:58
SocialBlunder joined07:58
encod3 joined07:59
felipedvorak left07:59
ClearC2 joined07:59
devoldmx left07:59
aspiers left07:59
apfeluser joined07:59
apfeluser left08:00
Hounddog joined08:00
tumulte left08:00
white_bear joined08:00
tcurdt__ joined08:00
creep joined08:01
fahadash joined08:01
tcurdt_ left08:01
nerd left08:01
fahadash left08:02
Corey84 joined08:02
mikecmpbll joined08:02
th3mis joined08:02
tcurdt__ left08:03
SocialBlunder left08:03
eGGsha left08:03
ClearC2 left08:03
tcurdt_ joined08:03
Hounddog left08:04
arez left08:04
NeverDie left08:04
Hounddog joined08:04
eGGsha joined08:05
marcogmonteiro joined08:06
nerd joined08:07
harish_ joined08:07
genbattle left08:07
clarkpan left08:09
th3mis left08:10
felipedvorak joined08:13
aspiers joined08:13
boombatower left08:17
Balliad joined08:17
daito left08:18
petersr left08:19
freestyl3r joined08:19
Bruno_ joined08:21
bonswouar left08:22
bonswouar joined08:22
mutbuerger left08:22
Shentino left08:23
notebox joined08:23
arup_r left08:24
arup_r joined08:25
Arokh left08:26
dr_lepper left08:26
white_bear left08:26
Gege left08:26
Olipro left08:26
meatmanek left08:26
diegoaguilar left08:26
BSaboia left08:26
Chex left08:26
icosa1 left08:26
macabre left08:26
Arokh joined08:26
Gege joined08:26
icosa1 joined08:26
dr_lepper joined08:26
michael_mbp left08:26
diegoaguilar joined08:26
voodo left08:27
fumihiro joined08:27
beautifulmind joined08:28
Olipro joined08:29
skullcrasher joined08:29
michael_mbp joined08:30
jost joined08:30
King_Hual joined08:30
Chex joined08:30
modocache joined08:31
compac left08:31
arup_r left08:32
daito joined08:33
Gizburdt left08:34
modocache left08:35
meatmanek joined08:36
nydew07 left08:36
ayaz left08:37
Guest1932 joined08:39
beautifulmind left08:40
beautifulmind joined08:41
netcarver joined08:42
CustosL1men joined08:43
unholycrab joined08:45
netcarver left08:46
white_bear joined08:51
Shentino joined08:51
dangerousdave joined08:51
xcesariox left08:52
Guest1932 left08:52
courrier joined08:52
dangerousdave left08:52
courrier left08:52
courrier joined08:53
strull joined08:53
wicope joined08:53
_rgn maybe with shell expansion that excludes the file08:53
arup_r joined08:56
arup_r left08:56
imdsm joined08:56
sanct joined08:57
Bombe Kartagis, git add -A, followed by git reset?08:57
fracting left08:58
eGGsha left08:58
Kartagis what does that do?08:58
harish_ left08:58
j416 Kartagis: git add -A && git reset -- <path>08:59
Kartagis oh08:59
SocialBlunder joined08:59
kongthap joined09:00
kongthap i use clone --depth to clone a project e.g. phpmyadmin, but when i want to keep it up-to-date, i use "git fetch" it fetch all object new and old, what should i do in this case ?09:02
zadock joined09:03
soc42 left09:03
fluter_fluter09:04
SocialBlunder left09:04
johnkevi_ left09:04
Fiouz joined09:04
Zadruga joined09:05
jast kongthap: not completely sure, but fetch has a --depth option, too09:05
PCatinean If I try git push origin -f after resetting I get (pre-receive hook declined)09:06
anyoe know why's that?09:06
dreiss left09:06
kongthap jast, yeah you're right :)09:06
jast PCatinean: that means there is a custom check installed on the server that is rejecting your push09:06
contact your server admin09:06
Dragooon joined09:07
jast the hook may be outputting more details above that message09:07
PCatinean I prevented history re-writes apparently on the 8.0 branch09:08
I am the creator though 0_o09:08
and owner and admin and all that09:08
But I cannot add myself as an exception for history-rewrite09:08
Yup, that was it thank you jast :D09:09
sparetire_ left09:09
fracting joined09:10
mutbuerger joined09:11
tristanp joined09:12
Armitage joined09:13
mehola left09:14
gitinfo set mode: +v09:14
Armitage hi there09:14
gitinfo Armitage: 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.09:14
Dragooon left09:15
diegoaguilar left09:16
Zariel joined09:16
tristanp left09:17
Armitage I have a git server on linux system and I add ssh key in authorized_keys file. How can I use it on client? I just write "git remote add origin ssh://git@gitserver:/opt/git/project.git" and then I asked enter password09:17
nnyk left09:18
Armitage Client is mingw3209:18
I create pair keys with GIT Gui09:18
eGGsha joined09:21
neanderslob left09:21
daito left09:24
corellian joined09:25
kongthap_ joined09:25
tcurdt_ left09:25
tcurdt__ joined09:25
beautifulmind left09:25
hithard_ joined09:26
kongthap__ joined09:26
tcurdt__ left09:27
stamina joined09:27
tcurdt_ joined09:27
kongthap left09:27
icosa1 left09:28
tcurdt_ left09:29
tcurdt_ joined09:30
kongthap_ left09:30
Balliad left09:31
tcurdt_ left09:31
tcurdt_ joined09:32
Balliad joined09:32
fenugrec joined09:33
niels_ joined09:33
tcurdt_ left09:34
tcurdt__ joined09:34
Dragooon joined09:35
tcurdt__ left09:36
tcurdt_ joined09:36
Bruno_ left09:37
ddr2 joined09:38
tcurdt_ left09:38
tcurdt__ joined09:39
coredumb joined09:39
tcurdt__ left09:40
tcurdt_ joined09:40
tomek joined09:46
fracting left09:46
settermjd left09:46
settermjd joined09:47
troulouliou_div2 joined09:47
tcurdt_ left09:48
tcurdt__ joined09:48
troulouliou_div2 left09:49
marienz joined09:51
guardian hello, is there a way to make "git fetch" always fetch tags, maybe with an option in .gitconfig ?09:51
h3xc0d3r joined09:51
Zeedox joined09:52
Dragooon left09:52
Nick-S joined09:53
stamina left09:54
sarri left09:54
eletuchy left09:55
MattMaker left09:57
sarri joined09:57
sdothum joined09:57
h3xc0d3r left09:58
tsunamie hello hello, is there a way to checkin one file to a specific location without cloning the whole repo? I want to programaticly push backup text files 1kb09:58
and really don't want the hassel of doing a whole clone09:59
fracting joined09:59
h3xc0d3r joined09:59
ClearC2 joined10:00
ilmgb left10:00
SocialBlunder joined10:00
ilmgb joined10:02
Zeedox Is there any good way to check if a branch on all remotes points to the same commit?10:02
I'm thinking something like: `git remote update; git remote | xargs git show`, but I'm not sure where to go after that.10:03
terminal_echo left10:03
Zeedox `git remote update && git remote | xargs -I{} git show {}/master` I mean10:04
SocialBlunder left10:04
ClearC2 left10:04
ilmgb left10:06
Corey84 left10:06
eGGsha left10:06
Dorf left10:07
voodo joined10:07
_0xc6_ joined10:10
VictorCL joined10:10
jast Zeedox: something something git show-ref10:11
gua_ould joined10:11
elsevero left10:12
elsevero_ joined10:12
s00pcan left10:12
h3xc0d3r left10:13
jolg42 joined10:13
jolg42 left10:14
reveredge joined10:14
ArchRogem joined10:14
s00pcan joined10:14
eGGsha joined10:15
Plotinuz left10:17
arup_r joined10:18
Corey84 joined10:18
VictorCL left10:19
s00pcan left10:19
VictorCL joined10:20
modocache joined10:20
modocache left10:20
s00pcan joined10:20
encod3 left10:25
encod3 joined10:25
jiqissc left10:26
SimonNa joined10:27
nofxx left10:27
Saturn812 joined10:29
jiqissc joined10:30
d3m0n joined10:31
mithenks left10:32
d3m0n What's the different between "git add ." and "git add *" ?10:32
Vadimus joined10:32
eVRiAL joined10:32
moritz_s d3m0n: * gets expanded by your shell so it (probably) won't add files that start with a dot, while git add . while add all files recursively in the current directory10:33
s/while/will/10:33
d3m0n moritz: expanded by shell? What's that mea?10:33
mean*10:33
moritz_s d3m0n: if you type for example "echo *" your shell will turn this into "echo fileA fileB fileC" if those three files are in your current directory before calling echo10:34
osse replaces by a list of files10:34
_ikke_ d3m0n: it means the shell will handle the * and git never even sees it10:35
d3m0n: it's the same as if you manually specified each file and directory in the current directory, excluding the ones starting with a .10:35
Darcidride left10:36
baxx joined10:37
JanC left10:38
JanC_ joined10:39
CussBot left10:39
CussBot joined10:39
d3m0n ikke_ for some reason my coworker can use "git add *" to add files but I cannot10:40
moritz d3m0n: I'm not moritz_s, fwiw10:40
freimatz joined10:41
CussBot left10:42
CussBot joined10:42
fenugrec Hi, what happens if I "git merge --no-commit <X>" while I have uncommitted changes ? i.e. I modified some files + "git add *" so they're all listed in "Changes to be committed:" when I run git status10:42
tcurdt__ left10:43
fenugrec Does the merge apply to the current state of the files, or the previous commit (HEAD) ?10:43
tcurdt_ joined10:43
pantsman- left10:43
d3m0n moritz: WOuld you know why?10:44
mithenks joined10:44
d3m0n I cant seem to add modified files via "git add *"10:44
I have 1.8.3 version of GIT10:44
j416 d3m0n: what does git status say?10:45
d3m0n j416: Remains unadded10:45
j416 d3m0n: full output10:45
d3m0n j416" fatal: no files added10:45
j416 answer my question and I will help you10:45
fenugrec: !tias10:46
gitinfo fenugrec: Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://gitolite.com/tias.html may help with git-specific TIAS.10:46
j416 :)10:46
niels_ left10:46
j416 fenugrec: but why would you want to merge with uncommitted changes?10:46
keroro520 left10:47
niels_ joined10:47
fenugrec j416 yeah I could do a backup and try...I really don't want to trash my progress. I'm manually merging complicated commits to squash them into 110:47
d3m0n j416: > git add * "The following paths are ignored by one of your .gitignore files: Grunt.js node_mudules package.json. Use -f if you really want to add them. fatal: no files added"10:47
TomyWork joined10:47
fenugrec I consider them more patches than commits10:47
moritz d3m0n: and there's your answer.10:48
d3m0n: just read the full message10:48
j416 d3m0n: ^10:48
d3m0n moritz: why would git want to add ignored files and halt10:48
I would assume it would skip over them10:48
niels_ left10:48
fenugrec d3m0n !man gitignore10:48
gitinfo The git man pages are available online at http://jk.gs/git.html. Or were you looking for the "man git-foo" syntax(without the !) ?10:48
the gitignore manpage is available at http://jk.gs/gitignore.html10:48
niels_ joined10:48
j416 d3m0n: you never answered my question10:49
fenugrec: merge will not do anything if it would overwrite your uncommitted changes10:52
ncd|leeN joined10:52
j416 fenugrec: is the answer10:52
fenugrec j416 nice, thanks10:52
j416 fenugrec: you still have a very weird workflow and it seems like you will shoot yourself in the foot at some point.10:53
might want to revise that10:53
fenugrec j416 it's very unusual. I don't like what I'm doing10:53
j416 I see.10:54
eletuchy joined10:55
leeN left10:56
okanck joined10:56
VictorCL left10:56
achadwick joined10:58
rasto left10:59
eletuchy left11:00
Zariel left11:01
SocialBlunder joined11:01
tristanp joined11:01
MattMaker joined11:01
ilmgb joined11:01
beautifulmind joined11:03
VictorCL joined11:03
arcanin left11:05
SocialBlunder left11:05
tristanp left11:05
mizu_no_oto joined11:05
MattMaker left11:06
ilmgb left11:06
clarkpan joined11:07
ncd|leeN left11:07
mizu_no_oto left11:08
Oebele joined11:09
fracting left11:10
clarkpan left11:11
awkwardusername joined11:12
awkwardusername left11:12
rasto joined11:12
zadock left11:13
JanC_JanC11:13
d3m0n left11:14
sanct left11:14
elsevero_ left11:14
sanct joined11:15
elsevero joined11:16
kukks joined11:16
bongjovi left11:16
SimonNa left11:16
harish_ joined11:17
Corey84 left11:18
Darcidride joined11:19
kcj left11:21
voodo left11:21
Shentino left11:21
phantombeta left11:22
bongjovi joined11:23
harish_ left11:23
fracting joined11:23
harish_ joined11:23
lala left11:23
phantombeta joined11:24
Ranhir joined11:24
fracting left11:26
fracting joined11:26
HZun joined11:28
Zariel joined11:30
reactormonk joined11:31
reactormonk is there a way I can cherry-pick a commit onto another branch without checking that one out?11:32
skylite_ joined11:33
kongthap__ left11:33
mscook joined11:33
mweshi joined11:33
Gonzo89 joined11:34
Shentino joined11:34
VictorCL left11:35
mweshi left11:35
eGGsha left11:35
mweshi joined11:36
Seveas reactormonk: no.11:37
Sceorem left11:38
Seveas as a cherry-pick can cause conflicts, it needs a worktree11:38
reactormonk ok, so just create a local clone and do the work there11:38
_0xc6_ left11:38
King_Hual left11:39
rnsanchez joined11:39
Nick-S left11:39
_0xc6_ joined11:39
VictorCL joined11:39
Zariel left11:40
mixandgo joined11:41
King_Hual joined11:43
eGGsha joined11:44
k_sze[work] left11:44
gabriela_ joined11:44
Sceorem joined11:44
hahuang61 joined11:44
hahuang65 left11:44
marscher joined11:45
ilmgb joined11:45
VictorCL left11:45
Kelzier left11:45
eVRiAL left11:45
Kelzier joined11:46
MarkyC joined11:47
jiqissc left11:48
jceb_ left11:48
ckruczek left11:48
_Atom_ joined11:48
hithard_ left11:49
LBV_User joined11:50
a-l-e joined11:51
dgutierrez1287 joined11:53
s8321414 joined11:54
dougsland joined11:54
pilif joined11:55
Nick-S joined11:56
creep_ joined11:59
fstd left11:59
fstd joined11:59
ClearC2 joined12:01
SocialBlunder joined12:02
VictorCL joined12:02
a-l-e left12:02
eGGsha left12:02
eGGsha joined12:02
jceb_ joined12:03
creep left12:03
eGGshaeGGshke12:03
Dorf joined12:05
ClearC2 left12:05
tcurdt_ left12:06
SocialBlunder left12:06
cavallari joined12:06
tcurdt_ joined12:06
eGGshkeeGGsha12:07
wwwald joined12:07
olso joined12:08
VictorCL left12:08
beautifulmind left12:08
nnyk joined12:08
modocache joined12:09
modocache left12:09
holodoc joined12:10
rwb joined12:10
holodoc left12:10
holodoc joined12:10
AugustoCesar joined12:11
wwwald left12:13
olso left12:13
wwwald joined12:14
fracting left12:15
holodoc left12:15
MarkyC left12:15
holodoc joined12:16
wwwald left12:16
olso joined12:16
hfp left12:16
wwwald joined12:17
benborges joined12:17
saintcajetan left12:17
hfp_work left12:17
saintcajetan joined12:19
sgli joined12:20
Dragooon joined12:22
sgli left12:23
jceb_ left12:23
Dragooon left12:24
dougsland left12:25
daivyk joined12:25
beautifulmind joined12:26
mizu_no_oto joined12:27
theCole joined12:27
nda_ left12:27
dougsland joined12:27
hfp joined12:28
Zariel joined12:28
Darcidride left12:28
Corey84 joined12:28
hfp_work joined12:28
theCole left12:29
VictorCL joined12:29
dsdeiz_ joined12:29
nda_ joined12:30
Corey84 left12:30
VictorCL left12:30
ilmgb left12:31
dsdeiz left12:32
beautifulmind left12:32
Zariel left12:32
beautifulmind joined12:32
VictorCL joined12:33
theCole joined12:33
pk-john joined12:33
ilmgb joined12:33
MarkyC joined12:34
Zariel joined12:34
pk-john left12:34
dsdeiz_ left12:34
sanketdg joined12:34
pk-john joined12:35
_Atom_ left12:35
Corey84 joined12:35
Spriz left12:35
livingstn joined12:36
sgli joined12:37
ilmgb left12:38
harish_ left12:38
theCole left12:38
harish joined12:39
harish left12:40
harish joined12:40
KeelOfSteel joined12:41
sazed joined12:41
niels_ left12:41
dougsland left12:41
niels_ joined12:42
theCole joined12:42
Darcidride joined12:43
dougsland joined12:43
mintux joined12:45
niels_ left12:46
EricPoe joined12:47
ilmgb joined12:48
Spriz joined12:48
EricPoe left12:48
VictorCL left12:49
mellernoia joined12:49
kblin joined12:50
kblin hi folks12:50
mbrzuzy joined12:50
kblin is there a trick to get git send-email to work on ubuntu 14.04 (v 1.9.1) with a mail server that requires TLS?12:50
D-Boy left12:50
MattMaker joined12:50
jceb joined12:51
mintux what this is this? http://codepad.org/0G6oM3O7 error: RPC failed; result=56, HTTP code = 012:51
kblin I'm getting "Command unknown: 'AUTH' at /usr/lib/git-core/git-send-email line 1262.", but all I can find on google for that is people suggesting to turn off authentication12:51
mutbuerger left12:53
jceb left12:55
MattMaker left12:55
fenugrec left12:55
mscook left12:56
GT4066 joined12:57
macabre joined12:57
mscook joined12:57
faheem_ left12:58
mscook left13:01
eGGsha left13:01
fracting joined13:01
D-Boy joined13:02
SocialBlunder joined13:02
mscook joined13:03
modocache joined13:03
modocache left13:03
spaceone do i need to have a branch called 'master'? can i rename it? or link it to another branch?13:03
Spacew00t joined13:04
BtbN It's the default name and accepted standard for the main development branch.13:04
ClearC2 joined13:04
astrofog joined13:04
_rgn it's just a default name, and doesn't have any special semantics13:04
Doxin joined13:07
Doxin I need to search a git repo for the first mention of "bagels", how do I?13:07
_rgn in the message or code?13:07
Doxin code13:07
_rgn something like git log -Sbagels13:07
SocialBlunder left13:07
jceb joined13:07
Doxin _rgn: no results.13:07
which is odd, since bagels is in the code at least once currently13:07
_rgn uncommitted?13:08
eGGsha joined13:08
sgli left13:08
s8321414 left13:08
fracting left13:08
Doxin _rgn: most definitely committed.13:08
s8321414 joined13:09
corellian Doxin: why not use grep tool?13:09
jerius joined13:09
_Atom_ joined13:09
dl9pf_ left13:09
Doxin corellian: I need to find the earliest occurence13:09
jerius left13:09
_rgn git log -Sbagels works for me13:09
Doxin doing that on this repo fails: https://github.com/simtr/The-Powder-Toy/search?utf8=%E2%9C%93&q=bagels13:09
fracting joined13:09
jerius joined13:10
knownasilya joined13:10
dl9pf joined13:10
_rgn Doxin: seems to work for me13:10
fluter left13:10
IrishPrime joined13:11
fluter joined13:11
Doxin _rgn: awesome. so why not for me?13:11
oh case sensitive13:11
ofc13:11
_rgn yeah13:12
mikewintermute joined13:12
hithard_ joined13:12
hithard_ left13:13
fluter left13:13
CEnnis91 joined13:13
fluter joined13:14
fumihiro_ joined13:14
hithard_ joined13:14
hithard_ left13:15
hithard_ joined13:15
islalobo joined13:15
wwwald left13:16
hithard_ left13:16
bitkiller joined13:16
hithard_ joined13:16
fluter left13:16
fluter joined13:17
Phoenixz joined13:17
fumihiro left13:17
jargan joined13:17
kukks left13:17
jast left13:18
King_Hual` joined13:18
jarganjast13:18
gregsmith joined13:19
hithard_ left13:19
fluter left13:19
King_Hual left13:19
mintux left13:19
fluter joined13:20
tvw joined13:20
DrNick left13:21
freestyl3r left13:21
Nizumzen joined13:21
hithard_ joined13:22
sgli joined13:22
gerv joined13:25
gerv Hey.13:25
gitinfo gerv: 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.13:25
gerv Sort of a git question, sort of not :-)13:26
cagedwisdom left13:26
tvw left13:26
Spriz left13:26
gerv There is an open source codebase. At one point, a couple of years ago, I branched off from the stable version. Since then, I've been doing some development on it, and merging in security fixes from the stable branch.13:26
Now, I want to move my changes to the new stable branch.13:26
Spriz joined13:27
gerv What's the right way to do this merge?13:27
Oebele left13:27
okanck left13:27
gerv (I can explain what I've tried, if that would help.)13:27
King_Hual_ joined13:27
tristanp joined13:28
mtscout6 joined13:29
King_Hual` left13:30
evie_hammond left13:31
dgutierrez1287 left13:31
basiclaser joined13:31
mweshi left13:31
tvw joined13:31
clmsy joined13:31
BSaboia joined13:32
MarkyC gerv: Let's call the open source codebase upstream. You want to merge your changes to upstream?13:33
gerv MarkyC: yes.13:33
But the changes are based on a stable branch which may well have changes which weren't in the trunk,13:33
which the current stable branch is based on.13:33
MarkyC gerv: Pull Request.13:33
gerv Er, perhaps I'm not explaining myself very well.13:34
BtbN usualy pull requests against stable branches aren't accepted13:34
gerv Let me be more specific.13:34
BtbN rebase them ontop of the latest master.13:34
MarkyC gerv: The way I pull request is to rebase on the latest master13:34
hithard_ left13:34
modocach_ joined13:34
gerv Let me try asking the question again.13:34
I took Bugzilla 4.2.3 and started doing some development on it for a client.13:34
4.2.x is now reaching end of life.13:34
Over the years, I've made a lot of changes,13:35
modocach_ left13:35
gerv but I've also merged in security and other fixes from the upstream 4.2.x branch.13:35
So the changes in the development line are not just mine.13:35
They are mixed in with other ones.13:35
Some of those may have been applied to Bugzilla trunk,13:35
but some of them may not.13:35
pk-john_ joined13:35
gerv Now Bugzilla has released a 5.0 stable release,13:35
modocache joined13:35
BtbN well, take the ones that don't, rebase them ontop of master.13:35
abrrs joined13:36
gerv and I want to figure out how to extract all the changes that were _mine_ and stick them on top of the 5.0 branch.13:36
BtbN there is no magic to automate that.13:36
go through all of them, and apply them ontop of master.13:36
tcurdt_ left13:36
Guest91042 joined13:36
gerv "Go through" how, exactly?13:36
git cherry-pick?13:36
evie_hammond joined13:36
BtbN open the log, and read it.13:36
gerv That's my question.13:36
Seveas gerv: can "mine" be reasonable defined as "with this committer ident"?13:36
gerv Seveas: not quite.13:36
m0nkmaster joined13:37
gerv That would probably produce a small superset.13:37
But it would be fairly close.13:37
CKyle joined13:37
gerv I'd really like an interactive process,13:37
tcurdt_ joined13:37
gerv where git would say "<commit msg> Y/N?"13:37
and I could say13:37
Y13:37
N13:37
N13:37
Seveas gerv: an interactive rebase perhaps? :)13:37
gerv etc.13:37
MarkyC git rebase -i13:37
gerv But doesn't rebase take _all_ changes?13:37
Seveas it's not quite Y/N but "edit list of commits to exclude the ones you don't want"13:38
gerv As in, if I have a branch and I rebase it on top of master,13:38
OK.13:38
Seveas interactive rebase is different. You can exclude commits, edit commits, rearrange them and squash them13:38
gerv So I check out the target branch,13:38
and then do git rebase -i <source branch>13:38
Seveas the other way around13:38
you check out bugzilla-4-2-3-gerv13:38
pk-john left13:38
Spriz left13:38
Seveas and git rebase -i bugzilla-5-013:38
gerv OK, I'll try that.13:39
Thank you :-))13:39
Seveas you're welcome. Good luck!13:39
also, if rebase finds conflicts and you solve them: DON'T COMMIT! Just git add the solved conflicts and git rebase --continue13:39
theCole left13:40
gerv Seveas: OK, thanks.13:40
Can I use git mergetool on the conflicts at that point?13:41
I've been using meld as my mergetool,13:41
jerius left13:41
gerv but seemed to have a problem that it presented me with every change, including the ones which should be auto-mergeable,13:41
which was a pain.13:41
Seveas you can do anything you want that does not create commits or updates refs13:41
gerv OK, thanks.13:41
Seveas (actually, you can do all that, but that doesn't have the intended effect :)13:41
lucianangelus joined13:42
dling joined13:42
AaronMT joined13:43
jerius joined13:43
fracting left13:43
kadoban joined13:45
m0nkmaster left13:45
mutbuerger joined13:45
fumihiro_ left13:46
benborges left13:46
troulouliou_div2 joined13:47
gerv Seveas: I'm hitting a problem.13:48
andrewvttran joined13:48
gerv I do git rebase -i <branch> and edit the list, which is great13:48
But then I save it, and it says:13:48
Guest18818 left13:48
skorgon_ joined13:49
gerv error: could not apply e002b3f... Bump version number post-release.13:49
sgli left13:49
gerv But that's not one of the commits in my list, it's one I removed.13:49
Seveas hmm. Is it still in .git/git-rebase-todo?13:50
MarkyC you can re-edit that file using vim ^ and double check that e002b3f... isn't in there13:51
(removing is just removing the line)13:51
mizu_no_oto left13:51
mixandgo left13:51
j416 better: git rebase --edit-todo13:51
z4zz_z4zz13:51
MarkyC j416: knew there was another way, thanks13:51
gerv I'm pretty sure it's not there.13:51
I told it to skip that one, using --skip,13:51
s8321414 left13:52
gerv and now it's doing the first one on my list.13:52
Let me play some more.13:52
Seveas are you perhaps on windows?13:52
thins kinda smells like 'virsus scanner holds the file open too long, and git reopens too fast, not seeing the change'13:52
wicope left13:52
arup_r left13:52
asti left13:54
ashnur hi. is there an easy way to debug post-receive hooks? i am trying to sync a checked out dir with it and i suspect there are some permission errors happening but I am not 100% sure and don't want to start giving write access without checking first if that's the problem13:55
denver joined13:55
Spriz joined13:56
hsekami joined13:56
fracting joined13:56
Seveas ashnur: call it manually. Just cd /path/to/repo.git and execute the hook13:56
ashnur oh, i am so stupid13:57
i even set the +x on it and didn't realize13:57
thanks13:57
Maerc joined13:58
_Atom_ left13:58
Seveas ashnur: well, not all hooks can be run this way, so it's not *that* stupid :)13:58
fracting left13:59
ashnur yeah, it could be worse :D13:59
Noriandir joined13:59
MarkyC as someone who's never used git hooks, do those get checked in?13:59
gerv Seveas: Nope, Linux.13:59
LBV_User left13:59
rzeka left13:59
fracting joined13:59
ashnur got a lot of permission denies :(14:00
Maerc left14:00
Noriandir hi. i'm trying to create a public git server for my local network, but i'm having some issues. I've got the git-daemon working with the --export-all flag, but everytime the other pc in the network tries to get the repo, i get a message for the ssh user password14:00
sfeinste joined14:00
Darcidride left14:01
Kelzier left14:02
islalobo left14:03
notebox left14:03
sfeinste left14:05
LBV_User joined14:05
reim left14:05
fracting left14:06
sfeinste joined14:06
islalobo joined14:07
islalobo left14:07
islalobo joined14:08
lindenle joined14:08
Dougie187 joined14:08
islalobo left14:08
pk-john joined14:09
pk-john_ left14:09
beaconwriter joined14:12
gutocarvalho joined14:12
beaconwriter left14:13
j416 Noriandir: what url are you using?14:14
cdown joined14:14
j416 Noriandir: try git://14:14
Nooutlet left14:16
beaconwriter joined14:16
hsekami left14:16
Nick-S_ joined14:17
Noriandir j416, it worked thanks.14:17
j416 Noriandir: git will assume ssh if you don't specify protocol14:17
iirc14:17
pk-john_ joined14:18
Noriandir j416, the problem wasn't only that14:18
j416, i was connecting with user@server:/path14:18
j416 yes, that is an url without protocol specified14:18
thedodd joined14:18
j416 you can do ssh://user@server..14:18
ssh:// is the protocol part14:18
fracting joined14:18
Nick-S left14:19
mscook left14:19
j416 although the syntax may differ slightly, I forget.14:19
for port spec14:19
neurodrone_ joined14:19
Vinnie_win joined14:19
diegoaguilar joined14:20
CalimeroTeknik I have a local branch that's not tracking the origin, it seems, how can I make it? I ran for remote in `git branch -r`; do git branch --track $remote; done but now I just have more useless branches in git branch14:20
islalobo joined14:20
pk-john left14:20
andrewvttran left14:22
h4ml3t joined14:22
alexsystemf left14:23
mscook_ joined14:23
alexsystemf joined14:23
eGGsha left14:24
Zariel left14:24
Zariel joined14:24
moritz_s CalimeroTeknik: what do you mean by "useless branches"?14:25
j416 CalimeroTeknik: the easiest is to simply delete it and run git checkout again14:25
beautifulmind left14:25
CalimeroTeknik well, I could git branch -d them14:26
j416 CalimeroTeknik: it's what I usually do if that happens, because I always forget how to configure it14:26
mixandgo joined14:26
CalimeroTeknik hm14:26
j416 if it happens often, you may have a workflow problem14:26
Noriandir left14:26
Darcidride joined14:27
CalimeroTeknik no, it's just now, and it's automated14:27
I use a clone as the production website14:27
deployment is `git pull` there14:27
j416 alright14:27
victortyau joined14:27
VictorCL joined14:27
CalimeroTeknik I can't wipe the production environment each time there is a new development branch to deploy next to it14:28
j416 I'm not sure what the problem is14:28
say you have branch 'master' and that exists as a local branch on your server14:29
then you just 'git pull' with that checked out et voilà.14:29
CalimeroTeknik there is a branch 'dev'14:29
and to save disk space and a new connection, the development clone is a clone of the production14:30
j416 I'm not following14:30
xudongz joined14:30
VictorCL left14:30
CalimeroTeknik bare repo ←ssh- prod clone ←fs- dev clone14:30
← indicates origin14:31
notebox joined14:31
j416 hm14:31
english?14:31
CalimeroTeknik production is a clone, and development is a clone of production14:31
j416 you have two repos, is that what you mean?14:31
notebox left14:32
CalimeroTeknik yes, two clones14:32
Darcidride left14:32
j416 and the server has the dev repo as its remote?14:32
or do you mean that you have three repos, one of which is bare that serves as the central repo for both dev and prod?14:33
CalimeroTeknik yes, there are three. the central bare repository, and a clone of it (prod), and a clone of prod (dev)14:33
ah. in prod I see in git branch -vvv: dev 3ff92f2 [origin/dev: behind 1]14:34
why isn't it syncing it14:34
rzeka joined14:34
CalimeroTeknik I ran git pull --all14:34
duduxz joined14:34
CalimeroTeknik that is the issue14:34
lindenle left14:34
MarkyC In a git rebase, is there an option to see the committer as well as the commit ID?14:34
islalobo left14:35
devol joined14:35
_ikke_ What part of the rebase?14:35
wrouesnel4 joined14:35
chitopunk joined14:35
lindenle_ joined14:37
j416 CalimeroTeknik: ah, now I get it14:37
CalimeroTeknik: you seem to have a local branch "dev" on the prod server14:37
CalimeroTeknik I do14:37
otherwise how could the clone of it follow anything?14:37
could it, actually?14:37
j416 CalimeroTeknik: "git fetch" fetches everything from the remote14:38
CalimeroTeknik: "git pull" == "git fetch" + ("git merge" for the current branch)14:38
CalimeroTeknik yes, sure14:38
endiruna joined14:38
CalimeroTeknik I understand these concepts, however I'm not clear with how origin and following branches work14:39
j416 CalimeroTeknik: so running "git pull" while master is checked out, means it will update origin/master, origin/dev, etc., and from that it knows that your local dev is behind origin/dev when you look at it14:39
rzeka left14:39
CalimeroTeknik of course14:39
olso left14:39
j416 CalimeroTeknik: then you don't understand those concepts14:39
CalimeroTeknik: git fetch fetches all data from the remote, and updates origin/*14:39
CalimeroTeknik I do understand these for one jump14:39
MattMaker joined14:39
EricPoe joined14:39
CalimeroTeknik but I have two jumps14:39
I know the data exists in the clone of the clone14:39
j416 but it won't touch your local branches14:40
CalimeroTeknik well, I'd like it to, with --all I'd expect it to14:40
gurki_ left14:40
CalimeroTeknik alas! nope.14:40
irc-52251 joined14:40
olso joined14:40
j416 CalimeroTeknik: if you have a branch "foo" on your dev machine, then you push that to your bare repo, then do "git pull" on your server, then the server will have a remote branch called origin/foo and it will have all the data from it.14:40
irc-5225225 left14:41
j416 CalimeroTeknik: but no local branch will be created just because you did a fetch (through pull or not, doesn't matter)14:41
CalimeroTeknik remotes/origin/foo as it seems, yes14:41
j416 yes14:41
VictorCL joined14:41
j416 that is the correct full name14:41
CalimeroTeknik and then I clone that cloned repository and want to follow foo14:41
j416 so you want to clone prod and keep foo?14:42
for whatever reason you are unable to clone from the bare repo?14:42
TinkerTyper left14:42
Alienpruts left14:42
CalimeroTeknik I succeeded!14:42
j416 CalimeroTeknik: in that case, git clone --mirror14:42
CalimeroTeknik git pull origin remotes/origin/foo in the clone of the clone14:42
j416 I have no idea what you want to achiee14:43
ve14:43
sorry14:43
CalimeroTeknik ah, that was one-shot14:43
TinkerTyper joined14:43
MarkyC _ikke_: Sorry I missed that, in interactive rebase, where you can pick/squash14:43
cdown left14:43
skorgon_ left14:43
j416 I'm off to get food14:43
o/14:43
MattMaker left14:44
sgli joined14:44
tang^ joined14:44
duduxz left14:44
astrofog left14:44
Polyatomic left14:45
edward__ joined14:45
troulouliou_div2 left14:45
Darcidride joined14:47
mixandgo left14:47
thiago_ joined14:48
mithenks left14:48
MarkyC _ikke_: basically I'd like to squash a few of my commits. I know by the commit message, but there's probably a better way14:49
pm90_ joined14:49
tang^^ joined14:50
fumihiro joined14:50
tang^ left14:50
tang^^tang^14:50
barduck left14:50
BSaboia I did a git reset --hard head~114:51
how can I go back to the head?14:51
cmoneylulz joined14:52
moritz_s BSaboia: use git reflog to find the hash of the old head and the do git reset --hard <hash>14:52
VictorCL left14:53
BSaboia moritz_s, thanks14:53
solved :)14:53
gambl0re joined14:54
VictorCL joined14:54
Darcidride left14:54
Texan joined14:55
edward__ left14:57
edward__ joined14:57
VictorCL left14:58
tcurdt_ left14:58
tcurdt_ joined14:59
mixandgo joined14:59
islalobo joined14:59
Guest16789 left14:59
VictorCL joined15:00
mscook_ left15:00
gambl0re left15:01
higuys joined15:01
psoo left15:02
Guest44340 joined15:03
islalobo left15:03
Silmarilion left15:03
SocialBlunder joined15:04
Bootinbull joined15:04
Darcidride joined15:04
pm90_ left15:05
cloudcell_ left15:05
sinkensabe left15:06
cloudcell_ joined15:06
Wetmelon joined15:07
SocialBlunder left15:08
VictorCL left15:08
Sceorem left15:09
VictorCL joined15:09
Kully3xf joined15:10
supay left15:10
supay joined15:11
Darcidride left15:11
skylite left15:11
VictorCL left15:11
VictorCL joined15:12
gua_ould left15:12
settermjd left15:12
synthmeat left15:12
tennis_ joined15:13
kpease joined15:13
VictorCL left15:13
thiago_ left15:13
Zadruga left15:13
[H]unt3r joined15:13
devoldmx joined15:14
ghibourg joined15:14
IrishPrime left15:14
jceb left15:14
tang^^ joined15:15
strull left15:15
jlewis_ left15:16
jlewis joined15:16
synthmeat joined15:17
tang^ left15:17
the_cybersphinx joined15:18
islalobo joined15:18
Dragooon joined15:18
omegamike joined15:18
israelpattison left15:18
Brain left15:19
editshare-ericf joined15:19
eme joined15:19
sfeinste_ joined15:19
modocache left15:21
sfeinste left15:23
sgli left15:23
bonswouar left15:24
bakhtiya joined15:25
jlewis left15:25
supay left15:25
Gonzo89 left15:25
eme left15:25
IrishPrime joined15:26
cbonobo joined15:27
modocache joined15:29
Balliad left15:29
Milos left15:30
blahdodo joined15:30
ascarter joined15:33
MinetestForFun joined15:35
sfeinste_ left15:35
edward__ left15:35
mizu_no_oto joined15:36
sfeinste joined15:36
CustosL1men left15:36
jlewis joined15:36
reim joined15:36
CustosL1men joined15:37
bitonic left15:37
dreiss joined15:37
bitonic joined15:37
abrrs left15:38
howlymowly left15:39
Guest91042 left15:39
MattMaker joined15:40
Hounddog left15:40
dreiss left15:41
jlewis left15:41
basiclaser left15:42
maestrojed left15:42
cdown joined15:42
dgutierrez1287 joined15:43
elsevero left15:43
jorj joined15:43
eGGsha joined15:44
MattMaker left15:44
inamoriti joined15:45
corellian left15:45
pm90_ joined15:45
eGGshaeGGshke15:46
nnyk left15:46
eGGshke left15:46
relipse joined15:46
jlewis joined15:47
nnyk joined15:47
sgli joined15:47
eGGsha joined15:47
pm90__ joined15:47
Technocrat7 joined15:47
relipse The easiest way to remove ALL history is by copying the files to another folder and deleting the .git directory right?15:47
and then doing git init15:47
phroa` I'd say yes15:47
hobodave joined15:47
dgutierrez1287 left15:47
relipse or just deleting the .git folder and doing .git init right?15:48
sgli left15:48
phroa` you don't HAVE to copy it, but if you need a backup, boy will you be sorry :P15:48
clmsy left15:48
relipse ok i'll make a backup thanks15:48
hobodave left15:48
m0viefreak joined15:48
VictorCL joined15:48
hobodave joined15:49
pm90_ left15:50
sfeinste left15:51
VictorCL left15:51
dudoom joined15:51
VictorCL joined15:52
israelpattison joined15:52
eGGshaeGGshke15:52
eGGshkeeGGsha15:52
relipse ok i deleted the .git directory and now I am trying to add the files back and one of my submodules is screwing up: fatal: Not a git repository: public_html/lib/JKElasticEmail/../../../.git/module15:53
s/public_html/lib/JKElasticEmail15:53
phroa` delete and readd the submodules in your new repo15:54
as in, rm the folder, then git submodule add ..15:54
ojacobson Is that submodule in some repo you can re-clone? If so, nuke the `public_html/lib/JKElasticEmail` subdir and use `git submodule add` to recreate it15:54
if not, welp15:54
phroa` (meant to be an ellipsis, I don't mean literally add "..")15:54
ojacobson time for repo surgery15:54
phroa` ojacobson: he already did the surgery. with a chainsaw. :)15:54
gfixler left15:55
white_bear left15:56
Technocrat7 left15:56
Dragooon left15:56
King_Hual_ left15:57
VictorCL left15:57
tvw left15:58
King_Hual joined15:58
VictorCL joined15:58
tvw joined15:58
cdown left15:59
eGGshaeGGshke15:59
VictorCL left15:59
cstrahan left16:01
cdown joined16:01
cstrahan joined16:01
tyreld joined16:01
modocache left16:03
multi_io left16:04
tumulte_ left16:04
SocialBlunder joined16:05
MechtiIde joined16:05
relipse how do I move a submodule, last time I tried i ran into a ton of problems16:05
multi_io joined16:06
phroa` move or remove16:06
_ikke_ !submodule_rm16:07
gitinfo [!submodules_rm] To delete a submodule, do this in the superproject: Edit/delete .gitmodules to remove the submodule, and `git add .gitmodules`. Then `rm -rf submodulepath; git rm -f --cached submodulepath; git commit -am "Removed submodules!"` Inspect .git/config for "submodule" entries to remove. Inspect .git/modules for caches to remove. Possible alternatives to submodules: "!gitslave" or "!subtree"16:07
CorySimmons joined16:07
tcurdt_ left16:08
andrewvttran joined16:08
phroa` not gonna lie, that really should be scripted16:08
may just have to send a patch for that myself >.>16:08
_ikke_ might have come up once or twice16:09
relipse yeah it's a pain16:09
SocialBlunder left16:09
relipse move btw16:09
_ikke_ http://permalink.gmane.org/gmane.comp.version-control.git/26700916:10
imachuchu joined16:10
_ikke_ git rm submodule already does much of the work16:10
and git submodule deinit the rest16:10
zumba_addict_ left16:11
israelpattison left16:11
zumba_addict left16:12
h4ml3t left16:12
reim left16:12
madewokherd joined16:12
troulouliou_div2 joined16:13
eGGshkeeGGsha16:13
cdown left16:14
macabre left16:14
_ikke_ relipse: doesn't git mv path newpath work?16:14
cdown joined16:14
relipse doubtful16:15
probably spews out a bunch of submodule errors16:15
phroa` relipse: did you git init yet?16:15
_ikke_ relipse: you sure?16:15
maletor joined16:16
macabre joined16:16
madewokherd` joined16:16
maletor left16:16
gutocarvalho left16:16
_ikke_ There are git tests that that for git mv and git rm submodules16:16
madewokherd left16:17
khrm joined16:17
relipse ok thanks i'll try to give it a shot later16:17
khrm left16:17
maletor joined16:17
olso left16:18
khrm joined16:18
khrm left16:18
Cata|Work joined16:18
khrm joined16:19
khrm left16:19
tcurdt_ joined16:20
khrm joined16:20
khrm left16:20
casual___ left16:20
casual___ joined16:20
israelpattison joined16:21
NeverDie joined16:21
khrm joined16:21
tHEMtZ left16:21
khrm left16:21
LBV_User left16:21
khrm joined16:22
khrm left16:22
sfeinste joined16:22
Dragooon joined16:22
pheaver joined16:22
khrm joined16:22
khrm left16:23
yqt joined16:23
khrm joined16:23
eGGshaeGGshke16:23
jost left16:24
nnyk left16:24
sfeinste left16:25
eGGshkeeGGsha16:25
sfeinste joined16:25
johtso left16:25
nnyk joined16:25
johtso joined16:26
dreiss joined16:27
akushner_ joined16:27
eGGshaeGGshke16:27
doener left16:27
Tyrannosaur joined16:28
Dragooon left16:28
durham joined16:28
Dragooon joined16:28
relipse i have a website which is a git repo now I want to somehow merge another repo into it, how is this possible?16:29
olso joined16:29
eGGshkeeGGsha16:31
modocache joined16:32
ASOLAr joined16:33
alexsystemf left16:33
Technocrat7 joined16:33
mingwandroid_ joined16:34
HZun left16:34
TomyWork left16:34
maestrojed joined16:34
Motoko joined16:34
knownasilya left16:34
mikecmpbll left16:35
Scriptonaut joined16:35
BooMShanKerX joined16:35
Scriptonaut hey guys, how do I see who the current uthor is?16:35
Zeedox left16:35
Scriptonaut author*16:35
knownasilya joined16:36
freestyl3r joined16:36
modocache left16:36
mingwandroid left16:36
happy-dude joined16:36
ASOLAr left16:38
ASOLAr joined16:38
Wetmelon left16:39
hfp left16:39
Noldorin joined16:39
paulweb515 left16:39
ashnur left16:40
xudongz left16:40
phroa` Scriptonaut: you can enter git config commands and if you leave off the value to set it to, it'll print what it currently is16:40
bongjovi left16:40
ashnur joined16:40
tcurdt_ left16:40
phroa` e.g. git config --global user.name16:40
sheilong joined16:41
hfp_work left16:41
m0viefreak left16:41
tang^ joined16:41
MattMaker joined16:41
Scriptonaut Ah, I figured out the issue16:41
lucha joined16:41
Scriptonaut I wanted to set the local author, the global was overriding it because it was commented out16:41
thanks16:41
achadwick left16:42
inamoriti left16:42
freestyl3r left16:43
ASOLAr left16:43
bb010g left16:43
bb010g joined16:43
gitinfo set mode: +v16:43
sfeinste_ joined16:43
sfeinste left16:43
ASOLAr joined16:43
linuxboytoo joined16:44
mattcen left16:45
MattMaker left16:45
jerius_ joined16:45
angelsl joined16:45
endiruna left16:46
mweshi joined16:47
JanC left16:47
mattcen joined16:48
jerius left16:48
mweshi left16:48
gfixler joined16:49
mweshi joined16:49
paddymahoney joined16:50
teran joined16:51
przemoc left16:52
islalobo left16:53
thedodd left16:54
ehmatthes joined16:54
dudoom left16:55
hfp joined16:55
skullcrasher left16:56
devhost left16:56
dreiss left16:56
devhost joined16:56
hfp_work joined16:56
blackwind_123 joined16:56
pizzaops left16:57
pk-john_ left16:57
pizzaops joined16:57
CorySimmons left16:57
someara left16:58
someara joined16:58
modocache joined16:58
MattMaker joined17:00
przemoc joined17:01
parshap left17:02
ArchRogem left17:02
JanC joined17:02
parshap joined17:02
bbhoss joined17:04
skyres left17:04
SocialBlunder joined17:05
CustosL1men left17:06
pantsman- joined17:06
huhlig left17:07
huhlig joined17:07
tHEMtZ joined17:09
SocialBlunder left17:10
faheem_ joined17:10
BooMShanKerX left17:10
freimatz left17:11
Kully3xf left17:11
Zariel left17:11
SimonNa joined17:11
Sasazuka joined17:11
TomyLobo joined17:11
sazed left17:12
sentriz joined17:12
Gitzilla left17:13
ASOLAr left17:13
flashpoint9 joined17:13
lebster left17:14
lebster joined17:14
hellschreiber left17:15
ASOLAr joined17:15
mikecmpbll joined17:16
wrouesnel4 left17:16
hellschreiber joined17:17
adambrenecki left17:17
kwmiebach left17:17
zumba_addict joined17:17
adambrenecki joined17:17
kwmiebach joined17:18
Gitzilla joined17:18
Jackneill joined17:19
marscher left17:19
Technocrat7 left17:19
higuys left17:20
gambl0re joined17:20
troulouliou_div2 left17:20
Molp joined17:21
tang^^ left17:22
ril joined17:23
teran left17:23
sfeinste_ left17:24
sfeinste joined17:24
Balliad joined17:24
howdoi_ left17:25
kpease left17:25
tang^ left17:25
islalobo joined17:26
Balliad left17:26
sazed joined17:27
kpease joined17:27
denver left17:28
imdsm left17:29
fumihiro left17:29
imdsm joined17:29
kjnilsson left17:29
kjnilsson joined17:29
d10n-work joined17:29
marcogmonteiro left17:30
tcurdt_ joined17:30
Tirzah joined17:30
eggoez left17:30
Tirzah left17:31
mixandgo left17:31
Molp left17:31
fumihiro joined17:31
angelsl left17:31
islalobo left17:31
Molp joined17:32
EricPoe left17:32
fracting left17:33
wheeei joined17:33
eggoez joined17:33
teran joined17:33
bronson joined17:34
paddymahoney left17:34
baxx left17:35
sinkensabe joined17:36
Molp left17:36
ASOLAr left17:36
mweshi left17:36
Molp joined17:37
mixandgo joined17:37
yqt left17:38
Nizumzen left17:38
Zariel joined17:38
bronson left17:38
sgambino joined17:39
Trow joined17:40
bronson joined17:41
Zariel left17:41
andrewvttran left17:41
kukks joined17:42
joki left17:42
paddymahoney joined17:42
tmartin joined17:42
BooMShanKerX joined17:43
eGGshaeGGshke17:43
ctag Hi, I just pushed a commit which was missing a line from one file. I understand that messing with the history is bad once public, is my only recourse to create a new commit with a message "Whoops, forgot this line." ?17:43
phroa` if you don't want to force push an amended commit, then yeah17:43
sgambino left17:44
ctag Ok, thanks!17:44
tmartin left17:44
tang^ joined17:44
kpease left17:45
skyres joined17:45
eGGshkeeGGsha17:46
jan left17:46
Technocrat7 joined17:46
relipse how do I populate my submodule17:46
it came empty17:46
tcurdt_ left17:47
phroa` git submodule update --init --recursive is my fav17:47
tcurdt_ joined17:47
relipse perfect thanks17:47
sinkensabe left17:48
theskillwithin left17:48
joki- joined17:48
tcurdt_ left17:49
eGGsha left17:49
tcurdt_ joined17:49
akushner__ joined17:49
courrier left17:50
skyres left17:50
hobodave left17:50
islalobo joined17:50
tcurdt_ left17:51
Scriptonaut left17:51
paulweb515 joined17:51
tcurdt_ joined17:51
kpease joined17:52
Kully3xf joined17:52
t-mart joined17:52
akushner_ left17:52
skyres joined17:53
t-mart left17:53
Balliad joined17:53
rilril[away]17:54
t-mart joined17:54
jimmyeatworld joined17:55
Technocrat7 left17:56
paulweb515 left17:56
ivan\ left17:56
tang^ left17:56
ilmgb_ joined17:57
tang^ joined17:57
EricPoe joined17:57
skyres left17:57
macrover joined17:57
TheTeapot left17:58
ilmgb left17:58
ivan\ joined17:59
Dragooon left17:59
FunkyAss joined17:59
whomp joined18:00
Molp left18:01
mixandgo left18:02
Dragooon joined18:02
StuartMI joined18:02
akushner__ left18:02
akushner__ joined18:03
ap3r7ur3 joined18:03
ap3r7ur3Guest7958118:04
Guest79581 left18:04
ap3r7ur3_ joined18:04
liri joined18:05
theskillwithin joined18:05
SocialBlunder joined18:06
teran left18:07
chitopunk left18:07
akushner__ left18:08
MechtiIde left18:08
skyres joined18:08
Fiouz left18:08
nofxx joined18:08
ap3r7ur3_ap3r7ur318:08
kfoonamalik joined18:08
relipse2 joined18:09
eme joined18:09
paulweb515 joined18:09
nydew07 joined18:09
SocialBlunder left18:10
relipse left18:10
m0viefreak joined18:12
kukks left18:12
skyres left18:12
herpaliederp joined18:13
ASOLAr joined18:13
jerius_ left18:14
skyres joined18:14
skylite joined18:15
relipse2 left18:15
refried_ joined18:15
relipse2 joined18:15
Kully3xf left18:15
Fiouz joined18:15
barduck joined18:16
skylite_ left18:16
fumihiro left18:16
Texan_ joined18:16
HelloShitty joined18:17
ThomasLocke left18:17
skylite_ joined18:17
Texan left18:17
fumihiro joined18:17
relipse2 left18:17
relipse2 joined18:17
kpease left18:18
olso left18:18
sgambino joined18:18
sfeinste_ joined18:18
dreiss joined18:18
hobodave joined18:18
fumihiro left18:18
gargola left18:19
skyres left18:19
fumihiro joined18:19
sfeinste left18:19
skylite left18:20
gargola joined18:21
skyres joined18:21
relipse3 joined18:22
Zariel joined18:22
jerius joined18:23
BooMShanKerX left18:23
relipse2 left18:23
dudoom joined18:23
BooMShanKerX joined18:23
wwwald joined18:24
Trow left18:24
BooMShanKerX left18:24
Zariel left18:25
BooMShanKerX joined18:25
TheTeapot joined18:25
BooMShanKerX left18:25
skyres left18:26
X67r joined18:26
nerd left18:26
terminal_echo joined18:27
skyres joined18:27
BooMShanKerX joined18:28
Spacew00t left18:28
Spacew00t joined18:28
zumba_addict left18:28
Texan_ left18:28
sargas joined18:28
sargas left18:28
freestyl3r joined18:29
Texan joined18:29
rockstar_ joined18:29
macrover left18:30
Gitzilla left18:31
Mekkis left18:31
Corey84 left18:32
skyres left18:32
BooMShanKerX left18:33
BooMShanKerX joined18:33
relipse3 left18:34
Kartagis left18:34
skyres joined18:34
rockstar__ joined18:35
dfaught joined18:35
MinetestForFun left18:36
c0mrad3 joined18:38
skyres left18:38
akushner__ joined18:39
ril[away]ril18:39
skyres joined18:41
HelloShitty left18:42
frankstallone joined18:42
dgutierrez1287 joined18:43
tcurdt_ left18:43
frankstallone Has anyone done, or know of a way to version modular components within a git repo? We are using Gitflow workflow on the repo and the entire repo has a version but there are modular components that we'd like to version separately.18:44
I am trying to think of ways to do this.18:44
Auuih joined18:44
frankstallone One way is to have a txt file in every component folder with version numbers and lists of changes but that seems incredibly time consuming.18:44
Auuih left18:44
wicope joined18:44
ascarter left18:45
Fzo joined18:45
Fzo left18:45
fumihiro left18:45
ehmatthes left18:45
skyres left18:46
sanketdg left18:46
gfixler left18:46
Xbat joined18:47
Xbat left18:47
skyres joined18:47
dgutierrez1287 left18:47
[H]unt3r_ joined18:49
[H]unt3r left18:49
elsevero joined18:49
[H]unt3r_ left18:50
sazed left18:52
skyres left18:52
shanson joined18:52
sparetire_ joined18:52
akushner__ left18:52
ascarter joined18:52
texinwien joined18:53
pheaver left18:53
skyres joined18:54
Bae joined18:55
texinwien I need some help. I have a repository with several branches. I'm trying to move from that setup to one with multiple 'fork' repositories replacing the branches I have at the moment.18:55
Bae left18:55
Max7676 joined18:56
hobodave left18:56
Seveas that doesn't sound like a good idea18:56
Gitzilla joined18:56
VsyachePuz joined18:56
texinwien So, say I have main-repo with branches b1 and b2. I want to end up with main-repo, repo1 and repo2 (where repo1 and repo2 take over the function previously handled by b1 and b2)18:56
VsyachePuz how to set merging defaults to not use fast forward? as in this post - http://blog.differential.com/best-way-to-merge-a-github-pull-request/18:57
Seveas still doesn't sound like a good idea texinwien :)18:57
texinwien Seveas can you give me a little more detail about why it doesn't sound like a good idea?18:57
thiago joined18:57
frankstallone left18:58
Seveas texinwien: why would you want to work on 3 copies of the same thing? Or are you abusing branches for things they shouldn't be used for?18:58
Chaser joined18:58
skyres left18:58
IrishPrime left18:58
texinwien 3 copies of what same thing?18:58
repo1 will be my workspace, repo2 will be another dev's workspace, and main-repo will be the 'central' repository.18:59
Seveas VsyachePuz: git config merge.ff false (git config --global merge.ff false for making it the default in all repos)18:59
kpease joined18:59
VsyachePuz Seveas: thanks!19:00
Seveas texinwien: ok, that sounds like you're abusing branches right now. Moving to clones sounds better. Create a bare clone for the central one and clone that again for your workspaces. Then discard the original.19:00
texinwien as opposed to now, where I have main-repo/b1 as my workspace and main-repo/b2 as the other dev's workspace.19:00
Niww joined19:00
texinwien Seveas ok, I can live with that, but the repo already has commits and branches in it, so I'm trying to figure out how to get from here to there without losing history.19:01
IrishPrime joined19:01
mikewintermute left19:01
Niww left19:01
Seveas texinwien: by cloning as I just described19:01
pandeiro joined19:01
Seveas I'd also suggest a read of the !book, it explains these things19:01
gitinfo There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable19:01
IrishPrime left19:01
devoldmx left19:03
IrishPrime joined19:03
pstodulk joined19:03
texinwien ok, I'm familiar with initing a bare repo - I will look into cloning one. And believe me, I've been doing plenty of reading in the !book of late...19:03
gitinfo There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable19:03
devoldmx joined19:03
VsyachePuz left19:03
tvw left19:04
pstodulk left19:04
chitopunk joined19:06
rilril[away]19:06
Bruno_ joined19:06
SocialBlunder joined19:07
pandeiro left19:07
ToTheInternet joined19:08
t-mart left19:08
Ucwj joined19:08
Ucwj left19:08
cpt-oblivious joined19:08
ToTheInternet i wanted to undo a commit on a feature branch so i did: git reset --soft HEAD~119:09
unfortunately i did that on the wrong branch, so now i want to undo that command (i don't want to commit again)19:09
can someone help?19:09
BSaboia left19:09
cpt-oblivious left19:09
matthavard joined19:09
akushner__ joined19:10
ToTheInternet ok i pulled again from origin, that did it19:10
SocialBlunder left19:11
robbyoconnor left19:12
ril[away]ril19:12
Seveas ToTheInternet: that works only because the commit wasn't local. For commits that hadn't been pushed yet, the reflog will save you.19:12
hobodave joined19:12
Seveas git reset --hard HEAD@{1} would have done the thing (don't o that now though, it'll be bad)19:13
DrNick joined19:13
troulouliou_dev joined19:13
Max7676 left19:14
eme left19:15
ToTheInternet Seveas: thanks. one day i want to be able to tell myself when commands will be bad19:16
git is hard :D19:16
Bruno_ left19:17
MinetestForFun joined19:17
ap3r7ur3 left19:17
BSaboia joined19:17
StuartMI left19:17
Seveas ToTheInternet: git's not hard, but it really helps if you understand the basics about its guts (blobs, trees, commts, tags, refs, remotes)19:19
ToTheInternet left19:19
j` left19:20
b80905 left19:22
emulator_ joined19:23
lucianangelus left19:23
ASOLAr left19:24
ASOLAr joined19:24
Nick-S_ left19:24
knownasilya left19:24
ap3r7ur3 joined19:25
Nick-S joined19:26
ap3r7ur3 left19:26
Guest91042 joined19:27
BooMShanKerX left19:27
Nick-S left19:28
scwizard joined19:28
scwizard I'm on git version 2.1.419:28
when I say: git submodule init19:28
nothing happens, even though there's an entry in .gitmodules19:29
[submodule "extensions/phpmailernew"] path = extensions/phpmailernew url = https://github.com/PHPMailer/PHPMailer.git19:29
theskillwithin left19:29
phroa` what do you want to happen that hasn't already happened19:29
ytun joined19:29
ytun left19:29
mbrzuzy left19:29
Pseudocrat joined19:29
teran joined19:29
Nick-S joined19:29
dudoom left19:30
ap3r7ur3 joined19:30
Zadruga joined19:30
skyres joined19:30
dudoom joined19:30
scwizard phroa`: files to be downloaded19:30
phroa`: the extensions/phpmailernew folder is empty19:31
phroa` git submodule update --init --recursive?19:31
ap3r7ur3 left19:31
Nick-S left19:31
ASOLAr left19:31
scwizard phroa`: no output19:31
nothing seems to happen19:31
Zadruga left19:31
BooMShanKerX joined19:31
phroa` I'm rather unsure then19:32
Zadruga joined19:32
m0v0nage_ joined19:33
Nick-S joined19:34
skyres left19:35
texinwien Seveas: by the way, I already have a bare repository on the server, so it's not really clear to me why I would need to clone a new one.19:35
Guest91042 left19:36
GT4066 left19:36
Nick-S left19:36
scwizard eww19:36
texinwien I've also already cloned that bare repository, so I already have repo1 and repo2, but I'm trying to get rid of the various branches, etc.19:36
scwizard I'm gonna stop using submodules19:36
i hate that git reset --hard can fail if you have a submodule19:37
skyres joined19:37
scwizard that's just gross19:37
and fucks up bisecting19:37
that's really the main thing, bisecting being foobared is a very legit reason to not use git submodules19:37
Nick-S joined19:37
pheaver joined19:38
Nick-S left19:39
Nick-S joined19:39
sfeinste_ left19:40
akushner__ left19:40
Mekkis joined19:41
skyres left19:41
ijee joined19:41
ijee left19:41
scwizard git subtree add —-prefix extensions/phpmailermodern/ phpmailer v5.2.1019:42
I get:19:42
You must provide the --prefix option.19:42
Nick-S left19:43
scwizard same thing if I do: git subtree add —-prefix=extensions/phpmailermodern/ phpmailer v5.2.1019:43
skyres joined19:43
nda_ left19:43
Utsy joined19:44
CustosL1men joined19:44
Utsy left19:45
Nick-S joined19:45
scwizard it seems I get this message no matter what I do :(19:45
synthroid joined19:46
nnyk left19:46
Mekkis left19:46
Unro joined19:46
Unro left19:46
Nick-S left19:47
islalobo left19:47
Nick-S joined19:47
refried_ left19:47
theskillwithin joined19:47
skyres left19:48
scwizard this worked: git subtree add --prefix=extensions/phpmailermodern [email@hidden.address] v5.2.1019:48
the order of the arguments is important because lolbashlol19:48
Awrru joined19:48
Awrru left19:49
Jwzb joined19:50
FunkyAss left19:50
skyres joined19:50
Jwzb left19:51
IrishPrime left19:52
sbogg joined19:52
SimonNa left19:52
szwcq joined19:54
sargas joined19:54
szwcq left19:54
skyres left19:55
akushner__ joined19:55
ojacobson scwizard: options use ascii dash only19:55
not, as you're doing, unicode en-dash or em-dash19:55
— and - are distinct characters :)19:55
robbyoconnor joined19:55
ASOLAr joined19:56
ojacobson (I happen to be using a typeface where they also render differently)19:56
Itlnf joined19:56
Itlnf left19:57
robbyoconnor left19:57
scwizard ojacobson: oh i see19:57
skyres joined19:57
scwizard :|19:57
annoying19:57
ojacobson yeah19:57
lots of stuff out there helpfully replaces " pairs with “” and dash pairs with – or —19:57
it fucks up copying and pasting code but good19:57
(fun fact: AppleScript actually allows “” as string delimiters, but only if they're correctly paired)19:58
gargola left19:59
saval joined19:59
sfeinste joined19:59
saval left19:59
jerius left20:00
Nick-S left20:00
wyxma joined20:00
wyxma left20:00
skyres left20:02
barduck left20:02
JDHawke joined20:02
tomog999 joined20:02
sargas left20:02
gvo left20:03
PeterBooker left20:04
gebjgd joined20:04
skyres joined20:04
kusc joined20:04
kusc left20:04
sfeinste left20:05
bronson left20:05
oojacoboo joined20:05
tomog999_ left20:05
Ofovp joined20:06
Ofovp left20:06
synthroid left20:06
Zariel joined20:07
LBV_User joined20:07
Zariel left20:07
Dorf left20:07
michael_mbp left20:07
Zariel joined20:07
SocialBlunder joined20:07
Dorf joined20:08
fulru joined20:08
Balliad left20:08
fulru left20:08
skyres left20:08
jxpx777 joined20:08
akushner__ left20:09
Eim joined20:10
michael_mbp joined20:10
Eim left20:10
cpzu joined20:11
cpzu left20:11
Zariel left20:11
SocialBlunder left20:12
ril left20:12
Dorf left20:12
Balliad joined20:12
qpdb left20:12
qpdb_ joined20:13
skyres joined20:13
devoldmx left20:13
aouu joined20:13
heroux left20:13
devoldmx joined20:13
aouu left20:13
nnyk joined20:14
Milos joined20:14
heroux joined20:14
Bczak joined20:14
SimonNa joined20:15
Vgr left20:15
Bczak left20:15
Vgr joined20:15
jerius joined20:16
maletor left20:16
Milos left20:16
Qmv joined20:16
Dragooon left20:16
Qmv left20:17
skyres left20:17
astockton joined20:17
Mekkis joined20:18
Txiai joined20:18
whomp left20:18
Txiai left20:19
paddymahoney left20:19
bronson joined20:19
happy-dude left20:19
drewo joined20:20
KsChoice joined20:20
Balliad left20:20
neanderslob joined20:21
herpaliederp left20:21
Bdxs joined20:21
skyres joined20:21
Bdxs left20:22
Gamecubic joined20:22
shinnya joined20:23
rmie joined20:24
martinium left20:24
drewo left20:24
rmie left20:24
Mekkis left20:24
KsChoice left20:24
Phoenixz left20:25
drewo joined20:25
perrier joined20:25
HelloShitty joined20:25
kmuzd joined20:25
Milos joined20:26
nadim left20:26
Milos left20:26
Milos joined20:26
akushner__ joined20:26
kmuzd left20:26
skyres left20:26
settermjd joined20:26
Phoenixz joined20:26
paulweb515 left20:27
hrwu joined20:27
hrwu left20:28
Tyrannosaur left20:28
rwb left20:28
LBV_User left20:28
paoh joined20:29
chuchunaku joined20:29
paoh left20:29
jerius left20:30
drewo left20:30
Tyrannosaur joined20:30
flashpoint9 left20:30
skyres joined20:30
settermjd left20:31
moea joined20:33
HZun joined20:34
sbogg left20:34
HelloShitty left20:34
skyres left20:34
Wetmelon joined20:35
HelloShitty joined20:35
wwwald left20:35
Zariel joined20:35
Zariel left20:36
nofxx left20:36
ascarter left20:36
Zariel joined20:36
nadim joined20:37
genbattle joined20:37
ascarter joined20:37
bronson left20:38
skyres joined20:38
gitinfo set mode: +v20:38
nadim left20:38
moea I'm on Windows 7 and using Git For Windows 1.9.5-20150319. I'm cloning a repo; most of the repo seems to download except for one particular sub-directory. The clone fails with an error message stating: "Invalid path" for each file in the directory.20:38
nadim joined20:39
dudoom left20:39
j` joined20:39
j` left20:39
j` joined20:39
_ikke_ moea: Does the path name contain illegal characters for windows?20:40
emulator_ left20:40
dailyherold joined20:41
bronson joined20:41
Zariel left20:42
skyres left20:42
gebjgd left20:43
chuchunaku left20:44
moea It doesn't appear to (me). This is error output. I copied this from a PyCharm window, but I got the exact same error from Git Bash.20:44
endiruna joined20:44
_ikke_ !transaction20:44
!transcript20:44
gitinfo Please paste (using https://gist.github.com/ or similar) a transcript ( https://gist.github.com/2415442 ) of your terminal session.20:44
skyres joined20:44
moea Yes... I reckon I'll do that.20:45
xk_id joined20:45
pantsman- left20:45
dailyherold Greetings, someone on my team was a couple weeks behind origin, and was somehow able to push a commit (followed by two more). origin/HEAD now points to a snapshot that is missing all the work done since the person last pulled. Having a hard time wrapping my head around how to cleanly fix this?20:46
a3Dman left20:46
moea _ikke_: output is here: https://gist.github.com/anonymous/a6bc154752db41394a9820:46
dailyherold Any help appreciated20:47
_ikke_ moea: aux is invalid in windows iirc20:47
moea: http://www.thewindowsclub.com/create-restricted-files-folders-con-aux-nul-click-windows20:48
ghibourg left20:48
skyres left20:49
khrm left20:49
relipse joined20:49
c74d left20:50
Seveas dailyherold: disallow forced updates and use the reflog ro undo the damage20:51
a3Dman joined20:51
moea Wow. I never knew particular names or directories were illegal. Mind blown. Thanks _ikke_.20:52
skyres joined20:52
a3Dman left20:53
c74d joined20:53
Seveas moea: yeah, on windows there are a few illegal names. AUX is one of them. I think NULL and LPR are illegal too20:53
_ikke_ Seveas: that link has a whole list20:53
Seveas didn't see the link :)20:54
tpollard joined20:54
Seveas google dug up https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx20:54
X67r left20:54
Mekkis joined20:55
King_Hual left20:55
a3Dman joined20:55
modocache left20:55
a3Dman left20:56
X67r joined20:56
cavallari left20:56
mweshi joined20:57
thiago left20:57
skyres left20:57
PCatinean left20:57
King_Hual joined20:57
King_Hual left20:57
King_Hual joined20:57
a3Dman joined20:57
pm90__ left20:58
zarubin_ joined20:58
mweshi left20:59
skyres joined20:59
Mekkis left20:59
NoImNotNineVolt joined20:59
Mixologic_ left20:59
NoImNotNineVolt hey, i'm trying to add a submodule that points to a specific commit in another repo. how do i do that?20:59
mweshi joined21:00
NoImNotNineVolt i added the submodule, but i don't know how to point it at a specific commit.21:00
_ikke_ NoImNotNineVolt: go to the directory, and check out that commit21:00
zarubin_ left21:00
NoImNotNineVolt well that was easy :P21:01
thanks21:01
Texan left21:01
_ikke_ Don't forget to commit it21:02
liri left21:02
dfaught left21:03
CustosL1men left21:03
skyres left21:03
NoImNotNineVolt do i need to delete all the files in that submodule directory now? (for there not to be duplicate code)21:04
dailyherold Seveas: Okay, so I reset to the snapshot I would like origin/HEAD to point to. If origin/HEAD still though points to the commit from my co-worker (which stemmed from a snapshot a couple weeks ago), what can I do?21:04
NoImNotNineVolt trying to copy a pattern that i see in another repo, where the submodule directory is init in the main repo..21:04
sorry, is *empty* in the main repo. brain fart.21:04
_ikke_ NoImNotNineVolt: No, you should not empty it21:05
if it's empty, it means it hasn't been initialized, checked out yet21:05
ASOLAr left21:06
skyres joined21:06
mweshi left21:06
X67r left21:07
X67r joined21:07
AaronMT left21:07
dailyherold Seveas: Also checked my repo and non ff pushes is disabled, so don't even know how the coworker was able to push in the first place...21:07
NoImNotNineVolt no, i mean...21:08
evie_hammond left21:08
NoImNotNineVolt now if i clone the main repo, i don't need to --recursive for there to be files in the submodule directory.21:08
SocialBlunder joined21:08
NoImNotNineVolt that somewhat defeats the point of using a submodule, no?21:08
_ikke_ It's strange if that happens21:09
NoImNotNineVolt scratch that, false. nevermind, works great.21:09
thanks.21:09
modocache joined21:10
NoImNotNineVolt stash is lying to me.21:10
Abbey joined21:10
dgutierrez1287 joined21:10
NoImNotNineVolt thanks again.21:10
NoImNotNineVolt left21:10
skyres left21:10
troulouliou_dev left21:11
paulweb515 joined21:11
ehmatthes joined21:11
gfixler joined21:12
dsdeiz joined21:12
danzilio joined21:12
Zariel joined21:12
SocialBlunder left21:13
skyres joined21:13
jimmyeatworld left21:13
FernandoBasso joined21:13
shanson left21:13
nadim left21:13
beaconwriter left21:14
ASOLAr joined21:14
IronicBadger joined21:14
dgutierrez1287 left21:14
mquin left21:15
IronicBadger somebody has just made a pull request on my repository. i want to merge their changes but not before i make some other changes myself. what's the best way to do this? accept the pull and then change or change and the accept the pull and merge?21:15
mquin joined21:16
MarkyC left21:16
phroa` IronicBadger: imo I would make your changes if they truly can't wait until after you merge the pr, then fetch the PR and see if it still merges21:17
Seveas IronicBadger: fetch the PR and do whatever you want with the commits21:17
(assuming github here..)21:17
IronicBadger yes it is github21:17
skyres left21:17
IronicBadger so the commands would look ?21:17
yn5 joined21:17
IronicBadger git fetch > do some work > git add -A > git commit -m "blah" > .... ?21:17
Jackneill left21:18
c0mrad3 left21:18
mscook joined21:18
IronicBadger not worked with a pull request before21:18
Seveas git fetch origin refs/pull/pull-number-here/head:refs/heads/bracnh-for-pull-request21:19
isomorphismes joined21:19
Mixologic_ joined21:19
Dougie187 left21:19
Seveas and cherry-pick, merge or do what you want with the new branch :)21:19
skyres joined21:19
isomorphismes How do I prevent a large file from wanting to upload to github?21:19
espindol_ joined21:19
isomorphismes It's already in my .gitignore file.21:19
_0xc6_{0xc6}21:19
kadoban isomorphismes: .gitignore has no effect on history, or on anything that's already being tracked.21:20
IronicBadger thanks Seveas21:20
kadoban isomorphismes: You'd have to remove it from being tracked and from history if it's too big to put on github.21:20
isomorphismes kadoban: Thanks. How do I do that?21:20
I don't want to git rm21:20
or, rather I want git rm without rm21:20
Seveas git rm --cached21:21
kadoban isomorphismes: 'git rm --cached' is git rm without the rm21:21
isomorphismes thanks Seveas kadoban21:21
Seveas but you'll also need to remove it from history, with a rebase, filter-branch or bfg21:21
kadoban isomorphismes: But that won't change history. You need filter-branch for that.21:21
isomorphismes oh no21:22
I tried BFG a couple months ago and couldn't figure it out.21:22
shanson joined21:22
rnsanchez left21:24
skyres left21:24
Wetmelon left21:24
ASOLAr left21:25
Mixologi- joined21:25
HZun left21:26
skyres joined21:26
bahar joined21:26
Mixologic_ left21:26
bahar left21:26
bahar joined21:26
BooMShanKerX left21:27
Balliad joined21:28
s00pcan left21:29
TomyLobo left21:30
dailyherold I made a gist of the current state of my repo: https://gist.github.com/dailyherold/3b1684a7e2bbcc07b6ba . Somehow I need to undo what ca7282a (4th from bottom), 02b69bc, and 40f3103 (now where origin/HEAD is) did. Let me know if anyone has ideas, my normal git guru in office is on vacation21:30
skyres left21:30
s00pcan joined21:31
dailyherold (above gist straight from a fresh clone)21:31
CKyle left21:31
phroa` git help revert21:31
kadoban !revert21:31
gitinfo That's a rather ambiguous question... options: a) make a commit that "undoes" the effects of an earlier commit [man git-revert]; b) discard uncommitted changes in the working tree [git reset --hard]; c) undo committing [git reset --soft HEAD^]; d) restore staged versions of files [git checkout -p]; e) move the current branch to a different point(possibly losing commits)[git reset --hard $COMMIT]?21:31
mscook left21:31
phroa` gosh21:31
shanson left21:32
Mekkis joined21:32
lala joined21:32
Motoko Heh21:32
modocache left21:33
Balliad left21:33
Motoko Well, revert can indicate a lot of different things.21:33
modocache joined21:33
skyres joined21:33
modocache left21:34
Guest91042 joined21:34
modocache joined21:34
Nick-S joined21:34
modocache left21:35
matthava` joined21:35
chitopunk left21:35
dailyherold It just seems strange because each of those three commits, which were pushed, only show changes for the files they touched, nothing about the "37 files changed, 232 insertions, 710 deletions" I got when I pulled this morning21:35
Bootinbull left21:36
BooMShanKerX joined21:36
btree_ joined21:36
Bootinbull joined21:36
dailyherold Each commit only touched a single file, and the commits were mistakes to begin with. I'll try out gitinfo's suggestions regardless21:36
bronson left21:37
Mekkis left21:37
mizu_no_oto left21:37
bronson joined21:37
skyres left21:37
thiago joined21:38
pheaver left21:38
daivyk left21:38
Nick-S left21:38
btree left21:38
akurilin left21:38
daivyk joined21:38
matthavard left21:38
pheaver joined21:39
Zariel left21:39
isomorphismes https://rtyley.github.io/bfg-repo-cleaner/ ←so he says "make a backup at this point". Isn't the clone mirror already a backup?21:39
Mixologic joined21:39
skyres joined21:40
Seveas no21:40
a clone doesn't have hooks or configs21:40
phroa` nor stashes, right?21:41
drewo joined21:41
isomorphismes How do you back up the entire thing?21:41
carlll joined21:41
Seveas tar, rsync21:41
phroa` $ cp -r .git ../git-backup21:41
_Atom_ joined21:41
isomorphismes So now I will have three directories: one to follow @rtyley's instructions, one that's a backup, and the one I work in. Correct?21:41
tomasm- joined21:41
isomorphismes I should tar my working directory or one of the clones?21:42
Mixologi- left21:42
endiruna left21:42
Mixologic_ joined21:43
tomasm- hey how can I get a diff (perhaps the commit id?) between my local master and a remote's master?21:43
phroa` off the top of my head, git diff master..origin/master21:43
LaptopBrain joined21:43
phroa` where origin is your remote21:43
[Saint] joined21:44
texinwien I have a remote repository with a Head branch other than master.21:44
skyres left21:44
tomasm- hmmm it says fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree21:44
git diff master origin/master21:45
texinwien I would like to end up with a copy of the repository with HEAD branch: master21:45
tomasm- (origin shows up in git remote, btw)21:45
hobodave left21:45
drewo left21:45
Mixologic left21:45
texinwien how can I manage that?21:46
tomasm- ok i gotta do git fetch origin first21:46
carlll left21:46
Seveas texinwien: you need filesystem access to the remote repo and use git symbolic-ref to change the HEAD symref to point to the correct branch21:46
phroa` tomasm-: include the ".." between them (no spaces around "..")21:46
skyres joined21:46
phroa` and yeah you may have to fetch21:47
tomasm- phroa`, that doesnt work either21:47
phroa` shucks21:47
tomasm- ambiguous argument, unknown revision21:47
robbyoconnor joined21:47
texinwien Seveas: I don't have filesystem access, but I can make a local copy of the repo, fix it locally, then put the copy on the server.21:48
phroa` afk21:48
texinwien Seveas: Somehow, I managed to start with a repo on the server that had HEAD branch: master and end up with a repo on the server that has HEAD branch: dumb-name-that-i-chose21:49
without ever having filesystem access to the server21:49
Seveas texinwien: how do you transfer the repo?21:49
texinwien I can archive it into a tarball and download it.21:50
Seveas and how would you upload it?21:50
texinwien I can also tell the server to create a repo from a local archive21:50
ASOLAr joined21:50
Seveas you could try that. What's the hosting setup for that?21:51
skyres left21:51
texinwien This is on Kiln21:51
cbreak you could upload a fixed HEAD21:51
Mixologic joined21:51
cbreak it's a text file21:51
chitopunk joined21:52
texinwien I can't do that, unfortunately - I don't have FTP access or any other sort of access other than: git access, archive and download and create new remote repository from existing local repository21:52
xxcooljesusxx left21:52
Seveas doesn't kiln have an option to "set default branch"?21:53
skyres joined21:53
Seveas GitHub does that and it has the same effect as the git symbolic-ref command I gave.21:53
israelpattison left21:53
texinwien I've looked for that option (and am looking again now). I managed to change it somehow in the past, so there has to be some way to do it.21:54
Mixologic_ left21:54
thedodd joined21:55
evie_hammond joined21:55
ClearC2 left21:55
matthava` left21:55
kadoban You can't do it with /just/ git access AFAIK. So look for something outside of git itself, like the web interface if that's what you have …21:56
Mixologic_ joined21:56
omegamike left21:56
astockton left21:56
skyres left21:57
tennis_ left21:58
gamename joined21:58
astockton joined21:59
skyres joined21:59
Mixologic left21:59
gregsmith left21:59
macabre left21:59
editshare-ericf left22:00
madewokherd` left22:01
EricPoe left22:01
Mixologi- joined22:01
victortyau left22:02
ChanServ set mode: +o22:02
Balliad joined22:02
Balliad left22:02
tomasm- left22:02
Eugene changed the topic to: Welcome to #git, the place for git help and serious programming discussions | Current stable version: 2.4.6 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | This is not a joke, it's a commit.22:02
Mixologic_ left22:02
texinwien I've sent the kiln team a support request.22:03
Eugene set mode: -o22:03
texinwien I was wondering whether it would be possible to download an archive of the repo, fix it locally, then import the fixed repo back into kiln under another name22:03
ascarter left22:03
skyres left22:04
gamename left22:04
Guest91042 left22:05
akurilin joined22:06
skyres joined22:06
thiago left22:06
sgambino left22:07
ascarter joined22:07
astockton left22:08
Mixologic_ joined22:09
SocialBlunder joined22:09
Mekkis joined22:09
BooMShanKerX left22:09
nnyk left22:09
IanWizard joined22:09
IanWizard left22:09
IanWizard joined22:09
gfixler left22:10
Tyrannosaur left22:10
skyres left22:10
sentriz left22:10
Mixologi- left22:11
Tyrannosaur joined22:11
astockton joined22:12
Tyrannosaur1 joined22:12
skyres joined22:12
SocialBlunder left22:13
Mekkis left22:14
HZun joined22:15
Tyrannosaur left22:16
creep_ left22:16
Voau|2 joined22:16
isomorphismes I'm not sure how bad this is. When I try to git push at the end of rtyley's BFG documentation I get three `! [remote rejected] refs/pull/1/head -> refs/pull/1/head (deny updating a hidden ref)`22:17
dailyherold left22:17
isomorphismes the other errors are pretty similar to that ^^22:17
skyres left22:17
isomorphismes The non-errors say "forced update"22:17
olejorgenb joined22:18
Vadimus left22:19
muhaha03__ left22:19
skyres joined22:19
Nizumzen joined22:19
olso joined22:20
Nooutlet joined22:21
modocache joined22:21
gitinfo set mode: +v22:21
olejorgenb noob question (couldn't find by googling): when staging hunks interactively (git commit -p): is it possible to avoid having to press return after choosing each action? eg. I press 'y' to stage the current hunk, but I have to press return to confirm..22:22
this is git on linux22:22
olejorgenb left22:22
olejorgenb joined22:22
ASOLAr left22:23
cmoneylulz left22:23
skyres left22:23
isomorphismes can I undo git reset?22:24
emulator_ joined22:24
isomorphismes I did git reset <SHA i thought i wanted>, but it was not what I wanted.22:24
tristanp left22:24
Mekkis joined22:24
tristanp joined22:25
modocache left22:25
skyres joined22:26
ASOLAr joined22:27
Guest91042 joined22:28
gabriela_ left22:29
Mekkis left22:29
tristanp left22:29
skyres left22:30
madewokherd joined22:30
Mekkis joined22:30
X67r left22:31
rpg joined22:31
espindol_ left22:31
thiago joined22:31
daviid joined22:32
nofxx joined22:32
chitopunk left22:32
skyres joined22:32
hekz joined22:32
hekz left22:32
AndreSomers left22:33
Guest91042 left22:34
daviid hello. in the follow logs http://git.savannah.gnu.org/cgit/guile-gnome.git/log/?h=devel you see '2014-10-08 2.16.3' where I bumped the version for the next release of guile-gnome. However, I discover a bunch of things to do and ... Is there a way to delete that commit, and how? [ a tutorial somwhere maybe]22:34
Junhw joined22:34
DolpheenDream joined22:34
Junhw left22:34
ASOLAr left22:34
drewo joined22:35
whomp joined22:35
ASOLAr joined22:36
Guest91042 joined22:36
whomp on the github server, the continuous integration stuff automatically rebased my branch onto the latest tip of master, but my local copy is the same. git tells me that they're out of sync and that i can't push, and suggests using `git branch --set-upstream-to=...`. what do you guys think i should do?22:37
skyres left22:37
dsdeiz left22:37
hagabaka left22:37
Zime joined22:37
Zime left22:37
Mekkis left22:38
skyres joined22:39
Zoddo left22:39
Mekkis joined22:39
drewo left22:39
yqt joined22:40
Urem joined22:42
robbyoconnor left22:42
Urem left22:42
linuxboytoo left22:43
skyres left22:43
linuxboytoo joined22:43
Eumi joined22:43
Eumi left22:44
nnyk joined22:44
daj joined22:45
skyres joined22:45
mscook joined22:45
daj left22:46
ASOLAr left22:46
texinwien So, one way to do what I was asking about above is to simply create a new, empty repository from scratch in kiln, then push my local branch to master in that repository22:46
Voau|2 left22:46
texinwien et voila, the new repository is a copy of the old one, except that its HEAD points to master.22:47
livingstn left22:47
linuxboytoo left22:47
sdothum left22:47
Aaie joined22:48
Aaie left22:48
sdothum joined22:48
relipse left22:49
mutbuerger left22:49
texinwien then delete the old repository in kiln (can be undeleted if necessary), rename the new one to the old one's name and it seems close to perfect.22:49
ehmatthes left22:49
zendrix joined22:49
Brjb joined22:50
texinwien still no idea how I managed to change the branch HEAD pointed to in the original repo, though. Mystery.22:50
Brjb left22:50
neoseeker191 joined22:50
skyres left22:50
neoseeker191 left22:51
israelpattison joined22:51
bli joined22:51
bli left22:52
skyres joined22:52
pheaver left22:52
Mixologic joined22:52
Gizburdt joined22:53
ieftu joined22:53
zendrix left22:53
ieftu left22:54
eggoez left22:54
Mixologi- joined22:54
rpg left22:54
macabre joined22:55
Cmag joined22:55
Mixologic_ left22:55
Cmag left22:55
MinetestForFun left22:56
skyres left22:56
omegamike joined22:56
aped joined22:57
fenugrec joined22:57
aped left22:57
Mixologic left22:57
ascarter left22:57
eggoez joined22:58
skyres joined22:58
Mixologi- left22:58
cagedwisdom joined22:59
Tyrannosaur1 left22:59
mhp joined22:59
mhp left22:59
[diecast] left23:00
jmcantrell left23:00
upene joined23:00
jmcantrell joined23:00
[diecast] joined23:00
ycn joined23:01
neanderslob left23:01
mariorz left23:01
sinkensabe joined23:01
ycn left23:01
mariorz joined23:01
zendrix joined23:01
mizu_no_oto joined23:02
kapowaz left23:02
danzilio left23:02
kapowaz joined23:02
neanderslob joined23:02
skyres left23:02
omegamike left23:03
fvwy joined23:03
DolpheenDream left23:03
fvwy left23:03
teran_ joined23:04
Ibtki joined23:05
skyres joined23:05
michael_mbp left23:05
Ibtki left23:05
teran left23:06
teran joined23:06
uwcdm joined23:06
uwcdm left23:07
Mixologic_ joined23:08
teran_ left23:08
Doxin left23:09
ELLIOTTCABLE left23:09
michael_mbp joined23:09
yrashk left23:09
ELLIOTTCABLE joined23:09
clarkpan joined23:09
skyres left23:09
SocialBlunder joined23:10
yrashk joined23:10
nnyk left23:11
tristanp joined23:11
yn5 left23:11
skyres joined23:11
Mixologi- joined23:11
s00pcan left23:12
tristanp left23:12
tristanp joined23:12
upene left23:13
HZun left23:13
s00pcan joined23:14
NeverDie left23:14
xudongz joined23:14
NeverDie joined23:14
Mixologic_ left23:14
SocialBlunder left23:14
tang^ left23:14
d10n-work left23:15
skyres left23:15
clarkpan left23:16
Nikhil_D left23:17
Nikhil_D joined23:18
skyres joined23:18
mscook left23:18
mscook joined23:18
LaptopBrain left23:20
Mixologic joined23:20
upene joined23:20
LaptopBrain joined23:20
clarkpan joined23:20
LaptopBrain left23:20
LaptopBrain joined23:21
fracting joined23:21
WifiBrain joined23:21
Veag joined23:22
benkai joined23:22
skyres left23:22
Guest91042 left23:22
Veag left23:22
Mixologi- left23:22
mizu_no_oto left23:23
jjai joined23:23
freestyl3r left23:23
jjai left23:23
dsdeiz joined23:23
clarkpan left23:23
Technocrat7 joined23:23
upene left23:24
{0xc6} left23:24
zendrix left23:24
clarkpan joined23:24
skyres joined23:24
LaptopBrain left23:25
Mixologic_ joined23:25
tcurdt_ joined23:26
clarkpan left23:26
Tdiw joined23:27
upene joined23:27
Tdiw left23:27
ascarter joined23:27
tcurdt__ joined23:27
tcurdt__ left23:27
dudoom joined23:27
modocache joined23:28
tyreld left23:28
skyres left23:28
clarkpan joined23:28
Mixologic left23:29
drewo joined23:29
zendrix joined23:29
wicope left23:30
fstd left23:30
fstd joined23:30
mikecmpb_ joined23:30
robbyoconnor joined23:30
elsevero left23:30
tcurdt_ left23:30
skyres joined23:31
tomog999_ joined23:31
zumba_addict joined23:32
LaptopBrain joined23:32
pm90_ joined23:32
Outsider__ left23:32
reim joined23:32
Outsider__ joined23:33
WifiBrain left23:33
mikecmpbll left23:33
ahf left23:33
tomog999 left23:33
moritz joined23:33
ahf joined23:34
drewo left23:34
preilly joined23:34
biertie joined23:34
EvilJStoker joined23:34
preillyGuest2090823:34
bhws joined23:34
maestrojed left23:34
pm90__ joined23:35
skyres left23:35
bhws left23:35
ecraven joined23:35
dgutierrez1287 joined23:37
tristanp left23:37
skyres joined23:37
pm90_ left23:38
Guest91042 joined23:38
tristanp joined23:38
dudoom left23:38
bronson left23:38
astockton left23:38
sr____ left23:40
bollullera joined23:40
sr____ joined23:40
sinkensabe left23:41
felixjet_ joined23:41
FernandoBasso left23:41
neersighted left23:41
dgutierrez1287 left23:41
neersighted joined23:41
skyres left23:42
Guest91042 left23:42
tristanp left23:42
wxl joined23:43
ascarter left23:44
skyres joined23:44
wxl hey folks. i just noticed an older commit got rid of some code we had no intention of doing. comments, but still… how can i restore *SOME* of the changes on the associated commit while not messing up later commits? is this easily done, or do i just need to do it manually?23:45
eletuchy joined23:45
wxl (the associated commit had some crucial additions as well)23:45
EricPoe joined23:46
King_Hual left23:47
fracting left23:48
Seveas wxl: revert -n, followed by a reset to remove the changes from the index, an add -p to only add the changes you want to revert, commit, and reset --hard to get rid of the unwanted changes.23:48
skyres left23:48
danzilio joined23:49
wxl thx seveas, i'll give it a go23:49
modocache left23:49
thedodd left23:50
Lyqyd joined23:50
skyres joined23:50
texinwien git branch -r displays several branches. One is origin/deleteme23:50
now, if I try git push origin --delete deleteme , I get an error:23:51
bronson joined23:51
wxl left23:51
texinwien unable to delete 'deleteme': remote ref does not exist23:52
Seveas maybe someone else has deleted it already. Do a git fetch.23:52
git fetch --prune23:52
espindola joined23:52
mingwandroid_ left23:53
texinwien Seveas: thanks23:53
Although the someone else had to be me, somehow, since I'm the only one working on it.23:53
LaptopBrain left23:53
Seveas I think we've already established that your repos change on their own as well :-)23:53
texinwien finally got this horrific repository switched from one branch per dev to one fork per dev.23:53
espindol_ joined23:54
texinwien yes - I would love to know how I got the HEAD to point to something other than master.23:54
mscook left23:54
mscook joined23:54
modocache joined23:55
skyres left23:55
ClearC2 joined23:56
espindola left23:57
skyres joined23:57
livingstn joined23:58
hexagoxel_ joined23:58
fstd left23:59
omegamike joined23:59
Eugene !default23:59
Hrm, thought we had one for that.23:59
fstd joined23:59
modocache left23:59
Eugene !master23:59
gitinfo [!master_branch] 'master' is the default name for the first branch created by git, and it is in no way special. You can just delete it, and use more meaningful names such as 'dev' 'stable' 'unstable' 'bug/001' etc. If this is a bare repo, you will want to change the default branch(`git symbolic-ref HEAD refs/heads/somebranch`) first.23:59

Logs Search ←Prev date Next date→ Channels Documentation