IRCloggy #git 2015-09-01

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-09-01

mingwandroid joined00:00
Mixologic_ left00:00
toothe anyone?00:01
imachuchu left00:02
faux___ left00:03
phantombeta left00:03
Mixologic_ joined00:03
|digits| left00:04
|digits| joined00:04
|digits| left00:05
mingwandroid left00:05
|digits| joined00:06
Mixologic left00:06
|digits| left00:07
|digits| joined00:07
|digits| left00:07
RonRichie left00:07
stickperson left00:07
Mixologic joined00:07
mingwandroid joined00:08
phantombeta joined00:08
jigjug left00:09
dtrott joined00:09
|digits| joined00:10
|digits| left00:11
Poof joined00:11
toothe gah!!!00:11
how do I push this!!!!00:11
Mixologic_ left00:11
Mixologic_ joined00:11
zhiwliu joined00:13
zhiwliu left00:13
|digits| joined00:13
|digits| left00:13
toothe seriously, how do I comit? it keeps saying everythig it up to date00:13
per google, I Have a detached head.00:13
okay, i can't figur eout how to do this00:14
Eugene If you had provided a proper !transcript or even just consulted `git status`....00:14
gitinfo Please paste (using https://gist.github.com/ or similar) a transcript ( https://gist.github.com/2415442 ) of your terminal session.00:14
toothe Is anyone present?00:14
Eugene !detach !reattach00:14
gitinfo [!detached] A detached HEAD(aka "no branch") occurs when your HEAD does not point at a branch. New commits will NOT be added to any branch, and can easily be !lost. This can happen if you a) check out a tag, remote tracking branch, or SHA; or b) if you are in a submodule; or you are in the middle of a c) am or d) rebase that is stuck/conflicted. See !reattach00:14
Letters refer to !detached. (a) and (b): 'git checkout branchname' to continue working on another branch, or 'git checkout -b branchname' to start a new one here; (c) git am --continue; (d) git rebase --continue00:14
Poof left00:14
Mixologic left00:14
Eugene Perhaps also of interest: anyone00:15
!anyone00:15
gitinfo Usually, it does not help to ask for someone specific to help you. Without knowing your specific problem, nobody knows if they can be of assistance. Please ask your questions and wait until somebody speaks up.00:15
bollullera joined00:15
toothe yeah sorry, just fristrated cuz no one was responding00:15
ChanServ set mode: +v00:15
toothe so, git status says "On branch develop-toothe \n nothing to commit, working directory clean"00:15
qsuscs toothe: if you have no idea of nothing, !book00:16
gitinfo toothe: 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 !parable00:16
dougsland joined00:16
Mixologi- joined00:16
|digits| joined00:16
|digits| left00:16
Eugene So, you've created a new branch00:16
dtrott I am guessing toothe, simply wants to push00:17
toothe okay, so i have a detached head. I just followed gitinfo, which said checkout the current branch00:17
so I did git develop-toothe, then git push00:17
and it still says everything is up to date.00:17
Eugene New branches(by default) are not set up to push to any remotes. You need to explicitly say what to push, and where: `git push <remote> <mybranch> -u`00:17
The -u flag will make it so `git push` will Just Work like you're used to00:17
|digits| joined00:18
teran joined00:18
vF3hNGxc47h8 joined00:18
|digits| left00:19
|digits| joined00:19
Mixologi| joined00:19
NeverDie joined00:19
toothe so, I went to my other machine and git a git pull00:19
i saw that the branch develop-farhan was seen as present, but when I do 'git branch' it only shows master.00:20
|digits| left00:20
|digits| joined00:20
Mixologic_ left00:20
|digits| left00:20
jon-mac joined00:20
Eugene Try `git branch -vva`00:20
And rememebr that !pull is more than just fetch-ing new commits00:20
gitinfo pull=fetch+merge (or with flags/config also fetch+rebase). It is thus *not* the opposite of push in any sense. A good article that explains the difference between fetch and pull: http://longair.net/blog/2009/04/16/git-fetch-and-merge/00:20
|digits| joined00:20
|digits| left00:21
ncd|leeN left00:21
teran_ joined00:21
teran_ left00:21
cbonobo left00:22
mprelude left00:22
maletor left00:23
Mixologi- left00:23
mingwandroid_ joined00:23
teran left00:23
dreiss left00:23
Mixologic_ joined00:23
toothe so...this article seems like it would make a lot more sense if I had a sense of what I was reading00:23
sorry00:23
sometimes when you're brand new, i need to see an explanation first.00:24
|digits| joined00:24
toothe err, see what I need done first, then the explanation afterweards.00:24
mingwandroid left00:24
|digits| left00:24
dougsland left00:25
|digits| joined00:25
Mixologi- joined00:25
xcesariox left00:25
dstarh joined00:26
Mixologi| left00:26
tvw left00:26
leprechau left00:28
devoldmx joined00:28
Mixologic_ left00:28
Mixologic_ joined00:28
leprechau joined00:30
jmpp left00:30
|digits| left00:30
toothe okay, so I read through this article, but I'm not certain it does what I was looking for00:30
qpdb left00:31
checkItOut joined00:31
qpdb joined00:31
Mixologi| joined00:32
devoldmx left00:32
Mixologi- left00:32
toothe http://dpaste.com/0FM4B5D00:32
so, i didn't want this file to be committed00:33
i actually put in the file .gitignore that had *.sqlite300:33
but, its complaining about that file00:33
Mixologic_ left00:36
dadamssg joined00:37
bremner toothe: it looks like you already committed that file in the past. Adding it to .gitignore after you committed doesn't help.00:37
toothe I'm using i had.00:37
tristanp_ joined00:37
Lyqyd joined00:37
toothe i just deleted it from the local git repo and did a pull, worked.00:37
bronson_ left00:37
Mixologic_ joined00:38
toothe but, now when I do git branch, the only branch that's displayed is the master. I have to use the -r flag to view all branches. Why is that?00:38
ASOLAr joined00:38
arescorpio joined00:38
tristanp left00:39
bremner !tracking00:39
gitinfo [!remote_tracking_branch] Remote-tracking branches (branches which start with e.g. 'origin/', listed by 'git branch -r') are read-only mirrors of the corresponding branches in another repository. They're updated by 'git fetch'. You can't edit them directly (trying to check them out results in a !detached HEAD), but you can create a new local branch based on a remote-tracking branch using e.g. 'git checkout -b <branch> <remote00:39
bremner toothe: ^00:39
Mixologi| left00:39
faux___ joined00:40
toothe okay, so if I do `git fetch`, it'll make it non-read-only.00:40
mingwandroid_ left00:40
toothe i see....00:41
Sonicbit left00:41
Mixologic joined00:41
dadamssg left00:41
toothe there....thanks!00:41
d10n-work left00:42
Steadfast left00:44
faux___ left00:44
Mixologi- joined00:44
Mixologic_ left00:45
mezod joined00:45
mehola joined00:45
michael_mbp left00:45
Tee_Pee Why does git reset --hard still tell me I am 2 commits ahead :|00:46
JackFruh joined00:47
linux-modder left00:48
michael_mbp joined00:48
SirFunk joined00:48
milki those are unrelated00:48
Mixologic_ joined00:49
Mixologic left00:49
SirFunk Did git change the default behavior of push change to push all branches?00:49
at some point?00:49
milki default behaviour of push did change00:49
Eugene SirFunk - Kind of. man git-config; see push.default.00:49
gitinfo SirFunk: the git-config manpage is available at http://jk.gs/git-config.html00:49
Mixologic joined00:49
milki but "push all branches" is vague00:49
mehola left00:50
SirFunk yeah00:50
Eugene I prefer upstream myself *shrug*00:50
SirFunk I almost destroyed something at work.. but force pushing something.. that also force pushed master :-P00:50
milki dont rely on default behaviour for force push >.>00:52
Mixologi- left00:52
dstarh left00:52
SirFunk weird, mine was set to tracking00:52
wonder how that happened00:52
Mixologi- joined00:53
Mixologic_ left00:53
Eugene matching?00:53
What's git --version say00:53
ASOLAr left00:53
SirFunk matching? 1.9.100:54
sorry 2.5.1 (wrong box)00:54
faux___ joined00:56
dstarh joined00:56
LucasKA left00:56
irwiss left00:56
Mixologic_ joined00:57
Mixologic left00:57
MZAWeb left00:58
bronson joined00:59
d10n-work joined00:59
Mixologi| joined00:59
Mixologi- left01:00
faux___ left01:00
n00bdev left01:00
mezod left01:01
|digits| joined01:02
UmbraMalison left01:02
|digits| left01:03
|digits| joined01:03
|digits| left01:03
Vampire0 joined01:03
|digits| joined01:03
|digits| left01:03
Vampire0 left01:03
Vampire0 joined01:03
rubie left01:03
Mixologic_ left01:04
rchavik joined01:04
IWishIKnew joined01:04
dtrott left01:04
NeverDie left01:04
KnightsOfNi joined01:05
|digits| joined01:05
|digits| left01:05
|digits| joined01:05
jorj joined01:05
Mixologic_ joined01:05
UmbraMalison joined01:05
vF3hNGxc47h8 left01:06
Vampire0_ left01:06
Mixologi- joined01:08
Mixologi| left01:10
|digits| left01:10
IWishIKnew left01:11
checkItOut left01:11
msonntag left01:11
dmarr left01:11
Mixologi| joined01:12
Mixologic_ left01:12
efco joined01:12
macabre left01:13
msonntag joined01:13
macabre joined01:14
dmarr joined01:14
snonez joined01:14
Mixologic_ joined01:15
snonez left01:15
Mixologi- left01:15
irwiss joined01:16
qpdb left01:17
sfan786 left01:17
qpdb joined01:17
|digits| joined01:18
|digits| left01:18
Mixologi- joined01:18
iraw_ joined01:18
|digits| joined01:19
|digits| left01:19
Mixologi| left01:19
|digits| joined01:19
|digits| left01:19
AramKaram joined01:20
Mixologi| joined01:21
IWishIKnew joined01:21
|digits| joined01:21
|digits| left01:21
spyroboy joined01:22
sfan786 joined01:22
Mixologic_ left01:22
|digits| joined01:23
|digits| left01:23
unreal_ joined01:23
Mixologic_ joined01:23
kpease left01:24
Mixologi- left01:24
unreal left01:25
dsilva left01:25
|digits| joined01:26
daito joined01:26
dangad999 joined01:27
|digits| left01:27
|digits| joined01:27
keroro520 joined01:27
Mixologic joined01:28
Mixologi| left01:28
bronson left01:28
devoldmx joined01:29
cbonobo joined01:29
hrlty joined01:30
hrlty left01:30
Mixologic_ left01:31
Mixologic_ joined01:31
|digits| left01:31
darkbit joined01:32
Sasazuka left01:32
m0ltar joined01:33
dangad999 left01:33
hrlty joined01:33
devoldmx left01:34
sargas joined01:34
refried_ left01:34
sfan786 left01:34
bronson joined01:34
Mixologi- joined01:35
Mixologic left01:35
sparetire_ left01:36
Padawan_Padawan01:37
mellernoia left01:37
Mixologic joined01:38
hrlty left01:38
Mixologic_ left01:38
bronson left01:39
harish joined01:40
neanderslob left01:40
neanderslob joined01:41
IWishIKnew left01:41
Mixologic_ joined01:41
Mixologi- left01:41
bronson joined01:42
MZAWeb joined01:42
Mixologic left01:45
sdfgsdfg joined01:45
Mixologi- joined01:45
mizu_no_oto joined01:46
faux___ joined01:46
Goplat joined01:46
bronson left01:47
Steadfast joined01:47
iyp joined01:47
iyp left01:48
AmR|EiSa joined01:48
Mixologic_ left01:48
Mixologic_ joined01:48
hrlty joined01:48
dreiss joined01:49
s00pcan left01:49
mischief joined01:49
joo-_ left01:49
mischief hello01:49
is it possible to use git with miniperl01:50
igacm joined01:50
igacm left01:50
s00pcan joined01:51
Mixologi- left01:52
raven-au left01:52
jmpp joined01:52
nettoweb joined01:52
Mixologi- joined01:52
dstarh left01:53
dstarh joined01:53
jigjug joined01:53
kadoban mischief: I'm assuming that's some complier/interpreter? git doesn't care what language you're writing. If it's text that's anything like … any programming language it'll work fine.01:54
dtrott joined01:54
mischief ...01:55
the git-submodule shell script uses perl to implement some of the functionality.01:55
fracting joined01:55
kadoban Ah, no idea.01:55
mischief i am asking if it is possible to make it function without a full (~50MB) perl installation.01:55
Mixologic_ left01:56
dreiss left01:56
luksaur left01:56
irwiss left01:57
neanderslob left01:57
neanderslob joined01:58
luksaur joined01:58
sargas left01:58
Mixologic_ joined01:58
pks left01:59
raven-au joined01:59
pks joined02:01
Mixologi| joined02:01
Mixologi- left02:01
dsantiago left02:01
Mixologi- joined02:01
madebymarkca joined02:02
samthewildone joined02:03
samthewildone Hi, what command do I use to clone on a certain branch of the kernel repo ?02:03
madebymarkca does anyone know why when I use git difftool --dir-diff with beyondcompare4 the right column is symlinks?02:04
watabou joined02:04
frogonwheels samthewildone: You don't clone a branch, you clone a project and checkout the branch. Generally because of compression this is Not A Problem.02:04
nettoweb left02:04
frogonwheels madebymarkca: weird.02:04
samthewildone grr... I'm trying to write a script which can pull only selected trees/branches02:04
madebymarkca ikr?02:04
Mixologic joined02:05
jonno11 left02:05
samthewildone http://codepad.org/leYWskDU02:05
Mixologic_ left02:05
Mixologi| left02:05
samthewildone ^ I'm trying to just pull what the user enters02:05
mizu_no_oto left02:06
frogonwheels samthewildone: ok.. if the server supports it you can grab a tarball of a selected branch through git. However generally that's not the recommended way of doing it as if it's done a lot then it's extremely inefficient02:07
samthewildone: man git-archive02:07
gitinfo samthewildone: the git-archive manpage is available at http://jk.gs/git-archive.html02:07
Mixologic_ joined02:08
linux-modder joined02:08
cbonobo left02:08
Mixologi- left02:08
fracting left02:08
cbonobo joined02:09
madebymarkca http://snag.gy/YLLZH.jpg02:09
linux-modder left02:09
Steadfast left02:09
frekoya_ joined02:10
Padawan left02:11
Padawan_ joined02:11
Mixologi- joined02:11
Mixologic left02:12
madebymarkca http://pastebin.com/Np8eAL4102:12
do I need to give the command other params, I am using git difftool --dir-diff02:12
dreiss joined02:13
linux-modder joined02:13
iraw_ left02:14
DolphinDream joined02:14
Mixologic_ left02:15
foul_owl joined02:15
dstarh left02:15
foul_owl What is a free self-hosted open source alternative to github?02:15
kadoban left02:15
s8321414 joined02:16
frekoya_ left02:16
Mixologic_ joined02:16
madebymarkca gitlab02:18
I think phabricator can host repos as well02:19
samthewildone left02:19
foul_owl Thanks!02:20
Mixologi| joined02:20
Mixologi- left02:20
phroa gogs.io, trac, your own server + a web ui like gitiles, cgit02:20
vectortrex joined02:21
foul_owl I'll check out those as well. Thanks!02:21
madebymarkca makes me sad no one ever has answers for my questions on irc :(02:22
|digits| joined02:23
Mixologic_ left02:23
penna__ joined02:23
foul_owl Mine was "low hanging fruit"02:23
|digits| left02:24
foul_owl What are your questions?02:24
phroa yeah I've never used difftool :D02:24
|digits| joined02:25
|digits| left02:25
rubie joined02:25
madebymarkca I'm going to try smartgit, maybe it well work better02:25
dreiss left02:25
fracting joined02:25
madebymarkca trying to find something I can do group based gits like with kaleidoscope on mac02:25
instead of serial diff and merge02:26
|digits| joined02:26
|digits| left02:26
Mixologic_ joined02:26
|digits| joined02:26
|digits| left02:26
gambl0re joined02:26
ahr3n joined02:26
dsantiago joined02:26
fullstack joined02:27
|digits| joined02:27
|digits| left02:27
m0ltar left02:27
penna_ left02:27
madebymarkca this is my question foul_owl -> when I use git difftool --dir-diff with beyondcompare4 the right column is symlinks?02:27
|digits| joined02:28
|digits| left02:28
Mixologic joined02:29
|digits| joined02:29
Mixologi| left02:29
|digits| left02:29
dreiss joined02:29
|digits| joined02:30
fracting left02:30
|digits| left02:30
|digits| joined02:30
Mixologic_ left02:30
NotVgrVgr02:31
|digits| left02:31
gfixler joined02:31
|digits| joined02:33
|digits| left02:33
frogonwheels madebymarkca: looks like you have a symlink in your repo.. git does handle them (unless you're in windows)02:33
sfan786 joined02:33
madebymarkca I don't though02:34
frogonwheels madebymarkca: you could always turn symlinks off. (core.symlinks ??)02:34
madebymarkca: what? You mean that file isn't a symlink?02:34
dreiss left02:34
AramKaram left02:34
madebymarkca maybe it is02:34
hmm02:34
Mixologic_ joined02:35
madebymarkca i'm supposed to be apple to select the left and right column and see the diff02:35
snthsnth left02:35
CKyle joined02:35
madebymarkca I thought bc4 made temp files to the dirty work though02:36
foul_owl Never used beyondcompare402:36
Looking that up now though02:36
frogonwheels madebymarkca: Have you looked at the temp directories? I use bc in windows02:36
Mixologic left02:36
frogonwheels foul_owl: beyond compare is a reasonably priced commercial difference viewer (with 3-way diffs) that is avail on windows, linux (+mac?)02:37
Sonicbit joined02:37
madebymarkca yes mac too02:37
sfan786 left02:37
frogonwheels madebymarkca: bc4 doesn't make the tempfiles. That's git.02:37
madebymarkca but I use kaleidoscope on mac02:37
www.kaleidoscopeapp.com02:37
NeverDie joined02:37
m0viefreak left02:37
dadamssg joined02:38
sfan786 joined02:38
cebor left02:38
Mixologic joined02:38
madebymarkca where do the temp files get created?02:39
|digits| joined02:40
franl joined02:40
NeverDie left02:40
frogonwheels madebymarkca: Git will create them. I don't use --dir-dif. Is there a CLI option in bc4 that will dereference symlinks?02:41
Noldorin left02:41
NeverDie joined02:41
sfan786 left02:41
cebor joined02:41
Mixologi- joined02:42
dadamssg left02:42
JackFruh left02:42
Mixologic_ left02:43
sfan786 joined02:43
NeverDie left02:43
thiago left02:43
|digits| left02:45
Mixologic left02:45
madebymarkca maybe?02:45
|digits| joined02:46
Mixologic_ joined02:46
|digits| left02:46
frogonwheels madebymarkca: I'd look at how git presents those 2 directories and make bc4 deal with it. I _suspect_ that git is symlinking the actual files so that you can update them through the symlink02:46
skorgon joined02:47
fracting joined02:47
bronson joined02:47
iraw_ joined02:48
sfan786 left02:48
Mixologi| joined02:49
|digits| joined02:49
|digits| left02:49
Mixologi- left02:50
bollullera left02:50
theskillwithin joined02:51
sailorswift joined02:52
|digits| joined02:52
Mixologi- joined02:52
bronson left02:52
Mixologic_ left02:52
|digits| left02:53
|digits| joined02:53
|digits| left02:53
durham left02:53
oojacoboo left02:53
jigjug left02:54
t-mart_ joined02:54
dgutierrez1287 joined02:55
|digits| joined02:55
|digits| left02:55
Mixologi| left02:56
Mixologic_ joined02:56
fracting left02:56
t-mart__ left02:57
Mixologi| joined02:58
|digits| joined02:59
|digits| left02:59
cavallari left02:59
sdothum left02:59
toothrot left02:59
Mixologi- left02:59
|digits| joined03:00
|digits| left03:00
ASOLAr joined03:00
dgutierrez1287 left03:00
rubie left03:00
nettoweb joined03:01
fracting joined03:01
nettoweb left03:01
sdothum joined03:02
Mixologic joined03:02
Mixologic_ left03:02
sanketdg left03:03
nettoweb joined03:03
rubie joined03:03
nettoweb left03:03
nettoweb joined03:03
nettoweb left03:03
Motoko joined03:04
Mixologi| left03:05
meLon left03:06
Mixologic_ joined03:06
meLon joined03:06
madebymarkca left03:08
Mixologic left03:09
PraetorOmega joined03:09
maestroj_ left03:09
Mixologic joined03:10
franl left03:10
linuxmint2 joined03:11
linux-modder left03:12
Mixologi- joined03:12
Mixologic_ left03:13
xcesariox joined03:15
Mixologic_ joined03:15
watabou left03:15
terminal_echo joined03:16
darkbasic left03:16
Mixologic left03:16
xcesariox left03:17
darkbasic joined03:17
xcesariox joined03:17
Mixologic joined03:18
Mixologi- left03:19
Sasazuka joined03:19
Mixologi- joined03:21
efco left03:22
Mixologic_ left03:22
thiago joined03:23
snthsnth joined03:24
Mixologic left03:25
CKyle left03:25
madebymarkca joined03:25
Mixologic joined03:25
Mixologi- left03:27
sdothum left03:28
Mixologic_ joined03:29
Mixologi- joined03:29
devoldmx joined03:29
ASOLAr left03:30
Mixologic left03:32
PraetorOmega left03:32
Mixologic joined03:32
daivyk_ left03:33
Mixologic_ left03:33
devoldmx left03:34
Algebr left03:35
Mixologic_ joined03:36
Mixologi- left03:36
BeatrixKiddo joined03:37
BeatrixKiddo left03:37
BeatrixKiddo joined03:37
ASOLAr joined03:38
Mixologi- joined03:38
Mixologic left03:39
modocache joined03:40
Populus left03:41
Mixologi| joined03:42
watabou joined03:42
Mixologic_ left03:43
mehola joined03:44
GT4066 joined03:44
modocache left03:44
Mixologic_ joined03:45
shinnya left03:45
Mixologi- left03:46
cbonobo left03:47
AramKaram joined03:48
Guest2398 left03:48
Mixologi- joined03:49
Mixologi| left03:49
_Atom_ joined03:49
xcesariox left03:49
Mixologic_ left03:51
Mixologic_ joined03:52
Kamran joined03:53
KamranGuest3418503:53
clarkpan left03:55
Mixologic joined03:55
madewokherd left03:55
madebymarkca left03:56
pm90_ joined03:56
daito left03:56
LACabeza joined03:56
sailorsw_ joined03:56
Mixologi- left03:56
daito joined03:56
SimonNa left03:56
snthsnth left03:57
NeverDie joined03:57
temmi_hoo joined03:58
iraw_ left03:58
mehola left03:58
Mixologi- joined03:59
Mixologic_ left03:59
jeadre left03:59
Mixologic_ joined03:59
dl9pf_ joined04:00
dl9pf left04:00
sailorswift left04:00
daito left04:01
schlumpi joined04:01
BeerSerc joined04:01
d10n-work left04:02
Mixologic left04:02
NeverDie left04:02
Mixologic joined04:03
cebor left04:03
Mixologi- left04:04
dreiss joined04:04
cebor joined04:05
Kulrak left04:05
Mixologic_ left04:06
Mixologi- joined04:06
rhinojr joined04:08
Mixologic_ joined04:10
toothe left04:10
Mixologi| joined04:11
Mixologic left04:11
Mixologi^ joined04:13
refried_ joined04:14
Mixologi- left04:14
mehola joined04:14
s8321414 left04:14
Mixologic_ left04:15
arussel joined04:15
s8321414 joined04:15
s8321414 left04:16
Mixologic_ joined04:16
AramKaram hey there, got a question, what is the `remote` to git's context? what does remote command do?04:17
akkad how does one checkout files from a bare repo?04:18
Kulrak joined04:18
Kulrak left04:18
Kulrak joined04:18
Mixologi| left04:18
akkad mkdir foo && cd foo && ln -s ../foo.git .git && git checkout?04:18
watabou left04:18
akkad oh clone. nice04:18
skorgon AramKaram: it's a pointer/reference to another repository. man git remote04:19
gitinfo AramKaram: the git-remote manpage is available at http://jk.gs/git-remote.html04:19
NeverDie joined04:20
Mixologi^ left04:20
AramKaram skorgon thanks04:20
C4ta|Work joined04:21
NeverDie left04:21
tomog999 left04:21
Mixologi- joined04:21
Mixologic_ left04:23
refried_ left04:24
Mixologic_ joined04:24
Cata|Work left04:24
wcpan left04:26
rhinojr left04:26
Mixologi| joined04:27
wcpan joined04:27
akkad warning: --depth is ignored in local clones; use file:// instead.04:28
Mixologi- left04:28
daito joined04:29
arescorpio left04:29
Mixologic_ left04:30
Mixologi- joined04:30
griotspeak joined04:31
phroa akkad: from the bare repo you must use "git show" or clone the repo04:33
madebymarkca joined04:34
Mixologi| left04:34
Mixologic joined04:34
iamtakingiteasy joined04:34
AramKaram `git remote add origin` means that we want to add this to a branch called origin ?04:35
knownasilya left04:35
phroa AramKaram: man git remote04:35
gitinfo AramKaram: the git-remote manpage is available at http://jk.gs/git-remote.html04:35
phroa a "remote" and a "branch" are extremely different things04:35
madebymarkca left04:35
madebymarkca joined04:36
C4ta|Work left04:36
C4ta|Work joined04:36
devoldmx joined04:37
Mixologic_ joined04:37
devoldmx left04:37
dtrott left04:37
devoldmx joined04:37
Mixologi- left04:37
jceb_ joined04:38
dadamssg joined04:38
darkbasic left04:39
darkbasic joined04:40
Mixologi- joined04:40
Mixologic left04:41
LACabeza left04:41
Mixologic joined04:42
Zarthus left04:43
dadamssg left04:43
Mixologic_ left04:44
Zarthus joined04:44
rubie left04:44
clarkpan joined04:45
gabor_bernat joined04:45
Mixologi- left04:45
jceb_ left04:46
NeverDie joined04:46
emulator_ joined04:47
bronson joined04:47
tomog999 joined04:48
emulator_ left04:48
maestrojed joined04:50
ahr3n left04:50
GT4066 left04:51
synthmea1 joined04:52
NeverDie left04:52
bronson left04:52
synthmeat left04:53
NeverDie joined04:54
_Atom_ left04:54
NeverDie left04:57
zumba_ad_ left04:57
ciampix_ joined05:01
NeverDie joined05:04
ciampix left05:04
in3xes left05:06
ckruczek joined05:06
MattMaker left05:08
c0mrad3 joined05:08
dreiss left05:09
oojacoboo joined05:10
terminal_echo left05:12
MechtiIde joined05:15
nesti left05:15
nerd joined05:16
ciampix_ left05:16
griotspeak left05:18
frogonwheels left05:18
nesti joined05:18
mostlybadfly left05:19
frogonwheels joined05:20
thomas joined05:20
Manikandan joined05:20
dreiss joined05:22
dgutierrez1287 joined05:22
thomas left05:22
gopar left05:24
Goplat left05:25
dgutierrez1287 left05:26
Motoko left05:26
ayaz joined05:26
keroro520 left05:31
maestroj_ joined05:31
emulator_ joined05:32
sailorsw_ left05:33
keroro520 joined05:33
marvi_ left05:33
marvi joined05:33
marvi left05:34
marvi joined05:34
ASOLAr left05:34
luksaur left05:34
terminal_echo joined05:35
maestrojed left05:35
scarabx joined05:35
pantsman- joined05:36
luksaur joined05:36
radsy joined05:37
Lyqyd left05:39
zoso joined05:39
oojacoboo left05:39
pocketphiz left05:41
modocache joined05:41
jceb_ joined05:41
Gamecubic left05:43
jantje hi05:45
modocache left05:46
jceb_ left05:46
ckruczek gooood morning vietnammmm!05:46
jantje I would like to 'watch' a set of files/directories on a remote repository. I would need to 'mirror' those into a separate repository, including all new tags and branches.05:47
AramKaram left05:47
bernardio left05:47
Sasazuka left05:48
jantje where do I start?05:48
ckruczek what do you mean by 'watch' jantje?05:49
soerenbf joined05:50
jantje well, whenever a new commit/push happens to that remote repository for a particular list of files I need to know about it, also, when tags are applied. To watch for changed files I could do ls-remote and just see if the refs/heads/* change, (and then pull in that particular revision to see if the files are changed)05:51
basically I would need to do an incremental git-filter-branch where I did remote everything except for a few directories.05:52
s/remote/remove/05:52
nilg joined05:53
pantsman- left05:53
ckruczek where is the repository hosted? Do you have access to the server?05:53
NeverDie left05:53
skorgon left05:54
jantje ckruczek: yes, I'm hostign it myself05:55
MechtiIde left05:56
devoldmx left05:56
jantje But I don't want to implement it as a post-receive hook05:56
ckruczek ok so then you can apply a post-hook for your repository05:56
hrrr....05:56
:D05:56
Why not?05:56
_ikke_ jantje: post-receive hook is the best place I guess05:56
yeah, why not?05:56
It's the best time to these kind of operations05:57
tverr joined05:57
_ikke_ If it's taking too long time, you can at least use it to schedule something05:57
jantje The problem is that I can't run multiple post-receive operation that both might update the same working tree or something, I would need to implement locking or pass the refs to somethnig else05:58
maestroj_ left05:58
ferhaty joined05:59
jantje is it possble to mimick the post-receive invocations without having access to the post-receive script?05:59
daviid joined05:59
modocache joined06:00
avinashrbhat left06:00
jantje eg, could I somehow find out which refs were updated, which ones are new, deleted, etc. Basically what git-receive-pack gives06:01
modocache left06:02
modocache joined06:02
emulator_ left06:03
gabor_bernat left06:04
modocach_ joined06:04
modocache left06:04
luizetn left06:05
pm90__ joined06:05
dionysus69 joined06:06
modocache joined06:06
Godfather_ joined06:07
soerenbf left06:07
modocac__ joined06:08
modocache left06:08
modocach_ left06:08
pm90_ left06:08
Technocrat7 joined06:09
modocache joined06:10
modocac__ left06:10
FilipNortic joined06:10
jantje I suppose I could just record all the invocations of the post-receive script, but it would have been useful to not rely on post-receive feeding the data. (that way it could be run on any remote server and not on the box that hosts the repository)06:12
modocache left06:12
modocache joined06:12
modocache left06:14
modocach_ joined06:14
jceb joined06:14
Technocrat7 left06:14
ckruczek well I am out, can't help you sorry :(06:15
s8321414 joined06:16
modocach_ left06:16
modocache joined06:16
MZAWeb left06:16
skylite joined06:16
acolson joined06:17
Denizzi left06:17
modocache left06:17
in3xes joined06:17
modocache joined06:18
eatsfoobars joined06:18
joo-_ joined06:18
rscata joined06:19
modocach_ joined06:20
roelmonnens joined06:20
Technocrat7 joined06:20
nilg left06:21
modocac__ joined06:22
modocach_ left06:22
modocache left06:22
modocache joined06:24
modocac__ left06:24
HmmrFll joined06:24
modocach_ joined06:26
modocache left06:26
modocache joined06:27
modocach_ left06:27
tpollard left06:29
arup_r joined06:29
modocach_ joined06:29
modocache left06:30
modocache joined06:31
modocach_ left06:31
Manikandan left06:33
jantje no proble, thanks ckruczek06:33
modocache left06:33
leeN joined06:33
modocache joined06:33
t2mkn joined06:35
modocache left06:35
modocache joined06:35
mehola left06:36
cabreraM516 joined06:36
modocache left06:37
PCatinean joined06:37
modocache joined06:37
izabera joined06:37
in3xes left06:37
waveclaw left06:38
catsup joined06:38
izabera left06:38
modocach_ joined06:39
dadamssg joined06:39
modocache left06:40
settermjd joined06:40
Technocrat7 left06:40
Manikandan joined06:40
modocache joined06:41
modocach_ left06:42
cabreraM516 left06:43
modocache left06:43
nnyk joined06:43
modocache joined06:43
whomp joined06:44
scarabx left06:44
whomp how can i condense all of my changes from a branch into one commit?06:44
Sceorem joined06:44
dadamssg left06:44
ckruczek git rebase -i and then squash all commits in one.06:45
modocach_ joined06:45
lb1a joined06:45
ckruczek !squash06:45
joo-_ left06:45
ckruczek damn it06:45
modocache left06:45
ckruczek !rebase-interactive06:45
DAMN IT GITINFO06:45
whomp lawl06:46
luizetn joined06:46
whomp thx06:46
joo-_ joined06:47
joo-_ left06:47
modocache joined06:47
modocach_ left06:47
modocache left06:49
whomp ckruczek, but now i get merge conflicts with intermediate commits. i want to bundle up all of my changes, and *then* apply it as a commit, so that i don't have to deal with merge conflicts with intermediate commits06:49
avinashrbhat joined06:49
modocache joined06:49
tristans1 left06:49
modocach_ joined06:51
modocache left06:51
LordLeBrand joined06:51
modocache joined06:53
modocach_ left06:53
Kelzier joined06:54
modocache left06:55
modocache joined06:55
flowinho joined06:56
modocach_ joined06:57
modocache left06:57
radsy left06:58
modocach_ left06:58
modocache joined06:59
ckruczek whomp: well then do it again after you merged, do a squash again06:59
shad_ joined07:00
modocache left07:01
modocache joined07:01
michael_mbp left07:01
bronson joined07:02
shad_ left07:02
shad_ joined07:02
modocach_ joined07:03
modocache left07:03
_ikke_ ckruczek: !trigger07:03
gitinfo ckruczek: [!triggers] Please don't spam me! I'm just a poor bot! Here's everything I know: http://jk.gs/git/bot/trigger.php -- that's a list of these nifty keywords like "!bot" that you can use in the channel, in case you were wondering.07:03
leeN left07:03
_ikke_ ckruczek: Then there is also man <page>07:03
ckruczek: man git07:03
gitinfo ckruczek: the git manpage is available at http://jk.gs/git.html07:03
shad_ left07:04
modocach_ left07:04
modocache joined07:05
shad_ joined07:05
Nick-S joined07:05
jmpp left07:06
michael_mbp joined07:06
modocache left07:06
modocache joined07:07
bronson left07:07
shad_ left07:08
Kelzier left07:08
soerenbf joined07:08
modocache left07:08
modocache joined07:08
ckruczek thx _ikke_07:10
Timvde left07:10
modocache left07:10
modocach_ joined07:10
darkbasic left07:11
chargen joined07:12
darkbasic joined07:12
Timvde joined07:12
modocach_ left07:12
modocache joined07:12
TomyWork joined07:13
Sazhen86 left07:14
modocach_ joined07:14
modocache left07:14
Dazzyp joined07:15
Sazhen86 joined07:15
modocach_ left07:16
modocache joined07:16
alextheger joined07:17
torbjorn joined07:17
MarcGuay left07:17
daviid left07:17
torbjorn git pull is rpevented by a file with local changes, but git diff shows nothing, and if i git checkuot that file, i still cannot git pull07:17
what can i do to just ignore that file and do the git pull?07:18
bonswouar joined07:18
canton7 torbjorn, output of 'git status'?07:18
canton7 places a bet on the file being staged07:18
torbjorn oh its ia new file yes07:18
Seveas no bet07:18
modocach_ joined07:18
modocache left07:18
canton7 follow the instructions that 'git status' gives you to unstage the file07:18
torbjorn ignore me07:19
yes07:19
torbjorn heads back down into his hole07:19
alextheger left07:19
modocach_ left07:20
thiago left07:20
modocache joined07:20
modocach_ joined07:22
modocache left07:22
tumulte joined07:24
modocach_ left07:24
modocache joined07:24
_tgunr left07:24
{0xc6} joined07:25
nuge joined07:25
{0xc6}{198}07:25
modocach_ joined07:26
modocache left07:26
dvaske joined07:27
andyr joined07:27
modocach_ left07:28
modocache joined07:28
MarcGuay joined07:29
dvaske_ joined07:29
mattp_ left07:29
modocach_ joined07:30
chargen left07:30
modocache left07:30
vectortrex left07:30
TekhnoLife joined07:31
BeatrixKiddo left07:31
dvaske left07:31
modocache joined07:32
modocach_ left07:32
AmR|EiSa left07:34
modocach_ joined07:34
modocache left07:34
Balliad joined07:34
t2mkn left07:35
TekhnoLife left07:36
modocache joined07:36
modocach_ left07:36
_ikke_ remember, git status is your friend :P\07:36
jost joined07:36
flowinho left07:36
flowinho joined07:37
Dro__ joined07:37
mikoni joined07:37
modocach_ joined07:38
modocache left07:38
nnyk left07:39
modocach_ left07:39
modocache joined07:40
modocach_ joined07:42
modocache left07:42
GT4066 joined07:42
modocach_ left07:43
modocache joined07:43
hvaiu joined07:44
hvaiu left07:44
alivx joined07:45
rolfb joined07:46
modocach_ joined07:46
modocache left07:46
eatsfoobars left07:46
modocache joined07:47
modocach_ left07:47
alivx_ joined07:48
Nizumzen joined07:48
dgutierrez1287 joined07:48
Nizumzen left07:48
joel_falcou joined07:49
Nizumzen joined07:49
modocach_ joined07:49
modocache left07:50
vdr joined07:50
modocach_ left07:51
modocache joined07:51
vdr left07:51
zoso left07:52
farn left07:52
dgutierrez1287 left07:53
modocach_ joined07:53
modocache left07:54
Silox| joined07:55
modocach_ left07:55
modocache joined07:55
zoso joined07:56
D-Boy left07:56
devoldmx joined07:56
basiclaser joined07:57
modocach_ joined07:57
modocache left07:57
modocache joined07:59
modocach_ left07:59
TheBrayn joined08:00
maxorator left08:00
TheBrayn hi08:00
ckruczek hi08:00
Orbitrix left08:00
ferhaty left08:00
Orbitrix joined08:01
devoldmx left08:01
modocache left08:01
modocache joined08:01
TheBrayn I have committed this and pushed it to github: https://github.com/SC-Networks/puppet-foreman/commit/b1d6cea98187d8f1addd9a926ed85c3a26cd48ec the indendation is messed up in the diff but not in the actual file: https://github.com/SC-Networks/puppet-foreman/blob/plugin_prefix/manifests/init.pp#L2208:01
I'm also seeing this locally so it's not a github specific thing08:02
maxorator joined08:02
harish left08:03
modocache left08:03
modocach_ joined08:03
Sazhen86 left08:04
WeS left08:04
modocache joined08:05
modocach_ left08:05
modocache left08:07
modocache joined08:07
bongjovi joined08:07
farn joined08:07
modocache left08:09
tvw joined08:09
modocache joined08:09
dreiss left08:10
AramKaram joined08:10
modocache left08:11
modocache joined08:11
nour joined08:11
dc5ala joined08:11
Sazhen86 joined08:13
modocach_ joined08:13
modocache left08:13
Dazzyp left08:13
vomy joined08:14
marcogmonteiro joined08:14
pjp joined08:14
michael_mbp left08:14
modocache joined08:15
D-Boy joined08:15
vomy left08:15
noisebleed joined08:15
pjp Hi, how does one use the reported-by attribute when committing a change?08:15
modocach_ left08:15
s8321414 left08:15
pjp Or is it used when formatting a patch with format-patch??08:15
s8321414 joined08:16
michael_mbp joined08:17
modocach_ joined08:17
modocache left08:17
encod3 joined08:17
howdoi joined08:18
bstrarm joined08:18
canton7 pjp, just add it to the commit message - it's nothing special, other than text08:18
_ikke_ pjp: It depends on the project08:19
modocache joined08:19
modocach_ left08:19
pjp canton7: I see, I thought it's a command line option, thank you.08:19
_ikke_: Yep,08:19
jast no, only signed-off-by has a command line switch08:20
sagittarian joined08:20
pjp jast: Yes,08:20
bustrarm left08:20
dsdeiz_ joined08:20
onmzc joined08:20
c0mrad3 left08:20
modocach_ joined08:21
Alienpruts joined08:21
modocache left08:21
kurkale6ka joined08:21
terminal_echo left08:21
onmzc left08:21
dsdeiz left08:21
torbjorn left08:21
Jwzu joined08:22
tristans1 joined08:22
nnyk joined08:22
modocach_ left08:22
modocache joined08:23
Jwzu left08:23
zacts left08:23
nicechap joined08:23
zacts joined08:24
Kulrak left08:24
modocach_ joined08:24
modocache left08:25
tristans1 left08:26
modocach_ left08:26
modocache joined08:26
rvfo joined08:27
rvfo left08:27
nnyk left08:28
Kcpb joined08:28
modocache left08:28
modocach_ joined08:28
Hounddog joined08:28
Kcpb left08:29
Kulrak joined08:30
Kulrak left08:30
Kulrak joined08:30
fscala left08:30
modocach_ left08:30
Ufbig joined08:30
modocache joined08:30
fscala joined08:31
Ufbig left08:31
howlymowly joined08:31
Tiv joined08:32
Tiv left08:33
arussel` joined08:33
sysanthrope joined08:33
udzka joined08:34
endiruna joined08:34
nnyk joined08:35
udzka left08:35
modocache left08:35
kraplax joined08:35
tdgp joined08:35
hrlty left08:36
madebymarkca left08:36
Steadfast joined08:36
tdgp left08:36
jds joined08:37
arussel left08:37
Ratler left08:37
denimsoft joined08:37
Jmzz joined08:38
CustosLimen joined08:38
Jmzz left08:38
Ratler joined08:39
liamkeily joined08:39
omuu joined08:40
dadamssg joined08:40
aard joined08:40
omuu left08:41
AramKaram everytime I make a change to my file I need to stage it again in order to have it tracked?08:41
ferhaty joined08:42
blr left08:42
Voqb joined08:43
Voqb left08:44
liamkeily left08:44
dadamssg left08:45
Oqe joined08:45
sinkensabe joined08:45
CustosLimen left08:46
Oqe left08:46
TomyWork left08:46
Uope joined08:46
lb1a AramKaram, you'll have to stage anything that should be in your next commit08:47
tobiasvl AramKaram: kgirthofer yes08:47
Uope left08:47
tobiasvl kgirthofer: sorry, wrong hilight08:47
elsevero joined08:48
Zariel joined08:48
elsevero left08:49
aoaoo joined08:49
AramKaram thanks lb1a tobiasvl :) one more question, could somebody give me an url or whatever it is that explains what remotes are? Ive read one or two about it but it doesn't entirely make sense to me, I can't seem to understand what it is?08:49
aoaoo left08:49
lb1a AramKaram, !progit is a nice open book to read about it. and you can play with the interactive tutorial from !try_git08:50
gitinfo AramKaram: [!book] 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 !parable08:50
lb1a !trygit08:50
gitinfo A quick, interactive, in-browser introduction to git is available at http://try.github.io08:50
lb1a AramKaram, ^ !trygit08:50
iuqi joined08:50
aspiers joined08:50
AramKaram thanks :)08:51
iuqi left08:51
matleh joined08:51
joo-_ joined08:51
lb1a yw08:51
darkbasic_ joined08:52
darkbasic left08:52
Zariel left08:53
kraplax left08:53
kraplax joined08:54
TomyWork joined08:54
wrouesnel1 joined08:55
matleh left08:55
notebox joined08:56
diafour_ joined08:57
CustosLimen joined08:58
geoid joined08:59
nerd left08:59
dimi1947 joined09:01
michael_mbp left09:01
freestyl3r joined09:02
TomyWork left09:03
LadyAlissa left09:03
tvw left09:03
reim left09:04
dimi1947 can the assume unchanged command be implemented in an untracked file09:04
michael_mbp joined09:04
dimi1947 ?09:04
TomyWork joined09:05
canton7 don't use --assume-unchanged09:05
see !config09:05
gitinfo [!configfiles] It is recommended to store local configuration data in a file which is not tracked by git, but certain deployment scenarios(such as Heroku) may require otherwise. See https://gist.github.com/1423106 for some ideas09:05
canton7 ... but for untrakced files, you can ignore them using .gitignore anyway, surely?09:05
nnyk left09:05
canton7 (or .git/info/exclude if you don't want the ignore rule to be public)09:05
endiruna left09:05
dimi1947 what is .gitignore...is it a command09:05
harish_ joined09:06
_ikke_ It's a file09:06
man gitignore09:06
gitinfo the gitignore manpage is available at http://jk.gs/gitignore.html09:06
jost_ joined09:07
dimi1947 then...what is better to use...gitignore or the assume unchanged command...what is the difference between the two?09:08
endiruna joined09:08
canton7 never ever ever use --assume-i=unchanged09:08
* --assume-unchanged09:08
jostGuest4146209:08
jost_ left09:08
jost_ joined09:09
jost_ left09:09
dimi1947 why?09:09
LadyAlissa joined09:09
_ikke_ !assume09:09
gitinfo [!assume_unchanged] git update-index --assume-unchanged is a promise to git you won't change a file. If you do change that file, you will make git cry.09:09
notebox left09:10
jast assume-unchanged is only for optimizing. the flag isn't stable. it may be removed at any time, and git may also overwrite the file with a fresh copy at any time.09:10
mattp_ joined09:10
dimi1947 ok....09:10
one more thing...09:10
jast how about we make the trigger a bit more informative...09:10
LadyAlissa left09:10
Guest41462 left09:10
LadyAlissa joined09:10
dimi1947 gitignore is an extension name? I cannot find the file09:10
canton7 yeah, "make git cry" isn't a very good answer to "why"09:10
dimi1947, read man gitignore09:10
gitinfo dimi1947: the gitignore manpage is available at http://jk.gs/gitignore.html09:10
jast working on it09:10
_ikke_ dimi1947: It's a file you can make yourself09:10
jast: ok09:11
dimi1947: git doesn't create it automatically09:11
AramKaram left09:11
canton7 dimi1947, see also https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository#Ignoring-Files09:11
jast .trigger_edit assume_unchanged git update-index --assume-unchanged is sometimes suggested for keeping yourself from committing changes to a file, but it's actually meant to tell Git that there are definitely no changes at all in the file, to reduce unnecessary disk access. Git will feel free to discard the flag or overwrite the file at any time it feels like it.09:11
gitinfo jast: Okay.09:11
nnyk joined09:11
denimsoft left09:11
jast it's not exactly true but true enough for our purposes, I think09:12
denimsoft joined09:12
_ikke_ I liked the promise bit, but alright09:12
bastelfreak joined09:13
endiruna left09:13
darkbasic joined09:14
Sceorem left09:14
darkbasic_ left09:14
jast .trigger_edit assume_unchanged git update-index --assume-unchanged is sometimes suggested for keeping yourself from committing changes to a file, but it's actually a promise to Git that the file is identical to the committed version, to reduce unnecessary disk reads. Not only will Git feel free to discard the flag, it will also happily overwrite your changes whenever a checkout/merge/rebase/... updates it.09:15
gitinfo jast: Okay.09:15
jast more accurate, more promise09:15
hope it's not too long now... !assume09:15
gitinfo [!assume_unchanged] git update-index --assume-unchanged is sometimes suggested for keeping yourself from committing changes to a file, but it's actually a promise to Git that the file is identical to the committed version, to reduce unnecessary disk reads. Not only will Git feel free to discard the flag, it will also happily overwrite your changes whenever a checkout/merge/rebase/... updates it.09:15
jonno11 joined09:16
Zariel joined09:18
sailorswift joined09:18
Zariel left09:18
Padawan_ left09:19
Zariel joined09:19
tehtraveler2321 joined09:19
Padawan_ joined09:20
Balliad left09:21
wrouesnel1 left09:22
jiggerypokery joined09:23
Balliad joined09:24
arup_r left09:26
notebox joined09:26
arup_r joined09:27
jonno11 left09:27
jonno11 joined09:27
arup_r left09:27
sshine`` left09:28
eGGsha joined09:30
dimi1947 I am using alse git gui...and I face a strange situation where a file is shown with a modification in it....but in the editor(Netbeans..which is connected with git)...no mod is shown....THE FILE IS INCLUDED IN THE INDEX09:30
sparetire_ joined09:31
eliasp left09:32
Walex joined09:33
eliasp joined09:34
dc5ala left09:34
whomp left09:35
reim joined09:36
ahr3n joined09:37
canton7 dimi1947, sounds like a netbeans issue? or is there something else going on/09:38
dwmw2_gonedwmw209:39
nerd joined09:39
Dro__ left09:40
Sazhen86 left09:41
troulouliou_div2 joined09:44
dougsland joined09:49
fracting left09:49
jonno11_ joined09:49
daito left09:49
fracting joined09:50
daito joined09:50
X67r joined09:51
alivx_ left09:52
sixtyten joined09:53
rivarun left09:53
jonno11 left09:53
dimi1947 left09:53
arup_r joined09:53
rivarun joined09:53
ShapeShifter499 left09:53
raven-au left09:53
s8321414 left09:54
daito left09:55
fracting left09:55
eGGshaeGGshke09:55
eGGshkeeGGsha09:55
darkbasic_ joined09:56
tjm_jimmy joined09:56
eGGshaeGGshke09:56
darkbasic left09:56
devoldmx joined09:57
devoldmx left10:02
bronson joined10:03
fracting joined10:03
raven-au joined10:04
sailorswift left10:04
ferhaty left10:04
markelite left10:06
bronson left10:08
soerenbf left10:09
tristans1 joined10:10
clarkpan_ joined10:10
markelite joined10:12
a3Dman left10:12
temmi_hoo left10:13
jokke left10:13
clarkpan left10:13
eGGshkeeGGsha10:14
clarkpan_ left10:14
tristans1 left10:15
a3Dman joined10:16
bongjovi left10:17
jeadre joined10:18
Sceorem joined10:18
reim left10:19
tristans1 joined10:19
ferhaty joined10:20
stamina joined10:21
astrofog joined10:25
eatsfoobars joined10:25
eatsfoobars left10:26
neanderslob left10:26
geoid left10:27
usr819563 joined10:27
neanderslob joined10:28
modocache joined10:31
maxorator left10:32
maxorator joined10:32
geoid joined10:34
zoso left10:35
modocache left10:36
synthmea1 left10:37
synthmeat joined10:37
soerenbf joined10:39
ahr3n left10:40
dadamssg joined10:41
mprelude joined10:42
LadyAlissa left10:42
LadyAlissa joined10:42
tehtraveler2321 left10:43
leeN joined10:44
mgc-svetatroica joined10:44
dadamssg left10:45
zoso joined10:47
sleezd left10:48
sleezd joined10:50
reim joined10:51
temmi_hoo joined10:53
mostlybadfly joined10:53
neanderslob left10:53
EduardoMartins joined10:55
neanderslob joined10:55
reim left10:57
freestyl3r left10:58
neanderslob left10:58
stfn left10:59
Zariel left10:59
stfn joined11:00
neanderslob joined11:00
theskillwithin left11:01
neanderslob left11:03
Manikandan left11:04
eGGshaeGGshke11:05
neanderslob joined11:07
freestyl3r joined11:07
flowinhoflowinho[afk]11:08
Dro__ joined11:08
darkbit left11:09
saidelike joined11:10
tjm_jimmy left11:10
cavallari joined11:11
rnsanchez joined11:13
iraw_ joined11:13
neanderslob left11:13
DolphinDream left11:14
sdothum joined11:15
neanderslob joined11:15
eGGshkeeGGsha11:15
macabre left11:15
macabre joined11:16
Kallis joined11:17
Kallis left11:17
OnkelTem left11:18
Manikandan joined11:18
OnkelTem joined11:19
Akagi201 joined11:21
reim joined11:22
Manikandan left11:23
dgutierrez1287 joined11:23
Kallis joined11:23
ferhaty left11:24
sixtyten left11:24
encod3 left11:25
neanderslob left11:25
jazywest joined11:26
sixtyten joined11:28
reim left11:29
reim joined11:32
Peaker joined11:33
encod3 joined11:34
Peaker it seems everybody encountering a "delete/modify" conflict -- thinks they should just delete or re-add the file.. both are wrong ways to resolve almost always! Is there a sane way to see what the modify was?11:34
aspiers left11:34
Peaker my current way is to use "git mergetool", when it asks if to accept the modified/deleted file, I say "abort", get 4 files left over on my file system, and can diff BASE with LOCAL or REMOTE to see what the change was and find how it should be applied (if at all)11:34
but this is insane!11:34
surely there should be a way to extract what the delete/modify conflict actually is?11:35
osse Peaker: the conflict by nature is the whole file. If it was deleted in Foo and modified in Bar you can see the modifications with git diff Foo...Bar file11:36
note triple dot, not double11:36
Peaker osse: the conflict is: one side deleted whole file. another side made some potentially small change. I want to see what the change was11:37
but I'm in the middle of a rebase11:37
Dazzyp joined11:37
Peaker I don't typically have easy access to the exact refspecs11:37
keroro520 left11:37
Sceorem left11:38
osse the output of git rebase tells you which commit you're currently rebasing. git show {that commit}11:38
Manikandan joined11:38
osse my first suggestion should also work jsut fine11:38
Peaker git show {that commit} -- {that file} might work if the modification is in the commit being cherry-picked in the rebase11:39
egs_3 joined11:39
Peaker but if it was deleted in the rebase, then I guess git diff ...rebase-target -- {that file} might work11:39
osse if git rebase stopped then it is.11:39
sure, git diff Bar...Foo then11:40
reim left11:41
tempname11 joined11:41
Peaker where "Bar" and "Foo" are the "hash being cherry-picked" (hopefully I have my console log from the rebase still available) and "rebase-target"?11:41
skylite left11:41
osse I think you can replace "hash being cherry-picked" with "the branch you're rebasing"11:42
Kelzier joined11:42
mezod joined11:42
Peaker that'll throw some noise in though if the file was touched later11:42
osse yes11:43
which will probably also be conflicts later anyway11:43
s8321414 joined11:43
osse otherwise git show "has being cherry-picked" will show it11:43
darkbasic joined11:44
Peaker the 3-dot diff shows the deletion on one side, and nothing on the other :(11:44
darkbasic_ left11:44
m0viefreak joined11:44
Peaker git diff {being_rebased}...master -- {the file} shows deletion (that happened in master)11:44
git diff master...{being_rebased} -- {the file} shows nothing11:45
oh, I think the changes may have been reverted inside the branch, canceled themselves out11:45
osse that sounds likely11:45
jigjug joined11:45
Peaker yep, master...{midpoint_in_branch_that_had_the_conflict} has the useful output11:46
is it possible to automate this easily? A command that can nicely figure out what diff to compute when it sees a delete/modify conflict?11:46
I want to enhance my resolve-trivial-conflicts :)11:46
SimonNa joined11:47
arussel` left11:47
osse don't you already have it? git diff master..midpoint11:48
git diff master...midpoint in the case of a rebase11:48
Peaker and IMO the fact that github guide and stack overflow answers and mergetool all suggesting the proper way to resolve such a conflict is either adding or deleting the file -- is virtually guaranteed to lead to faulty conflict resolutions11:48
dsilva joined11:48
osse but that diff should be equal to the diff git diff midpoint shows11:48
ehh, git show midpoint11:48
Peaker osse: I want something that works in all delete/modify conflict states, whether they're from rebase, merge, etc11:48
osse: (automated)11:48
Sceorem joined11:49
m0ltar joined11:49
osse hmm11:50
I want a new car11:50
encod3 left11:50
encod3 joined11:51
astrofog left11:51
Peaker osse: Oh I'm willing to write it myself, just wondering where the information lies11:51
I can go dig inside the code of "git mergetool" because it extracts that information somehow11:51
aspiers joined11:52
macabre left11:52
osse if merge: git diff HEAD...MERGE_HEAD or git diff MERGE_HEAD...HEAD depending. if rebase: git diff Foo..midpoint where Foo is what you rebase onto and midpoint is as above.11:53
btu as I said git diff midpoint~ midpoint should give the same result in that case11:53
you can find the midpoint by looking in .git/rebase-todo or something. can't remember exactly11:53
EduardoMartins left11:54
Peaker ok the code of mergetool isn't that complicated11:54
EduardoMartins joined11:55
joo-_ left11:55
encod3 left11:56
joo-_ joined11:57
joo-_ left11:57
devoldmx joined11:58
tinajohnson joined11:58
fstd left11:59
ManneW left11:59
fstd joined11:59
s8321414 left12:00
iraw_ left12:01
iraw_ joined12:02
devoldmx left12:02
dionysus69 left12:02
reim joined12:04
iraw_ left12:06
sixtyten left12:07
ferhaty joined12:08
iraw_ joined12:08
Dro__ left12:09
Dro___ joined12:10
mikoni left12:10
Cyclohexane left12:10
nour left12:10
mikoni joined12:11
knownasilya joined12:12
reim left12:14
vurma joined12:14
Elion left12:14
reim joined12:14
Kallis left12:14
paul424 joined12:14
Cyclohexane joined12:15
black_silence joined12:15
Noldorin joined12:16
mellernoia joined12:17
qpdb left12:17
aard left12:17
sixtyten joined12:18
mizu_no_oto joined12:18
Manikandan left12:18
jonno11_ left12:18
encod3 joined12:19
Silox| left12:20
jceb left12:20
jceb joined12:20
uri_ joined12:21
rwb joined12:22
joo-_ joined12:22
joo-_ left12:22
dsdeiz_ left12:23
darkbasic left12:25
darkbasic joined12:25
mezod left12:25
pjp left12:27
joo-_ joined12:27
nerd left12:27
joo-_ left12:27
joo-_ joined12:28
joo-_ left12:29
eGGshaeGGshke12:29
LBV_User joined12:29
Akagi201 left12:31
halfline left12:31
nerd joined12:32
modocache joined12:32
Zariel joined12:32
flashpoint9 joined12:32
halfline joined12:33
joo-_ joined12:33
aard joined12:33
mezod joined12:34
Joel_ joined12:34
crose joined12:35
eGGshkeeGGsha12:35
Joel_Guest6479912:35
joel_falcou left12:36
modocache left12:37
linduxed joined12:38
darkbasic left12:39
ferhaty left12:39
darkbasic joined12:39
abibas joined12:40
s8321414 joined12:40
dadamssg joined12:42
soerenbf left12:45
s8321414 left12:46
dadamssg left12:47
faux___ left12:47
c0mrad3 joined12:47
ColdKeyboard left12:47
faux___ joined12:48
Godfather_ left12:52
abibas left12:53
ColdKeyboard joined12:53
s8321414 joined12:53
MarkyC joined12:56
MarkyC left12:57
iraw_ left12:58
macabre joined12:58
iraw_ joined12:58
reim left12:59
MarkyC joined12:59
s8321414 left13:00
CheckDavid joined13:00
griotspeak joined13:02
jazywest left13:02
notebox left13:03
notebox joined13:03
tristans1 left13:04
jxpx777 joined13:04
dgutierrez1287 left13:05
Joel__ joined13:06
nszceta joined13:06
Spacew00t joined13:06
nszceta left13:06
s00pcan left13:07
nszceta joined13:08
nszceta left13:08
s00pcan joined13:09
nszceta joined13:09
Guest64799 left13:09
nszceta left13:10
mizu_no_oto left13:10
chuchunaku joined13:10
clarkpan joined13:11
ayaz left13:11
s8321414 joined13:11
Peaker left13:11
dstarh joined13:12
kraplax left13:12
tjm_jimmy joined13:13
Godfather_ joined13:14
troulouliou_div2 left13:14
egs_3 left13:14
LadyAlissa left13:15
michael_mbp left13:15
Dreamer3 left13:15
LadyAlissa joined13:15
clarkpan left13:15
dsdeiz joined13:16
michael_mbp joined13:17
nettoweb joined13:18
notebox left13:19
iraw__ joined13:20
iraw__ left13:21
keroro520 joined13:21
WeS joined13:22
iraw_ left13:22
chitopunk joined13:22
notebox joined13:22
Gamecubic joined13:25
jxpx777 left13:26
NimeshNeema joined13:29
devoldmx joined13:29
ferhaty joined13:29
keroro520 left13:31
linux-modder joined13:31
linux-modder left13:32
devoldmx left13:33
cdown joined13:34
eGGshaeGGshke13:34
cdown left13:36
Zariel left13:37
sfan786 joined13:37
linux-modder joined13:37
Zariel joined13:37
Zariel left13:37
Zariel joined13:38
Zariel left13:38
cbonobo joined13:38
modocache joined13:38
tvw joined13:39
Zariel joined13:39
sfan786 left13:39
keroro520 joined13:40
sfan786 joined13:40
EduardoMartins left13:41
yohnnyjoe joined13:41
qpdb joined13:42
eGGshkeeGGsha13:43
Raging_Hog left13:44
kevwil_ joined13:44
xudongz joined13:45
qt-x joined13:46
uri_ left13:46
CKyle joined13:46
marc_v92 joined13:48
axl_ joined13:49
Kelzier left13:49
chuchunaku left13:50
AaronMT joined13:50
CKyle left13:52
DolphinDream joined13:52
ckruczek left13:54
mbrzuzy joined13:56
kadoban joined13:56
thiago joined13:57
daynaskully left13:57
mezod left13:58
daynaskully joined13:58
Joel__ left13:59
s8321414 left13:59
xudongz left14:00
KaIdEn13 joined14:01
Peaker joined14:01
KaIdEn13wessbrown8414:02
crose left14:02
ehynds joined14:02
keroro520 left14:03
wessbrown84 left14:03
wessbrown84 joined14:03
sfan786 left14:04
cyphase left14:04
eGGsha left14:04
CKyle joined14:04
cyphase joined14:05
cyphase left14:05
Technocrat7 joined14:05
synchron- left14:05
Tesseract85 joined14:05
joo-_ left14:05
alivx left14:07
ASOLAr joined14:07
ASOLAr left14:07
Kulrak left14:07
diafour_ left14:07
phantombeta left14:08
MZAWeb joined14:08
irwiss joined14:08
reim joined14:09
eGGsha joined14:09
keroro520 joined14:10
jacaballero joined14:10
phantombeta joined14:10
Darcidride joined14:10
jmckind joined14:11
linux-modder left14:11
kevwil joined14:11
cyphase joined14:11
cyphase left14:11
cyphase joined14:11
kevwil_ left14:12
jacaballero left14:12
joo-_ joined14:13
joo-_ left14:13
sfan786 joined14:16
keroro520 left14:16
joo-_ joined14:16
joo-_ left14:17
arup_r left14:18
mgc-svetatroica left14:19
joo-_ joined14:20
qt-x left14:20
joo-_ left14:20
Kulrak joined14:20
Kulrak left14:20
Kulrak joined14:20
dvaske_ left14:21
Zariel left14:21
joo-_ joined14:21
reim left14:21
Joel__ joined14:22
joo-_ left14:23
prefixed joined14:23
prefixed how do ignore an already tracked file?14:23
git reset name_of_file does not appear to work14:23
Zariel joined14:24
marc_v92 left14:25
bremner !ignore_tracked14:25
gitinfo Git only applies ignore patterns to untracked files. You can't use ignore patterns to ignore changes to files that are already tracked by git. To remove files only from git, but keeping them on disk, use git rm --cached <file>. Still, see https://gist.github.com/1423106 for ways people have worked around the problem.14:25
voodo joined14:25
IrishPrime joined14:26
Technocrat7 left14:26
prefixed hm14:26
marc_v92 joined14:26
gamename joined14:27
kadoban prefixed: Also see !config , since that's 99% of the time why people want to do that.14:27
gitinfo prefixed: [!configfiles] It is recommended to store local configuration data in a file which is not tracked by git, but certain deployment scenarios(such as Heroku) may require otherwise. See https://gist.github.com/1423106 for some ideas14:27
prefixed ok14:27
gfixler left14:27
madewokherd joined14:28
dsdeiz left14:29
joo-_ joined14:29
joo-_ left14:29
sanketdg joined14:30
bernardio joined14:31
joo-_ joined14:32
pjp joined14:32
joo-_ left14:32
mezod joined14:33
skylite joined14:34
geoid left14:34
synchronous joined14:34
JackFruh joined14:35
Raging_Hog joined14:35
CKyle left14:36
Ornacia joined14:36
ferhaty left14:37
geoid joined14:37
joo-_ joined14:37
keroro520 joined14:37
mattcen left14:37
joo-_ left14:37
denimsoft left14:37
howlymowly left14:37
wgrant left14:38
paul424 left14:39
mattcen joined14:39
wgrant joined14:39
joo-_ joined14:40
notebox left14:40
joo-_ left14:40
gargola joined14:41
denimsoft joined14:41
p4trick joined14:41
wessbrown84WeSsBrOwN8414:42
dadamssg joined14:43
darkbit joined14:43
Nick-S left14:43
avinashrbhat left14:43
Kulrak left14:43
joo-_ joined14:43
joo-_ left14:43
daivyk joined14:44
NeverDie joined14:45
madewokherd left14:46
joo-_ joined14:47
joo-_ left14:47
rchavik left14:47
griotspeak left14:47
tvw left14:47
darkbit left14:48
dadamssg left14:48
acolson left14:48
nettoweb left14:48
darkbit joined14:48
weiyang joined14:48
Peaker left14:48
weiyang left14:48
weiyang joined14:49
adgtl joined14:49
theskillwithin joined14:49
sdfgsdfg left14:49
glosoli joined14:50
Alienpruts left14:50
adgtl_ joined14:51
lb1a left14:51
eGGsha left14:52
CKyle joined14:52
DrHouse|HP8440p joined14:52
DolphinDreamm joined14:52
t2mkn joined14:53
bronson joined14:53
neurodrone_ joined14:53
mattcen left14:54
sfan786 left14:54
adgtl left14:54
Khisanth left14:55
mattcen joined14:55
rscata left14:55
MarcGuay left14:56
glosoli left14:56
sfan786 joined14:57
Joel__ left14:57
OrnaciaDeez_Nuts14:57
bronson left14:57
keroro520 left14:58
DrHouse|HP8440p left14:59
Peaker joined14:59
sfan786 left14:59
Kulrak joined14:59
Kulrak left14:59
Kulrak joined14:59
rubie joined14:59
Zariel left15:00
ShapeShifter499 joined15:00
CKyle left15:00
sfan786 joined15:00
cavallari left15:01
joo-_ joined15:01
joo-_ left15:01
jacaballero joined15:01
bango2 joined15:02
nettoweb joined15:03
DrHouse|HP8440p joined15:04
roelmonnens left15:05
flowinho[afk] left15:05
Khisanth joined15:06
PerlJam joined15:06
The_Phoenix joined15:07
nofxx joined15:07
joo-_ joined15:07
joo-_ left15:07
rolfb left15:08
nofxx Is there some sanity tool to work with ppl with stupid editors? Tip: you're using it if you never felt like a slave monkey merging dead space sh**15:09
p4trick left15:09
rubie left15:09
joo-_ joined15:09
qsuscs nofxx: trailing whitespace or cr and/or lf fuckup?15:09
MarcGuay joined15:09
tgunr joined15:10
weiyang left15:10
nofxx qsuscs, sorry my rant... =D yeah15:10
kevwil left15:10
nofxx qsuscs, also tabs to spaces15:10
joo-_ left15:10
qsuscs nofxx: git can't handle the latter one (i recommend some seven feet russians with baseball bats for that), for the former !crlf and man git diff --whitespace-something15:11
gitinfo nofxx: to fix problems with line endings on different platforms, check out http://line-endings.gitrecipes.de/15:11
nofxx: the git-diff manpage is available at http://jk.gs/git-diff.html15:11
Sceorem left15:11
qsuscs or git diff --check? tell people to use it as hook, iirc it was even in the sample hook15:11
joo-_ joined15:12
madewokherd joined15:13
t2mkn left15:13
joo-_ left15:13
bonswouar left15:14
joo-_ joined15:14
joo-_ left15:14
_tgunr joined15:14
nofxx qsuscs, ty15:14
tgunr left15:14
black_silence left15:14
Kulrak left15:14
Technocrat7 joined15:15
gh0sted joined15:15
dgutierrez1287 joined15:17
_ikke_ You can setup a smudge / clean filter with expand15:17
Amandil joined15:18
Zariel joined15:20
rodrigograca31 joined15:20
Ragnor left15:21
dgutierrez1287 left15:22
jacaballero left15:22
settermjd left15:23
joo-_ joined15:23
joo-_ left15:23
vurma left15:25
shaggycat_ joined15:25
jerematic joined15:28
tumulte left15:28
pjp left15:28
jceb left15:29
refried_ joined15:29
refried_ left15:29
keroro520 joined15:29
francis7 left15:29
avinashrbhat joined15:29
jerematic left15:29
gh0sted left15:29
joo-_ joined15:29
devoldmx joined15:29
tang^ joined15:30
stamina left15:30
Peaker osse: thanks for the help, I ended up using git checkout-index --stage=all -- <path> which reads stages 1,2,3 of the index of the unmerged file. 1=base, 2=local, 3=remote15:30
osse: it's basically what mergetool does to get its own versions of the file15:30
Zariel left15:31
jmckind left15:31
renegade_ joined15:31
refried_ joined15:32
Ragnor joined15:33
fexlion joined15:33
refried_ left15:34
devoldmx left15:34
jmckind joined15:34
marc_v92 left15:36
TomyWork left15:37
dreiss joined15:37
Peaker resolve-trivial-conflicts now makes delete/modify conflicts behave just like ordinary conflicts (adds conflict markers) where you can resolve A/B changes in the markers and then resolve-trivial-conflicts will fix the conflict for you :)15:37
marc_v92 joined15:37
Kulrak joined15:39
Kulrak left15:39
Kulrak joined15:39
noisebleed left15:40
francis7 joined15:41
Godfather_ left15:41
Technocrat7 left15:42
Peaker left15:42
Balliad left15:42
Technocrat7 joined15:42
Technocrat7 left15:43
Technocrat7 joined15:43
Technocrat7 left15:44
Technocrat7 joined15:44
flashpoint9 left15:44
hahuang65 left15:45
Nizumzen left15:45
voodo left15:46
Dragooon joined15:48
oojacoboo joined15:48
adgtl_ left15:48
aard left15:48
nnyk left15:48
durham joined15:50
noisebleed joined15:50
renegade_ left15:50
jacaballero joined15:50
roelmonnens joined15:51
keroro520 left15:51
keroro520 joined15:51
roelmonnens left15:51
maestrojed joined15:53
keroro520 left15:53
sorta joined15:53
keroro520 joined15:53
thiago left15:54
rubie joined15:54
Amandil left15:54
gabor_bernat joined15:54
Amandil joined15:55
LadyAlissaAlissa15:55
Dro___ left15:55
gitinfo set mode: +v15:55
gabor_bernat helllo, how can I delete all refs matching a pattern in a mirror clone?15:56
geoid left15:56
Amandil left15:56
Amandil joined15:56
_ikke_ man git for-each-ref15:56
gitinfo the git-for-each-ref manpage is available at http://jk.gs/git-for-each-ref.html15:56
sfan786 left15:57
sagittarian left15:57
osse git for-each-ref ...15:57
grawity you can't easily blacklist them from further fetches though15:57
Amandil left15:57
Technocrat7 left15:57
_ikke_ man git show-ref15:57
gitinfo the git-show-ref manpage is available at http://jk.gs/git-show-ref.html15:57
msonntag left15:58
MaceBewley joined15:58
osse git for-each-ref --format='delete %(refname)' 'refs/heads/*' | git update-ref --stdin15:58
be amazed15:58
Danjo1 joined15:59
Seveas git amazing --osse15:59
gabor_bernat cool :) thanks16:00
Amandil joined16:00
keroro520 left16:00
gabor_bernat afterwards do I need a aggressive gc to cleanup?16:00
osse Seveas: http://i.giphy.com/U1XhGr8CWqvVC.gif16:00
Eugene gabor_bernat - only if you're OCD about getting the last 500KB out of your filesystem.16:01
msonntag joined16:01
ChanServ set mode: +o16:01
griotspeak joined16:01
Eugene changed the topic to: Welcome to #git, the place for git help and pre-sequels | Current stable version: 2.5.1 | clone it, fetch it, merge it, push it | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | Updates were rejected: use the --force16:01
Eugene set mode: -o16:02
_ikke_ Someone got inspired16:02
osse there are three jokes per topic now?16:02
Eugene Are there? Shit.16:02
pm90__ left16:02
ChanServ set mode: +o16:02
zoso left16:02
Eugene changed the topic to: Welcome to #git, the place for git help and pre-sequels | Current stable version: 2.5.1 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | Updates were rejected: use the --force16:02
_ikke_ Forgot to remove the old one16:02
shinnya joined16:02
Eugene The middle one snuck in with DaftPunk.git16:03
jmckind left16:03
Eugene kicked Eugene (Incompetence)16:03
Eugene joined16:03
_ikke_ Het just wanted an extra topic edit :P16:03
marc_v92 left16:03
gbbr joined16:05
Darcidride left16:05
gbbr /usr/local/git/libexec/git-core/git-pull: line 381: exec: git-merge: not found16:05
fatal: 'pull' appears to be a git command, but we were not16:05
able to execute it. Maybe git-pull is broken?16:05
Q: I've recently updated git to 2.5.0 using ./unistall.sh and the downloaded installer. Now I get the above when I do `git pull origin`16:05
Eugene Cool. Sounds like your git install is broken. Are you using a rpm/deb/some other package?16:06
crose joined16:06
Eugene Ah nope, you've decided to roll your own. See our rant about using a !package16:06
gitinfo [!packaged] Unless you have a specific technical need for the "latest and greatest" you should go with a packaged version. Compiling and installing your own is not something that we will walk you through or troubleshoot (though it *is* fairly easy for developers with GNU/Linux experience).16:06
gbbr I'm on OS X, just did the above16:06
I need the latest16:06
Instead of saying it's fairly easy maybe you could provide a link16:07
Hounddog left16:07
Eugene There's a INSTALL document in git.git. If that isn't enough then you should be using a package.16:07
_ikke_ looks in his bag if he has a link16:07
Eugene Package- and version-management is a non-trivial task, and I am too well employed to explain it16:08
If you want to be high-and-mighty with me, well, have fun.16:08
gbbr What's git.git?16:08
I'm not being high and mighty :)16:08
Eugene ......seriously?16:08
https://github.com/git/git.git16:08
gbbr But I've used this installer: https://git-scm.com/download/mac16:09
Zariel joined16:09
gbbr I haven't installed from source16:09
SubZeroFX joined16:09
gbbr Anyway, nvm, this isn't helpful16:09
cagedwisdom left16:09
Eugene Well that's an entirely different bred of brokenness16:09
imachuchu joined16:09
_ikke_ ls -l /usr/local/git/libexec/git-core/git-pull16:10
fexlion left16:10
gbbr _ikke_: the file is there, does that need to be in $PATH?16:10
_ikke_ not necessarily16:10
does it have execute permissions?16:10
c0mrad3 left16:10
gbbr Yes, if I run it, it says: /usr/local/git/libexec/git-core/git-pull: line 51: git-sh-setup: No such file or directory16:10
grawity it does need to have itself in $PATH though16:11
normally `git pull` adds it automatically16:11
but if you run stuff from libexec directly, you also have to set $PATH manually16:11
gbbr t/usr/local/git/libexec/git-core/git-sh-setup doesn't have the right permissions though16:11
grawity it does16:11
sorta left16:11
grawity you're just thinking it needs more permissions than it has16:11
_ikke_ It doesn't need to be executable16:12
git pull sources it16:12
gabor_bernat left16:12
_ikke_ gbbr: GIT_TRACE=1 git pull16:12
it says git-merge not found16:12
gbbr yeah, let me see if perms are ok16:13
lrwxr-xr-x 1 root wheel 13 Aug 31 12:59 git-merge -> ../../bin/git16:13
Muzer left16:13
gbbr Trace doesn't really reveal anything insightful, do you wanna see a copy of it or should I be looking for somethign?16:14
tjm_jimmy left16:15
_ikke_ That symlink looks suspicious16:15
tjm_jimmy joined16:16
osse has a file called git-merge but it's a hardlink16:16
mbrzuzy left16:16
marc_v92 joined16:16
_ikke_ ah yeah16:17
gbbr _ikke_: yeah that is weird16:17
notebox joined16:17
scarabx joined16:17
_ikke_ gbbr: does that symlink resolve to something?16:17
sbogg joined16:18
gbbr No16:18
Should I fix it so that it points to the correct git binary?16:18
_ikke_ This isn't working anyway, so you can only improve things16:18
jmckind joined16:18
gbbr :)16:19
bernardio left16:19
dreiss left16:19
adgtl joined16:19
gbbr That fixed it. Thanks _ikke_16:20
tjm_jimmy left16:21
wald0 joined16:21
_ikke_ yw16:21
wald0 it is possible to clone only a directory of a git repo?16:21
Eugene wald0 - short answer: no.16:22
daviid joined16:22
wald0 specifically, i want to make a fork of a theme included in the repo of an application, but the repo is huge and i only need the "theme" directory16:22
Eugene Long answer: What do you want it for?16:22
Muzer joined16:22
wald0 so i want to fork it as a git because is important to keep track of the changes on it16:22
guampa left16:22
Eugene Download the theme directory and `git init` yourself a fresh repo.16:23
qsuscs 18:07 * _ikke_ looks in his bag if he has a link <= git:kernel:git/git::INSTALL16:23
gitinfo Git web link: https://git.kernel.org/cgit/git/git.git/tree/INSTALL?h=HEAD16:23
johtso joined16:23
Eugene In the initial commit, give a message of "Forked from <url>" or similar.16:23
qsuscs git:hostingplace:repo:tree:path16:23
daynaskully left16:24
DrHouse|HP8440p left16:24
daynaskully joined16:25
wald0 and so... how i can pull updates from the remote later, if i only have "that" directory and not the entire project Eugene ?, is that possible?16:25
grawity I'd probably filter-branch it out16:25
wald0 because i think that i did something similar in the past16:25
somebody told me to add a remote repo that had different contents, to fetch a same directory16:25
Kulrak left16:26
_ikke_ subtree split + merge16:26
MaceBewley left16:27
declanqian left16:27
bernardio joined16:29
MaceBewley joined16:29
Orbitrix left16:29
kini left16:31
mbrzuzy joined16:31
Amandil left16:31
MarcGuay left16:32
declanqian joined16:32
bb010g joined16:32
gitinfo set mode: +v16:32
jeadre left16:32
kini joined16:34
Peaker joined16:34
adgtl left16:34
jeadre joined16:34
sfan786 joined16:35
kurkale6ka left16:35
endiruna joined16:35
scarabx left16:36
dwg2 joined16:36
usr819563 left16:36
luizetn left16:37
dwg2 left16:38
dwg2 joined16:38
flashpoint9 joined16:38
flashpoint9 left16:39
adgtl joined16:39
wlritchi joined16:40
kadoban left16:40
Anxi80 joined16:40
Anxi80 left16:40
Anxi80 joined16:40
Kulrak joined16:41
Kulrak left16:41
Kulrak joined16:41
thedodd joined16:41
Amandil joined16:43
Anxi80 I had a large git branch that was broken down into many separate branches and they now use eachother through git submodules. Unfortunaly, the entire history from the original large branch lives in all the new small submodules as well. Is their a way to get rid of the unwanted history in the submodules?16:43
pm90_ joined16:43
nickjj joined16:44
dadamssg joined16:44
nickjj i am receiving remote: fatal: Out of memory, malloc failed when trying to push a fairly large change to a bare remote16:44
googling says to make a few changes to the config, but which config would need the changes , the bare remote repo?16:45
hahuang65 joined16:45
cavallari joined16:46
Peaker left16:46
MarcGuay joined16:47
Rolybrau joined16:47
Dragooon left16:47
nickjj actually all of the solutions i see seem to be for windows, but i'm having this issue on linux16:47
Gama11 joined16:47
m0viefreak left16:48
dwg2 left16:48
dadamssg left16:49
[gmi] joined16:49
petersr joined16:49
CKyle joined16:49
wlritchi Anxi80: You can do some scary things in that area with git-filter-branch, but that involves changing every commit object in the repo which is a less than ideal route.16:50
Zariel left16:50
petersr left16:50
CustosLimen left16:50
jceb_ joined16:51
Rolybrau left16:51
wlritchi Question: Is there any particular reason why a DVCS like git shouldn't or can't include a second type of parent field for cherry-picks (potentially easing merging/rebasing), or does git lack such a field "just because"?16:52
mellernoia-work joined16:52
linuxmint2 left16:53
mellernoia left16:53
maletor joined16:55
Rolybrau joined16:55
Dragooon joined16:56
mezod left16:57
Anxi80 wlritchi, thanks.16:57
Jackneill joined16:58
Joel_ joined16:58
Joel_Guest1769916:58
meLon left16:59
basiclaser left16:59
kadoban joined17:01
griotspeak left17:01
howdoi left17:01
Amandil left17:02
Amandil joined17:02
Guest17699 left17:02
sfan786 left17:02
adgtl_ joined17:03
modocache left17:03
meLon joined17:04
kpease joined17:04
Gitzilla left17:04
Amandil left17:04
Amandil joined17:05
griotspeak joined17:05
Mace-Bewley joined17:06
Amandil left17:06
{198} left17:07
adgtl left17:07
PCatinean left17:07
Sasazuka joined17:08
shinnya left17:08
Anxi80 left17:09
blackwind_123 joined17:09
Peaker joined17:09
_ikke_ wlritchi: There is no intrinsic reason why git shouldn't be able to17:10
bernardio left17:11
Kulrak left17:11
ehynds left17:11
nnyk joined17:12
Gitzilla joined17:12
Dragooon left17:13
gusnan left17:13
endiruna left17:13
reim joined17:13
marc_v92 left17:14
faux___ left17:14
Anxi80 joined17:14
faux___ joined17:14
joo-_ left17:14
gusnan joined17:15
grawity git commits can have arbitrary metadata, both as visible "trailers" (part of the commit message), and as hidden metadata fields (like the usual 'parent' links)17:15
MechtiIde joined17:15
grawity `git cherry-pick -x` even adds the former17:15
so ... it's mostly "nobody cared enough to implement this"17:15
marc_v92 joined17:15
tempname11 left17:16
nnyk left17:17
Amandil joined17:17
joo-_ joined17:17
sarri left17:18
chuchunaku joined17:18
multi_io left17:19
kadoban left17:19
licensed` joined17:19
fracting left17:19
multi_io joined17:20
endiruna joined17:21
sarri joined17:21
Aih joined17:22
Anxi80 left17:22
{198} joined17:23
nettoweb left17:23
Aih left17:23
Hubn joined17:24
jsgrant left17:24
glosoli joined17:24
Hubn left17:25
stickperson joined17:25
editshare-ericf joined17:25
encod3 left17:25
Wyta joined17:25
Kulrak joined17:26
Kulrak left17:26
Kulrak joined17:26
dreiss joined17:26
nettoweb joined17:26
Wyta left17:26
axpb joined17:28
CKyle_ joined17:28
qpdb left17:28
axpb left17:28
nfk joined17:29
jsgrant joined17:29
whomp joined17:29
MZAWeb left17:29
Danjo1 left17:29
Anxi80 joined17:30
Amandil|2 joined17:30
gbbr left17:30
layer joined17:30
devoldmx joined17:30
MZAWeb joined17:30
chuchunaku left17:30
mezod joined17:30
blackwind_123 http://ericsink.com/entries/hg_denzel.html so what is ERIC trying to say here...? is SVN okay compared to git and mercuiral...? no flame wars please , just trying to understand...17:31
bremner blackwind_123: why don't you ask #svn about svn?17:31
CKyle left17:31
_raymond_ left17:32
blackwind_123 bremner : never added #svn to my autoconnect list in IRC channel :) i guess its time to17:32
flashpoint9 joined17:32
osse blackwind_123: he probably means that svn is older but has a solid reputation17:32
modocache joined17:33
Amandil left17:34
marcogmonteiro left17:34
blackwind_123 osse : oh okay , tnx...17:34
rhinojr joined17:34
mezod left17:35
devoldmx left17:35
osse but unlike svn morgan freeman is still relevant :p17:35
griotspeak left17:36
The_Phoenix left17:36
gsingh93_ joined17:36
blackwind_123 osse : hehe17:37
Byqh joined17:38
denimsoft left17:38
Byqh left17:39
MZAWeb_ joined17:39
adgtl_ left17:39
adgtl joined17:39
darkbit left17:39
ioil joined17:41
MZAWeb left17:41
ioil left17:41
iota_pi joined17:42
raymond joined17:42
illbyte joined17:43
temmi_hoo left17:43
kpease_ joined17:43
cromero joined17:44
whomp left17:44
kadoban joined17:44
beaconwriter joined17:45
wowaname left17:45
kpease left17:45
faux___ left17:46
adgtl_ joined17:46
oojacoboo left17:46
[gmi] left17:46
cromero left17:47
Eeoe joined17:47
Eeoe left17:48
Kicer86 joined17:49
qif joined17:49
qif left17:49
SubZeroFX left17:50
adgtl left17:50
bronson joined17:50
marc_v92 left17:50
wrouesnel1 joined17:51
eatsfoobars joined17:52
Xfsq joined17:52
pjp joined17:52
whomp joined17:53
Xfsq left17:53
whomp left17:54
nuge anyone know how to read the contents of a gitlab repostiory?17:54
pjp left17:55
refried_ joined17:55
noisebleed left17:55
iveqy nuge: yes?17:55
nuge i'm on osx -so i can't install gitlab locally17:55
bremner you need git locally17:55
nuge am trying to migrate a gitlab repository to my github account17:55
is there a way to access the contents of the depot without gitlab?17:56
adgtl joined17:56
Oxpe joined17:56
bremner use git clone?17:56
iveqy nuge: are we talking only of the repositories or also wiki, tickets etc?17:56
nuge (I don't need the history)17:56
bremner oh. no idea then.17:56
to be fair, this _is_ #git.17:57
nuge understood - i'm new to git - not too sure what the different flavors are17:57
ehynds joined17:57
phroa !gitlab17:57
gitinfo Gitlab is Git hosting similar to Github, but for your own server or on gitlab.com, giving you unlimited free private repositories: http://gitlab.com/17:57
phroa er17:58
I expected something else for that17:58
Oxpe left17:58
phroa carry on :x17:58
ckinniburgh joined17:58
lancero joined17:58
Sauzs joined17:59
iveqy nuge: hard to help you when you refuse to explain your problem17:59
adgtl_ left17:59
CheckDavid left17:59
mezod joined17:59
marc_v92 joined17:59
Sauzs left18:00
luizetn joined18:00
nuge iveqy - just need the repostory contents - i'm taking over a project from a previous dev that used gitlab locally18:00
they just gave me an export - but I can't use it locally as there doesn't seem to be a OSX version of their software.18:00
Ouee joined18:01
wlritchi grawity: Thanks. Supposing I did for some reason reference an object in either the commit message or metadata, is there any way to alter the reachability graph calculation to prevent it from being pruned and cause it to be transferred with clone, fetch, etc?18:01
tterrag joined18:01
phroa nuge: gitlab's data bits are in /opt/gitlab last I checked. that said, you should be able to `git clone` -- git is a command line tool to manage repositories. all gitlab is is basically a wrapper around it to act as a server.18:01
grawity wlritchi: currently, no18:01
phroa nuge: you can read !book online for more, or maybe !getting_started18:01
gitinfo nuge: 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 !parable18:01
krawchyk joined18:01
grawity wlritchi: (and even if you did, you'd have problems with older Git versions not honoring it)18:01
phroa no, !getting_started doesn't even exist either. damn18:01
grawity wlritchi: a way to add generic object references would be nice though18:01
FunkyAss joined18:01
iveqy nuge: so just install linux on a virtual machine and clone your copies? I don't know about gitlab but I've a hard time imagine they have some custom backend, it wouldn't surprise me if you can just clone the repos from the export you've18:02
grawity wlritchi: for now, you might want to take a look at how `git notes` works18:02
tterrag hm...so I have an interesting question. I have joined a project which (stupidly) lost the git history for a project when they migrated repos. I was wondering if it would be possible to apply the old project's git history "behind" the current project?18:02
grawity wlritchi: and/or how `git replace` works18:02
Ouee left18:02
petersr joined18:02
tterrag I know that would be pretty non-standard and probably very bad :P18:02
but I'm interested either way18:02
wlritchi grawity: As it so happens I have both of those pages already open, the former thanks to your earlier suggestion and the latter by coincidence18:02
thiago_ joined18:02
jacaballero left18:02
grawity wlritchi: the latter just has special refs named refs/foo/<commitid>, the former actually generates a sort-of "side" DAG containing the notes18:02
nuge iveqy - that was my next step - to create a VM and gitlab install - but that's further into territory i'm new to. :)18:02
phroa nuge: installing gitlab shouldn't be necessary to access it. is the server still running somewhere?18:03
Padawan_ left18:03
jacaballero joined18:03
nuge no - htey just handed over the repo18:03
tterrag basically I need to replace the "Initial Commit" with the entire history for the old project18:03
iveqy nuge: so have you tried the "just clone the repos" solution you've been adviced three times?18:03
grawity tterrag: first `git fetch` the history into the new repo18:03
phroa nuge: is this repo a file tree, or is it a folder with things like "HEAD", "index", "objects" inside it18:03
grawity tterrag: then use a) grafts, or b) replaced objects, to add a fake parent to your initial commit18:04
tterrag: finally use `git filter-branch` to "bake in" the graft/replace18:04
nuge the repo shows "branches, objects, info, reffs"18:04
tterrag grawity: well I'd need to *replace* the initial commit, not add a parent to it18:04
Uoexj joined18:04
Danjo1 joined18:04
artgoeshere_ left18:04
tterrag since the initial commit adds all the code that is from the old history18:04
Uoexj left18:04
grawity tterrag: that's fine18:04
bronson left18:04
tterrag also, I'm not familar with grafts18:04
grawity tterrag: commits are not diffs, they're snapshots18:04
tterrag: so Git will handle this normally18:05
phroa nuge: okay, that is what's known as a "bare repo". copy it to your computer, then make a new folder outside of it. install git, run `git clone /path/to/the/bare/repo` inside tha tnew folder18:05
tterrag noted18:05
nuge phroa - great, i'll try that now.18:05
grawity tterrag: once done, the leftover "initial commit" commit will just show up as having no changes, and it can be removed using `git rebase -i` the same way you'd remove any other commit18:05
wowaname joined18:05
tterrag yeah18:05
phroa nuge: you may have to prepend "file://" to /path/..., I'm not sure.18:05
Raging_Hog left18:06
grawity that's not needed18:06
nszceta joined18:06
phroa k18:06
ekqq joined18:06
joki left18:06
tterrag grawity: could you explain what a graft is? I'm unfamiliar and google isn't being very helpful18:06
faux___ joined18:06
nszceta left18:06
tterrag is it just copying the objects?18:06
ekqq left18:07
grawity it's a side way to tell Git that a commit has more parents than it actually has18:07
https://git.wiki.kernel.org/index.php/GraftPoint, maybe http://ben.straubnet.net/post/939181602/git-grafting-repositories18:07
MZAWeb_ left18:07
nszceta joined18:08
nuge phroa - i get an error that i "I appeared to have cloned an empty repository18:08
grawity basically, in the .git/info/grafts file, you add a line having "<new_initial_commit_ID> <old_final_commit_ID>"18:08
MZAWeb joined18:08
phroa nuge: I don't really feel qualified to help troubleshoot bare repos, I barely (ha) use them. perhaps someone else can help18:08
nszceta left18:08
dspirito joined18:08
grawity nuge: go back to the bare repo, and run `git show-ref` in it – what branches does it have?18:09
nuge no worries - ppreciate the attempt. i've got some more info than I started with. :)18:09
tterrag grawity: ok...I think I can work with that18:09
I'll report back18:09
grawity many things can be done inside bare repos too18:09
sfan786 joined18:09
sinkensabe left18:09
Shentino left18:09
nuge gravity - it shows a refs/heads/master and folder for the root of the project18:09
grawity tterrag: just don't forget that grafts are only step 2, after `git fetch`ing the old history into the new repo (or vice versa)18:09
nuge refs/head/project18:09
Shentino joined18:10
tterrag yeah18:10
rhinojr left18:10
grawity nuge: ok, and what does the same command show in your new clone?18:10
artgoeshere joined18:10
nickjj left18:10
uuaex joined18:11
nuge i get nothing from my new repo18:11
do I need to use git init?18:11
faux___ left18:11
uuaex left18:11
nardev left18:11
joki joined18:11
grawity no, cloning does that automatically18:12
maybe you cloned the wrong path though18:12
ehynds left18:12
Naauu joined18:12
rideh left18:12
nuge I suspect os - do I need to navigate to any of the sub dirs?18:12
Naauu left18:12
rideh joined18:12
nuge or is the lcoation with the objects/info/refs etc the "root" of the repo?18:12
refried_ left18:12
grawity it's the root, yes18:13
stamina joined18:13
grawity well, the location with "config", "objects/", and "refs/" is the root18:13
dvaske joined18:13
nuge k - i'm reading hte man page on git now18:13
Owaj joined18:13
Owaj left18:14
xjpo joined18:15
xjpo left18:15
hahuang65 left18:15
dvaske_ joined18:16
HanClinto joined18:16
upene joined18:16
victortyau joined18:16
ELFrederich hey guys... I've been using Git on a directory that is now part of a bigger project. I'd like to graft on this history. Is there a way to re-write history to make the entire repo appear to be under a subdirectory?18:16
Dcuii joined18:17
kpease_ left18:17
flashpoint9 left18:17
Algebr joined18:17
_ikke_ git subtree merge18:17
dgutierrez1287 joined18:17
tterrag grawity: if there is no grafts file I create it, correct?18:17
grawity tterrag: yes18:17
dvaske left18:18
Algebr somewhat of a github question as well, Can I make one branch of a repo private? I guess that means requiring each branch to have a different upstream. Surely git can do this?18:18
grawity ELFrederich: that might be unnecessary – just subtree-merge it18:18
tempname11 joined18:18
Dcuii left18:18
grawity Algebr: on the github side, you'd need them to be on separate repos18:18
which makes things a little annoying, since after cloning repo 1, one would need to manually add repo 2 as a remote18:18
cwillu_at_work left18:19
Algebr oh damnit18:19
grawity some projects do this18:19
Algebr I have a vced .emacs.d and I a branch for work and a branch for public personal use18:19
want18:19
tterrag http://puu.sh/jWupO.png18:19
papna joined18:19
tterrag waits18:19
tempname11 left18:19
nuge gravity - i get "fatal: bad default revision 'HEAD'" when I try git show in the root18:20
Kdt joined18:20
grawity nuge: that's not unusual inside bare repos18:20
nuge ok. thats good to know.18:20
grawity though you can `git symbolic-ref HEAD refs/heads/master`18:20
NimeshNeema left18:20
papna I want to create a working copy of a certain commit of a repo at a particular place. Is there a nicer way to do it than "git clone foo bar; cd bar; git checkout f6e7ecb3a0384d84efa2335739d4ff742fe281ca` ?18:20
tempname11 joined18:21
canton7 there's man git worktree18:21
gitinfo the git-worktree manpage is available at http://jk.gs/git-worktree.html18:21
Kdt left18:21
jacaballero left18:21
tempname11 left18:22
dgutierrez1287 left18:22
flashpoint9 joined18:23
adgtl left18:23
CKyle_ left18:23
|digits| joined18:23
|digits| left18:23
cwillu_at_work joined18:23
|digits| joined18:23
|digits| left18:23
|digits| joined18:24
|digits| left18:24
febi joined18:24
dgutierrez1287 joined18:24
|digits| joined18:24
|digits| left18:24
febi left18:25
|digits| joined18:25
|digits| left18:25
papna Thanks18:25
anth0ny joined18:25
pantsman- joined18:25
vF3hNGxc47h8 joined18:25
|digits| joined18:25
|digits| left18:25
tterrag grawity: what if the "new" repo had a commit that was just the readme, THEN it added the code18:26
anth0ny Every time I want to upload a new branch, I have to do "git push --set-upstream origin myBranch". Is there any way around this? I'd like it to be automatic when I push18:26
hahuang65 joined18:26
tterrag should I graft to the second commit?18:26
|digits| joined18:26
|digits| left18:26
asrax joined18:26
|digits| joined18:26
|digits| left18:26
iveqy anth0ny: man git config18:27
gitinfo anth0ny: the git-config manpage is available at http://jk.gs/git-config.html18:27
|digits| joined18:27
|digits| left18:27
kpease joined18:27
grawity tterrag: I think so, yes18:27
iveqy anth0ny: however --set-upstream should already fix this for you, for some reason your configuration isn't saved. Do you get any message about that?18:27
|digits| joined18:28
|digits| left18:28
grawity hmm I'm not sure if grafts overwrite existing parents, or just add new ones18:28
asrax left18:28
anth0ny iveqy: I don't get messages about that18:28
grawity either way, you can use regular `gitk` or `tig` to take a look at the result18:28
_ikke_ grawity: overwrite18:28
anth0ny iveqy: will look into adding to my config18:28
nuge grawity - i tried "git clone -l -s -n . ../copy" from the repo root - its also reports cloning an empty repo18:28
|digits| joined18:28
|digits| left18:28
phroa man git branch18:28
gitinfo the git-branch manpage is available at http://jk.gs/git-branch.html18:28
grawity nuge: odd18:28
nuge: how about this:18:28
nuge: 1) mkdir myproject18:28
phroa anth0ny: `git branch --set-upstream-to=origin myBranch`18:28
Amandil|2 left18:28
|digits| joined18:29
|digits| left18:29
grawity nuge: 2) mv thegitlabrepo myproject/.git18:29
nuge: 3) cd myproject/.git && git config core.bare false18:29
MechtiIde left18:29
grawity now it's non-bare18:29
Oio joined18:29
|digits| joined18:29
|digits| left18:29
tterrag grawity: hm...yeah I'm using the visualizer. This is what I have http://puu.sh/jWv27.png18:29
anth0ny phroa: yeah, but that's one word less than the other solution with 'git push', which isn't ideal18:29
tterrag but when I click on the "Initial Commit" it still shows the diff as *everything*18:30
|digits| joined18:30
|digits| left18:30
Oio left18:30
phroa anth0ny: yeah, but you only have to do it once...18:30
which is currently an improvement18:30
Danjo1 left18:30
tterrag oh wait derp18:30
|digits| joined18:30
tterrag I need to squash up to "added in all the original files"18:30
FUN18:30
anth0ny phroa: yeah, that's how it operates with push, once I set-upstream with push, i never have to do it again18:30
tterrag need to squash some commits that are ~1000 back18:31
grawity hmm, or just graft to that "added in all..."18:31
CKyle joined18:31
nuge grawity - tried that - now from that root git show-ref doesn't report anything18:31
|digits| left18:31
iveqy anth0ny: the thing is that using --set-upstream should add this to you config...18:31
Silox| joined18:31
tterrag grawity: yeah...might just want to start over :P18:31
nuge (root of the new proejct)18:31
uaahu joined18:31
tterrag nukes18:31
phroa anth0ny: I see what you're saying now.18:31
anth0ny phroa: iveqy: "git config --global push.default current" did the trick18:31
Balliad joined18:31
uaahu left18:32
anth0ny iveqy: yes, but I believe only for that branch18:32
worstadmin joined18:32
anth0ny i was hoping for a global solution18:32
AaronMT_ joined18:32
anth0ny all is figured out now18:32
worstadmin I merged two branches and I want to rebase instead how can I rewind and fix the history?18:32
iveqy anth0ny: oh? What was the solution?18:32
and yes, that's only for one branch18:33
anth0ny iveqy: "git config --global push.default current"18:33
phroa worstadmin: you can use `man git reset` with --hard to rewind the current branch pointer before the merge.18:33
gitinfo worstadmin: the git-reset manpage is available at http://jk.gs/git-reset.html18:33
AaronMT left18:33
phroa e.g. `git reset --hard @~` for one commit ago.18:33
do that on the branch it was merged into18:33
Ezka joined18:34
nuge grawity - so I have a better sense, they mus thave created the repo that I recieved by calling git push - correct?18:34
grawity nuge: probably18:34
well, first `git init --bare`, then pushing to it18:34
Danjo1 joined18:34
tterrag grawity: does it hugely matter that I'm on the "dev" branch while doing this? dev is completely ahead of master so I wouldn't think it would18:34
phroa nuge: gitlab manages repo creation in the web interface18:34
nuge: when they would then push to, yes :)18:34
grawity tterrag: no, you're only rewriting the current branch, and it doesn't matter which branch it is18:34
tterrag grawity: er...wait18:35
Ezka left18:35
tterrag so I need to do this for all branches then?18:35
nuge ok. i use github and beanstalk as my hosts - if I create a repot there can I push the bare to my host?18:35
Algebr If I am on one branch and I want to do a commit, can I make that commit go on another branch while on this current one18:35
grawity tterrag: you need to filter-branch all of them18:35
nuge or is a bare repo somewhat of a dead-end?18:35
tterrag ah ok18:35
can do18:35
only ~2 minutes per branch -_-18:35
grawity I mean, the grafts are global, but each branch has to be rewritten to 'bake' them in18:35
filter-branch has --all though18:35
tterrag yeah18:35
grawity nuge: yeah, you can push from a bare repo18:36
MZAWeb left18:36
paul424 joined18:36
iveqy anth0ny: ah, you might want to know that the default for push.default was changed in git 2.0. So if you are changing versions you might want to be observative. Good you found the solution =)18:37
tterrag grawity: no --all for me18:37
anth0ny iveqy: thanks for the heads up18:37
Coxiu joined18:37
nuge k - i created repot on my new server, calling git push http://<myserver>project.git reports "the current branch master has no upstream branch"18:38
Coxiu left18:38
worstadmin phroa: I already pushed the resulting merge18:39
jceb_ left18:39
worstadmin so if I reset it to HEAD~2 and rebase will it kill the future merge commit?18:39
phroa worstadmin: your options are to live with it, make a `man git revert` commit, or !rewwrite18:39
gitinfo worstadmin: the git-revert manpage is available at http://jk.gs/git-revert.html18:39
phroa !rewrite, sorry18:39
gitinfo Rewriting public history is not recommended. Everyone who has pulled the old history will have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push --force-with-lease <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum18:39
wowaname left18:40
phroa resetting past a pushed commit and adding commits on to it will cause rewrite issues.18:40
tterrag oh one last thing grawity, related to the above. This is a thing which will require fresh checkouts right? since it's going to need a force push18:40
grawity tterrag: yes18:40
tterrag best to get it done now18:40
thanks18:40
grawity (or, at least, a lot of fetch + reset --hard's.)18:40
worstadmin phroa: so basically you're boned once you push the merge18:41
shad joined18:41
tterrag oh dang it18:41
lol18:41
I just set the parent to the first commit of the old repo -.-18:41
phroa worstadmin: unless you are okay with doing the nuclear option (--force push), yes, pushing anything you later want to remove will bone you18:41
tterrag waste of time that was18:41
duol joined18:41
phroa if you're the only one using the repo it isn't really terrible to use --force, otherwise you'll have to let everyone know they need to nuke their own clones and re-pull the proper one. (or run the --reset themselves, but that's another matter)18:42
tterrag this channel is huge btw...I expected a big channel but not this big18:42
phroa it's almost like a lot of people use git or something18:43
tterrag ikr :D18:43
duol left18:43
faux___ joined18:43
mrkake left18:44
phroa worstadmin: I don't know how precious your rebase is to you, but if you reallyreallyreally want those commits linear and reallyreallyreally don't want to --force, you can `git revert` the merge commit and rebase on to the target branch... you'll then have both a merge and a rebase of the same stuff in there, but if it's worth it to you...18:44
dadamssg joined18:45
Kulrak left18:45
d10n-work joined18:45
ItSAN____ joined18:45
nuge grawity - appreciate the help - going to start over with the archive and work from teh start again. I'm not 100% sure that the archive I recieved was intact. But yu've given me some stuff to chase down and investigate18:46
ItSANgo left18:46
faux___ left18:48
dadamssg left18:49
kpease left18:49
mrkake joined18:49
bronson joined18:50
eooet joined18:50
DrHouse|HP8440p joined18:51
kpease joined18:52
eooet left18:52
BBBThunda_ left18:52
BBBThunda joined18:52
vF3hNGxc47h8 left18:53
Fontly joined18:53
flashpoint9 left18:54
c74d left18:54
GT4066 left18:55
Fontly left18:55
dna113p joined18:55
c74d joined18:55
Vna joined18:56
cannonball joined18:56
Anxi80 left18:56
griotspeak joined18:56
rhinojr joined18:57
Anxi80 joined18:57
Vna left18:57
tristanp_ left18:59
tristanp joined18:59
grill joined18:59
prefixed left18:59
nettoweb left18:59
Kulrak joined19:00
Kulrak left19:00
Kulrak joined19:00
ItSANgo_ joined19:00
rhinojr left19:00
akiva joined19:00
Uaus joined19:00
grill left19:00
FabTG_ joined19:01
Uaus left19:02
ItSAN____ left19:02
tristanp left19:04
Ieic joined19:04
Strat left19:04
tterrag grawity: is it possible to squash forwards? I want to push the first 3 commits in the repo into the 4th19:04
Strat joined19:04
petersr left19:04
oojacoboo joined19:04
Ieic left19:05
bremner you can squish all 4 and keep the last commit message19:05
gabor_bernat joined19:05
_ikke_ tterrag: You can reorder the commits and then squash them19:05
macabre left19:05
_ikke_ tterrag: basically move the last commit as first19:05
tterrag hm19:06
but even then, if I run `git rebase -i [first commit SHA]` that opens up the rebase with the SECOND commit as the first one in the file19:06
MarkyC Is it possible to show modified lines, by author, by day?19:06
michael_mbp left19:07
stamina left19:07
sfan786 left19:07
MarkyC I can do git log --author=my@email.ca --no-merges --simplify-merges --format="%ad %s <%h>" --date=short19:07
_ikke_ tterrag: is it the first commit in the repo?19:07
MZAWeb joined19:07
tterrag _ikke_: of course19:07
_ikke_ tterrag: git rebase --root19:08
tterrag otehrwise how would the SHA even be recognized?19:08
ah19:08
MarkyC then for each commit, git show <hash> and print a header if the date changes19:08
_ikke_ tterrag: I did not follow the conversation19:08
robbyoconnor left19:08
sfan786 joined19:08
tterrag bremner: how would I keep the 4th commit's message?19:08
oh nvm19:08
it's in the file19:08
Guest78008 joined19:09
Guest78008 left19:10
m0viefreak joined19:10
sfan786 left19:11
michael_mbp joined19:11
nerd left19:11
Ngrr joined19:11
hahuang65 left19:12
cyphase left19:13
Ngrr left19:13
DrNick left19:13
jmpp joined19:15
sfan786 joined19:16
jceb_ joined19:16
ShapeShifter499 left19:17
Papabear left19:17
Balliad left19:17
elux joined19:19
sfan786 left19:20
iibfl joined19:20
iibfl left19:21
michael_mbp left19:21
Ode joined19:22
Ode left19:22
michael_mbp joined19:23
miguel_ joined19:23
miguel_ it's my first time starting a git repo in amazon ec2 but I cant push changes19:24
cvanball joined19:24
miguel_ I dont think I started it as a bare repo19:25
hbg joined19:25
faux___ joined19:25
miguel_ whats the right way to start a bare repository and set the master branch?19:25
jpnurmi left19:26
jpnurmi joined19:26
hbg left19:26
jacaballero joined19:27
_ikke_ git init --bare19:27
griotspeak left19:27
_ikke_ no need to set the master branch19:27
serapath joined19:27
griotspeak joined19:27
CustosLimen joined19:27
DrNick joined19:27
cyphase joined19:28
hahuang65 joined19:28
ShapeShifter499 joined19:28
marc_v92 left19:29
miguel_ @+_ikke_ just that?19:29
thx19:29
_ikke_ yes19:30
griotspeak left19:30
faux___ left19:30
Sazhen86 joined19:30
marc_v92 joined19:30
phroa miguel_: for what it's worth, the + sign isn't part of _ikke_'s nick :)19:30
Xqz joined19:31
devoldmx joined19:31
miguel_ hehe :) noted19:31
macabre joined19:31
wahibdon left19:31
Xqz left19:31
gnoel joined19:32
nickety joined19:32
Dazzyp left19:32
tomaw_ joined19:33
AaronMT_ left19:33
bronson left19:33
nickety left19:33
akoe joined19:33
akoe left19:33
m0viefreak left19:34
paul424 left19:34
dgutierrez1287 left19:34
Algebr left19:34
luizetn left19:34
jsgrant left19:34
stickperson left19:34
blackwind_123 left19:34
MarcGuay left19:34
sbogg left19:34
phantombeta left19:34
cbonobo left19:34
Gamecubic left19:34
chitopunk left19:34
s00pcan left19:34
SimonNa left19:34
OnkelTem left19:34
rnsanchez left19:34
leeN left19:34
HmmrFll left19:34
martinbjeldbak left19:34
joako left19:34
aretecode left19:34
kgirthofer left19:34
phantomcircuit left19:34
ntio left19:34
flaguy48 left19:34
DeMiNe0 left19:34
evie_hammond left19:34
diogenese left19:34
M-ou-se left19:34
zapb_ left19:34
whaley left19:34
ngladitz left19:34
alduin left19:34
oxsyn left19:34
Kaisyu left19:34
doop left19:34
Stravy left19:34
venmx left19:34
Volund left19:34
MrC left19:34
kriskropd left19:34
kappy left19:34
squentin left19:34
jast left19:34
Pookz left19:34
styx_ left19:34
ghormoon left19:34
kaictl left19:34
parrotriver left19:34
kandinski left19:34
krawchyk left19:34
jmckind left19:34
halfline left19:34
slixpk left19:34
bodie_ left19:34
james3015 left19:34
unforgiven512 left19:34
Xe left19:34
aucecil left19:34
joelsmith left19:34
Kulrak left19:34
fullstack left19:34
elementalest left19:34
Milos left19:34
kini left19:34
miguel_ left19:34
aboccia left19:34
kossy joined19:34
krawchyk joined19:34
halfline joined19:34
bodie_ joined19:34
james3015 joined19:34
unforgiven512 joined19:34
aucecil joined19:34
joelsmith joined19:34
Seveas joined19:34
weber.freenode.net set mode: +v19:34
unforgiven512 left19:34
kossy left19:34
slixpk joined19:35
KronTMX joined19:35
m0viefreak joined19:35
paul424 joined19:35
dgutierrez1287 joined19:35
Algebr joined19:35
luizetn joined19:35
stickperson joined19:35
blackwind_123 joined19:35
MarcGuay joined19:35
sbogg joined19:35
phantombeta joined19:35
cbonobo joined19:35
Gamecubic joined19:35
chitopunk joined19:35
s00pcan joined19:35
SimonNa joined19:35
OnkelTem joined19:35
rnsanchez joined19:35
leeN joined19:35
HmmrFll joined19:35
martinbjeldbak joined19:35
joako joined19:35
aretecode joined19:35
kgirthofer joined19:35
phantomcircuit joined19:35
ntio joined19:35
flaguy48 joined19:35
DeMiNe0 joined19:35
evie_hammond joined19:35
whaley joined19:35
diogenese joined19:35
M-ou-se joined19:35
zapb_ joined19:35
ngladitz joined19:35
alduin joined19:35
Volund joined19:35
oxsyn joined19:35
Kaisyu joined19:35
doop joined19:35
parrotriver joined19:35
Stravy joined19:35
venmx joined19:35
MrC joined19:35
kappy joined19:35
squentin joined19:35
jast joined19:35
Pookz joined19:35
styx_ joined19:35
ghormoon joined19:35
kaictl joined19:35
kandinski joined19:35
colona joined19:35
ninsei joined19:35
Kronuz joined19:35
SJr joined19:35
Pieter_ joined19:35
timthowtdi joined19:35
Samual joined19:35
unforgiven512 joined19:35
jjasinski left19:35
Kronuz left19:35
OnkelTem left19:35
blackwind_123 left19:35
ghormoon left19:35
M-ou-se left19:35
slixpkGuest6790419:35
ghormoon joined19:35
Kulrak joined19:35
fullstack joined19:35
elementalest joined19:35
Milos joined19:35
semajnz joined19:35
tHEMtZ joined19:35
ashleyis joined19:35
weltall joined19:35
Xe joined19:35
kossy joined19:35
jjasinski joined19:35
OnkelTem joined19:35
kini joined19:35
devoldmx left19:36
tomaw_tomaw19:36
Kronuz joined19:36
blackwind_123 joined19:36
michael_mbp left19:36
scampbell joined19:37
Bajax joined19:37
kriskropd joined19:37
stickperson left19:38
aboccia joined19:38
kgirthofer left19:38
jmckind joined19:38
kgirthofer joined19:39
aboccia left19:39
Guest67904 left19:39
Guest67904 joined19:40
aboccia joined19:40
Givo joined19:41
AaronMT joined19:41
irc-5225225 left19:41
Givo left19:41
michael_mbp joined19:42
AaronMT left19:42
faux___ joined19:43
Acic joined19:43
Papabear joined19:44
Acic left19:44
marc_v92 left19:46
sanketdg left19:46
faux___ left19:47
Bajax left19:47
Kronuz left19:47
KronTMX left19:47
m0viefreak left19:47
paul424 left19:47
dgutierrez1287 left19:47
Algebr left19:47
luizetn left19:47
MarcGuay left19:47
sbogg left19:47
phantombeta left19:47
cbonobo left19:47
Gamecubic left19:47
chitopunk left19:47
s00pcan left19:47
SimonNa left19:47
rnsanchez left19:47
leeN left19:47
HmmrFll left19:47
martinbjeldbak left19:47
joako left19:47
aretecode left19:47
phantomcircuit left19:47
ntio left19:47
flaguy48 left19:47
DeMiNe0 left19:47
evie_hammond left19:47
diogenese left19:47
zapb_ left19:47
whaley left19:47
ngladitz left19:47
alduin left19:47
oxsyn left19:47
Kaisyu left19:47
doop left19:47
Stravy left19:47
venmx left19:47
Volund left19:47
MrC left19:47
kappy left19:47
squentin left19:47
jast left19:47
Pookz left19:47
styx_ left19:47
kaictl left19:47
colona left19:47
ninsei left19:47
parrotriver left19:47
Pieter_ left19:47
timthowtdi left19:47
SJr left19:47
Samual left19:47
kandinski left19:47
rubie left19:48
sagittarian joined19:48
mbrzuzy left19:48
Dmf joined19:48
Dmf left19:49
zendrix joined19:50
yosito joined19:50
tterrag uhhhh? http://puu.sh/jWAoE.png19:50
rodrigograca31 left19:50
durham left19:51
_ikke_ tterrag: Do you have a shallow clone?19:51
livingstn joined19:51
aiaj joined19:51
tterrag _ikke_: not sure what that means19:51
but I don't think so19:51
_ikke_ ok19:51
aiaj left19:51
tterrag I've done some pretty heavy grafting (3 separate repos)19:51
robbyoconnor joined19:52
notebox left19:52
michael_mbp left19:52
Bajax joined19:52
Kronuz joined19:52
KronTMX joined19:52
m0viefreak joined19:52
paul424 joined19:52
dgutierrez1287 joined19:52
Algebr joined19:52
luizetn joined19:52
MarcGuay joined19:52
sbogg joined19:52
phantombeta joined19:52
cbonobo joined19:52
Gamecubic joined19:52
chitopunk joined19:52
s00pcan joined19:52
SimonNa joined19:52
rnsanchez joined19:52
leeN joined19:52
HmmrFll joined19:52
martinbjeldbak joined19:52
joako joined19:52
aretecode joined19:52
phantomcircuit joined19:52
ntio joined19:52
flaguy48 joined19:52
DeMiNe0 joined19:52
evie_hammond joined19:52
whaley joined19:52
diogenese joined19:52
zapb_ joined19:52
ngladitz joined19:52
alduin joined19:52
Volund joined19:52
oxsyn joined19:52
Kaisyu joined19:52
doop joined19:52
parrotriver joined19:52
Stravy joined19:52
venmx joined19:52
MrC joined19:52
kappy joined19:52
squentin joined19:52
jast joined19:52
Pookz joined19:52
styx_ joined19:52
kaictl joined19:52
kandinski joined19:52
colona joined19:52
ninsei joined19:52
SJr joined19:52
Pieter_ joined19:52
timthowtdi joined19:52
Samual joined19:52
robbyoconnor left19:52
Kronuz left19:52
KronTMX left19:52
Gamecubic left19:52
jceb_ left19:53
KronTMX joined19:53
MarcGuay left19:53
dgutierrez1287 left19:53
Gamecubic joined19:53
johtso left19:53
_ikke_ tterrag: you can try man git repack or something19:53
gitinfo tterrag: the git-repack manpage is available at http://jk.gs/git-repack.html19:53
odei joined19:53
FunkyAss left19:53
Kronuz joined19:53
michael_mbp joined19:54
AaronMT joined19:54
irc-5225225 joined19:54
IrishPrime left19:54
illbyte left19:54
odei left19:54
Umoh joined19:56
jceb_ joined19:56
Umoh left19:56
rhinojr joined19:57
sagittarian left19:57
Eqpa joined19:57
gnoel left19:58
Eqpa left19:58
tterrag grawity: any ideas?19:59
rhinojr left19:59
tozsn joined19:59
Padawan joined19:59
_ikke_ tterrag: did you do the repack?20:01
tozsn left20:01
tterrag yes20:01
jacaballero left20:01
tterrag this seems suspect http://puu.sh/jWBeR.png20:01
jacaballero joined20:01
dvaske_ left20:01
wrouesnel1 left20:01
jmpp left20:02
_ikke_ nah20:02
they are innocent20:02
AaronMT left20:02
tterrag ok20:02
declanqian_ joined20:02
_ikke_ git add + git reset can create them for example20:02
tterrag then I'm lost :(20:02
AaronMT joined20:02
Vabt joined20:03
njbair I found a cache directory in my repo that i didn't intend to include. Once I add it to .gitignore, should I do anything like git rm --cached to remove what's already included without deleting it from disk?20:03
declanqian left20:03
Vabt left20:03
gopar joined20:05
kudyv joined20:05
faux___ joined20:05
jceb_ left20:05
pm90__ joined20:05
kudyv left20:05
ehmatthes joined20:06
MarcGuay joined20:06
michael_mbp left20:06
thiago_thiago20:06
_ikke_ yes20:07
flashpoint9 joined20:07
Oaei joined20:07
MinetestForFun joined20:07
dangad999 joined20:07
_ikke_ note that it doesn't get removed from existing commits20:07
michael_mbp joined20:08
Oaei left20:08
temmi_hoo joined20:08
pm90_ left20:08
jacaballero left20:09
tristanp joined20:09
whi joined20:09
pm90__ left20:10
faux___ left20:10
whi left20:10
rusi joined20:11
tverr left20:11
rusi left20:12
mbrzuzy joined20:12
eni joined20:14
yosito left20:14
nettoweb joined20:14
Stravy left20:14
jmpp joined20:15
stickperson joined20:15
jeadre left20:15
Anxi80 I have a git branch made from a subdirectory of another much larger branch. My new smaller branch has inherited all the history of the larger branch it came from. How do I get rid of the history that is no longer pertinant to my new smaller branch?20:16
eni left20:16
Stravy joined20:17
Anxi80 git —filter-branch comes up a lot on my searches but I’m not sure how to use it even after reading the doc20:17
jeadre joined20:17
wrouesnel1 joined20:18
glosoli left20:18
rubie joined20:20
bambams Anxi80: You'll probably have to clarify what you've done to create the new smaller "branch".20:21
ghostlines joined20:21
bambams Anxi80: I'm guessing you will need a --tree-filter option to delete everything except for your subdirectory and move the contents of your subdirectory to the root.20:21
Anxi80: Remember to !backup.20:21
gitinfo Anxi80: Worried about your data while trying stuff out in your repo? The repository in its entirety lives inside the .git directory in the root of your work tree so to backup everything `cp -a path/to/workdir path/to/backup` or equivalent will suffice as long as the repo is not modified during backup. See also http://sethrobertson.github.com/GitBestPractices/#backups20:21
jds left20:22
ghostlines left20:22
bronson joined20:22
michael_mbp left20:22
settermjd joined20:22
marc_v92 joined20:22
irwiss left20:22
ghostlines joined20:23
flashpoint9 left20:23
marc_v92 left20:23
lrvick joined20:23
settermjd left20:24
lrvick Any ideas why this does not work?20:24
GIT_TRACE=1 GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no -o UserHostsFile=/dev/null -i /tmp/git-deploy-test/sshkey" git clone ssh://git@localhost:2222/git/testrepo.git /tmp/git-deploy-test/testrepo20:24
xudongz joined20:24
xudongz left20:24
lrvick Trace reveals: 20:25:23.925164 run-command.c:341 trace: run_command: 'ssh' '-p' '2222' 'git@localhost' 'git-upload-pack '\''/git/testrepo.git'\'''20:24
So it is clearly not passing my custom ssh options20:24
Uvvi joined20:24
michael_mbp joined20:25
c1v0 joined20:25
lrvick git 2.1.420:25
{198} left20:25
axl_ left20:25
ahr3n joined20:25
lrvick (I know this is normally terrible practice, it is a part of some end to end testing for some CI)20:25
AaronMT left20:26
Uvvi left20:26
ghostlines howdy, I've searched a bit and can't find 'simple' way of setting permissions on my remote repo so that collaborators don't get any permissions errors20:26
jeadre left20:26
ghostlines what's a good approach to achieve this?20:27
_ikke_ ghostlines: how are they accessing the repo?20:27
my goto sollution would be gitolite20:27
ghostlines _ikke_ ssh20:27
Zvoua joined20:27
rwb left20:28
irwiss joined20:28
jeadre joined20:28
phantombeta left20:29
bstrrm joined20:29
Zvoua left20:29
_ikke_ one solution would be git config core.sharedRepository group20:29
and then making them part of the same group20:29
leTali left20:29
ghostlines _ikke_ thx, I'll try the last option20:30
bstrarm left20:31
ehmatthes left20:31
foolv joined20:31
foolv left20:32
tchan left20:32
refried_ joined20:33
stickperson how can i pull a remote branch and rebase into master? if i do git fetch origin, i see the new branch “origin/new_branch” so i do “git checkout origin/new_branch” and see “You are in 'detached HEAD' state…”20:33
_ikke_ stickperson: just do git checkout new_branch20:34
this will automatically create new_branch locally20:34
stickperson _ikke_: ah, ok. then rebase master, then checkout master and merge20:34
?20:34
Shentino left20:35
_ikke_ yes20:35
Anxi80 bambams, thanks you. The original larger repo was cloned. Then several git file moves and deletes were performed to obtain only the new smaller branch. A commit followed for the final result.20:36
meLon left20:36
notebox joined20:36
pm90_ joined20:36
michael_mbp left20:36
yqt joined20:36
bambams Anxi80: So you still want the subdirectory path in the repo, but want to trim history that touches other files? :-/20:37
michael_mbp joined20:37
pm90__ joined20:37
Anxi80 Yes because the new smaller repo is now being used as a submodule to the larger one.20:38
qsuscs lrvick: git --version, GIT_SSH_COMMAND was only introduced recently20:38
M-ou-se joined20:38
qsuscs git:kernel:git/git::Documentation/RelNotes20:38
gitinfo Git web link: https://git.kernel.org/cgit/git/git.git/tree/Documentation/RelNotes?h=HEAD20:38
Anxi80 bambams ^^20:38
lrvick git 2.1.4. How recently?20:38
afranc202 joined20:38
qsuscs 2.3.020:39
lrvick ah, damn. thanks20:39
qsuscs git:kernel:git/git::Documentation/RelNotes/2.3.0.txt#n2520:39
gitinfo Git web link: https://git.kernel.org/cgit/git/git.git/tree/Documentation/RelNotes/2.3.0.txt?h=HEAD#n2520:39
surfdue joined20:39
leTali joined20:39
loe joined20:39
DolphinDream left20:39
Silox| left20:40
bambams Anxi80: Wouldn't it be "better" to regenerate the history by moving the contents of the subdirectory up for *every* commit then?20:40
Gama11 left20:40
flashpoint9 joined20:40
endiruna left20:41
pm90_ left20:41
loe left20:41
matleh joined20:42
faux___ joined20:42
allcentury joined20:43
zendrix left20:44
allcentury Am I reading right that git commit -v is only verbose to the user writing the commit message?20:44
lrvick thanks20:45
Anxi80 bambams, I am not aware of this git feature. How can I perform this?20:45
cgooi joined20:45
tinajohnson left20:45
bambams allcentury: What you're asking doesn't make sense to me. commit -v will basically include the patch in the commit log template so that you can read the patch while writing your commit log.20:45
dadamssg joined20:46
cgooi left20:46
matleh left20:46
faux___ left20:46
djwesto joined20:47
nfx joined20:47
Shentino joined20:47
nfx left20:47
allcentury bambams: Right, but it's just for me as a guide right. Coworkers won't see the diff when they read my log message will they?20:48
djwesto left20:48
jeadre left20:48
durham joined20:49
hvoigt left20:49
jeadre joined20:50
bambams allcentury: Nope, git is smart enough to know where the patch begins and excludes it from the commit log.20:50
dadamssg left20:50
ueyt joined20:51
ueyt left20:51
bambams allcentury: And while we're on the subject, any user can also use log -p to see the patch in the log as well.20:51
allcentury oh cool20:51
jaafar joined20:52
thedodd left20:53
nettoweb left20:54
thedodd joined20:54
Tsz joined20:54
wrouesnel1 left20:54
Tsz left20:54
pantsman- left20:54
Anxi80 I think “git filter-branch --prune-empty --subdirectory-filter $SRC_DIR” will do what I want where $SRC_DIR is the path of the subfolder I want the history of.20:55
fpu joined20:55
Anxi80 $SRC_DIR is the path of the subfolder I want the history of in the larger original branch that is20:56
fpu left20:56
bambams Anxi80: Sounds right. Make sure you backup before attempting it, just in case. :) I think if all goes well your latest commit won't even be necessary.20:56
nettoweb joined20:57
durham left20:57
jiggerypokery left20:58
Anxi80 bambams I hope so. Only doubt I have is that I am only specifiying the old path to the folder and not the new path. There have been a couple commits since the split on the new submodule and I would like to keep them as well.20:58
thedodd left20:59
Anxi80 I am tempted to inlcude both the old and new path in $SRC_DIR but not sure how20:59
wrouesnel1 joined20:59
cavallari left20:59
durham joined20:59
durham left20:59
tpollard joined20:59
Ezaci joined20:59
Ezaci left21:00
madewokherd left21:00
durham joined21:01
meLon joined21:01
Xakit joined21:01
CKyle left21:01
beefcakeba joined21:01
Xakit left21:01
bambams Anxi80: If the path changes then you'll likely need to do more.21:02
Anxi80: You might be best with an explicit --tree-filter in that case.21:02
ruhw joined21:03
ruhw left21:03
bstrrm left21:03
Anxi80 thanks bambams, both these commands will only affect my local branch right? It won’t auto push to origin will it?21:04
Eiyp joined21:04
bambams Anxi80: No. In fact, your history will be *incompatible* with origin/upstream.21:05
encod3 joined21:05
encod3 left21:05
bambams Anxi80: It will be rewritten. Entirely new SHA1s. You'd have to push --force, and you shouldn't do that. :P21:05
Eiyp left21:05
griotspeak joined21:05
crose left21:05
Sob joined21:06
Anxi80 I don’t think I have a choice as we have a central stash21:06
michael_mbp left21:06
HardWall joined21:06
Sob left21:06
rubie left21:07
luksaur left21:07
elux left21:07
Amandil|2 joined21:07
Anxi80 bambams, my only other option is to create a new repo in stash?21:07
michael_mbp joined21:08
Boj joined21:08
Boj left21:09
bambams Anxi80: Define "stash". :-/21:10
nnyk joined21:10
Anxi80 bambams, Atlassian Stash. Not git stash!21:10
bambams is going AFK..21:10
Ifn joined21:10
bambams Anxi80: I'm not familiar. Is that a clone/"fork"?21:10
systmkor joined21:10
bambams Anxi80: Well as long as you coordinate with your team you can force push the "fixed" repo(s) after. But be careful because if anybody works in between you will destroy it.21:11
Ifn left21:11
bambams Anxi80: You basically need the team to freeze and/or track their changes with patches while you do this.21:11
MarkyC left21:11
Anxi80 bambams, It could be either. It’s just a git folder management tool on a server with a web front end for browsing.21:11
bambbams, thanks so much!21:11
mbrzuzy left21:12
CussBot left21:12
Amandil|2 left21:17
CussBot joined21:17
Lhab joined21:18
lancero_ joined21:18
tchan joined21:19
tchan left21:19
tchan joined21:19
Lhab left21:19
rnsanchez left21:19
Wea joined21:20
ahr3n left21:20
Wea left21:20
ohcibi joined21:20
gamename left21:21
pvpxa joined21:21
dsdeiz joined21:21
ORiON-- left21:21
dna113p left21:21
pvpxa left21:21
lancero left21:21
gamename joined21:22
dna113p joined21:22
synthmeat left21:22
bakers joined21:22
endiruna joined21:22
Jesp joined21:22
bakers My git directory got messed up. I just want to throw everything away and get back to master21:22
Can I use git clean for this?21:22
Jesp left21:23
bakers Or what's the best way?21:23
gamename left21:23
osse bakers: have you commited stuff?21:23
faux___ joined21:24
luksaur joined21:24
ghostlines left21:24
ghostlines joined21:24
zumba_addict joined21:24
cavallari joined21:25
_ikke_ bakers: git clean is for untracked files21:25
ghostlines left21:25
darkbit joined21:25
n-st hi, i'm trying to copy a file, including its commit history, from one repo to another. http://gbayer.com/development/moving-files-from-one-git-repository-to-another-preserving-history/ recommends git filter-branch --subdirectory-filter foo -- --all, but that fails with "fatal: failed to unpack tree object ⏎ Could not initialize the index" — what am i doing wrong?21:25
maxb joined21:26
ORiON-- joined21:26
dspirito left21:27
Kicer86 left21:27
editshare-ericf left21:28
faux___ left21:29
modocache left21:29
Anxi80 left21:30
cvanball left21:30
griotspeak left21:31
akurilin joined21:31
Ixl joined21:31
devoldmx joined21:32
endiruna left21:32
toothrot joined21:32
eatsfoobars left21:32
endiruna joined21:32
Ixl left21:33
jsgrant joined21:34
akurilin left21:35
michael_mbp left21:36
devoldmx left21:36
MZAWeb left21:37
rubie joined21:37
dna113p left21:37
dna113p joined21:38
endiruna left21:38
michael_mbp joined21:39
Rolybrau left21:39
Eijk joined21:39
madewokherd joined21:39
Eugene TBQH, the problem is right there in the first sentence. That sounds like a painful plumbing-involved thing to do21:40
dstarh left21:40
ahr3n joined21:40
Eugene "could not initialize the index" seems to happen when you have a problem with the index's lockfile.... are you doing one file, ora folder-full?21:41
Eijk left21:41
n-st Eugene: just one file21:41
Eugene Got me, then.21:41
n-st i've resorted to `git format-patch -1` for now21:42
MinetestForFun left21:42
endiruna joined21:42
faux___ joined21:42
MattMaker joined21:42
ssap joined21:43
notebox left21:44
krawchyk left21:44
chitopunk left21:44
Godfather_ joined21:44
gamename joined21:45
Nizumzen joined21:45
bronson left21:45
ahr3n left21:47
faux___ left21:47
Eugene I advise !beer21:47
gitinfo Beer! It's what's for dinner!21:47
MistahKurtz joined21:47
synthmeat joined21:49
Godfather_ left21:49
bambams bakers: Be careful just throwing things away. Sometimes, even if you think it's garbage, it's best to save it. Git makes it easy to save things many different ways.21:51
skylite left21:51
nuge left21:51
diget left21:52
michael_mbp left21:52
jmckind left21:52
bronson joined21:53
gsingh93_ left21:54
tanath left21:54
michael_mbp joined21:55
daviid left21:55
ssap left21:55
Algebr Can I put computations in my .gitconfig for aliases, like r = reset --hard $(current upstream branch of this branch)21:55
cagedwisdom joined21:55
Zxig joined21:56
synthmeat left21:56
flashpoint9 left21:56
dawik left21:56
bremner you can make shell aliases21:56
Zxig left21:57
Algebr in the .gitconfig or plain ole .rc file you mean?21:57
luizetn left21:57
ASOLAr joined21:57
bremner in .gitconfig21:57
dawik joined21:58
Algebr oh nice, thanks21:58
noisebleed joined21:58
izuku joined21:58
victortyau left21:59
tanath joined21:59
macabre left22:00
izuku left22:01
shinnya joined22:02
bango2 left22:03
luizetn joined22:03
qgaaa joined22:03
qgaaa left22:03
Cubpu joined22:05
dgutierrez1287 joined22:05
Cubpu left22:05
bakers osse: No nothing is commited. I attempted a merge and it went all haywire. I just want to get back to a clean slate of what master was.22:06
michael_mbp left22:06
osse bakers: git reset --hard22:06
and run git status22:06
Osrn joined22:06
LBV_User left22:07
tristans1 joined22:07
Nizumzen left22:07
Osrn left22:07
X67r left22:07
ckinniburgh left22:07
michael_mbp joined22:09
wrouesnel1 left22:09
dgutierrez1287 left22:10
ahr3n joined22:10
tg left22:11
BBBThunda left22:11
mquin_ joined22:12
mquin left22:13
tg joined22:13
Jackneill left22:13
MistahKurtz left22:14
terminal_echo joined22:15
darkbasic left22:15
darkbasic joined22:15
bernardio joined22:17
Spacew00t left22:18
HardWall left22:19
Sazhen86 left22:20
luksaur left22:20
Sazhen86 joined22:21
Haso joined22:21
dsantiago left22:21
Haso left22:22
michael_mbp left22:22
ghostlines joined22:22
rubie left22:23
rubie joined22:23
thiago left22:23
kmyih joined22:24
zumba_addict left22:24
michael_mbp joined22:24
ghostlines _ikke_ I set setgid bit on the repo directory seems to be allowing users to modify the same files without permission issues22:24
thiago joined22:24
dreiss left22:24
nettoweb left22:25
kmyih left22:25
jipu joined22:26
marc_v92 joined22:27
Danjo1 left22:27
jipu left22:27
nfk left22:27
Padawan left22:28
dsantiago joined22:28
Egswo joined22:28
robbyoconnor joined22:28
Egswo left22:29
msavr joined22:30
msavr left22:31
robbyoconnor left22:32
cannonball left22:32
ixu joined22:32
tag joined22:33
ixu left22:33
tag Is there no way to add an empty tree?22:33
phroa git commit --allow-empty22:34
or do you mean an empty folder22:34
tag I mean an empty directory22:34
or a tree object with no chillin's22:34
phroa git tracks content, not directories. you'll have to add a .gitignore/.gitkeep/.keep/whatever empty file inside there22:35
gargola left22:35
ASOLAr left22:35
tag Sure but it tracks contents as tree objects which have trees and blobs in them22:35
and I wanna stuck a tree with no blobs22:35
in my tree that's there, and have it stay22:35
d'amnit22:36
phroa if you don't believe me read this http://stackoverflow.com/q/11598322:36
michael_mbp left22:36
phroa you can force add a tree with the hash of an empty directory but you can't check it out22:36
endiruna left22:37
tag I believe you https://git.wiki.kernel.org/index.php/Git_FAQ#Can_I_add_empty_directories.3F22:39
So I just stuffed an empty .gitignore in there22:40
mprelude left22:41
michael_mbp joined22:42
faux___ joined22:42
gamename left22:43
paul424 left22:44
ghostlines left22:44
penna__ left22:46
Lirux joined22:46
Lirux Anyone have some advice how to manage dotfiles on github for desktop and laptop while they have minor config changes between them?22:46
dadamssg joined22:46
faux___ left22:47
luksaur joined22:47
Algebr branches22:48
penna__ joined22:48
m0ltar left22:49
tag \o/22:49
Peaker left22:49
tag other thing I do, is if the file format supports some sort of includes, is add an empty local config extension to .gitignore, start with reasonable defaults, and add local overrides.22:49
snthsnth joined22:50
dadamssg left22:51
cavallari left22:51
michael_mbp left22:52
temmi_hoo left22:53
noisebleed left22:53
michael_mbp joined22:53
hahuang65 left22:54
soerenb left22:55
noisebleed joined22:55
pm90__ left22:55
shinnya left22:55
snthsnth left22:56
lg188 left22:56
phroa tag: there is a global gitignore (man gitignore) at ~/.gitignore by default, I believe. that takes effect in every repo. you can't include gitignores in other gitignores on a per-project level, but gitignores in subdirectories will inherit from the parent gitignore22:58
gitinfo tag: the gitignore manpage is available at http://jk.gs/gitignore.html22:58
phroa ah, no, it's located in an XDG folder until you tell it otherwise22:58
nnyk left22:59
Volund left22:59
AramKaram joined23:00
thepreacher joined23:01
mezod left23:02
bioomboom joined23:02
ASOLAr joined23:02
clarkpan joined23:03
fstd_ joined23:03
bambams Algebr: Git will also automatically pick up git-<foo> commands in your PATH so that git <foo> works.23:03
thepreacher left23:03
fstd left23:03
fstd_fstd23:03
phroa tag: oh lol you weren't asking for anything were you23:04
sorry :P23:04
I totally misread that23:04
soerenb joined23:04
DrHouse|HP8440p left23:04
beejoomboom left23:05
tag hahaha23:06
No worries.23:06
michael_mbp left23:06
pm90_ joined23:06
michael_mbp joined23:07
c1v0 left23:07
bernardio left23:10
bronson left23:11
jeffmjack joined23:11
noisebleed left23:11
kpease left23:12
ahr3n left23:12
dsdeiz left23:12
kpease joined23:13
robbyoconnor joined23:13
kpease left23:14
Lirux left23:17
bakers left23:18
Lirux joined23:19
daviid joined23:19
bronson joined23:20
macabre joined23:21
michael_mbp left23:22
refried_ left23:23
michael_mbp joined23:24
faux___ joined23:24
kpease joined23:24
refried_ joined23:26
bollullera joined23:26
qpdb joined23:26
layer left23:27
faux___ left23:28
toothrot left23:30
bobslop_ joined23:30
marc_v92 left23:30
DolphinDream joined23:30
snthsnth joined23:31
devoldmx joined23:33
mezod joined23:35
toothrot joined23:36
iota_pi left23:36
michael_mbp left23:36
r0bby_ joined23:37
devoldmx left23:37
AramKaram I can tell how pushing and creating a remote are different to one another ? :-/ as far as I understand from it's official explanation they seem to do the same thing ? :-/23:37
michael_mbp joined23:38
Danjo1 joined23:38
bronson left23:38
Eugene AramKaram - push is the act of moving commits from your local repo to a remote one23:38
terminal_echo left23:38
darkbasic_ joined23:38
Eugene `git remote add` creates a link between your local repo and the named remote23:38
`git init` from the context of the remote, creates an empty repo23:38
mizu_no_oto joined23:38
tag left23:38
AramKaram Eugene hmm that sounds fair enough, does this mean I need to create a remote before I can push?23:39
darkbasic left23:39
Eugene Backing up a step, a "repo" is just an object storage location23:39
Yes, the destination needs to exist before you can push into it.23:39
AramKaram ahh I see:) your explanation sounds much cleaner than this last 2 hour stuff I looked up on the internet, let me ask something else please23:39
Eugene (some abstraction layers, in particular gitolite's WILD REPO feature, will dynamically init the destination as you push into it. These are non-standard)23:39
robbyoconnor left23:39
AramKaram what is this `git remote add origin` what is this origin ?23:40
Eugene !origin23:40
Useless bot.23:40
AramKaram hahaha :)23:40
Eugene Origin is the default name used for a remote by `git clone`. There's nothing at all special about it.23:40
I typically name my remotes based upon where they are, eg "github" or "my-server"23:41
AramKaram can I put any other name I want ? would everything work fine if say i do `git add remote whatever url` ?23:41
Eugene Yup.23:41
hahuang65 joined23:41
Eugene Except, it's `git remote add <name> <url>`.... but yes23:41
faux___ joined23:41
AramKaram makes sense:) Im new to this git thing and its a little overwhelming as of now but these last a few days Ive learned a bit already :)23:42
Danjo1 left23:42
Algebr left23:42
Eugene Glad to hear. If you havent' seen it already, add !concepts to your reading list23:42
gitinfo "Git Concepts Simplified" explains the basic structures used by git, which is very helpful for understanding its concepts. http://gitolite.com/gcs.html23:42
AramKaram so this `origin` has nothing to do `master` ? in other words, `origin` is just another brand new brach if u create one?23:42
r0bby_ left23:42
Eugene !master23:43
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:43
Eugene (yay, bot!)23:43
whomp joined23:43
Authenticator joined23:43
Eugene origin/master is just defaults poking through23:43
gitinfo set mode: +v23:43
AramKaram ahhh I loved that slide show :) I think me and the author of that article speak the very same human language :))23:44
Eugene sitaram is a good guy like that23:44
iota_pi joined23:44
AramKaram sitaram ;-)23:44
lol23:44
Eugene thanks for taking your time and explaining things in human-like language, that a few sentences helped me a lot23:45
Eugene Pay it forward, etc23:46
faux___ left23:46
jigjug left23:46
rubie left23:48
maestrojed left23:49
whomp i'm having some trouble with rebasing, because the intermediate commits in the branch whose changes i'm applying in the rebase have stuff in them that causes merge conflicts, even though in later commits in that branch i get rid of that code, so there are no more merge conflicts at the end. even just creating a .diff file23:51
uqur joined23:51
uqur left23:51
Lyqyd joined23:52
xudongz joined23:52
AramKaram one more question please, say Ive a clone of some repo on my account, the the owner of this repo changes something in it, i need to pull it so I can have the latest changes too right?23:52
d10n-work left23:52
michael_mbp left23:52
Authenticator If you branch/edit/merge/edit/merge (without a rebase onto the updated master) you get a zipper pattern in the graph. When viewing the graph on the CLI with --pretty, etc, there's a superfluous 'dodge right' in the graph. Is there a point to this that I'm missing?23:52
wald0 left23:53
kpease left23:53
phroa likely just an artifact of the graph algorithm. does gitk or other viewers work?23:53
hexagoxel left23:54
michael_mbp joined23:54
Authenticator whomp: rebase interactive and squash the offending commits.23:54
whomp Authenticator, an interactive rebase will still apply each commit individually, rather than lumping them all together23:55
right?23:55
phroa interactive is a very different subject than non. he's saying to interactively rebase the commits into one large commit, all on the same branch23:55
Steadfast left23:55
Authenticator whomp: But it gives you the chance to squash the bad ones and the ones that fix the bad ones together, before trying to apply them.23:55
gargola joined23:56
hexagoxel joined23:56
Authenticator say you have commits 1,2,3,4,5 - 1 is good, 2 introduces the merge conflict, it persists into 3, and gets removed in 4, then 5 is good. So you'd 'pick' 1 and 2, 'squash' 4 and 4, and 'pick' 5.23:57
^^ "3 and 4"23:57
Eugene AramKaram - you need to either merge or rebase against Upstream, yes. Pull=fetch(obtain objects)+merge(combine trees)23:57
dreiss joined23:58
Eugene (rebase is like a merge, but it appears after the Upstream commits, instead of adjacent)23:58
whomp Authenticator, and squashing everything to the last one would solve it as well, correct?23:58
Authenticator phroa: gitk and intelliJ both show the graph sensibly, the CLI program has the weird extra line because it doesn't use '\|' for the branches, but '|/' ...23:58
AramKaram Upstream... now I have to ask what is the Upstream :-/ @ Eugene23:59
ahr3n joined23:59
Eugene AramKaram - "the original author's repo"23:59
Nizumzen joined23:59
fstd left23:59
Authenticator whomp: Yup. That's a bigger hammer, but will work.23:59
fstd joined23:59
Eugene AramKaram - are you using the Github ecosystem?23:59
AramKaram Eugene ohh got it, but isn't that what "pull request" is? when you trying to have them feature your changes on the original repo on master ?23:59

Logs Search ←Prev date Next date→ Channels Documentation