IRCloggy #git 2015-12-19

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-12-19

nkouevda joined00:00
mtt5 left00:01
jbudz_ left00:02
milki hm, this repo only has bad trees00:05
but.. the push doesnt see its already there -.-00:05
BeatrixKiddo joined00:06
BeatrixKiddo left00:06
BeatrixKiddo joined00:06
Limes_ left00:08
circ-user-LMoE9 left00:09
Puhe joined00:11
hashpuppy joined00:13
sangy left00:14
cdg joined00:16
abc123 joined00:16
abc123_ left00:16
abc123abc123_00:16
lindenle left00:17
tang^ left00:17
strayPuppy joined00:18
s00pcan joined00:18
str__ left00:20
hexagoxel left00:20
wethu joined00:22
hexagoxel joined00:22
weox left00:22
clemf left00:23
abc123_ left00:23
abc123 joined00:24
lindenle joined00:24
wgrant left00:25
cjsarette joined00:25
raijin left00:25
AaronMT left00:25
kzisme_ left00:26
jbudz joined00:26
kzisme joined00:26
otter768 joined00:26
clemf joined00:27
relipse2 joined00:28
pozitron left00:28
Puhe_ joined00:28
darxun joined00:29
sleezd_ left00:30
sleezd_ joined00:30
jbudz left00:31
otter768 left00:31
abc123 left00:31
abc123_ joined00:31
Puhe left00:32
faux___ joined00:33
MattMaker left00:33
rubyonrailed left00:33
mizu_no_oto left00:34
Sasazuka left00:35
sleezd_ left00:36
sleezd_ joined00:36
sleezd_ left00:36
gaen left00:36
mellernoia joined00:37
sleezd_ joined00:37
fscala left00:37
fscala joined00:38
nkouevda left00:39
mischat joined00:39
jottr joined00:39
mizu_no_oto joined00:39
eluria joined00:41
griotspeak joined00:41
dregad left00:41
SimonNa joined00:44
jottr left00:44
mischat left00:45
erste joined00:46
boombatower left00:47
eluria Hi, I just tried to clone one of my repos and one of its submodules gives me the error 'fatal: reference is not a tree: 005c0a7ae35e45fc505546599e06ff3b9724ac11'. Cloning that repo separately and checking out that commit gives the same error. Strange thing is, I *can* find it on github: https://github.com/kylemcdonald/ofxCv/commit/005c0a7ae35e45fc505546599e06ff3b9724ac11.00:48
wethu left00:48
arescorpio joined00:48
eluria I can probably find another suitable commit, but I don't understand what's going on here and I'd like to understand. Any ideas?00:49
rewt on github that seems to be a commit, not a tree00:50
which would be consistent with that error message00:50
eluria rewt: ok I have to read up on that difference. Yet this also exists: https://github.com/kylemcdonald/ofxCv/tree/005c0a7ae35e45fc505546599e06ff3b9724ac11/example-calibration00:51
rewt oh wow, hash collision?00:52
dreiss left00:52
Lyqyd joined00:52
anbz joined00:53
cjsarette left00:53
rewt all commits, trees, and blobs, have a hash (the id), and they should all be unique00:53
aranea left00:53
linduxed left00:54
cjsarette joined00:54
daito joined00:54
eluria hm ok that seems weird then. As this tree appears to have the same commit as its tip (correct terminology?) -- I posted a slightly wrong link btw, should be: https://github.com/kylemcdonald/ofxCv/tree/005c0a7ae35e45fc505546599e06ff3b9724ac1100:55
anbz left00:55
faux___ left00:56
linduxed joined00:56
anbz joined00:56
kilo_bravo left00:57
relipse2 anyone in here use Windows git bash ?00:57
bodom left00:57
rewt oh, hm, nope, the /tree/ link seems to show the tree of the commit00:57
so that hash is a commit hash00:57
what did you do exactly when it complained about it not being a tree?00:58
Shentino2 joined00:58
alexsystemf_- left00:58
fstd left00:59
fstd joined00:59
nour left00:59
Shentino left00:59
skylite left00:59
italoacasas left00:59
ferr left00:59
daito left00:59
eluria I did a recursive clone of my project. The problematice ref is something I updated the submod to a while ago and git seemed to accept that back then.01:00
raijin joined01:00
alexsystemf_- joined01:00
eluria Is it possible to do a checkout to a specific commit in a submod, commit that change in the superproject and then later on get this error in a fresh clone?01:00
cjsarette left01:01
clemf left01:01
cjsarette joined01:01
mingwandroid joined01:02
Puhe__ joined01:03
dreiss joined01:03
eluria rewt: (One other thing I noticed: browsing through the commit history of the ofxCv repo does not show the 005c0a commit...)01:04
samw joined01:05
Gianormagantrous joined01:06
Gianormagantrous left01:06
Gianormagantrous joined01:06
Puhe_ left01:06
relipse2 left01:08
mingwandroid left01:08
star_prone joined01:08
xaa left01:08
Puhe_ joined01:08
star_prone left01:08
xaa joined01:08
italoacasas joined01:09
star_prone joined01:09
alexsystemf_- left01:10
star_prone left01:10
star_prone joined01:10
alexsystemf_- joined01:10
relipse left01:11
Puhe__ left01:11
leeN left01:12
zacg joined01:13
zacg left01:13
zacg joined01:13
star_prone left01:14
lamont joined01:15
cjsarette left01:15
mellernoia left01:18
Synthead left01:19
cjsarette joined01:19
phrozensilver left01:20
italoacasas left01:20
devoldmx joined01:20
italoacasas joined01:20
ajustrun joined01:21
lamont left01:21
jmpp left01:22
jmpp joined01:24
skcin7 joined01:24
Sucks left01:24
Sucks joined01:25
abc123_ left01:27
abc123 joined01:28
rkazak_ joined01:28
jmpp left01:28
HelloAtMega left01:29
rpd left01:30
dreiss left01:30
nkouevda joined01:30
devoldmx left01:30
nkouevda left01:30
UniFreak joined01:32
winter__ left01:32
jmpp joined01:32
rewt joined01:32
devoldmx joined01:32
devoldmx left01:32
ciampix left01:33
crayon left01:35
semajnz left01:36
mizu_no_oto left01:36
wgrant joined01:36
anybody joined01:36
abc123 left01:36
abc123_ joined01:36
semajnz joined01:36
cjsarette left01:37
sleezd_ left01:38
sleezd_ joined01:38
italoacasas left01:38
italoacasas joined01:40
sleezd_ left01:40
italoacasas left01:40
sleezd_ joined01:40
italoacasas joined01:41
mischat joined01:41
sleezd_ left01:41
wxg joined01:41
wxg left01:41
sleezd_ joined01:42
sleezd_ left01:42
sleezd left01:42
sleezd joined01:42
sleezd left01:43
wxg joined01:43
eijk_ left01:44
paul424 left01:44
wxg left01:45
DARSCODE joined01:46
wxg joined01:46
raijin left01:49
raijin joined01:51
anybody left01:51
kadoban joined01:52
Guin joined01:53
maletor left01:53
cjsarette joined01:54
faux___ joined01:58
sleezd joined01:58
lamont joined02:01
faux___ left02:02
devoldmx joined02:03
msonntag left02:04
devoldmx left02:04
Sucks left02:04
MattMaker joined02:04
devoldmx joined02:04
msonntag joined02:05
t-mart left02:06
lamont left02:07
MattMaker left02:08
pwnz0r joined02:08
t-mart joined02:09
zeroed joined02:09
leb joined02:10
denimsoft joined02:10
Shentino2 left02:11
fracting joined02:12
mmitchell joined02:13
m0viefreak left02:13
joufflu joined02:13
sleezd left02:14
LeBlaaanc left02:14
mablae_ joined02:15
mmitchell left02:15
zzz_ joined02:16
samw left02:18
mablae__ left02:19
pks left02:19
zeroed left02:19
denimsoft left02:20
samw joined02:20
cheetah2 joined02:21
pks joined02:21
Vampire0 joined02:22
cjsarette left02:23
skcin7 left02:24
cjsarette joined02:24
tyll joined02:24
samw left02:25
Vampire0_ left02:25
eluria rewt: thanks for your help. still unclear what's going on but I do have some more pointers. g'night!02:26
MattMaker joined02:26
SimonNaa joined02:26
tyll_ left02:26
eluria left02:27
lamont joined02:27
otter768 joined02:27
bb010g joined02:29
gitinfo set mode: +v02:29
SimonNa left02:29
Dazzyp left02:30
clemf joined02:30
hashpuppy left02:30
chubbson joined02:31
SimonNaa left02:31
mezod joined02:31
jagob left02:32
otter768 left02:32
lamont left02:32
ril joined02:33
joufflu left02:34
cjsarette left02:34
MattMaker left02:34
cjsarette joined02:34
eka joined02:37
jottr joined02:40
jottr left02:45
mischat left02:47
harish_ left02:48
italoacasas left02:48
phrozensilver joined02:49
skcin7 joined02:50
cheetah2 left02:52
fracting left02:53
Atrumx joined02:54
jbudz joined02:54
daito joined02:55
osxi joined02:56
ril left02:57
chimeracoder joined02:58
ril joined02:58
cheetah2 joined02:58
star_prone joined02:59
star_prone left02:59
star_prone joined02:59
star_prone left03:00
daito left03:00
pantsman- joined03:00
star_prone joined03:00
yqt left03:00
star_prone left03:01
star_prone joined03:01
msonntag left03:01
star_prone left03:02
star_pro_ joined03:02
nyx_ joined03:02
star_pro_ left03:02
cjsarette left03:03
star_prone joined03:03
cjsarette joined03:03
msonntag joined03:03
chubbson left03:05
star_prone left03:07
relipse joined03:07
xaa left03:07
cagedwisdom joined03:10
nkouevda joined03:10
nkouevda left03:10
relipse is there a reason git filter-branch 'rm blah' would increase my repo from 1.8gb to 3.2gb?03:10
i am trying to delete a large file03:10
SimonNa joined03:10
relipse completely from the repo03:10
rubyonrailed joined03:11
relipse after i run git filter-branch --index-filter 'git rm --cached --ignore-unmatch public_html/video/TheLovelinessOfChristPart1.mp4' HEAD and wait for a while what do I do after?03:11
nyx_ left03:11
cjsarette left03:13
cjsarette joined03:13
pkeuter left03:15
pantsman- left03:15
pwnz0r left03:15
cjsarette left03:15
cjsarette joined03:16
rubyonrailed left03:16
cjsarette left03:17
jbudz left03:17
cjsarette joined03:18
pwnz0r joined03:18
milki relipse: see the bottom of man git filter-branch03:18
gitinfo relipse: the git-filter-branch manpage is available at http://jk.gs/git-filter-branch.html03:18
cheetah2 left03:19
relipse git for-each-ref --format="%(refname)" refs/original/ | xargs -n 1 git update-ref -d03:20
jbudz joined03:21
cdg left03:21
ril left03:21
cdg joined03:21
relipse that command is not working for me...03:22
sleezd joined03:22
milki hm, thats not what i expected03:22
relipse: what section are you reading?03:22
sleezd left03:23
relipse https://confluence.atlassian.com/bitbucket/reduce-repository-size-321848262.html#Reducerepositorysize-ReduceRep-DRAFT-Reducerepositorysize-Runningfilter-branch03:24
milki relipse: i told you to look at man git filter-branch03:24
gitinfo relipse: the git-filter-branch manpage is available at http://jk.gs/git-filter-branch.html03:24
sleezd joined03:24
jbudz left03:25
abc123_ left03:25
relipse milki ok yeah i'm reading the bottom of that page now03:26
abc123 joined03:26
relipse it says after doing the git filter-branch you can just clone the repo03:26
eka left03:26
milki thats one way to do it. the new clone will be smaller in size03:26
skcin7 left03:27
ecELLIOTTCABLE03:27
hackel left03:27
ELLIOTTCABLEec03:27
relipse interesting idea03:27
then just push the clone up?03:27
with -f ?03:27
skcin7 joined03:27
bollullera left03:28
milki that wont help the repo size on the remote03:28
relipse hmm03:28
cdg_ joined03:28
milki that would require another step03:28
relipse for some reason my remote repo went from 1.8gb to 3.2gb after i removed that file03:28
cagedwisdom left03:28
milki so push, then do the same thing on the other size, clone the repo03:28
relipse and did push -f03:28
milki pushing can only increase the size of a repo03:29
relipse I can't it is bitbucket03:29
Guin left03:29
milki well, i guess if you delete refs, then all it does is delete refs03:29
relipse: o, then if you push, then bitbucket magic will happen03:29
dunno what bitbucket will do with a smaller repo03:30
cant help you there03:30
i guess just follow the atlassian docs then03:30
msonntag left03:31
relipse hmm03:32
ok so instead of "cloning"03:32
cdg left03:32
relipse to make small3er03:32
I do the more dangerous thing03:32
and then push -f03:32
eka joined03:32
cdg_ left03:32
Goplat joined03:33
phrozensilver left03:35
govg joined03:36
Limes_ joined03:37
milki if all you care about is bitbucket, then you only need to git push -f03:37
and then you can throw away the local clone03:37
new clones of your bitbucket repo will be smaller03:38
relipse well oddly i did this yesterday and the bb size went from 1.8gb to 3.2gb03:38
so now i'm trying to figure out how to make it smaller03:39
milki if you cant access the repo directly on bitbucket, theres nothing additional you can do03:39
you just need to wait for the bitbucket magic to happen03:40
or tell them to force it to happen03:40
mhg_ joined03:40
cagedwisdom joined03:41
milki relipse: tldr: talk to bitbucket if their directions arent working for you03:41
mezod left03:41
milki you've done the things you can do with git alone03:41
theres nothing more to add03:41
pwnz0r left03:42
ash_workz joined03:42
Limes_ left03:43
DavidDudson joined03:44
mischat joined03:45
griotspeak left03:45
Uptime left03:46
Uptime joined03:46
msankhala joined03:46
relipse milki: i fear that my second command is not working: git for-each-ref --format="%(refname)" refs/original/ | xargs -n 1 git update-ref -d03:47
am I supposed to insert something in that statement myself?03:47
sleezd left03:47
sleezd joined03:47
griotspeak joined03:48
eka left03:49
mischat left03:49
sleezd left03:50
sleezd joined03:51
kadoban left03:51
BeatrixKiddo left03:53
spykins joined03:54
sleezd left03:55
joufflu joined03:56
sleezd joined03:57
Puhe_ left03:58
rpdprd left03:58
Shentino joined03:58
happy-dude left03:59
nnyk_ joined03:59
Guin joined03:59
rubyonrailed joined04:00
sleezd left04:02
sleezd joined04:03
sleezd left04:03
sleezd joined04:04
ixian joined04:05
sleezd left04:07
sleezd joined04:08
sleezd left04:09
durham left04:10
sleezd joined04:10
daito joined04:11
sdothum left04:11
theskillwithin left04:12
leb left04:12
msonntag joined04:12
toothrot left04:13
bronson left04:14
sleezd left04:15
sleezd joined04:16
daito left04:16
cjsarette left04:21
cjsarette joined04:21
abc123 left04:22
abc123_ joined04:22
oojacoboo left04:23
sleezd left04:23
d4rklit3 left04:23
sleezd joined04:23
sdothum joined04:23
joki left04:26
Guin left04:27
otter768 joined04:28
oojacoboo joined04:29
otter768 left04:32
joki joined04:33
TDJACR left04:37
raven-au joined04:39
jottr joined04:41
sleezd left04:42
sleezd joined04:42
griotspeak left04:43
sleezd left04:44
TDJACR joined04:45
sleezd joined04:45
mischat joined04:45
jottr left04:45
tristanp left04:45
tristanp joined04:46
DavidDudson left04:47
gopar left04:49
msankhala left04:49
gfixler joined04:50
msankhala joined04:50
BillCriswell joined04:50
mischat left04:50
msankhala left04:51
star_prone joined04:51
star_prone left04:52
star_prone joined04:53
Celelibi Can I selectively apply the hunks from a given commit?04:56
skapunker_ left04:56
Celelibi git checkout -p commit -- file04:57
sparetire_ left04:57
star_prone left04:57
nvahalik left04:59
tristanp left05:00
raijin left05:00
tristanp joined05:00
mhg_ left05:00
pacbard left05:01
mizu_no_oto joined05:02
tristanp left05:02
lamont joined05:02
lldoge left05:05
zacg left05:06
acetakwas joined05:06
mac_ified left05:08
skapunker joined05:11
tristanp joined05:11
blahdodo joined05:12
tristanp left05:12
weox joined05:12
sexaufspeed joined05:13
krawchyk left05:14
faux___ joined05:15
griotspeak joined05:15
mizu_no_oto left05:16
sexaufspeed left05:18
GT joined05:18
samw joined05:18
faux___ left05:19
relipse left05:19
bronson joined05:20
UTAN_dev left05:20
krawchyk joined05:21
phrozensilver joined05:21
krawchyk left05:21
cheetah2 joined05:21
arvind_k joined05:21
acetakwas left05:21
frem left05:22
samw left05:22
GT left05:23
arescorpio left05:23
jacksparrow007 joined05:24
cheetah2 left05:26
mizu_no_oto joined05:26
faux___ joined05:29
sdothum left05:29
SrPx left05:30
justanotheruser left05:30
justanotheruser joined05:30
cjsarette left05:31
strayPuppy left05:31
ajustrun left05:33
cjsarette joined05:36
Shentino left05:36
SrPx joined05:36
DavidDudson joined05:38
alanwill joined05:38
oojacobo_ joined05:40
oojacobo_ left05:40
DavidDudson left05:40
daito joined05:42
wxg left05:42
tarkus26172 joined05:42
SrPx left05:46
mischat joined05:46
daito left05:47
spykins left05:48
Lyqyd left05:49
mizu_no_oto left05:50
spykins joined05:51
faux___ left05:51
mischat left05:52
faux___ joined05:53
abacuspowers left05:53
cjsarette left05:57
rpdprd joined05:57
lactose joined05:58
hyperair joined05:59
phrozensilver left06:00
rpdprd left06:01
s00pcan left06:01
cjsarette joined06:03
josuebrunel joined06:04
eka joined06:04
zzz_ left06:04
eka left06:04
kaiza left06:04
Guest0 joined06:04
FireArrow133 left06:05
nnyk_ left06:05
UTAN_dev joined06:06
spykins left06:06
griotspeak left06:09
rpdprd joined06:09
josuebrunel left06:10
benbergman left06:10
cjsarette left06:13
ash_workz left06:14
griotspeak joined06:14
_cyril__ joined06:14
chucky_z left06:15
kzisme left06:15
benbergman joined06:16
cheetah2 joined06:22
durham joined06:23
govg left06:23
govg joined06:23
Kulrak left06:24
UTAN_dev left06:24
cheetah2 left06:26
otter768 joined06:29
faux___ left06:29
kzisme_ joined06:30
mcint joined06:31
cheetah2 joined06:33
otter768 left06:33
zipper joined06:34
zipper Hello there's this output that I get from a git fetch or a git pull that I don't quite get.06:35
* branch master -> FETCH_HEAD06:35
5fff8a6..a4e0aef master -> origin/master06:35
So what does the * mean in this case?06:35
and why is master pointing to both FETCH_HEAD and origin/master?06:36
and those two shortened checksums.06:36
durham left06:37
durham joined06:38
tarkus26172 left06:39
milki o06:39
there _are_ symbols there06:39
i actually never noticed06:39
i wonder if its documented06:39
man git fetch06:39
gitinfo the git-fetch manpage is available at http://jk.gs/git-fetch.html06:39
SimonNa left06:39
Kulrak joined06:40
Kulrak left06:40
Kulrak joined06:40
milki of course not -.-06:40
o06:40
no -.-06:40
jottr joined06:42
milki zipper: the ref part means that the remote's branch named master is stored as your local FETCH_HEAD, origin/master06:42
zipper: FETCH_HEAD is a special ref. used in fetching of course.06:42
zipper: which _is_ documented in man git fetch06:42
gitinfo zipper: the git-fetch manpage is available at http://jk.gs/git-fetch.html06:42
wallyduchamp joined06:43
milki zipper: dunno about the symbols though. from what i can tell, * corresponds to a new ref because it shows up with new branches06:43
griotspeak left06:43
zipper milki: Seems I don't know what FETCH_HEAD is. I know that HEAD is a pointer to the current branch.06:44
Shouldn't FETCH_HEAD and origin/master be the same though?06:44
jottr left06:46
zipper milki: I don't see any info on that in the man page.06:47
mischat joined06:48
Xuefer joined06:53
mischat left06:53
eb left06:53
Xuefer anyone know the format string of --pretty="oneline" ?06:53
eb joined06:54
zipper Xuefer: Format string?06:54
milki zipper: search for FETCH_HEAD in the man page06:54
zipper: its in the description section06:54
kaiza joined06:55
milki man git log06:55
gitinfo the git-log manpage is available at http://jk.gs/git-log.html06:55
danmulvey left06:55
milki well, it tells you waht oneline shows06:56
then further down, it tells you what symbols to use to get those06:56
Xuefer i'd like to use git log --format=something instead of --pretty=oneline, i want to add date/author to oneline format, but i can't reproduce the nice output of oneline yet06:56
milki though, the actual words they use dont match -.-06:56
o yeah, it probably has other formatting like whitespace and colours huh06:57
well06:57
its probably hardcoded in the sorce...06:57
Xuefer yeah, color of "oneline" is much better than mine06:57
zipper left06:58
subhojit777 joined07:00
milki wow07:00
no07:00
its a bunch of ifs07:00
i dont think you are gonna be able to replicate it07:00
https://github.com/git/git/blob/7d722536dd86b5fbd0c0434bfcea5588132ee6ad/pretty.c07:00
CMIT_FMT_ONELINE07:00
jagob joined07:01
milki it looks complicated07:01
yeshacker joined07:03
ncthom91 left07:04
yeshacker left07:06
devoldmx left07:10
kaiza left07:12
Gamecubic left07:12
mattcen left07:14
ome joined07:17
cheetah2 left07:20
durham left07:21
lldoge joined07:22
dsdeiz joined07:23
mehola joined07:23
imack joined07:24
gtristan joined07:26
gtristan Hi... How do I create a branch off of another branch (or master), without first switching to that branch ?07:27
dsdeiz git checkout -b <branch> <remote>/<remote branch>07:27
or i think something like git checkout -b <branch> <branch to branch off>07:28
gtristan I think: git branch new-branch original-branch07:29
checkout -b also switches to the branch07:29
gtristan is testing at the same time...07:29
gtristan Ok heres another question... How do I cherry-pick some commit *onto* another branch, which is not the active branch ?07:30
griotspeak joined07:30
MechtiIde joined07:32
phaleth joined07:33
gtristan hmmm, maybe not with cherry-pick command07:33
Better question: There are three branches: master, work-branch, dest-branch07:34
work-branch and dest-branch both diverge from master in some way07:34
BillCriswell left07:35
fwoefm joined07:35
gtristan I am on work-branch, and I want to apply a commit to dest-branch, *without* modifying my active branch state07:35
How can I do it ?07:35
fwoefm morning07:35
rubyonrailed left07:35
gtristan morning fwoefm07:35
fwoefm i dont even know how to phrase my question07:36
durham joined07:36
fwoefm i have a cms running on my server. the developer has the source code on github. i would like my server to update its copy using git. how do i do this?07:37
https://help.github.com/articles/using-pull-requests/ is confusing07:37
ah maybe git pull is different to a "pull request"?07:38
gtristan Ah here this is my question: http://stackoverflow.com/questions/13878904/git-cherry-pick-to-another-branch07:39
wallyduchamp fwoefm: it is indeed.07:39
opencard left07:39
wallyduchamp fwoefm: git pull is the command that you want to run on your server. a pull request is what a developer submits to a repository for review and possible integration into a project by its maintainer(s).07:39
gtristan Thats a bit dense though; https://github.com/lennartcl/gitl/blob/master/git-cherry-copy actually does modify the local branch state, only it hides it inside of a script07:40
Hmmm07:40
daito joined07:42
King_Hual joined07:45
King_Hual left07:45
King_Hual joined07:45
daito left07:47
gtristan Ok so the reason why; is basically I disagree with the answers provided here: http://stackoverflow.com/questions/19768959/how-to-review-a-specific-commit-on-git07:48
Its regarding gerrit, and it's ultimately annoying way of getting in the way of your work07:49
So I hope to abstract this away, I would like to "wrap" git-review with a git-review-one script07:49
mischat joined07:50
gtristan So that I dont have to annoyingly checkout hundreds of separate branches just to properly create non-dependant commits07:50
griotspeak left07:50
gtristan My approach was to hopefully have a "git-review-one <commit-id>" which would create a branch off of master, stage that specific commit-id onto that branch, and then use git-review of that branch07:51
msonntag left07:52
gtristan I hope to accomplish all of this without ever modifying the local branch state, so if anything fails or whatever, you have not modified your local state07:52
ffio joined07:52
durham left07:53
fwoefm left07:54
mischat left07:54
MechtiIde left08:03
MechtiIde joined08:06
ffio left08:06
msonntag joined08:06
lindenle left08:08
devoldmx joined08:11
Wetmelon left08:11
arup_r joined08:11
weox left08:12
Goplat left08:13
mrkake left08:13
devoldmx left08:15
toogley joined08:16
jagob left08:16
dsdeiz left08:17
elastix joined08:18
cheetah2 joined08:21
cheetah2 left08:22
cheetah2 joined08:22
heroux left08:23
mehola left08:23
mehola joined08:24
subhojit777 left08:27
jbudz joined08:27
milki gtristan: using git cli porcelain, you cannot update other branches with new commits. if you really want to, you could use plumbing to construct git objects the way you want to08:28
_cyril__ left08:28
milki gtristan: why are you afraid of changing local branch state?08:29
Sleepy63 joined08:29
milki gtristan: you could try using another clone of the repo or a new worktree08:29
aidalgol joined08:30
otter768 joined08:30
subhojit777 joined08:31
subhojit777 left08:31
_cyril__ joined08:31
gtristan milki, plumbing would be fine... honestly right now I have made a wrapper which does checkouts and it works well08:31
but I was thinking of proposing a patch to git-review proper, and thought it would be cleaner to do it without modifying local branch state08:32
jbudz left08:32
gtristan runs off for supper...08:32
milki gtristan: plumbing involves things like constructing tree objects, commit objects, new blobs, invoking the git merge strategies, etc08:33
lindenle joined08:33
milki gtristan: using a library like libgit would be better probably08:33
gtristan right, some lower level command line thingies :)08:33
hmm08:33
milki i dont know how to invokve git merge strategies o.O08:33
everything else is straightforward08:33
but merging is hard08:34
gtristan me neither, which is why I was coming here :D08:34
hehehe08:34
milki the python library i use, dulwich, explicitly does not implement merging08:34
otter768 left08:35
milki https://libgit2.github.com/libgit2/#HEAD/group/merge/git_merge_file08:35
looks like it does have parts08:35
all in "merge"08:35
so you could check those out08:35
_cyril__ left08:35
milki https://github.com/libgit2/libgit2/blob/HEAD/include/git2/merge.h08:36
Atrumx left08:36
cheetah2 left08:36
cheetah2 joined08:37
lindenle left08:38
milki gtristan: going all the way low level may not make it "cleaner"08:38
milki shrugs08:38
milki but doing it will let you learn so it would probably be fun to do08:38
rubyonrailed joined08:38
gtristan hehe08:39
Ok I haz to go eat :)08:40
milki, thanks for the pointer to libgit08:40
Kicer86 joined08:40
gtristan maybe I'll find some inspiration08:40
Guest0 left08:40
gtristan was sufficiently annoyed to give it a go to add some feature to git-review upstream, as I think I'm not the only one annoyed with the lack of that feature08:41
faux___ joined08:41
Limes_ joined08:42
milki i would just modify local state. its easy to understand. no changes are lost. easy to implement.08:42
jottr joined08:42
rubyonrailed left08:43
gtristan left08:45
faux___ left08:46
clemf left08:46
arup_r left08:46
jottr left08:47
pR0Ps left08:49
mischat joined08:51
pR0Ps joined08:51
heroux joined08:51
Outsider__ joined08:53
suffice joined08:53
mischat left08:56
Guin joined08:56
wethu joined08:56
Guin left08:57
Jackneill joined09:00
hans3000 joined09:00
hans3000 left09:00
hans3000 joined09:01
marcogmonteiro joined09:01
hans3000 left09:01
wethu left09:05
samw joined09:06
UTAN_dev joined09:08
elastix left09:10
samw left09:11
mattcen joined09:12
aidalgol left09:16
aidalgol joined09:17
mcint left09:19
thiago left09:21
cheetah2 left09:22
Guest0 joined09:23
nurupo left09:23
roxlu joined09:24
raven-au left09:24
raven-au joined09:24
mehola left09:27
subhojit777 joined09:27
mehola joined09:28
jbudz joined09:28
troulouliou_div2 joined09:29
mischat joined09:32
jbudz left09:32
MechtiIde left09:32
Dazzyp joined09:36
mischat left09:36
oojacoboo left09:39
raven-au left09:39
hardenedapple joined09:39
benbergman left09:41
Balliad joined09:43
raven-au joined09:43
daito joined09:43
lldoge left09:44
lg188 joined09:46
An_Ony_Moose left09:47
fracting joined09:48
daito left09:48
kaiza joined09:49
gtristan joined09:50
arvind_k left09:50
pantsman- joined09:51
raven-au left09:52
aidalgol left09:52
josuebrunel joined09:52
ahr3n joined09:53
raven-au joined09:53
Ragnar left09:54
mrkake joined09:55
raven-au_ joined09:56
raven-au left09:58
raven-au_raven-au09:58
mehola left10:01
kaiza left10:03
mrkake left10:05
Limes_ left10:05
_cyril__ joined10:06
Ragnar joined10:07
devoldmx joined10:11
Balliad left10:12
msankhala joined10:12
Balliad joined10:12
a-l-e left10:13
benbergman joined10:14
Nikhil_D left10:14
nydel09 joined10:15
Nikhil_D joined10:15
devoldmx left10:16
SrPx joined10:18
circ-user-LMoE9 joined10:18
SimonNa joined10:19
kaiza joined10:20
kaiza left10:20
raven-au left10:20
moei left10:20
moei joined10:21
gtristan How can I do a 'git show --oneline' which does NOT show the patch itself ?10:21
or how can I do git log --oneline --only-show-one-commit <commit> ?10:22
cheetah2 joined10:23
raven-au joined10:23
gtristan ah10:24
kaiza joined10:24
gtristan git log --oneline <commit> -110:24
magick and suspicious -1 at the end of command line :)10:24
darkschneider left10:26
darkschneider joined10:26
rubyonrailed joined10:27
raven-au left10:28
cheetah2 left10:28
jottr joined10:28
otter768 joined10:31
Balliad left10:31
rubyonrailed left10:33
SrPx left10:33
jottr left10:33
lindenle joined10:35
otter768 left10:35
SrPx joined10:36
D-Boy left10:38
jost_ joined10:38
josuebrunel left10:39
lindenle left10:39
aard_ joined10:40
jost left10:42
osse gtristan: git show -s10:42
m0viefreak joined10:44
raven-au joined10:46
TheTeapot joined10:47
Xuefer left10:47
sdeleon28 joined10:49
fracting left10:49
denimsoft joined10:51
troulouliou_div2 left10:52
gtristan osse, ah that works too, git show -s --oneline :)10:53
ciampix joined10:53
raven-au left10:54
eka joined10:56
UniFreak left10:56
raven-au joined11:00
DARSCODE left11:00
fscala left11:02
HelloAtMega joined11:03
denimsoft left11:03
nnyk_ joined11:04
fscala joined11:04
dopesong joined11:04
a3Dman left11:05
sdeleon28 Need help with pretty straighforward git checkout use case -> https://gist.github.com/sdeleon28/c282b1741d1c08c6ad5611:05
The_Phoenix joined11:05
sdeleon28 I've been trying for a while to no avail11:05
a3Dman joined11:06
ahr3n left11:07
pantsman- left11:08
The_Phoenix left11:09
gtristan sdeleon28, afaik you can just do 'git checkout ${branchname}' (without -b) and then 'git pull --rebase'11:11
osse sdeleon28: the restrictions you put on the local branch make it so that it's easier to just not have one11:11
gtristan git first will fail if the remote doesnt exist11:11
osse sdeleon28: git fetch; git reset --hard origin/foo. that's all you need11:11
gtristan s/git/the11:11
osse !deploy11:11
gitinfo Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html11:11
sdeleon28 gtristan: osse: git reset --hard origin/foo sounds like what I need11:13
toogley left11:14
sdeleon28 I'm still wrapping my head around some git concepts that are not that similar to hg, Thank you guys!11:14
TheTeapot left11:16
alanwill left11:18
osse sdeleon28: read the deploy thing for deeper info11:18
sdeleon28 osse: will do. thanks!11:19
stamina joined11:20
mrkake joined11:21
osse sdeleon28: think of it as you want to update the source to an arbitrary commit, not branch.11:22
WayToDoor joined11:23
D-Boy joined11:23
WayToDoor left11:24
WayToDoor joined11:24
sdeleon28 osse: Roger11:26
mrkake left11:27
elsevero joined11:29
jbudz joined11:29
Aboba left11:30
cagedwisdom left11:30
pozitrono joined11:32
eijk_ joined11:32
eka left11:33
xaa joined11:33
jbudz left11:34
TheTeapot joined11:35
Ragnar left11:36
eka joined11:37
SrPx left11:37
_nadim left11:41
cebor left11:42
SrPx joined11:42
msankhala left11:43
eka_ joined11:43
cebor joined11:43
fracting joined11:43
WayToDoor left11:44
daito joined11:44
Balliad joined11:44
mrkake joined11:45
SimonNa left11:45
lss left11:46
imack left11:46
eka left11:46
mingwandroid joined11:46
SrPx left11:47
MechtiIde joined11:48
cebor left11:48
daito left11:49
cebor joined11:49
fracting left11:49
eka_ left11:51
mrkake left11:51
Matrixiumn joined11:54
eka joined11:54
MatrixiumnXack11:56
trobotham joined11:58
rpdprd left12:04
abc123_ left12:07
abc123 joined12:07
SrPx joined12:08
root_murdoc joined12:08
Karkus joined12:09
elastix joined12:09
msankhala joined12:10
selimcal joined12:11
mrkake joined12:11
selimcal left12:11
TheTeapot left12:12
robbyoconnor left12:12
devoldmx joined12:12
robbyoconnor joined12:13
dopesong left12:13
pozitrono left12:13
root_murdoc left12:14
TheTeapot joined12:14
root_murdoc joined12:15
root_murdoc left12:15
root_murdoc joined12:16
root_murdoc left12:16
rubyonrailed joined12:16
skcin7 left12:17
root_murdoc joined12:17
ome left12:17
devoldmx left12:17
root_murdoc left12:17
root_murdoc joined12:18
strayPuppy joined12:19
TheTeapot left12:19
root_murdoc left12:19
eka left12:21
rubyonrailed left12:21
raven-au left12:23
cheetah2 joined12:24
dopesong joined12:25
alp82 joined12:25
Karkus left12:26
alp82 left12:26
mrkake left12:27
raven-au joined12:28
Schnurpsel joined12:28
Schnurpsel left12:28
cheetah2 left12:29
jottr joined12:29
msankhala left12:29
zeroed joined12:31
eijk_ left12:32
Schnurpsel joined12:32
otter768 joined12:32
Guest0 left12:32
eka joined12:32
Schnurpsel left12:33
eijk_ joined12:33
jottr left12:34
lindenle joined12:36
otter768 left12:36
root_murdoc joined12:37
dopesong left12:37
root_murdoc left12:37
jottr joined12:38
dopesong joined12:38
root_murdoc joined12:39
root_murdoc left12:39
bronson left12:39
eijk_ left12:39
root_murdoc joined12:41
lindenle left12:41
sdothum joined12:41
root_murdoc left12:41
samw joined12:42
jottr left12:43
Balliad left12:44
Karkus joined12:45
Balliad joined12:47
samw left12:47
eka left12:49
iLembus joined12:50
iLembus left12:51
iLembus joined12:51
GT joined12:51
eka joined12:52
mrkake joined12:53
jottr joined12:54
_nadim joined12:54
TheTeapot joined12:56
stamina left12:58
raven-au left12:58
Balliad left12:58
jottr left12:58
fstd left12:59
fstd joined12:59
Balliad joined13:00
cheetah2 joined13:01
mrkake left13:01
raven-au joined13:02
nuge joined13:03
ahr3n joined13:04
fracting joined13:04
ahr3n left13:08
jottr joined13:09
leeN joined13:09
DenysLins joined13:11
cheetah2 left13:11
jayeshsolanki joined13:11
imack joined13:13
arex\work joined13:13
jottr left13:14
arex\work I want to remove several folders from my git repo, including from the history. Is this the best apporach? git filter-branch --tree-filter 'rm -rf folder1 && rm -rf folder2' --prune-empty HEAD13:14
It is a pretty large repo, so it takes a long time, and I seem to run out of memory during the operation13:16
CussBot left13:16
CussBot joined13:16
cbreak arex\work: if you want it to be faster, use index-filter13:18
(you'll have to change the filter code too)13:18
Balliad left13:19
arex\work cbreak, so I can achieve the same thing with index-filter?13:19
denimsoft joined13:20
Balliad joined13:20
cbreak sure.13:20
arex\work: man git-filter-branch13:20
gitinfo arex\work: the git-filter-branch manpage is available at http://jk.gs/git-filter-branch.html13:20
cbreak there's at least one example13:21
arex\work thanks13:21
gaen joined13:24
d0nn1e left13:24
sazed joined13:24
Balliad left13:25
nurupo_ joined13:25
d0nn1e joined13:25
Balliad joined13:27
nurupo_nurupo13:27
Karkus left13:29
elsevero left13:30
denimsoft left13:30
Sasazuka joined13:30
elsevero joined13:30
jbudz joined13:31
jbudz left13:35
elsevero left13:36
reim joined13:36
localuser- joined13:36
lindenle joined13:37
mrkake joined13:40
lindenle left13:42
TheTeapot left13:42
Sasazuka left13:44
ciampix left13:44
daito joined13:45
skapunker left13:45
jstimm left13:46
wethu joined13:46
wethu left13:46
wethu joined13:46
jstimm joined13:47
skapunker joined13:47
beastd joined13:48
marcogmonteiro left13:48
daito left13:49
gtristan left13:50
oxsyn left13:50
elastix left13:56
nuge left13:56
mrkake left13:56
eka left13:58
raijin joined13:58
linduxed left13:58
Balliad left13:59
The_Phoenix joined14:02
linduxed joined14:02
blackwind_123 left14:02
Balliad joined14:03
oxsyn joined14:03
rubyonrailed joined14:05
Gamecubic joined14:05
blackwind_123 joined14:05
tayfun joined14:06
mezod joined14:06
eka joined14:09
gtristan joined14:09
graSP joined14:09
SrPx left14:10
rubyonrailed left14:10
jottr joined14:10
eka left14:11
KtoTo joined14:11
jost_ left14:11
cheetah2 joined14:11
Balliad left14:12
devoldmx joined14:13
cjsarette joined14:13
raven-au left14:13
hhee joined14:14
rpdprd joined14:14
jottr left14:15
cjsarette left14:15
skapunker left14:16
cheetah2 left14:16
zeroed left14:17
devoldmx left14:17
David1977 joined14:18
yoh_ left14:18
jost_ joined14:19
hhee guys, i want to develop some web-related stuff, my virtual machine will be a server.(both - linux based) where is quick ref to start working with? :)14:19
cbreak hhee: why not a mac?14:20
graSP left14:21
fracting left14:22
hhee cbreak, well..... i more like linux (and what i read about mac - i dont like) and, by the way they expensive too (as for me)14:22
raven-au joined14:22
hhee cbreak, in russia many it - related people dont like them (it's my opinion of mac world here)14:24
TomyLobo joined14:24
elastix joined14:24
mrkake joined14:24
cbreak Yes... I guess individuality and freedom isn't for everyone :)14:24
but really, for git it doesn't matter14:24
Jackneill left14:25
elastix left14:25
hhee cbreak, right. but your freedom maybe like oasis, you know that mac that is, but it may be fiction :) yeah14:25
raijin left14:26
raijin joined14:26
hhee often things are not like it seems14:26
cbreak and often they are :)14:27
darkschneider left14:27
mrkake left14:27
darkschneider joined14:27
netcarver joined14:28
hhee cbreak, corporates need your money :) freedom individuality - buzz advertising words, no more. in world where profit in billion :)14:28
cbreak I see, you have never tasted true freedom :)14:29
zeroed joined14:29
cbreak "Screw the Rules, I have green hair!"14:29
zacg joined14:29
zacg left14:29
zacg joined14:29
hhee cbreak, but if they can make to to believe that only with their things you are freedom - they eeeasily may sell you their stuff :)14:29
cbreak, you think you know a lot about freedom. funny reading that :) freedom == mac? :)14:30
go away from you house and see what really fredom is14:30
cbreak no14:31
freedom == not being bothered by stupid restrictions14:31
hhee well, you begin with another words above :)14:31
skapunker joined14:31
graSP joined14:31
hhee but your right in smth - Yes... I guess individuality and freedom isn't for everyone :)14:32
:)14:32
raijin left14:32
otter768 joined14:33
yoh joined14:33
hhee not wear green hair :)14:33
graSP left14:35
xaa left14:36
otter768 left14:38
justanotheruser left14:38
lightstalker left14:38
ahr3n joined14:39
seg left14:40
bronson joined14:40
seg joined14:40
faux___ joined14:41
lightstalker joined14:41
SrPx joined14:42
cdg joined14:43
ahr3n left14:44
faux___ left14:45
faux___ joined14:45
bronson left14:45
cdg left14:48
doener left14:48
reim left14:50
macmod joined14:50
macmod left14:50
macmod joined14:51
hvoigt joined14:54
cdg joined14:55
s00pcan joined14:57
Limes_ joined14:59
SimonNa joined14:59
reim joined15:00
star_prone joined15:02
Jackneill joined15:03
zeroed left15:04
jbudz joined15:06
circ-user-LMoE9 left15:11
ciampix joined15:12
dermoth_ joined15:12
jmpp left15:13
dermoth left15:13
cheetah2 joined15:13
dermoth_dermoth15:13
jottr joined15:14
fscala left15:14
sarri left15:16
fscala joined15:17
cheetah2 left15:18
jottr left15:18
jbudz left15:19
ncthom91 joined15:19
Karkus joined15:20
subhojit777 left15:20
leTali joined15:21
keroro520 joined15:24
faux___ left15:26
pacbard joined15:28
sanketdg joined15:28
italoacasas joined15:29
mcint joined15:30
subhojit777 joined15:31
iLembus_ joined15:33
CheckDavid joined15:33
Ragnar joined15:34
absk007 joined15:35
tayfun left15:37
ciampix left15:38
Aboba joined15:41
ncthom91 left15:43
jottr joined15:44
denimsoft joined15:45
dantix joined15:45
lu_zero left15:45
daito joined15:46
circ-user-LMoE9 joined15:46
David1977 left15:47
synthmeat left15:47
lu_zero joined15:47
lu_zero left15:47
lu_zero joined15:47
jayeshsolanki left15:48
jottr left15:50
daito left15:50
ajustrun joined15:50
wethu left15:51
synthmeat joined15:52
mac_ified joined15:52
iLembus_ left15:53
iLembus left15:53
sparetire_ joined15:56
arup_r joined15:57
mariuscc joined16:01
skul left16:02
mizu_no_oto joined16:02
Limes__ joined16:04
denimsoft left16:04
m0viefreak left16:04
diegoviola joined16:04
netj left16:05
netj joined16:05
jmpp joined16:06
abc123 left16:06
abc123_ joined16:06
faux___ joined16:07
Limes_ left16:07
denimsoft joined16:07
TheFlyingCorpse_ joined16:09
jmpp left16:10
elastix joined16:11
TheFlyingCorpse left16:11
Limes_ joined16:11
mizu_no_oto left16:12
fracting joined16:12
elastix left16:12
sarri joined16:12
elastix joined16:13
reim left16:13
mahendra_ joined16:13
devoldmx joined16:14
Limes__ left16:14
netcarver left16:14
cheetah2 joined16:14
reim joined16:14
foul_owl left16:15
NashvilleDev joined16:17
gitinfo set mode: +v16:17
mizu_no_oto joined16:17
elastix left16:17
NashvilleDev Hello all... I am building an ASP.NET app, trying to configure a global .gitignore file, but it is not working, can someone assist?16:18
devoldmx left16:18
cheetah2 left16:19
_Atom_ joined16:19
Karkus How can I run git reset on all but one files?16:19
reim left16:19
NashvilleDev Can someone help me configure my global .gitignore on windows powershell..16:20
keroro520 left16:21
griotspeak joined16:21
faux___ left16:23
_ikke_ NashvilleDev: What is not working?16:24
Shentino joined16:25
sleezd left16:26
sleezd joined16:26
bewbs joined16:27
foul_owl joined16:28
fracting left16:29
mcint left16:30
dantix left16:31
mahendra_ left16:32
otter768 joined16:33
rubyonrailed joined16:34
NashvilleDev I fixed it.. thanks _ikke_16:34
NashvilleDev left16:34
adgtl joined16:38
otter768 left16:38
waspinator joined16:38
rubyonrailed left16:39
mahendra_ joined16:39
clemf joined16:39
root_murdoc joined16:40
ahr3n joined16:40
root_murdoc left16:40
dantix joined16:40
root_murdoc joined16:41
pozitron joined16:41
root_murdoc left16:41
denimsoft left16:41
skul joined16:42
keroro520 joined16:44
ahr3n left16:44
victorgama joined16:48
xaa joined16:49
keroro520 left16:49
keroro520 joined16:49
Karkus left16:50
pozitron left16:51
italoacasas left16:52
blackwind_123 left16:52
italoacasas joined16:52
rubyonrailed joined16:53
mikeybisbo joined16:54
localuser- left16:54
blackwind_123 joined16:54
localuser- joined16:54
rubyonrailed left16:57
happy-dude joined16:58
star_prone left16:58
star_prone joined16:58
bitri joined16:58
localuser- left17:00
keroro520 left17:00
localuser- joined17:01
bitri left17:01
roentgen left17:01
ncthom91 joined17:02
joufflu left17:02
phaleth left17:03
DenysLins left17:04
justanotheruser joined17:04
phaleth joined17:04
weox joined17:04
jmpp joined17:06
nnyk_ left17:07
jayeshsolanki joined17:07
Yeomra left17:08
bitri joined17:09
bitri left17:09
adgtl left17:10
roxlu left17:11
thiago joined17:12
jmpp left17:12
Yeomra joined17:13
zacg left17:13
Karkus joined17:13
dantix left17:14
heroux left17:14
phaleth left17:14
cheetah2 joined17:15
Ahmed90 joined17:16
phaleth joined17:17
zadock joined17:17
griotspeak left17:19
dantix joined17:19
cheetah2 left17:20
dreiss joined17:20
govg left17:22
sangy joined17:23
macmod left17:23
frobnic joined17:23
faux___ joined17:24
g_ joined17:24
g_Guest6761217:24
zzz joined17:27
JanC left17:28
faux___ left17:29
CheckDavid left17:29
ItSANgo left17:32
Dev0n left17:32
bahar left17:32
Tronsha left17:32
hide left17:32
sdeleon28 left17:32
Wetmelon joined17:32
ItSANg___ joined17:32
felixjet_ joined17:32
heroux joined17:32
_nadim left17:32
madewokherd` joined17:32
diameter1 joined17:32
The_Phoenix1 joined17:32
Infamous_ joined17:32
Imaginat_ joined17:32
sazed left17:32
sdeleon28 joined17:32
madewokherd left17:32
hide joined17:32
nellicus_ joined17:33
Noldorin joined17:33
adgtl joined17:33
The_Phoenix left17:33
MrWoohoo left17:33
djh left17:33
esc left17:33
ahf left17:33
Dev0n joined17:33
djh joined17:33
ahf_ joined17:33
esc joined17:33
esc left17:33
esc joined17:33
strayPuppy left17:33
Ranhir joined17:33
felixjet left17:34
tterrag left17:34
Tronsha joined17:34
ahf_ahf17:34
ygeLN joined17:34
zotherstupidguy joined17:34
Guest67612 left17:35
Tryop88 joined17:36
cdg left17:37
DolphinDream joined17:37
zzz_ joined17:38
FireArrow133 joined17:38
ghostlines joined17:39
zzz left17:40
sangy left17:40
Almis90 joined17:42
tterrag joined17:43
strayPuppy joined17:43
JanC joined17:43
flaguy48 left17:44
griotspeak joined17:45
adgtl left17:45
Almis90 Hello guys, I writing git status and see that there are some changes but when I write git add . all changes are still there... I tried git add *, git add . --force, git add --all nothing works17:46
daito joined17:46
ntio left17:46
jottr joined17:47
jost_ left17:48
Noldorin left17:49
canton7 Almis90, pastebin the output of 'git status'?17:49
nanga left17:50
cjsarette joined17:50
zzz_ left17:50
imack left17:50
mariuscc left17:51
daito left17:51
Almis90 http://pastebin.com/k7X4KvE717:51
jottr left17:51
ciampix joined17:51
nanga joined17:52
nanga left17:52
nanga joined17:52
rubyonrailed joined17:53
roentgen joined17:53
roentgenGuest2868117:54
Yeomra left17:55
Guest28681 left17:55
griotspeak left17:55
adgtl joined17:55
roentgen_ joined17:56
D-Boy left17:57
griotspeak joined17:57
Xack left17:58
rubyonrailed left17:58
marlinc left17:58
sam_ joined17:59
erste left18:00
Neico joined18:00
marlinc joined18:00
Matrixiumn joined18:00
tterrag left18:00
adgtl left18:01
jayeshsolanki left18:01
deed02392 joined18:01
tterrag joined18:01
Almis90 canton7 you still herE?18:01
canton7 yep, sorry you didn't ping me so I didn't notice you'd replied18:01
righty, so you've got some staged deletions, andsome unstaged additions18:02
(also looks like you're tracking a directory which contains build output, which is a very bad idea)18:02
tomog999_ joined18:02
canton7 are you sure smarty isn't just changing files faster than you can tell git about them, or some such?18:03
Almis90 yes you right, I using it mostly for backup18:03
MatrixiumnXack18:03
Almis90 I dont think so, the website is not under development18:03
mahendra_ left18:03
Almis90 is *18:03
dreiss left18:04
canton7 righty, so what's the output of 'git status' if you 'git add cache'?18:04
victorgama left18:04
tomog999 left18:05
ril joined18:05
cjsarette left18:05
ciampix left18:07
Almis90 http://pastebin.com/JNPtnFww18:08
jmpp joined18:08
canton7 looks like they were all added fine18:09
dreiss joined18:10
canton7 'git add .', 'git add --all', 'git add -u', 'git add *', or any of those sorts of things should have done the smae18:10
Almis90 Ok I will try again18:10
fahadash joined18:11
cjsarette joined18:11
sangy joined18:13
xcesariox joined18:13
jmpp left18:14
devoldmx joined18:14
netj left18:16
subhojit777 left18:16
cheetah2 joined18:16
netj joined18:16
Yeomra joined18:17
mizu_no_oto left18:17
cjsarette left18:18
SrPx left18:18
subhojit777 joined18:18
Lowell What about git rm?18:19
devoldmx left18:19
cjsarette joined18:20
canton7 he was trying to stage modified files, not deletions18:20
Lowell K18:20
roentgen_ left18:21
cheetah2 left18:21
roentgen_ joined18:21
cdg joined18:22
Yeomra left18:22
texasmynsted left18:22
D-Boy joined18:23
hyperair left18:23
dreiss left18:24
texasmynsted joined18:25
faux___ joined18:25
flaguy48 joined18:25
Lyqyd joined18:27
faux___ left18:30
zzz joined18:30
subhojit777 left18:30
NashDev joined18:31
bronson joined18:31
SrPx joined18:32
stamina joined18:32
subhojit777 joined18:32
nanga left18:32
nanga joined18:34
nanga left18:34
nanga joined18:34
otter768 joined18:34
Yeomra joined18:35
bewbs i fucking hate git sometimes18:36
28 conflicts. revert them. stash pop, 28 conflicts still18:36
griotspeak left18:37
NashDev left18:37
bewbs resolved using mine18:37
still 28 conflicts18:37
ghostlines left18:37
phaleth left18:37
bewbs resolved using hteirs, still 28 conflicts18:37
bronson left18:37
cjsarette left18:37
cjsarette joined18:37
edisto joined18:38
phaleth joined18:38
_nadim joined18:39
bewbs this is fucking amazing!18:39
Almis90 left18:39
otter768 left18:39
bewbs git decies to add random ass text to my files that i have to manually delete18:39
dopesong left18:39
Goplat joined18:39
geoid joined18:41
toothrot joined18:41
ahr3n joined18:41
_Atom_ left18:41
jmpp joined18:42
beatdown joined18:42
abc123_ left18:42
abc123 joined18:43
rubyonrailed joined18:43
roentgen_ left18:44
t0by joined18:45
roentgen joined18:45
ahr3n left18:45
cagedwisdom joined18:45
dantix left18:46
qsuscs bewbs: !eek18:46
gitinfo bewbs: [!eekaconflict] Merge conflicts are a natural part of collaboration. When facing one, *don't panic*. Read "How to resolve conflicts" in man git-merge and http://git-scm.com/book/ch3-2.html#Basic-Merge-Conflicts then carefully go through the conflicts. Picking one side verbatim is not always the right choice! A nice video explaining merge conflicts: https://www.youtube.com/watch?v=zz7NuSCH6II18:46
otter768 joined18:46
jottr joined18:47
bewbs i know how it works18:48
faux___ joined18:48
bewbs i've resolved the conflicts18:48
i've deleted them18:48
i've reverted them18:48
t0by (of course merge conflicts sometimes are NOT a natural part of collaboration but the result of some dork committing whitespaces and blank lines by mistake)18:48
bewbs but it still screams about them18:48
t0by and did you git add the resolved files? :)18:49
bewbs i've tried everything short of reverting the entire project18:49
sanketdg left18:49
gtristan bewbs, that is the only time I have problems too, friggn stash conflicts18:49
bewbs it's driving me insane18:49
and resetting hte project isn't an option18:50
i need these stashed files18:50
gtristan bewbs, this is how I am now working around it: git stash show -p > ~/patchfile18:50
bewbs well, thousands of tohers stashed files18:50
gtristan patch -p1 < ~/patchfile18:50
commit18:50
well, commit after conflict fix, of course18:50
that or, create patch from stash; drop stash, apply patch & fix conflicts, then re-create stash18:51
bewbs unfortunately i am not terribly skilled with git18:52
just enough to get through the basics18:52
xcesariox left18:52
Torne joined18:52
bronson joined18:52
Torne Where does the win32 git installer store the autocrlf setting? It doesn't appear to be in the user global configuration, or in any file in the git install dir that I can find18:52
jottr left18:53
bewbs when it says there is a conflict, that means the files in the stash can't be merged with the new files right?18:53
edisto I just did a git reset --HARD^^ and am trying to upload the changes I wanted to make rather than the last two I made... But now it says my branch is up to date. How do I recalibrate to show the repository I've made changes?18:53
_ikke_ bewbs: correct18:53
edisto er --hard HEAD^^18:53
Dumle29 joined18:54
faux___ left18:54
bewbs how do i make it ignore files with conflicts18:54
and merge everything else18:54
gtristan bewbs, when you run git stash apply or git stash pop, it does something weird18:54
i.e. when there are conflicts18:54
bewbs using tortoisegit, i right click and resolve, but that doesn't work18:55
i resolve using theirs or mine, same result18:55
i revert, same result18:55
rubyonrailed left18:55
rubyonra_ joined18:55
gtristan when there are conflicts with normal commits, interactive rebases, or cherry-picks, everything makes sense18:55
_ikke_ bewbs: That's because the conflict is not recorded in the index18:55
gtristan but git diff shows you like, "only the conflict" after a stash conflict18:55
_ikke_ bewbs: with git stash apply, it only records the conflict in the file itself18:56
durham joined18:56
gtristan while git diff HEAD shows you something different :-S18:56
WayToDoor joined18:56
bewbs will git stash apply alter anything18:56
_ikke_ it alters your working tree18:56
bewbs which is hte files i have18:57
_ikke_ correct18:57
bewbs what files does it alter18:57
NashDev joined18:57
edisto crap I just deleted all teh changes I made with that --hard HEAD^^ how do I undo?18:58
bewbs you don't18:58
gtristan hahaha edisto they are actually somewhere still in your history18:58
_ikke_ edisto: were those uncomitted changes?18:58
gtristan I recall recovering from a misguided git reset --hard, *because* I happened to have an output of git log --oneline sitting around18:59
bewbs i need a way to pop this stash without losing all my changes. i have backed up the conflicts, but i can't get rid of the conflicts18:59
i absolutely need everythign else though18:59
edisto _ikke_: I commited them but forgot to delete files so that is why I was resetting18:59
devoldmx joined19:00
edisto _ikke_: so I just want like 3 files from those commits19:00
durham left19:00
gtristan bewbs, just work around it: git stash show -p will give you an output that is a "patch"19:00
_ikke_ edisto: use git reflog to find the commits19:00
edisto: then checkout the files from those commits19:00
durham joined19:00
gtristan takes note of awesome reflog command :)19:00
bewbs i have over a hundred files that are altered19:01
geoid left19:01
bewbs over 3000 lines in the stash19:01
_ikke_ That's a big stash you made then19:01
bewbs it is very big19:01
i need it for my version19:01
_ikke_ bewbs: Do you have any uncommitted changes you need to keep? (anything either not in the stash, and not comitted)19:01
bewbs: What kind of merge conflicts do you have?19:02
bewbs nothing is comitted, everything is stashed19:02
NashDev left19:02
bewbs 28 files that i don't care about19:02
67 lines added, 4 lines removed19:02
_ikke_ Can't you just checkout those files from the index?19:03
edisto _ikke_: I see the commit HEAD@{2} so how do I go about checking out a few files on this commit?19:03
_ikke_ edisto: git checkout @{2} path/to/file19:03
bewbs you said words that i understand independently, but not when you string them together19:03
_ikke_ bewbs: git checkout <file> for each file you don't care about19:03
CheckDavid joined19:06
bewbs how do i paste in the command window19:06
_ikke_ Are you on windows?19:06
bewbs yup19:07
typically it would be right click19:07
_ikke_ right click19:07
stamina left19:07
_ikke_ yeah19:07
bewbs no such luck19:07
_ikke_ then right click on the top left icon, there is a paste item there19:07
m0viefreak joined19:08
saidi joined19:08
saidi left19:08
saidi joined19:08
discipline left19:08
saidi left19:09
discipline joined19:09
saidi joined19:10
edisto whew....19:10
_ikke_: thanks19:10
elastix joined19:10
durham left19:11
roentgen left19:12
Rvir joined19:12
Rvir left19:13
roentgen joined19:14
stamina joined19:14
aard_ left19:15
mingwandroid left19:15
saidi left19:16
ril left19:16
saidi joined19:16
saidi left19:16
saidi joined19:16
otter768 left19:16
bewbs git checkout file.lua19:17
SrPx left19:17
bewbs error: pathspec 'did not match any files known to git'19:17
eb left19:18
eb joined19:19
SrPx joined19:20
bewbs right clicking each conflict and going to edit, then delete seems to be fixing it19:23
but i can't do more than one19:23
at a time19:23
rubyonra_ left19:23
rubyonrailed joined19:23
sangy bewbs: I'm not sure, do you want to reset all unstaged changes in a file? git checkout -- file.lua would do the trick. Also check git checkout --theirs/--ours file.lua19:24
Guest0 joined19:24
anchorite joined19:25
LeBlaaanc joined19:25
bewbs nevermind...19:26
it didn't work19:26
i'm going to lose so much fucking work, i hate this thing19:26
santi_ joined19:27
johnw why would you lose work?19:27
_ikke_ What happens when you just checkout those files that you don't want to keep19:27
bewbs it says hte file doesn't exist19:27
i can't pop the stash19:27
MechtiIde left19:28
johnw so, the data is *there*19:28
faux___ joined19:28
johnw you can always check out the stash itself in a copy of the repository, if you must19:28
bewbs 150 files, 2823+ lines, 2313- lines, non-versioned=80, deleted 35, conflicted 2819:28
saidi left19:29
bewbs why is an issue like this even possible19:29
i don't understand why there is a conflict19:29
i don't understand why i can't get rid of hte conflict19:29
saidi joined19:29
saidi left19:29
saidi joined19:29
bewbs or revert, or undo, or anything19:29
johnw can you paste me what "git status" says right now?19:29
bewbs it's like 10 pages19:30
johnw ok. first things first19:30
bewbs andi can't right click at all in my git bash for some reason19:30
johnw copy this repository elsewhere, so that we have a backup19:30
sdeleon28 left19:30
sleeparrow joined19:30
bewbs copying now19:31
15k files, gonna take a minute19:31
ChanServ set mode: +vvv19:31
johnw after that is done, use "git reset --hard HEAD", and then make sure that "git status" is now clean19:31
and then try to apply your stash, to get back to your previous state19:31
sleeparrow left19:32
bewbs conflicts19:32
johnw "git status" was clean a moment ago?19:32
bewbs nope19:32
there's some untracked files that are mine19:33
johnw but untracked files were the only things there?19:33
bewbs yup19:33
johnw ok, was the conflict with any of those files?19:33
faux___ left19:33
joufflu joined19:33
bewbs nope19:33
WABDHFL joined19:33
localuser- left19:33
johnw ok19:33
zotherstupidguy left19:33
johnw now, check out "git stash list"19:33
it will tell you which commit your stash was made against19:34
bewbs only one19:34
johnw "<description>: <commit id> <description>"19:34
localuser- joined19:34
johnw we're now going to git reset --hard <commit id>19:34
bewbs stash@{0}: WIP on master: 8df5ae2 database update19:34
johnw to take us back to the commit against which the stash was made19:34
right19:34
git reset --hard 8df5ae219:34
then try to "git stash apply"19:34
bewbs what is apply vs pop19:35
johnw pop deletes the stash after successfully applying19:35
apply keeps it around19:35
bewbs gotcha19:35
saidi left19:35
bewbs success19:35
no conflict19:35
johnw excellent, now you see all your modified files in "git status"?19:35
bewbs yup19:36
as moidified19:36
nnyk_ joined19:36
johnw ok, here's what I would do at this point19:36
saidi joined19:36
skylite joined19:36
johnw create a new branch, and start making commits into this branch from your modifications19:36
make multiple branches if necessary19:36
zotherstupidguy joined19:36
MechtiIde joined19:36
johnw then, we can checkout the original master branch again, and use git reset --hard to go back to where it was originally19:36
asdofindia left19:36
johnw and then start merging in these new branches you made, as a way to get your content into the mainline19:37
bewbs what if i just deleted the 28 files here19:37
or reverted19:37
johnw is that what you want?19:37
bewbs then updated19:37
then add htem back in19:37
johnw well, sure19:37
that's another way to do it19:37
just move them to another directory19:37
go back to origin/master (or wherever you were), and then copy them back in19:37
bewbs already have backup copies of htem19:37
johnw ok19:37
yes, this will work too19:37
one thing to remember about Git: it's *extremely* hard to actually lose work19:38
clmsy joined19:38
johnw it's a question of knowing how to extract the information it has stored19:38
Sasazuka joined19:38
johnw in general, the last 30 days of whatever you have done is in your repository, somewhere19:38
bewbs odd19:39
these files are now ?19:39
i can't revert19:39
johnw you can always revert with git reset --hard19:39
that forces your repository and your working tree to be at a certain commit19:40
the only thing it doesn't do is touch untracked files19:40
bewbs ok i'm going to create a new stash now right19:40
johnw I wouldn't use the stash any more19:40
not today19:40
do this manually19:40
netj left19:40
bewbs i deleted hte 28 files, i want to make a new stash, then pull, then apply the new one, don't i?19:40
johnw the stash is just a poor man's temporary feature branch, it's meant for rather simple use cases; and it doesn't seem that you are in a simple scenario right now19:41
no19:41
just pull19:41
then copy those files from your backup of them19:41
bewbs but there are 150+ other files that are altered19:41
that weren't conflicts19:41
johnw ah, I see19:41
bewbs just the 28 i couldn't resolve19:41
johnw ok, then I would do this:19:41
take the current state of your repository, after the git stash apply19:41
and turn that entire state into a branch, rather than a stash:19:42
Lyqyd left19:42
dopesong joined19:42
johnw git checkout -b feature ; git commit -a -m "Everything that was in my stash"19:42
then pull19:42
then: git merge feature19:42
this way, it will happen *even if there are conflicts*19:42
and you can then resolve those conflicts by hand19:42
bewbs when you say 'everything that was in my stash'19:42
netj joined19:42
bewbs does that mean typing out everything in the stash19:43
johnw no19:43
bewbs ok19:43
johnw just git reset --hard HEAD, and git stash apply again19:43
jwest left19:43
johnw since we didn't use "pop", it's still there19:43
and now, commit *all* of those changes into a branch19:43
branches can be easier to work with than stashes19:43
bewbs that's not something i am familiar with doing19:43
johnw git checkout -b feature ; git commit -a -m "Everything that was in my19:44
stash"19:44
guacjack joined19:44
edisto I am getting a HEAD deatched from, when I do git status... how do I reattach the head?19:44
johnw edisto: it means you checked out a commit that is not represented by a ref19:44
bewbs do i have to name it at some point?19:44
johnw edisto: you need to "git checkout" the name of a ref19:44
bewbs what should i put in the quotes19:44
johnw bewbs: the command I gave you above will name it "feature"19:44
bewbs ah19:44
johnw in the quotes: put any description you want19:44
guacjack Hello folks, just got a quick question, When a PR is opened on GitHub with for example 5 commits, when that pull request is merged into the requested branch via GitHub... are the commits squashed? Apologies if this is not the correct place for a GitHub question19:45
johnw no, they are not squashed19:45
Puhe_ joined19:45
ajustrun left19:45
johnw if you want that, you can merge them at the command-line19:45
bewbs i did git pull, it said no tracking info for current branch19:45
guacjack ah yeah I knew that already just wondered if GitHub did that already19:45
thanks :D19:45
johnw bewbs: use 'git checkout <foo>' to go back to the previous branch you were on19:46
whatever <foo> was called (probably master)19:46
bewbs i was on master19:46
johnw bewbs: before continuing19:46
do: git diff master feature19:46
to make sure it looks like everything you had on you stash19:46
guacjack Is it normal practice to ask the person submitting the PR to squash them into a normal manner rather than random ones like 'Fix stuff' etc19:46
johnw guacjack: that entirely depends on the project and its own standards19:47
bewbs ok i've switche dto mater and pulled19:47
johnw bewbs: now "git merge feature"19:47
bewbs how do i merge with feature branch19:47
johnw expect it to report conflicts19:47
daito joined19:47
bewbs 2034 files changed, 26725 inserts, etc19:47
i can't scroll up far enough to see it all19:47
guacjack cool, just wanted to be sure cause I merged a PR and closed it and i have all 5 commits from that persons branch, when I thought they would be squashed into the 'Merge pull request ...' commit19:47
johnw bewbs: anyway, now begins the work of resolving the merge19:48
strayPuppy left19:48
guacjack Thanks for the help johnw19:48
johnw guacjack: sure thing, easy questions are always welcome :)19:48
guacjack johnw wasnt sure if this was the right place for a GitHub question.. always nice to speak to a friendly community19:49
johnw there's also #github19:49
bewbs how can i go about resolving the merge19:49
johnw which technically is the better place, but I wager many of us here use GitHub also19:49
bewbs: that's a separate question from your previous problem, and not one I can answer without standing behind your shoulder to see what you see19:49
bewbs i see19:50
wallyduchamp left19:50
johnw we've at least restored your work from the stash, and attempting to merge it with the current master19:50
bewbs so i have an updated version, then this branch that has all my stuff19:50
johnw you have "feature", which contains all your previous work19:51
and you have a merged master now, which attempted to combine the two19:51
and you've got a bunch of conflicted files, where that could not be done automatically19:51
guacjack left19:51
johnw you have to edit each conflict files, resolve the merge markers by hand, and then "git add" that file to state that you've resolved the conflict19:51
often a GUI tool can make this easier to do19:52
since it sounds like you've got many conflicts19:52
daito left19:52
bewbs i ahve tortoisegit19:52
as well19:52
johnw ah, I'm not a Windows person, so I have no idea how to proceed with that tool19:52
bewbs it's fairly simple19:52
johnw anyway, once every merged file has been resolved, then you "git commit" to complete the merge19:53
assuming you've tested that it still builds and passes tests, or whatever your metric is for quality19:53
but everything you did is in "feature", so your work cannot be lost19:53
bewbs all my configs have been reverted19:53
i am not sure how to retrieve feature19:53
johnw what do you mean by "retrieve"?19:54
Darcidride joined19:54
bewbs the information in it19:54
johnw so, you can always checkout that branch at any time, if your working tree is in a good state19:55
or, you can copy your repository to another place, wipe out its changes, and then checkout that branch19:55
nnyk_ left19:55
johnw the point of the merge is to combine the work done in feature with the current state of the project19:55
bewbs i appreciate your help19:55
wallyduchamp joined19:55
johnw good luck!19:55
bewbs thank you19:55
and i appreciat eyour patience19:55
_ikke_ johnw: thanks for helping him19:55
ajustrun joined19:56
johnw my heart goes out to anyone who is frustrated with Git while trying to get real work done19:56
HelloAtMega left19:56
bewbs the number of people who know how to use git, and the number of people who use git, are two very different numbers19:56
mac_ified left19:56
bewbs the truth is, git is not hte appropriate medium for hte work i'm doing, but i'm forced to use it19:56
even though my version will be different from master greatly much of hte time19:57
gtristan bewbs, be thankful you have not been exposed to CVS :)19:57
bewbs i miss svn19:57
rgiht click > ignore19:57
done19:57
svn will remember not to touch that file again19:57
gtristan bewbs, git has .gitignore as well, so did cvs19:58
johnw bewbs: oh, do you want to maintain a set of local changes that should never be pushed? In a sense, maintaining a local fork?19:58
gtristan you are probably missing your GUI frontend for SVN19:58
not SVN itself :)19:58
bewbs basically, there's files i don't want it to ever touch or care about19:58
i added them into .git-ignore19:59
johnw there is a file, .git/info/exclude, where you can name files that locally Git should ignore19:59
bewbs but it didn't ignore them19:59
gtristan I dont believe there is a hyphen in that19:59
it's just .gitignore19:59
HelloAtMega joined19:59
bewbs you're right19:59
.gitignore19:59
the files and their paths are listed19:59
johnw .gitignore is committed to the project, but .git/info/exclude is entirely local19:59
bewbs but they still become conflicts19:59
johnw I'm not sure that even .git/info/exclude will ignore files that are currently being tracked by Git19:59
saidi left20:00
bewbs when i do a git stash pop, and it displays conflicts20:00
does that mean everything that isn't a conflict made it back in?20:00
johnw there are two scenarios there20:00
bewbs cause when i check, some of htem did20:01
but i can't be sure all did20:01
johnw in the first, it applied the stash with merge conflict markers20:01
in the second, it abort applying the stash20:01
"git status" should tell you which of the two occurred20:01
bewbs mid apply20:01
it does20:01
however with this many modified files20:01
aard_ joined20:01
johnw bewbs: ok, here's a command you might like: git update-index --skip-worktree FILENAME20:01
described more fully here: http://devblog.avdi.org/2011/05/20/keep-local-modifications-in-git-tracked-files/20:02
bewbs it's not practical to see with human eyes20:02
with hundreds of files20:02
i've googled this a hundred times20:03
i'm reading now though20:03
gtristan bewbs, what is it exactly you are trying to accomplish using git ? generally speaking20:03
bewbs get some updates that others have pushed, while maintaining my own version20:04
gtristan of code ?20:04
bewbs yes20:04
when i have updates that are good for the "central" purpose, i push them20:04
wallyduchamp left20:04
bewbs but there are many files that are suitable only to me20:04
gtristan and it happens to you regularly to have hundreds of files of unstaged changes ?20:05
johnw bewbs: what you describe is exactly my situation when tracking the "nixpkgs" repo20:05
bewbs i pull roughly monthly20:05
typically git stash, git pull, git stash pop20:05
every 2-3 months this issue comes up20:05
gtristan bewbs, but why do you have so many changes in a "stash" ?20:05
bewbs there are probably 200 commits a month20:05
because i don't know how to use git20:06
gtristan Ok20:06
_ikke_ git stash is not a good way to do these kind of things20:06
johnw bewbs: I would recommend boning up on using branches to manage your workflow, rather than the stash; I've used both in similar scenarios, and while branches take a bit more work, they better conduce to sanity20:06
bewbs i know it's not the ideal situation20:06
gtristan First thing, make sure you commit everything locally in your own tree before pulling from upstream20:06
bewbs but i have to merge the master into my branch somehow20:06
johnw for example, maintain a local branch named "mine", and merge origin/master into it from time to time20:07
gtristan Second, I think it's recommendable to always git pull --rebase20:07
bewbs which i had a text document that explained that, but i lost it20:07
gtristan not just git pull20:07
I.e., make sure that your changes always sit cleanly ON TOP of upstream changes20:07
johnw if you're in "mine", use: git fetch origin ; git merge origin/master20:07
gtristan not intermingled with them20:07
strayPuppy joined20:07
johnw anyway, I'll let gtristan recommend other workflows, lunchtime for me20:07
otter768 joined20:08
gtristan bewbs, but if you at least follow the first rule: Commit everything important to you before pulling, you will have a much better conflict resolution experience20:08
than when trying to resolve conflicts from a stash20:08
bewbs typically, with tortoisegit, it is not to bad20:08
ncthom91 left20:08
bewbs usually i can go in, right click, resolve using hteirs, pull again, and done20:08
then go and re-edit the file20:09
however something happened this time where that is not the case20:09
i would like to know why20:09
why do these 28, out of hundreds, have a conflict that i can't resolve20:09
gtristan If you really want to know why, I would recommend using the CLI20:09
using a UI will most probably do "things" without telling you what it's doing20:10
bewbs cli is great, with the exception that it has limitations20:10
and is difficult to use when you're working with a LOT of files20:10
subhojit777 left20:10
mizu_no_oto joined20:11
gtristan Not sure I follow, git cli works well with projects like xorg, libreoffice and linux kernel20:11
bewbs, the trick is to always commit small atomic commits which are self contained20:11
Noldorin joined20:12
jbudz joined20:12
gtristan or, sometimes you have a large changeset where you have a 2 line change to apply in 200+ source files20:12
that also still works well20:12
italoacasas left20:12
gtristan But always make small commits that are relevant to a specific thing that you changed20:12
pozitron joined20:12
zotherstupidguy left20:12
bewbs local commits20:13
italoacasas joined20:13
bewbs not to master20:13
gtristan It can be to master, sure20:13
remember that master is *your* master20:13
bewbs of branch20:13
jbudz_ joined20:13
gtristan committing to master does not effect the upstream project, unless you are allowed to push to that repository20:14
and then it only does when you actually push it20:14
bewbs i understand git conceptually, it's just hard to keep track of it all20:14
could you help me figure out why one of these commits won't go away?20:14
can i delete files from a stash?20:15
so it wont' try and bring htem in?20:15
gtristan its 5am, I'm not sure I can make it that far20:15
bewbs np, i understand20:15
gtristan no, I dont think you can delete files from a stash20:15
robbyoconnor left20:15
bewbs so i need to revert to the version i was at where it wasn't a conflict20:16
revert it, then stash, hten pop20:16
MechtiIde left20:16
gtristan stop using a stash as a means to carry changes which you care about, if you *must*, to work yourself out of a temporary situation, then recreate a new stash in the state that you want it to be20:16
bewbs i agree it's not great, but at the moment i'm under a timeline20:16
once it's working, i can work on a better solution20:16
gtristan I would honestly work it out by hand20:16
jbudz left20:16
gtristan again: git stash show -p > patchfile20:17
bewbs if i do that i can't scroll to the top20:17
gtristan edit patch file by hand, remove all the diffs against files you dont care about20:17
apply it without git, using "patch -p1 < patchfile"20:17
bewbs oh20:17
gtristan then you'll have the unstaged changes you want20:17
cheetah2 joined20:17
bewbs 237kb20:18
jmpp left20:18
yqt joined20:20
dreiss joined20:20
thiago left20:21
MechtiIde joined20:21
bronson left20:21
cheetah2 left20:22
ash_workz joined20:24
jbudz_ left20:25
jmpp joined20:26
Infamous_ left20:27
Infamous joined20:28
ncthom91 joined20:30
cdg left20:31
otter768 left20:31
gusto joined20:31
boudiccas joined20:33
MechtiIde left20:33
ncthom91 left20:34
zotherstupidguy joined20:34
ril joined20:35
Tryop88 left20:35
cheetah2 joined20:36
jmpp left20:36
nilg joined20:36
SrPx left20:37
cdg joined20:37
jmpp joined20:40
nfk|laptop joined20:42
hardenedapple left20:42
gaengaen[away]20:43
boudiccas If I git clone --recursive https://github.com/getpelican/pelican-themes initially, how can i update the repo [get a 'pull'?] on my computer please?20:43
boudiccas left20:44
boudiccas joined20:44
boudiccas left20:44
boudiccas joined20:46
boudiccas If I git clone --recursive https://github.com/getpelican/pelican-themes initially, how can i update the repo [get a 'pull'?] on my computer please?20:46
zadock left20:46
localuser- left20:47
localuser- joined20:47
faux___ joined20:48
SrPx joined20:49
jottr joined20:49
_ikke_ What do you mean exactly?20:49
zotherstupidguy left20:49
johnw boudiccas: if you cd into your pelican-themes working tree, just "git pull" should do it20:50
boudiccas ah, okay, thanks20:50
even though the branch master is not kept up-to-date?20:51
johnw I'm not entirely sure what you mean by that...20:51
I think "git pull" is what you want, but I'm now at 87% certainty20:51
Sasazuka left20:52
Arsonide left20:52
boudiccas the branch pulls in various git instances of various themes developed by different people, some are actively being worked on, and some are dormant, and the git clone --recursive pulkls in evryone's repo to start with. i'm looking for a over-all git command which will visit each repo in trun and update my main repo as necessary20:53
johnw ah20:53
git pull && git submodule update --init20:53
boudiccas ah thanks20:53
nour joined20:53
johnw or apparently: git pull --recurse-submodules20:54
wallyduchamp joined20:54
jottr left20:54
johnw though I haven't used that way of doing it20:54
SrPx left20:54
wallyduchamp left20:54
johnw btw, save yourself some typing: git config --global alias.su 'git pull && git submodule update --init'20:55
now you can just type "git su" in future20:55
boudiccas su? sub-module update?20:55
SrPx joined20:56
johnw yep, "pull and update all SUbmodules" :)20:56
boudiccas ah thanks20:56
thought i recognised the nick, i know of you from emacs :)20:56
gopar joined20:57
johnw nice to meet you in the Gitverse :)20:57
boudiccas :)20:57
gaen[away]gaen20:57
boudiccas git su Expansion of alias 'su' failed; 'git' is not a git command20:59
_nadim left20:59
waspinator left20:59
johnw this is from "git su" at the command-line?21:00
cat you "cat ~/.gitconfig", and be sure it looks like this:21:00
[alias]21:00
waspinator joined21:01
johnw su = git pull && git submodule update --init21:01
boudiccas this is whats in my .gitconfig su = git pull && git submodule update --init21:01
Felishia joined21:01
Felishia why can't I change my username?21:01
halp21:01
elastix left21:01
boudiccas but if i try to use su then the terminakl thinks that i want sudo21:01
Felishia it's still the same no matters what I do21:01
on github btw21:01
johnw boudiccas: is that within an "[alias]" section?21:01
boudiccas ergo, change the command not to use su!21:01
johnw Felishia: #github may know better21:02
elastix joined21:02
The_Phoenix1 left21:02
boudiccas yes21:02
Felishia left21:02
johnw boudiccas: ok, then I am a bit mystified...21:02
texasmynsted left21:02
boudiccas its debian21:02
kaiza left21:02
phaleth left21:04
LeBlaaanc left21:05
wakd joined21:08
WayToDoor left21:08
texasmynsted joined21:08
cdg left21:08
LeBlaaanc joined21:09
evanvarvell left21:11
namikr joined21:11
cheetah2 left21:12
weox left21:12
texasmynsted left21:12
localuser- left21:12
localuser- joined21:13
faux___ left21:13
evanvarvell joined21:13
govg joined21:14
alanwill joined21:15
WayToDoor joined21:15
Darcidride left21:16
WayToDoor left21:16
nnyk_ joined21:17
texasmynsted joined21:17
WayToDoor joined21:18
Darcidride joined21:19
WayToDoor left21:19
arup_r left21:19
beatdown left21:20
nour_ joined21:20
LeBlaaanc left21:21
diegoviola left21:22
bronson joined21:22
nour left21:22
gusto left21:22
texasmynsted left21:22
LeBlaaanc joined21:23
Jackneill left21:24
Sucks joined21:24
texasmynsted joined21:25
skapunker left21:25
abc123 left21:26
abc123_ joined21:26
bronson left21:27
skapunker joined21:27
bremner boudiccas: please pastebin your .gitconfig; it looks like you mis the [alias] part21:28
ferr joined21:29
localuser- left21:29
localuser- joined21:29
abc123 joined21:30
abc123_ left21:30
abc123abc123_21:30
nfk|laptop left21:30
texasmynsted left21:30
namikr left21:31
fscala left21:31
Guest0 left21:33
sbasso joined21:34
fscala joined21:34
texasmynsted joined21:34
mizu_no_oto left21:35
Tryop88 joined21:36
nfk|laptop joined21:36
Guest0 joined21:37
Tryop88 left21:40
abc123 joined21:41
localuser- left21:41
Seveas johnw: boudiccas you'll need a ! at the start of that alias21:41
abc123_ left21:41
abc123abc123_21:42
ahr3n joined21:42
Seveas otherwise git will interpret it as "git git pull '&&' git submodule update --init"21:42
Arsonide joined21:44
nnyk_ left21:44
nfk|laptop left21:45
Guest0 left21:45
boudiccas http://paste.debian.net/351893/21:45
spykins joined21:46
aard_ left21:46
diegoviola joined21:46
nour__ joined21:47
ahr3n left21:47
Burgerz joined21:47
daito joined21:48
Seveas boudiccas: line 37 needs an !21:48
subup = !git pull && git submodule update --init21:48
boudiccas ah, thanks21:49
nour_ left21:50
Mannequin joined21:52
daito left21:52
santi__ joined21:53
ciampix joined21:55
santi_ left21:55
clmsy left21:56
ahr3n joined21:56
gaen left21:56
gaen joined21:57
Tryop88 joined21:58
skcin7 joined22:00
smw joined22:02
elastix left22:02
Kicer86 left22:03
ahr3n left22:04
jottr joined22:05
italoacasas left22:09
nour__ left22:09
jottr left22:09
nydel07 left22:10
nydel07 joined22:10
abc123_ left22:10
Outsider__ left22:12
raven-au left22:13
jmah joined22:13
jmah left22:13
spykins left22:14
SrPx left22:14
adiman left22:17
Noldorin left22:19
ash_workz left22:21
raven-au joined22:22
Hogofwar joined22:22
Noldorin joined22:23
anchorite left22:23
strayPuppy left22:27
rubyonrailed left22:28
rubyonrailed joined22:28
_nadim joined22:28
darkschneider left22:29
happy-dude left22:29
otter768 joined22:32
keroro520 joined22:33
durham joined22:34
relipse joined22:34
otter768 left22:37
Darcidride left22:37
keroro520 left22:38
mellernoia joined22:38
mellernoia left22:39
mellernoia joined22:39
tterragtterrag|away22:39
Goplat left22:44
faux___ joined22:44
toogley joined22:46
clemf left22:46
mellernoia left22:48
macmod joined22:48
faux___ left22:49
Ahmed90 left22:50
durham left22:52
toogley left22:53
LeBlaaanc left22:56
s00pcan left22:57
LeBlaaanc joined22:58
s00pcan joined22:59
nilg left23:00
dopesong left23:00
ahr3n joined23:00
josuebrunel joined23:02
dopesong joined23:02
clemf joined23:04
stamina left23:04
ahr3n left23:05
dopesong left23:07
hhee left23:08
dopesong joined23:09
mcint joined23:09
s00pcan left23:10
italoacasas joined23:10
fahadash left23:11
s00pcan joined23:12
dopesong_ joined23:17
dopesong left23:17
ash_workz joined23:17
frsk joined23:18
cagmz joined23:19
Tryop88 left23:19
gaen left23:21
gaen joined23:21
Evidlo joined23:24
Evidlo I submitted a pull request, but I need to make a change to it. Is the right way to make a new commit and rebase it onto the original pull request commit?23:25
m0viefreak left23:27
m0viefreak joined23:27
clemf left23:27
arescorpio joined23:27
sulky left23:27
spykins joined23:31
oojacoboo joined23:33
clemf joined23:33
LeBlaaanc left23:33
daito joined23:34
graSP joined23:36
t0by left23:36
jottr joined23:36
jottr_ joined23:38
daito left23:39
jottr left23:41
ciampix left23:43
s00pcan left23:43
lg188 left23:44
daito joined23:45
s00pcan joined23:45
Burgerz left23:48
Noldorin left23:49
daito left23:51
dsdeiz joined23:53
jeffreylevesque joined23:56
graSP left23:57
cdg joined23:58
cdg left23:59
s00pcan left23:59

Logs Search ←Prev date Next date→ Channels Documentation