IRCloggy #git 2014-05-08

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.

2014-05-08

Synthead left00:00
axl_ joined00:01
axl_ left00:01
pbrobst joined00:02
MacWinner left00:03
mad left00:03
bremner I hope you mean for your personal settings00:03
CKyle joined00:04
gandalfcome joined00:05
the_cybersphinx left00:05
SamB bremner: why, do you routinely push to git://{git,anonscm}.debian.org/ ?00:07
bwreilly left00:08
the_cybersphinx joined00:08
imachuchu left00:08
SamB hmm, it seems kind of like those options should be the other way around though00:09
bremner SamB: no, but distro wide defaults that assume that the main use of git on debian is debian packaging don't make sense to me.00:09
SamB bremner: they don't assume that00:09
Ornacia joined00:09
zumba_addict joined00:09
djapo hello world, i have two computers one of them is being masqueraded thru the other, it has internet access thru the other, should i just copy my ssh keys to the other machine so that i can git00:09
?00:09
the_cybersphinx left00:09
SamB bremner: and I don't think pushInsteadOf has any useful purpose besides specifying a writable alias for a remote URL prefix?00:09
bremner SamB: ah, right. I see. well, I still wouldn't bother, but I can see your point.00:09
SamB though your reservations do lead me to see potential problems with this appraoch00:10
pwnz0r left00:11
Zebroid joined00:11
o3o3o joined00:13
armyriad joined00:13
o3o3o left00:14
Mannequin osse, still investigating, but I think the reason of my issue with less (and LESS= git log not working as expected) may be related to a "lesspipe" thing I installed for highlighting programming language in less00:14
SamB bremner: for example, if alioth gets changed *again* and that stops working, how would you override it in your ~/.gitinit ?00:15
er, ~/.gitconfig sorry00:15
habanany left00:16
bremner SamB: ack. basically I just wouldn't want to encode volatile information into the package; the lag between upload and finishing support in stable can be _long_00:16
Zebroid left00:16
SamB if the URL to be replaced were in the name of the option and the replacement were in the value, that would be fine ... but as it is ...00:17
deuti joined00:17
JelmerD left00:18
txomon|home left00:18
jrnieder SamB: sounds to me like a nice feature request00:18
drale2k joined00:18
deuteriu_ joined00:19
jrnieder SamB: namely, there should be some way to advertise over git protocol "I don't like pushes; use this other URL when you want to push."00:19
JelmerD joined00:19
SamB jrnieder: hmm00:19
jrnieder SamB: it would take one extra roundtrip the first time, then the value could be cached, perhaps00:19
SamB by "cached" do you mean "added to .git/config"?00:19
jrnieder yeah00:20
str left00:20
SamB so basically on first fetch00:20
jrnieder actually the whole "lazily get the value" idea is silly of me00:20
SamB or attempted push00:20
jrnieder it could just be part of what happens when you clone00:20
akim__akim00:20
SamB clone counts as first fetch :-P00:20
jrnieder *nod*00:21
SamB (of the first remote)00:21
scarabx joined00:21
deuti left00:21
tyreld left00:23
SamB of course then you'd get questions like "well what if that address goes bad, shouldn't we check the fetch address again to see what it says to do?"00:23
jrnieder yeah, same problem as URLs in .gitmodules have00:23
CKyle left00:23
djapo what does git-remote-https died on signal 13 mean?00:24
jrnieder djapo: "kill -l" tells me signal 13 is SIGPIPE00:24
djapo: what platform are you on?00:24
djapo jrnieder: arch00:24
SamB which arch though?00:24
jrnieder archlinux, I assume ;-)00:24
codeFiend joined00:24
kukks joined00:25
kukks left00:25
kukks joined00:25
SamB oh but that's listed as plain "13" anyway so00:25
I guess it doesn't matter which arch of arch that might be00:25
(I'm giving arch the benefit of the doubt WRT arch support)00:25
jrnieder http://thread.gmane.org/gmane.comp.version-control.git/246604 sounds possibly relevant00:25
hjalti joined00:25
WaReZ_ left00:26
hyperair left00:27
djapo arch linux00:27
jrnieder it was just a who's on first gag ;-)00:27
dik_dak left00:27
djapo does the error mean i didn't finish cloning?00:27
jrnieder it means cloning failed, yeah00:27
if it's the bug I linked to then it should be fixed by 37f48427 (curl_multi_cleanup: ignore SIGPIPE better, 2014-05-05)00:29
which is not part of a libcurl release yet00:29
asturel left00:29
jrnieder destined for 7.37.000:30
SamB what, no bugfix release?00:30
asturel joined00:30
jrnieder I don't know how their bugfix releases work00:30
Dougie187 joined00:30
SamB ah.00:30
jrnieder I wouldn't be surprised if they're of the mostly security fixes kind00:30
SamB hmm, yeah, I guess dying to SIGPIPE isn't normally a security issue ...00:31
D9 joined00:31
kanja joined00:32
djapo it happens every time i try to clone django00:33
ill try an update and see if there are any fixes00:33
kanja I've been using git without much problem in a large team for a while, a new member just joined and suddenly everyone is getting a lot of merge conflicts with him. I understand what's happening on a file by file basis, but I'm curious why at a higher level this is happening, and I'm curious if anyone here has ideas.00:34
I'm wondering if the new guy is trying to do too much in a branch00:36
CKyle joined00:36
whitby left00:36
Dougie2187 joined00:36
xrlk left00:38
CKyle left00:38
the_bz joined00:39
veebers left00:39
veebers joined00:39
the_cybersphinx joined00:40
harish left00:40
EminenceHC left00:40
EminenceHC joined00:41
freestyl3r left00:41
tokik joined00:42
SamB hmm, how do I make a commit with a given tree, totally ignoring the existing working tree?00:42
and index00:42
the_bz left00:43
squawksdei joined00:44
squawksdei left00:44
squawksdei joined00:44
EminenceHC left00:45
mikecmpbll left00:45
nkouevda left00:46
squawkspopuli left00:46
nkouevda joined00:46
veebers left00:46
veebers joined00:47
xrlk joined00:47
Guest77241 joined00:48
MattMaker left00:49
aberrant left00:49
alexlind_ joined00:50
nkouevda left00:51
aberrant joined00:51
akim left00:52
asturel left00:52
trout left00:52
aberrant left00:53
VictorCL left00:53
asturel joined00:53
shinnya left00:53
alexlindenlevy left00:53
ariscop left00:54
veebers left00:54
lavaman joined00:54
codeurge left00:54
Destos left00:55
lavaman left00:56
dreiss left00:57
akim joined01:00
freeman42 left01:00
rchavik joined01:00
Synthead joined01:00
Guest77241 left01:00
djapo im still getting the error git-remote-https died on signal 1301:01
it says receiving objects 100% and receiving deltas 100%01:02
robzilla_ joined01:02
richwestcoast left01:02
djapo thos that mean that it finished but some how the connection died after it finished? is it safe to use?01:03
daito joined01:03
richwestcoast joined01:03
luc__ left01:03
Neozonz|Disc left01:05
Rad- left01:05
thiago left01:06
veebers joined01:06
nb_bez_ joined01:06
betelgeu1e left01:07
robzilla_ left01:07
SamB djapo: if you cd into there and you type "git fetch" and it succeeds, you should be fine01:07
variable joined01:07
paolooo joined01:07
fragamus joined01:07
ErKa left01:07
Bruno_ left01:07
dougsland_ joined01:07
djapo SamB: no errors,01:07
no print out either01:08
daito left01:08
SamB okay, so, what does "git branch" say?01:08
zoso joined01:08
razrunelord joined01:08
djapo SamB: master01:08
SamB and do you see the files there?01:09
djapo SamB: yes01:09
diegoviola joined01:10
SamB well I guess you should be okay then01:10
veebers left01:10
quazimodo left01:10
Goplat joined01:12
Zebroid joined01:12
reaverb joined01:13
razrunelord left01:13
jrnieder SamB: take a look at man git-commit-tree01:15
gitinfo SamB: the git-commit-tree manpage is available at http://jk.gs/git-commit-tree.html01:15
paolooo left01:15
Zebroid left01:17
robustus left01:17
codeFiend left01:17
yosito left01:19
robustus joined01:19
beyondcreed left01:19
chrisshattuck left01:19
ScottE left01:23
hyperair joined01:23
Vampire0_ joined01:24
ScottE joined01:25
axl_ joined01:25
Vampire0 left01:28
Hello71 left01:28
lethjakman left01:29
Hello71 joined01:30
axl_ left01:31
CheckDavid left01:32
_ikke_ left01:33
alvaro_o left01:33
ErKa joined01:34
bgerber left01:34
veebers joined01:35
stellarhopper left01:36
_ikke_ joined01:37
Zarthus left01:37
jackh_ left01:38
pheaver left01:38
benonsoftware left01:39
zivester joined01:39
richwestcoast left01:39
Zarthus joined01:40
earny joined01:40
lucastt left01:40
richwestcoast joined01:40
k_sze[work] joined01:40
surge joined01:40
fragamus left01:41
zivester left01:41
surgeGuest9573701:41
digital-shokunin joined01:41
zivester joined01:42
luc__ joined01:43
EminenceHC joined01:43
Synthead left01:43
deens joined01:44
mortrca left01:44
deens left01:44
deens joined01:44
shruggar left01:44
axl_ joined01:45
Guest95737 left01:45
tokik left01:45
benonsoftware joined01:46
daito joined01:46
weiyang joined01:47
hgl joined01:47
EminenceHC left01:47
thiago joined01:48
Noldorin left01:55
Synthead joined01:57
bluesm joined01:59
pantsman joined02:00
pantsman left02:00
pantsman joined02:00
pbrobst left02:00
megawac joined02:01
harish joined02:02
Noldorin joined02:02
DolpheenDream joined02:02
jamieshepherd left02:03
Celm left02:04
St_Marx left02:06
JosephFerano left02:07
gandalfcome left02:08
squawksdeisquawkspopuli02:08
gandalfcome joined02:10
bgerber joined02:10
Gamecubic left02:10
blosocool left02:10
woollyams joined02:11
JosephFerano joined02:12
Garen left02:13
Zebroid joined02:13
Garen joined02:14
Gamecubic joined02:15
xcesariox joined02:15
xcesariox left02:15
Mitchbones left02:15
pantsman left02:15
codeFiend joined02:16
Zebroid left02:18
codeurge joined02:19
ariscop joined02:19
johnkevinmbasco joined02:21
jcvfen left02:22
madewokherd left02:23
ErKa left02:24
fatalhalt joined02:25
Xiti left02:26
NfNitLoop left02:26
St_Marx joined02:26
Lemony left02:27
mj12albert left02:27
echo-area joined02:27
fatalhalt left02:28
chrisshattuck joined02:29
skinux left02:30
FreezingCold left02:32
recycle left02:32
Lyqyd joined02:32
axl_ left02:32
JerryT joined02:33
JerryT left02:34
becks__ joined02:34
bgerber left02:34
JerryT joined02:34
becks__ left02:34
eephillip joined02:36
jovy88 left02:36
MattMaker joined02:36
yaru22 left02:37
jovy88 joined02:37
deuteriu_ left02:38
tokik joined02:39
makubi left02:40
NfNitLoop joined02:40
boombatower left02:40
codeurge left02:41
Synthead left02:41
makubi joined02:41
bitkiller left02:43
recycle_ joined02:43
irqq joined02:43
NfNitLoop left02:45
zoso left02:46
knownasilya joined02:48
jackh joined02:48
ifdm_ left02:50
yaru22 joined02:51
eletuchy_ joined02:51
checkit joined02:53
eletuchy left02:54
checkit left02:54
mdpatrick left02:54
darkpassenger joined02:55
Synthead joined02:55
eletuchy_ left02:55
axhiao joined02:57
cannonball left02:57
darkpassenger Hi all I have a rather complex situation02:58
involving branches, merging, conflict and new files02:58
if anyone's up for a challenge...02:58
reaverb darkpassenger: Go for it.02:59
Even if I can't personally solve it having it all out makes it more likely for somebody else to take a stab at it.02:59
darkpassenger allright ,03:00
NfNitLoop joined03:00
darkpassenger There are some work done on the master branch, and I have made a pull request for a branch I worked on03:00
nwertman left03:00
jxf joined03:01
darkpassenger there are new files in the master branch,03:01
there are new files in the pull request branch03:01
and I would like to merge.03:01
lithiumjake joined03:01
darkpassenger but it says there are conflicts and I rarely deal with conflict so I don't know how to proceed correctly without messing it up03:02
ifdm_ joined03:02
CKyle joined03:03
amikiri left03:03
Sample joined03:03
mj12albert joined03:04
robzilla joined03:04
mj12albert left03:04
mj12albert joined03:04
irqq left03:04
darkpassenger so yeah..03:04
reaverb darkpassenger: So basically it's just a merge conflict?03:05
weiyang left03:05
darkpassenger yes.03:05
thiago left03:07
darkpassenger silly i know03:08
reaverb darkpassenger: Got to the files where there a conflicts and serach for <<<03:08
robzilla left03:08
reaverb That'll take you straight to the conflict, they're suprisingly easy to resolve.03:08
Also, this is not really a "complex situation" :D03:09
thiago joined03:09
darkpassenger lol03:09
yeah I guess i dramatized03:09
pwnz0r joined03:10
reaverb darkpassenger: Ask if you need any help resolving the conflicts - you should be able to handle a couple on your own.03:10
zivester left03:11
kerrick joined03:11
vipzrx joined03:12
Zebroid joined03:14
k_sze[work] left03:14
BadProphet joined03:14
Xiti joined03:16
checkit joined03:16
Sample left03:17
checkit Guys can someone please help me. I have a working copy of origin/master and I need to pull a production release to my server... HOW!?03:17
I'm using bitbucket fyi03:17
Zebroid left03:18
checkit Anyone?03:18
drale2k left03:19
pwnz0r left03:21
k_sze[work] joined03:22
Noldorin left03:23
mizu_no_oto joined03:23
diphtherial joined03:24
reaverb checkit: git pull <branch> probably?03:24
skorgon left03:25
St_Marx left03:25
Segfault_ left03:25
Exio4 left03:25
asakura left03:25
diphtherial hey, a colleague of mine is having some inexplicable problems with a git pull on windows...specifically, she's getting the following message for some of the files: error: unable to create file data/k2_pin1.0_pout0.4/network23.dat (Permission de03:25
reaverb Don't know where this "production release" is so I can't really help you.03:25
diphtherial the rest of that line is "nied)"03:25
raijin joined03:25
Synthead left03:25
diphtherial also, when she pulls she ends up with a ton of files that have been marked 'modified' even though afaict she hasn't changed them at all03:26
reaverb diphtherial: Maybe send your collegaue here, they're closer to the problem and will be better able to answer questions.03:26
diphtherial she's sitting next to me, and she knows very little about git or computers in general03:26
vipzrx left03:27
reaverb diphtherial: Hmm, is this a home computer?03:27
bgerber joined03:27
diphtherial more or less; it's her work laptop03:27
weiyang joined03:27
diphtherial it's running windows 703:27
Ragnor left03:27
Mannequin left03:27
diphtherial she's using msysgit's git bash console to do the pulling/status-ing03:28
reaverb diphtherial: Is there an admin account on there she can't access?03:28
Sample joined03:29
diphtherial her account's an admin account, i believe, and we just went through giving her full permissions on tree, replacing any existing ones03:29
i apologize in advance for this likely being a windows issue03:29
i'm slightly confused about how her working directory can be dirty immediately after a pull03:29
akshaysth joined03:30
drale2k joined03:30
darkpassenger ahem, binary file conflict between branches.... :(03:30
nb_bez_ left03:31
diphtherial *on the source tree, sorry03:31
nkouevda joined03:31
reaverb diphtherial: Is this her first time pulling or has this worked in the past?03:31
CKyle left03:32
diphtherial it's worked in the past, like for the past three weeks or so03:32
someone on a mac just committed a whole bunch of test files to the project and i assume her client's trying to swap the line endings03:32
checkit left03:32
diphtherial which would explain why they're ending up dirty on arrival, i guess03:32
is there some way to disable that in git bash, and just pull them in "binary mode" or something? (i'm pretty new to git too, not sure if that makes sense)03:33
reaverb By "work in the past" you mean on her machine, correct?03:33
asakura joined03:34
diphtherial yes03:34
reaverb Have you tried git diff03:34
Exio4 joined03:34
reaverb before the pull03:35
diphtherial well, i tried status before the pull and there are a handful of untracked files, none of which are the ones that are dirty after the pull03:35
Segfault_ joined03:36
diphtherial is there an easy way to reverse the pull now? there's a ton of these dirty files sitting in her working directory now that we had to manually move out before03:36
reaverb dipptherial: The reverse the pull: git reset --hard <old SHA>03:38
s/The/to/03:38
Synthead joined03:38
reaverb It does look like this is a line endings problem.03:38
https://help.github.com/articles/dealing-with-line-endings#platform-windows03:38
Gamecubic left03:39
alexlind_ left03:39
St_Marx joined03:39
alexlindenlevy joined03:39
darkpassenger whats a file flag conflict ?03:40
diphtherial reaverb: ah, thanks, that's what i'd figured03:40
i wonder what the correct setting here should be...i thought she'd had it on autocrlf=true03:40
Sample left03:41
reaverb diphtherail: Check it.03:41
diphtherial alright, it's true03:41
vipzrx joined03:42
darkpassenger damn03:43
eephillip left03:43
Sample joined03:43
diphtherial so, if her collaborator's using OS X, it's likely that the line endings are just LFs, which (if autocrlf is true) will be converted to CRLFs on pull03:43
codeurge joined03:44
reaverb diphtherial: There's some way or the other to make the line endings work in git.03:44
Ragnor joined03:44
alexlindenlevy left03:44
diphtherial i'm surprised that the client doesn't recognize that it changed the line endings itself and now thinks they're all dirty, even though they'll be converted back to their original LFs when she pushes03:44
and i'm really surprised this problem didn't occur sooner03:45
codeurge_ joined03:45
SamB diphtherial: the solution is perhaps to forswear notepad03:45
codeurge_ left03:46
diphtherial well, she's using pycharm which is usually good about line endings03:46
codeurge_ joined03:46
skorgon joined03:46
diphtherial and in this case it's the git client that's changing the line endings; she hasn't even had a chance to edit the files yet03:46
darkpassenger what does "deleted in source but changed in destination" mean in terms of merging ?03:47
SamB diphtherial: yes, the other part of the solution is to turn off autocrlf03:47
darkpassenger its a file I have commited but then removed before my next commit, it shouldnt be conflicting , right ?03:47
blarson left03:48
Gamecubic joined03:48
SamB I said "notepad" because notepad is the only piece of software I can think of that can't deal with Unix line endings03:48
codeurge left03:49
Sample left03:49
EminenceHC joined03:51
codeurge_ left03:51
jayrobot joined03:52
weiyang left03:52
kukks left03:52
codeFiend left03:52
Dougie2187 left03:53
mizu_no_oto left03:54
Dougie187 left03:55
diphtherial SamB: so what you're telling me is that autocrlf should really be off by default03:56
EminenceHC left03:56
BuSerD_ left03:56
SamB diphtherial: probably, given that those of us who we'd expect to understand it so frequently find ourselves puzzled by the results03:57
polyzen joined03:57
codeurge joined03:58
blarson joined03:58
skorgon left04:00
mizu_no_oto joined04:00
skorgon joined04:00
weiyang joined04:00
codeurge left04:00
BadProphet left04:00
lithiumjake left04:01
offby1 I always say: line endings was one thing that Subversion got right.04:02
svn set-prop svn:eol-style native, and there's an end to it04:02
darkpassenger left04:03
zoso joined04:04
mh2104 joined04:05
cfedde programmers are pretty good at solving the problems their tools cause.04:06
mizu_no_oto left04:07
megawac left04:07
mh2104 left04:08
akshaysth left04:08
Tommy[D]_ joined04:10
scarabx left04:11
mdub joined04:12
clandest joined04:12
pigeon left04:12
beautifulmind joined04:13
Tommy[D] left04:13
adamgall joined04:13
woollyams left04:14
Zebroid joined04:14
xcesariox joined04:15
beautifulmind left04:15
daito left04:17
beautifulmind joined04:17
the8thbit left04:17
richwestcoast left04:17
BadProphet joined04:17
polyzen left04:18
richwestcoast joined04:18
Zebroid left04:19
Ziber left04:20
Ziber joined04:20
jonmorehouse joined04:21
jonmorehouse how would I create a git alias that passes its arguments to a shell command?04:21
here's what I have so far ...04:21
clp = !sh -c 'cd $HOME/.public && echo "$@"'04:21
howitdo left04:22
thiago create a shell function04:23
clp = !f() { sh -c 'cd $HOME/.public && echo "$@"'; }; f04:23
jonmorehouse thiago: perfect. I actually found a cleaner solution imo04:24
clp = !sh -c 'cd $HOME/.public && hub clone "$@"' -04:24
the - at the end does the trick :)04:24
dreiss joined04:24
pigeon joined04:25
Devastator left04:25
mh2104 joined04:26
thiago jonmorehouse: hint: use shell scripts instead04:26
just put a script called git-clp somewhere in $PATH04:26
Devastator joined04:28
nwertman joined04:29
yosito joined04:29
offby1 ,thiago++ as we say in #emacs04:30
thiago gitinfo: !karma04:30
gitinfo gitinfo: This channel tracks karma based on who has gotten lots of thanks for being helpful. If you want to help someone reach karmic nirvana, please mention their name when thanking them. Try ".karma <nick>" or ".topkarma", but please do it via private message to avoid mass highlighting people.04:30
Devastator left04:30
Devastator joined04:30
kcj joined04:30
tokik left04:31
yosito left04:31
ValicekB left04:32
certainstrings joined04:32
House left04:32
House joined04:32
BadProphet left04:34
BadProphet joined04:34
chrisshattuck left04:35
SegFaultAX left04:37
johnkevinmbasco left04:37
milki .karma Eugene04:37
gitinfo the Genuine Real Life Karma™ REST API results are back! eugene: 10 (1 in past 30 days) (0 given out)04:37
milki that seems small04:38
Eugene I am too high for this conversation04:38
Also04:38
.karma EugeneKay04:38
gitinfo the Genuine Real Life Karma™ REST API results are back! eugenekay: 59 (0 given out)04:38
milki ah04:38
ValicekB joined04:38
revyd joined04:38
milki .karma04:39
gitinfo the karma of the given users is shrouded in the mists of uncertainty.04:39
milki .karma milki04:39
gitinfo the Genuine Real Life Karma™ REST API results are back! milki: 54 (1 in past 30 days) (0 given out)04:39
SegFaultAX joined04:39
milki :o04:39
astrofog left04:40
zumba_ad_ joined04:40
dsdeiz_ left04:42
Sample joined04:42
Skrypter joined04:42
joelm left04:42
zumba_addict left04:43
dsdeiz joined04:43
Skrypter_ left04:44
House left04:45
mh2104 left04:45
House joined04:45
tokik joined04:45
reaverb Heh, zero given out.04:45
.karma gitinfo04:46
gitinfo the Genuine Real Life Karma™ REST API results are back! gitinfo: 16 (0 in past 30 days)04:46
sword left04:46
saurabh joined04:47
House hey all, i'm looking at git for sydadmin & ops. im looking for some blog posts or any discussion about how to decide what does into repos, etc. all my scripts in different folders? in different repos? separated by language, etc? i'm clueless on the pros&cons04:47
akim left04:48
karpoff left04:48
watabou joined04:49
chris_thomson left04:49
howitdo joined04:49
howitdo left04:49
howitdo joined04:49
offby1 there's got to be lots of stuff written about this ... and yet I can't offhand point to anything :-|04:51
Eugene House - usually a git repo is a "project", or some compileable subdivision there of04:52
House - or, for example, a purpose, like some DNS zones04:52
Plus you personally may have one to manage homedir scripts/configs, another for notes....04:53
offby1 House: the first thing I can think of is: make your repositories such that if someone wants any piece of a repository, they probably want all of it -- but no more04:53
xsbeats joined04:53
offby1 pretty vague, I realize04:53
mdub left04:54
EminenceHC joined04:55
House thanks for the responses anyway. i guess it's probably better to make a bit of a mess and then work out what's logical for me04:56
Kicer86 joined04:56
offby1 You could err on the side of making them too large, and then split them up later; or you could err on the side of making them too small, and then combine them later. Unfortunately I don't know which of those two is easier.04:57
joelm joined04:58
variableconstant04:58
woollyams joined05:00
EminenceHC left05:00
davegb3 joined05:00
xintron left05:00
davegb3 left05:01
marthinal joined05:02
hellopat left05:03
KeridosKeridos_off05:04
lyubenblagoev joined05:05
woollyams left05:07
diphtherial left05:07
ezekielnoob left05:08
Naoe-Kanno joined05:08
watabou left05:09
Gamecubic left05:09
SHyx0rmZ left05:10
woollyams joined05:11
delight joined05:12
Naoe-Kanno left05:13
daito joined05:13
MagePsycho joined05:15
Zebroid joined05:15
Tuna-Fish left05:15
House left05:16
certainstrings left05:17
Tuna-Fish joined05:19
Zebroid left05:20
kulkarp joined05:24
surfdue left05:26
BadProphet left05:26
EminenceHC joined05:26
ghostlines joined05:30
Celm joined05:31
lite_ joined05:31
jceb joined05:31
weiyang left05:32
surfdue joined05:32
lite_ left05:32
SegFaultAX left05:33
lite_ joined05:34
ghostlines left05:34
ferreum158 joined05:34
ghostlines joined05:34
MattMaker left05:36
SegFaultAX joined05:36
cilly joined05:36
Sample left05:36
mad joined05:37
sanjayu joined05:37
EminenceHC left05:37
EminenceHC joined05:38
jceb left05:38
codeFiend joined05:41
clandest left05:41
lite__ joined05:41
lite_ left05:41
Synthead left05:42
woollyams left05:42
EminenceHC left05:42
ThomasLocke joined05:43
shingshang joined05:44
Celm left05:44
ghostlines left05:44
dougsland_ left05:45
richwestcoast left05:45
richwestcoast joined05:46
teran joined05:46
Xethron joined05:46
Xethron left05:46
Xethron joined05:46
kcj left05:49
veebers left05:49
FilipNortic joined05:50
starkhalo left05:50
oodavid joined05:52
teran left05:52
reaverb left05:52
teran joined05:53
Kayra joined05:54
tpollard left05:55
LeMike joined05:56
DolpheenDream left05:57
hoschi joined05:57
Zarthus left05:59
Zarthus joined05:59
St_Marx left06:00
goTAN joined06:01
djapo left06:02
St_Marx joined06:02
joelm left06:02
Zebroid joined06:03
hellopat joined06:03
joelm joined06:04
woollyams joined06:05
revyd left06:05
beautifulmind left06:06
maveneag_ joined06:06
papegaaij joined06:07
hellopat left06:08
SegFaultAX left06:11
lyubenblagoev_ joined06:11
oodavid left06:11
SegFaultAX joined06:12
MattMaker joined06:14
Zebroid left06:14
lyubenblagoev left06:15
cbreak-work joined06:15
h0bbit joined06:16
cilly left06:18
RyPeck left06:19
roelmonnens joined06:19
jluc joined06:21
ice9 joined06:24
hoijui joined06:24
gitinfo set mode: +v06:24
ice9 if I deleted a file from the repo, can I restore it without reset the whole repo?06:25
thiago yes06:25
type git status. It will tell you what to do.06:26
nnyk_ Morning #git06:26
please, how can I view what changed in a particular commit?06:27
milki git show <commit>06:28
anry joined06:29
elbeardmorez joined06:29
nnyk_ milki: that will show me the commit message. I want to see the 'diff'06:29
milki sounds like your commit doesnt have a diff06:30
are you sure theres a diff?06:30
thiago is it a merge commit?06:30
milki git log --stat -1 <commit> will tell you what files changed06:30
nnyk_ thiago: no its not06:31
thiago git show will show the diff06:31
knownasilya left06:32
nnyk_ correction... milki, that command showed its a merge commit06:33
HelperW joined06:33
nnyk_ oops!06:33
beautifulmind joined06:34
nnyk_ thanks thiago, milki. Appreciate it!06:34
anry left06:34
anry joined06:34
beautifulmind left06:36
beautifulmind joined06:36
BadProphet joined06:37
nfroidure joined06:40
ciampix joined06:40
BadProphet left06:42
Sonderblade left06:42
squawkspopuli left06:42
djapo joined06:43
drale2k left06:43
djapo is there a way to not type my ssh passphrase every time i push to github or bitbucket?06:44
milki djapo: google ssh-agent06:44
Celm joined06:45
FunkyAss joined06:46
drale2k joined06:47
twb joined06:47
Lyqyd left06:47
twb So I'm a monster.06:47
jceb_ joined06:47
twb Given a list of branches foo bar baz ... quux, I want a script that'll repeatedly try to merge all combinations, finally leaving a result that has as many as possible in an octopus merge06:47
xsbeats left06:47
Xethron left06:48
Goplat left06:48
Luke-Jr left06:48
danecando left06:49
sanjayu left06:49
ice9 left06:50
Celm left06:50
toomanysecrets joined06:50
grumbel_ twb: I don't understand, doesn't git checkout foo; git merge bar baz ... create such a merge?06:51
Luke-Jr joined06:51
twb grumbel_: not if there's a conflict06:51
intellix joined06:51
sanjayu joined06:51
bambams_ left06:51
twb so suppose foo and baz conflict, if I just stop adding branches when I get a conflict, I'd never try to merge quuuux which might merge cleanly06:51
grumbel_ ah, so you want to try out all combinations that merge without conflict?06:52
or better, find the largest number of branches that merge without confligt06:52
twb Yeah find the maximum set of branches that merge cleanly as octopus06:52
grumbel_ twb: This might help. If will iterate over the power set of your branches, and you can stop whenever a merge was without conflict: http://stackoverflow.com/questions/15742005/the-logic-behind-bash-power-set-function06:53
xSmurf left06:54
twb blerg06:54
hkon_ joined06:55
jonmorehouse left06:56
vipzrx left06:58
vipzrx joined06:58
vurma joined06:58
MafooUK joined07:01
kburdett left07:04
kenneth joined07:04
rchavik left07:04
EminenceHC joined07:05
mishok13 joined07:05
blackmesa joined07:06
Luke-Jr left07:06
kburdett joined07:07
Luke-Jr joined07:08
xintron joined07:08
Gavrisimo joined07:08
cruig joined07:09
EminenceHC left07:09
cruig left07:11
lb joined07:12
ghostlines joined07:12
pantsman joined07:13
pantsman left07:13
pantsman joined07:13
pwnz0r831 joined07:13
razrunelord joined07:13
dangerousdave joined07:14
Gizburdt joined07:15
Zebroid joined07:15
pwnz0r831 left07:17
razrunelord left07:18
Ardenzi joined07:18
adkins2 left07:19
jargon joined07:19
Zebroid left07:20
Asiajey_ joined07:20
Asiajey left07:20
shruggar joined07:20
hafeez3000 joined07:20
maveneag_ left07:21
blackmesa left07:21
rchavik joined07:21
Luke-Jr left07:23
Luke-Jr joined07:23
PeterBooker joined07:24
cagfernandes joined07:25
teran_ joined07:25
gua_ould joined07:26
teran left07:29
nnyk_ left07:29
cvanball joined07:29
User458764 joined07:29
codeFiend left07:32
franzip joined07:32
dangerousdave left07:33
joki left07:33
watermel0n joined07:34
maxorator left07:35
Macaveli joined07:35
irqq joined07:35
maxorator joined07:36
lyubenblagoev__ joined07:36
daito left07:36
a-l-e joined07:36
daito joined07:37
Kicer86 left07:37
jagob joined07:38
richwestcoast left07:38
joki joined07:39
richwestcoast joined07:39
lyubenblagoev_ left07:39
teran_ left07:40
teran joined07:40
User458764User458764_NotHe07:40
Balliad joined07:41
daito left07:41
jceb_ left07:42
nilg` joined07:42
User458764_NotHe left07:42
shruggar left07:44
irqq_ joined07:44
toomanysecrets left07:44
richwestcoast left07:44
richwestcoast joined07:45
fragamus joined07:46
cvanball left07:47
thiago left07:47
irqq left07:48
nilg` left07:48
fragamus left07:50
richwestcoast left07:50
ariscop left07:50
richwestcoast joined07:51
beautifulmind left07:51
hellopat joined07:52
Gizburdt left07:53
cvanball joined07:54
richwestcoast left07:56
mishok13 left07:56
hellopat left07:56
jceb_ joined07:56
richwestcoast joined07:57
Arkaniad left07:57
Not_Whatever joined07:57
toomanysecrets joined07:58
mishok13 joined07:59
lavong joined07:59
shafox left08:00
richwestcoast left08:01
harobed joined08:02
moritzs joined08:02
Gizburdt joined08:02
richwestcoast joined08:02
psoo joined08:02
oodavid joined08:03
Manny joined08:04
psoo left08:05
richwestcoast left08:05
richwestcoast joined08:05
psoo joined08:05
EminenceHC joined08:07
robzilla joined08:08
Exancillatus joined08:09
pantsman left08:10
daito joined08:10
matteo joined08:11
mikecmpbll joined08:11
goTAN left08:12
EminenceHC left08:12
goTAN joined08:12
robzilla left08:12
richwestcoast left08:13
richwestcoast joined08:13
watermel0n left08:13
razrunelord joined08:14
recycle_ left08:14
Zebroid joined08:16
gerard0 joined08:17
shafox joined08:18
richwestcoast left08:19
razrunelord left08:19
jceb_ left08:19
maveneagle joined08:19
Zebroid left08:21
HelperW left08:22
D9 left08:22
HelperW_ joined08:22
shruggar joined08:22
AOP_ joined08:22
g0bl1n joined08:23
g0bl1n left08:23
g0bl1n joined08:23
Gavrisimo left08:23
VictorCL joined08:24
Internet13 left08:24
richwestcoast joined08:24
Skrypter left08:24
Skrypter joined08:25
mishok13 left08:26
xlinkz0 joined08:27
mishok13 joined08:28
Internet13 joined08:28
dreiss left08:29
richwestcoast left08:29
Skrypter left08:30
Xethron joined08:30
Xethron left08:30
Xethron joined08:30
jxf left08:30
woollyams left08:32
jceb_ joined08:32
the_bz joined08:33
richwestcoast joined08:33
hjalti left08:33
vipzrx left08:33
vipzrx joined08:34
welly joined08:35
richwestcoast left08:35
gain joined08:35
richwestcoast joined08:35
vipzrx left08:36
kstuart_ joined08:37
kstuart left08:37
Okaria left08:37
rishabh_ joined08:38
kermit left08:39
diegovio1 joined08:39
diegoviola left08:39
kermit joined08:40
Okaria joined08:40
richwestcoast left08:40
kulkarp left08:41
richwestcoast joined08:41
intellix left08:44
vire joined08:45
ArSn joined08:45
Celm joined08:45
lyubenblagoev__ left08:47
squawkspopuli joined08:47
squawkspopuli left08:47
squawkspopuli joined08:47
intellix joined08:47
richwestcoast left08:47
blahdodo left08:47
richwestcoast joined08:48
richwestcoast left08:49
richwestcoast joined08:49
Celm left08:50
SegFaultAX left08:51
delight left08:51
pikaren left08:52
SegFaultAX joined08:53
kerrick left08:53
maveneagle left08:53
teran left08:54
maveneagle joined08:54
rob_w joined08:54
teran joined08:54
freimatz joined08:54
VictorCL left08:54
DocGroove joined08:55
drale2k left08:57
teran_ joined08:57
DoniRS joined08:59
diegovio1 left09:00
jceb_ left09:00
ZinovaS_w5 joined09:00
VictorCL joined09:00
teran left09:01
richwestcoast left09:01
hjalti joined09:01
Guest77241 joined09:01
richwestcoast joined09:01
Sonderblade joined09:01
Sonderblade left09:02
Sonderblade joined09:02
Zebroid joined09:03
gitinfo set mode: +v09:03
ZinovaS_w5 hi, is there a way to configure git so that it could perform just read-only operation on local repo? repo file permissions cant be changes...09:03
tobiasvl huh?09:04
your local repo?09:04
twb ZinovaS_w5: chmod -R a-r *09:04
ZinovaS_w5: git relies on the OS to enforce access control09:04
tobiasvl twb: surely you mean a-w09:04
jovy88 left09:04
twb oops09:04
jast if you can't change permissions and want to "disencourage" git from changing stuff, there aren't many options09:04
but one thing you can do is prevent 'git add' and friends from working: touch .git/index.lock09:05
schulung joined09:05
ZinovaS_w5 will try, thanks09:05
grumbel_ ZinovaS_w5: other options: (1) install hooks that reject anything, (2) access the repo only through a read-only URL (git://)09:05
jovy88 joined09:06
shafox left09:06
richwestcoast left09:06
twb of course they can also just clone the whole thing, then edit that09:06
If your threat model considers that a Bad Thing, you're screwed09:07
jast I'm curious, btw: what's your goal with this?09:07
richwestcoast joined09:07
Zebroid left09:08
Xiti` joined09:08
ZinovaS_w5 main point here is that IDE takes path to git (probablu options can be incejted) and I dont want IDE to be able to modify or lock repo (only cli interface is used for commit/push)09:08
jottr_ joined09:08
robzilla joined09:08
ZinovaS_w5 IDE git integrations pulls by itself randomly and does not have any configuration ....09:09
but blame in IDE looks better then cli ;)09:09
ferreum158 left09:09
tobiasvl but git is distributed09:10
locking a local repo makes little sense imo09:10
osse the Blame has to look REAAALLY good for that to be worth it :O09:10
Xiti left09:11
robzilla left09:13
grumbel_ not sure how such a solution would block only the IDE and not the cli, though09:13
kriks joined09:14
Sonderblade left09:14
Octalot joined09:14
tobiasvl run the IDE as a special user that doesn't have write access :P09:14
razrunelord joined09:15
jceb_ joined09:15
EminenceHC joined09:16
Tuna-Fish left09:16
dangerousdave joined09:17
nfk joined09:17
h0bbit left09:18
twb osse: xfaces with targets painted over them09:18
hkon_ left09:18
jatt joined09:19
twb http://code.google.com/p/gource/ can use xfaces; I need to sort that out for Ork RSN.09:19
jatt left09:19
jatt joined09:19
razrunelord left09:20
twb tobiasvl: or you could LD_PRELOAD or use a fuse rofs wrapper, to just discard write attempts to that VFS tree09:20
ezekielnoob joined09:20
EminenceHC left09:20
hafeez3000 left09:20
twb ZinovaS_w5: fixing the IDE sounds like the best plan, though.09:20
cvanball_ joined09:21
nnyk_ joined09:21
ferreum158 joined09:22
VictorCL left09:23
cvanball left09:23
martinklepsch joined09:23
the_bz left09:23
Sonderblade joined09:24
Sonderblade left09:24
the_bz joined09:25
twb left09:25
jackneill joined09:25
jackneill left09:25
jackneill joined09:25
schulung left09:25
DocGroove left09:26
ZinovaS_w5 twb, made a quick wraper script to pass only commaned that have --version|log|show|blame as first argument to real git09:26
nnyk_ left09:26
ZinovaS_w5 will see how that works in longer term09:26
g0bl1n left09:27
VictorBjelkholm joined09:30
beautifulmind joined09:32
endiruna joined09:33
ndee_ joined09:33
hafeez3000 joined09:33
ariscop joined09:34
nkouevda left09:35
renatow left09:35
nkouevda joined09:36
harobed left09:36
jeffasinger left09:37
ndee_ left09:38
Zariel_ joined09:38
hkon_ joined09:39
nkouevda left09:40
hellopat joined09:40
freestyl3r joined09:41
Baluse left09:42
hellopat left09:45
Celm joined09:46
harish left09:46
mishok13 left09:48
surfdue left09:49
mishok13 joined09:50
Celm left09:50
jottr_ left09:50
Sound joined09:50
himikof left09:51
jackh left09:51
himikof joined09:51
hebz0rl left09:53
surfdue joined09:54
richwestcoast left09:55
richwestcoast joined09:55
Manny left09:58
kulkarp joined09:58
hebz0rl joined09:59
surfdue left09:59
surfdue joined09:59
MagePsycho left09:59
Manny joined10:00
daedeloth joined10:00
Exancillatus left10:01
nbrosnah_ joined10:01
nbrosnah_ left10:01
h0bbit joined10:02
Zebroid joined10:04
surfdue left10:05
canton7-mac joined10:07
Zebroid left10:08
robzilla joined10:09
woollyams joined10:10
JrCs joined10:10
osse ZinovaS_w5: if your IDE "auto-pulls" wouldn't you then gets lots of errors?10:10
surfdue joined10:11
Gizburdt left10:13
robzilla left10:13
thevishy joined10:14
thevishy left10:14
thevishy joined10:14
razrunelord joined10:16
ZinovaS_w5 osse: i just return exit code 0 on other subcommands and ide thinks its ok ;)10:18
EminenceHC joined10:19
echo-area left10:19
Kayra left10:19
razrunelord left10:20
Manny left10:20
Kayra joined10:21
EminenceHC left10:23
richwestcoast left10:24
King_Hual joined10:24
richwestcoast joined10:25
bunbury left10:26
nnyk_ joined10:27
sanjayu left10:27
bobdobbs joined10:29
Gamecubic joined10:29
bhldev__ left10:30
bhldev__ joined10:30
bobdobbs I'm working on a project that I haven't worked on for a while. I want my remote version to be in the same state as my local version. I made some changes locally, and then did 'git push'. I got this back:10:30
http://pastebin.com/0JshNMVj10:30
tokik left10:31
tobiasvl bobdobbs: it means the remote has some changes that you don't have locally (or that you've changed the history)10:31
richwestcoast left10:31
paulweb515 left10:31
Exancillatus joined10:31
bobdobbs I see10:32
tobiasvl so do what it says; 'git pull' the remote changes first10:32
richwestcoast joined10:32
bobdobbs I think I already did that10:32
I do it again anyway10:32
goTAN is there a way to have a branch A tracking a branch B so that whenever I push in B, A also gets those changes?10:32
osse bobdobbs: Note: a git pull will do a merge.10:32
bobdobbs: Ie. your lcoal version will become a combination of your local and remote versions10:33
achadwick joined10:33
bobdobbs damn. tried a git pull, but I've got conflicts10:33
osse goTAN: you can make A a symbolic reference to B10:33
tobiasvl bobdobbs: yeah, those need to be resolved10:34
intellix left10:34
bobdobbs tobiasvl: is there that I can just forcefully push, adding my own code to remove, no matter what?10:35
goTAN hm what I basically want is one master branch where the release version is pushed , and then different master branches for specific platforms which only have some minor changes like compiler settings some gfx chanes etc but should still have the changes I pushed in master.10:35
tobiasvl bobdobbs: sure, 'git push --force', but that will !rewrite history10:35
gitinfo bobdobbs: Rewriting public history is not recommended. Everyone who has pulled the old history 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 -f <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum10:35
goTAN if that makes sense10:35
bobdobbs tobiasvl: I'm the only person working on this project. so I'll give that a try10:36
carbon joined10:36
grumbel_ goTAN: for an automatic solution, you'll probably need some scripting (using hooks, for example)10:36
bobdobbs tobiasvl: cool! that did it!10:36
tobiasvl bobdobbs: then go right ahead (as long as you're sure you don't have anything at the remote that you want to keep)10:37
great10:37
bobdobbs thanks10:37
goTAN hm10:37
grumbel_ goTAN: The more typical workflow is probably to have all platforms in a single branch, and use defines, makefiles etc. for specific platform settings10:37
stamina joined10:37
richwestcoast left10:38
goTAN grumbel_: hm yea but I also have different art assets10:38
richwestcoast joined10:39
Error404NotFound joined10:39
osse goTAN: I think you will have to do that manually (ie. rebase or merge the master-* branches)10:39
zoso Hi, I need help with merging history from a repository. I have two repositories, A and B, B is a clone of A. Both repositories have gone through changes independently, and now I want to merge changes of B to A. How do I go about achieving this?10:39
osse but it's scriptable10:39
goTAN yea10:39
osse zoso: in A, add B as a remote, then fetch from it. Then merge whatever you wish10:39
grumbel_ goTAN: I see, but deployment / packaging tools can usually select those per-platform10:40
Hounddog joined10:40
zoso osse, thanks :)10:40
xrlk left10:40
hoijui left10:41
Bruno_ joined10:41
kyb3r_ left10:42
Exancillatus left10:42
Gizburdt joined10:43
nasomi left10:44
Exancillatus joined10:44
Gizburdt left10:45
Gizburdt joined10:45
sanjayu joined10:46
loveablelobster joined10:46
Xeroa joined10:47
hyperair left10:47
nwertman_ joined10:47
philp joined10:48
nephyrin` joined10:49
amikiri joined10:49
arunpandianp__ joined10:49
adkins joined10:50
PaulePan1er joined10:50
twem2_ joined10:50
zoso How can I find out difference of commits between two remotes?10:50
robins joined10:50
boblee_ joined10:50
tureba_ joined10:50
ec_ joined10:50
drodger joined10:51
osse zoso: depends on how you want the info to be presented10:51
jiriki- joined10:51
cfedde_ joined10:51
jcvfen joined10:51
njsg__ joined10:51
pdtpatri1k joined10:51
DANtheBE- joined10:51
d1b_ joined10:51
salparad1se joined10:51
rawtaz_ joined10:51
tobiasvl zoso: fetch from both remotes and diff the remote branches, basically10:51
jcvfen left10:51
sea-gull- joined10:52
Jupelius_ joined10:52
teran_ left10:53
teran joined10:53
mtj_- joined10:53
jokajak` joined10:54
lite__ left10:54
iAsterisk_ joined10:54
cworth` joined10:54
quantsini_ joined10:54
specing_ joined10:54
yomi_ joined10:54
Orginator joined10:54
Orginator left10:54
Brando753-o_O_o joined10:54
kriks left10:54
helgikrs1 joined10:54
Gitzilla_ joined10:54
Orginator joined10:55
tarkus joined10:55
Orginator left10:55
Purveyor joined10:55
jamieshepherd joined10:55
unCork joined10:55
Levex left10:55
Levex joined10:55
orwell.freenode.net set mode: +v10:55
specing left10:55
JPT left10:55
iAsterisk left10:55
Cork left10:55
mtj_ left10:55
nwertman left10:55
twem2 left10:55
boblee left10:55
Brando753 left10:55
meatmanek left10:55
Yomi left10:55
cworth left10:55
jokajak left10:55
tureba left10:55
DANtheBEASTman left10:55
ec left10:55
quantsini left10:55
Entomo left10:55
pdtpatrick left10:55
MissionCritical left10:55
Rylee left10:55
philp_ left10:55
Orginator_ left10:55
njsg left10:55
salparadise left10:55
ping_pong left10:55
jaeckel left10:55
Jupelius left10:55
roflin left10:55
rawtaz left10:55
Gitzilla left10:55
jiriki left10:55
d1b left10:55
arunpandianp left10:55
robinsmidsrod left10:55
wakd left10:55
cuqa left10:55
helgikrs left10:55
cfedde left10:55
flexd left10:55
D4v33 left10:55
zz_ag4ve left10:55
basfdasae23 left10:55
nephyrin left10:55
unCorkCork10:55
tarkus After stash apply my files contain strings like <<<< Updates upstream... how to fix that?10:55
specing_specing10:55
Rylee_ joined10:55
jcvfen joined10:56
mnathani1 joined10:56
gitinfo set mode: +v10:56
adkins hey guys, i want to clone from my private debian server to a windows machine using pageant which has the pprivate key loaded. i get: http://pastebin.com/7f86imzy (of course i replaced USER,IP and PORT with the correct values) . Well its not working as you can see at pastebin. i followed instructions like here http://www.bitsandpix.com/entry/git-setup-msysgit-install-with-pageantplink-from-putty/ .any help?10:56
Brando753-o_O_oBrando75310:56
basfdasae23 joined10:56
D4v33 joined10:56
roflin joined10:56
ping_pong joined10:56
DolpheenDream joined10:56
JPT_ joined10:56
cuqa joined10:56
jaeckel joined10:57
MagePsycho joined10:57
flexd joined10:57
Orginator joined10:57
wakd joined10:57
basiclaser left10:58
osse tarkus: you're in a merge conflict10:58
carandraug joined10:58
zoso tarkus, those lines represent merge conflicts, go through the code and find out what changes you want to keep, and then save the file and commit your changes10:58
basiclaser joined10:59
Olipro left10:59
Tuna-Fish joined11:00
cybersphinx joined11:00
meatmanek joined11:00
rawtaz_ left11:01
Gooder` joined11:01
Olipro joined11:01
rawtaz joined11:01
Devastatr joined11:02
ZinovaS_w5_ joined11:02
Jiffy_ joined11:02
MutantMahesh joined11:02
MutantMahesh left11:02
MutantMahesh joined11:02
MutantMahesh left11:02
MutantMahesh joined11:02
martinklepsch left11:02
zoso osse, I think I am not being clear enough about my problem. I want to find out by how many commits is a branch of a remote lagging by from another branch of a remote.11:02
[BNC]l1kw1d joined11:03
tarkus zoso, is there a way to resolve this conflict by using some tool?11:03
tobiasvl it diff branch..remote/branch11:03
tarkus doing it manually will be a pain11:03
tobiasvl *git11:03
Octalot_ joined11:03
makubi_ joined11:04
dobalina joined11:04
saorge_ joined11:04
njsg__ left11:04
lbn_ joined11:04
njsg joined11:04
Ragnor left11:04
osse zoso: git rev-list remote1/branch..remote2/branch11:05
ec joined11:05
Zebroid joined11:05
Ragnor joined11:05
zoso tobiasvl, osse thanks :)11:05
osse zoso: git rev-list --count remote1/branch..remote2/branch11:05
vmiklos left11:05
vmiklos joined11:05
Mission-Critical joined11:06
Zariel_ left11:06
osse zoso: git rev-list --count --left-right remote1/branch...remote2/branch11:06
richwestcoast left11:07
richwestcoast joined11:07
biertie joined11:07
jojva joined11:08
zoso tarkus, umm, depends on what you want, if you don't care about the conflicts, you can just checkout the file in question from a remote branch, which you think is the right one. Then another way is to really go and fix the conflicts using a editor.11:08
Zebroid left11:09
drale2k joined11:09
lemonjel1y joined11:10
robzilla_ joined11:10
osse If it could be done reliably using a tool then Git would have done the job itself :P11:10
Authenti1ator joined11:11
nnyk_ left11:12
Kayra left11:12
martinklepsch joined11:12
Kayra joined11:13
richwestcoast left11:13
carandraug_ joined11:13
cvanball_ left11:13
Mission-CriticalMissionCritical11:14
richwestcoast joined11:14
robzilla_ left11:15
lite_ joined11:15
pikaren joined11:15
Zariel_ joined11:16
carandraug_ left11:16
razrunelord joined11:16
shruggar left11:18
marek_ joined11:19
carandraug_ joined11:19
EminenceHC joined11:20
grep0r left11:20
marek_ left11:20
nardev joined11:20
razrunelord left11:21
tvw joined11:21
arlekin joined11:22
arlekin hi all11:22
gitinfo arlekin: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.11:22
Kartagis joined11:22
Kartagis I'd like a raisin bran please11:22
wakd left11:23
Orginator left11:23
Purveyor left11:23
ec_ left11:23
sanjayu left11:23
hebz0rl left11:23
carandraug left11:23
beautifulmind left11:23
jackneill left11:23
Octalot left11:23
DoniRS left11:23
rob_w left11:23
cagfernandes left11:23
ciampix left11:23
ZinovaS_w5 left11:23
MattMaker left11:23
LeMike left11:23
mad left11:23
Devastator left11:23
makubi left11:23
JosephFerano left11:23
Vampire0_ left11:23
the_cybersphinx left11:23
garvank left11:23
saorge left11:23
W0rmDr1nk left11:23
rigid left11:23
jason237 left11:23
Alenah left11:23
Jiffy left11:23
Authenticator left11:23
ERROH left11:23
jojva` left11:23
Gooder left11:23
Mendenbarr left11:23
kaendfinger left11:23
tsunamie left11:23
lbn left11:23
bdesmet left11:23
lemonjelly left11:23
l1kw1d left11:23
rethus left11:23
Caius left11:23
Averell left11:23
niax left11:23
EminenceHC left11:24
grep0r joined11:25
luc__ left11:25
osse Kartagis: I think we're out... But we have beer.11:26
And various opiates11:26
k_sze[work] left11:26
arlekin left11:26
Gamecubic left11:27
nnyk_ joined11:27
momomomomo joined11:27
harish joined11:27
Kartagis toss me a Bud11:28
hellopat joined11:28
arlekin joined11:28
arlekin hi11:28
zoso Is there a way, I can push a range of commits to a remote.11:28
jason237 joined11:29
osse zoso: you can only push a certain commit and everything that leads up to it11:29
zoso: if you have A - B - C - D, then you can push A, or A - B, or A - B - C, etc. But not B - C11:30
zoso osse, after that can I prune the history, is there no way I can not have certain commits?11:30
arlekin what if i want to have synced local repo with remote one but i want to achieve that by manually changes rather than merging commits11:30
?11:30
osse zoso: rewrite the history to contain only those commits ,then push11:30
zoso I see :)11:31
thanks :)11:31
digitalextremist joined11:31
carandraug_ I made a question a few minutes ago but connection has been really bad. I'm unsure if someone answered11:31
so apologies for the repeat, I'll make it again.11:31
hi! I'm not that flexible with git yet, I'm more used to hg and have an issue that is probably easy to solve and I'm just being stupid. I cloned a repo, and made changes in one the branches. It seems that anonymous branches are not really a thing in git so I want to rename it, go back to the diverging point, and continue from there. How can I do this?11:31
_ikke_ carandraug_: The question didn't arrive the first time11:31
Kayra left11:32
arlekin i guess u could just create barnch11:32
*branch11:32
carandraug_ _ikke_, well. Here it is for the first time, then. Thank you11:32
hellopat left11:32
arlekin left11:33
GODDOG joined11:33
carandraug_ arlekin, but the branch already exists (it actually diverged upstream)11:33
arlekin joined11:34
zz_anildigitalanildigital11:35
arlekin hello there11:35
carandraug_ arlekin, hello11:35
_ikke_ carandraug_: git fetch; git checkout -B <name> origin/<name>11:35
Christer joined11:35
_ikke_ Hmm, no that's not the diverging point11:36
gitinfo set mode: +v11:36
arlekin how can i merge local repo with remote one in a way that i will make changes in local manually and they will just sync ?11:36
_ikke_ ..11:36
Christer Hi, when trying to use git --amend , it just freezes the terminal window. Any idea why this would happen? Thanks :)11:37
Vampire0_ joined11:37
carbon left11:37
carandraug_ _ikke_, I will be happy with going to what is the "HEAD" in upstream. I want to keep my changes. In hg I would just keep it as anoymous, in git I'm not sure how to handle this11:37
_ikke_ carandraug_: In git you just give the branch a name11:37
Xethron left11:37
anildigitalzz_anildigital11:37
_ikke_ So you know where to find it instead of having to check all the anonymous heads11:38
wakd joined11:38
Purveyor joined11:38
_ikke_ carandraug_: so git branch <new_name> to create a new branch on the current commit11:38
franzip left11:38
DoniRS joined11:38
mikecmpbll left11:38
carandraug_ _ikke_, I ran your command and I lost my branch :s11:39
stfn left11:39
_ikke_ carandraug_: Which one?11:39
osse Christer: see if it has started your editor in the background or something11:39
hebz0rl joined11:39
Orginator joined11:39
Orginator left11:39
rob_w joined11:39
_ikke_ carandraug_: Which command did you run?11:40
franzip joined11:40
Orginator joined11:40
MattMaker joined11:40
carandraug_ _ikke_, git checkout -B develop origin/develop11:40
_tpavel joined11:40
rigid joined11:40
carandraug_ "develop" is like their "master" it seems11:40
which printed "error: Not tracking: ambiguous information for ref refs/remotes/origin/develop Reset branch 'develop' Your branch is up-to-date with 'origin/develop'. " and puff, I can't see my branch anymore11:41
martinklepsch left11:41
_ikke_ carandraug_: You mean the commits on the branch?11:42
mikecmpbll joined11:42
adkins left11:42
martinklepsch joined11:42
saurabh left11:42
carandraug_ _ikke_, yes. I'm also using a GUI (gitg) to help me while I get used to it, and I can't find it there either11:42
chiromante joined11:42
ziro`_ left11:42
W0rmDr1nk joined11:43
h0bbit left11:43
_ikke_ carandraug_: does git show @{1} show you the last commit?11:43
Christer osse: it didnt - But i did it from git bash instead of cygwin. And there it worked. (opening vim first for commit msg)11:43
moritz well, -B replaces existing branches11:44
richwestcoast left11:44
richwestcoast joined11:44
moritz if you don't want that, don't use -B11:44
Kayra joined11:44
carandraug_ _ikke_, ah! Yes, it does. Where is this thing?11:44
arlekin how can i merge local repo with remote one in a way that i will make changes in local manually and they will just sync ?11:44
_ikke_ carandraug_: git branch <new_name> @{1}11:44
zz_anildigitalanildigital11:45
_ikke_ arlekin: Your question is not clear to me11:45
carandraug_ _ikke_, that worked. BUt what did I just do?11:45
_ikke_ carandraug_: branches in git are like bookmarks in hg11:46
fragMental joined11:46
grumbel_ arlekin: Not sure what you mean; are you probably looking for git rebase?11:46
_tpavel left11:46
_ikke_ carandraug_: with checkout -B you recreated the current branch on another commit11:47
But git also keeps references to checked out commits in a thing called the reflog11:47
Celm joined11:47
jackneill joined11:47
grumbel_ arlekin: there are typically two strategies to merge remote and local changes; rebasing your local changes on top of the remote changes (-> linear history), or creating a merge commit11:47
_ikke_ So even if you loose the reference to a commit, you can still get it back via the reflog11:47
Averell joined11:48
cagfernandes joined11:48
mad joined11:48
JosephFerano joined11:48
garvank joined11:48
Alenah joined11:48
ERROH joined11:48
Mendenbarr joined11:48
kaendfinger joined11:48
tsunamie joined11:48
rethus joined11:48
Caius joined11:48
_ikke_ @{1} points to the second most recent entry in the reflog, so, the commit you had checked out before the current11:48
arlekin grumbel_: im quite certain im not, trick is, i have some commits in my remote (bitbucket) which i want to apply to local repo, BUT for some reasons i cannot just merge them in, so i wonder if there is method to adjust two repo states manually11:48
lsiv568 joined11:48
rnsanchez joined11:48
niax joined11:48
Jupelius_ left11:48
tobiasvl arlekin: what reasons are those?11:48
Jupelius joined11:49
Xethron joined11:49
Xethron left11:49
Xethron joined11:49
jagob left11:49
Gamecubic joined11:49
blackmesa joined11:49
arlekin tobiasvl: its just that it changes models in my django project and i need to make some adjustments in south for it in meantime11:49
grumbel_ arlekin: you could fetch, cherry-pick the remote changes, and then force push the new history11:49
tsunamie left11:49
fragMental Hi, I want to put a project under git that consists of a lot of subdirectories that are mostly independent of each other, and only contain few files (<10 in most cases). I was thinking about what would be the best way to do this. I don't really want to make a separate repo for each subdir. What do you think of this approach: make a branch for every subdir, only commit on those branches and then merge back into11:49
master (and maybe require commitmessages to start with a [subdir] tag)?11:50
_tpavel joined11:50
carandraug_ _ikke_, I need to read more on the internals about this reflog11:50
tsunamie joined11:50
arlekin grumbel_: im preety newbie to git, though i already cherypicked stuff and such, but i dont have a problem with a way to merge, just dont wanna do it all at once11:51
carandraug_ if this had been a much older commit, is there some way to find all the "dead ends" that don't belong to a branch? And if there's many commits in such branch, are they still connected in the reflog?11:51
Celm left11:51
arlekin grumbel_: maybe i should torn my commits to few smaller ones and then went through it step by step....11:51
_ikke_ carandraug_: Entries in the reflog will expire some time11:52
richwestcoast left11:52
richwestcoast joined11:52
_ikke_ carandraug_: The age of the commit itself doesn't matter for the reflog, if you had it checked out recent11:52
Gege left11:52
carandraug_ so bottom line, I should always name my things11:52
_ikke_ yes11:52
carandraug_ ok. Coming up with names takes almost as much time as the actual coding11:53
_ikke_ It's common in git to use branches for certain features11:54
anli_ joined11:54
SpaghettiCat_ joined11:54
_ikke_ feature/add-friend-dialogue11:54
jagob joined11:55
Kwpolska it’s common in programming to speak US English: feature/add-friend-dialog11:55
anildigitalzz_anildigital11:55
_ikke_ Kwpolska: Was doubting about it11:55
gitinfo set mode: +v11:55
anli_ I have a directory with some files, now I want to create a git clone of it and a repo that was cloned from in another directory, can I do that in a single step?11:55
SpaghettiCat_ left11:55
SpaghettiCat joined11:56
SpaghettiCat Hello, I have a commit history that looks like this: http://pastie.org/9155461 What do the "^2", "^2^", "^2~2" parts mean?11:56
carandraug_ _ikke_, in my specific case, I'm just adding very small things. Plus, I'm also using github. So I need to make a branch, 3 lines of code, put it on github and make a pull request.11:57
richwestcoast left11:57
Joost_ joined11:57
richwestcoast joined11:57
_ikke_ SpaghettiCat: ^2 means the second parent11:57
SpaghettiCat: see also man gitrevisions11:58
DolpheenDream left11:58
gitinfo SpaghettiCat: the gitrevisions manpage is available at http://jk.gs/gitrevisions.html11:58
_ikke_ carandraug_: Why do you make those changes?11:58
lsiv568 left11:58
SpaghettiCat Ahh, thanks for that11:58
moondoggy left11:59
shruggar joined11:59
the_bz left12:00
amikiri left12:00
carandraug_ _ikke_, the one I'm doing right now is adding a method to access one attribute12:01
zz_anildigitalanildigital12:01
claudfernandes joined12:01
the_bz joined12:01
sniperliu joined12:01
Bruno_ left12:02
richwestcoast left12:02
_ikke_ feature/add-attribute-getter12:02
mikecmpb_ joined12:03
Kayra left12:03
carandraug_ _ikke_, basically yes.12:03
richwestcoast joined12:03
carandraug_ I think this is more a github complaint really12:03
Kayra joined12:03
_ikke_ It's not required to create a special branch for it though12:03
midnightmagic_ joined12:04
biertie left12:04
Olipro left12:04
rishabh_ left12:04
bluesm left12:04
Joost` left12:04
skasturi left12:04
HicksD left12:04
ramlev left12:04
pekster left12:04
nepochal left12:04
BtbN left12:04
ToaNii left12:04
Asenar left12:04
nhmood left12:04
midnightmagic left12:04
ggherdov_ left12:04
Someguy123 left12:04
kalz left12:04
supermat left12:04
dytrivedi left12:04
edk left12:04
i_ron left12:04
JStoker left12:04
ohcibi left12:04
xnox left12:04
breiti left12:04
LostDatagram left12:04
souther left12:04
ketas left12:04
sdh_ left12:04
shihan left12:04
WakiMiko left12:04
tgummerer left12:04
dr_lepper left12:04
Nickeeh left12:04
Arokh left12:04
diminoten left12:04
Maple__ left12:04
Fuxx left12:04
AlexanderS left12:04
Ywa left12:04
Bombe left12:04
Keridos_off left12:04
nnyk_ left12:04
lsiv568 joined12:04
_ikke_ Although we usually recommend it12:04
Joost_Joost`12:04
carandraug_ I can't just add a pull request to an issue. So that discourages me from discussing it before asking the pull request12:04
zumba_ad_ left12:04
zumba_addict joined12:04
mikecmpbll left12:05
_ikke_ You can refer to a pull request in an issue though12:05
Someguy123 joined12:05
jast pull requests are also issues12:05
it's all a bit weird12:05
Zebroid joined12:05
jast I'd probably have designed it differently, but then again I've never felt the need to design a platform like that :)12:06
jluc left12:06
carandraug_ _ikke_, Yes. But there's still two ticket numbers.12:06
that's just a design thing, personal rant12:06
and not really a git issue12:06
Zebroid_ joined12:07
Zebroid left12:07
arlekin left12:08
zumba_addict left12:09
stamina left12:10
aspiers joined12:10
robzilla_ joined12:11
endiruna left12:11
toomanysecrets left12:11
Zebroid_ left12:11
cagfernandes left12:11
Gamecubic left12:12
kbart joined12:13
the_bz left12:13
jast carandraug_: that's okay, personal rants are never entirely absent from this channel :)12:14
robins left12:14
davividal joined12:14
richwestcoast left12:14
lbn_ left12:14
ziro` joined12:14
davividal left12:14
robinsmidsrod joined12:14
richwestcoast joined12:15
moritzs left12:15
robzilla_ left12:15
hellopat joined12:16
nnyk_ joined12:16
beautifulmind joined12:16
franzip left12:16
franzip joined12:17
intellix joined12:17
razrunelord joined12:17
deens left12:18
bremner rants about jast's cheerful nature12:18
axhiao left12:18
Arokh joined12:18
Olipro joined12:18
diminoten joined12:18
biertie joined12:18
rishabh_ joined12:18
bluesm joined12:18
skasturi joined12:18
HicksD joined12:18
ramlev joined12:18
pekster joined12:18
nepochal joined12:18
BtbN joined12:18
ToaNii joined12:18
Asenar joined12:18
nhmood joined12:18
ggherdov_ joined12:18
kalz joined12:18
supermat joined12:18
dytrivedi joined12:18
edk joined12:18
i_ron joined12:18
JStoker joined12:18
ohcibi joined12:18
xnox joined12:18
breiti joined12:18
LostDatagram joined12:18
souther joined12:18
ketas joined12:18
sdh_ joined12:18
shihan joined12:18
WakiMiko joined12:18
tgummerer joined12:18
Nickeeh joined12:18
Maple__ joined12:18
Fuxx joined12:18
AlexanderS joined12:18
Ywa joined12:18
Bombe joined12:18
Keridos_off joined12:18
babilen left12:18
deens joined12:18
jast hi bremner :) what a wonderful day it is!12:18
ArSn left12:18
Not_Whatever left12:18
Olipro left12:19
kalz left12:19
ggherdov_ left12:19
bluesm left12:19
ketas left12:19
ketas joined12:19
dr_lepper joined12:19
hellopat left12:20
drale2k left12:20
hjalti left12:20
ArSn joined12:20
lbn joined12:21
sohail joined12:21
sohail left12:21
sohail joined12:21
Olipro joined12:21
bluesm joined12:22
razrunelord left12:22
cannonball joined12:22
deens left12:23
kalz joined12:24
bluesm left12:24
CheckDavid joined12:24
SpaghettiCat left12:25
daito left12:26
MattMaker left12:26
daito joined12:26
Gege joined12:26
xsbeats joined12:27
ggherdov_ joined12:27
Gamecubic joined12:27
stfn joined12:27
Baluse joined12:27
hkon_ left12:28
dangerousdave left12:29
EdGruberman left12:29
konadr joined12:30
daito left12:30
jovy88 left12:31
EdGruberman joined12:31
Brando753 left12:31
mjsmith2 joined12:31
rjhunter joined12:31
jovy88 joined12:32
MattMaker joined12:32
rfoust left12:34
dipendra joined12:34
Gamecubic left12:34
hellopat joined12:35
mizu_no_oto joined12:36
supermat left12:36
Brando753 joined12:36
_Vi left12:37
supermat joined12:37
Kayra left12:38
nilg left12:38
mad left12:38
hkon_ joined12:39
Kayra joined12:39
mizu_no_oto left12:39
monbro joined12:40
scampbell joined12:41
richwestcoast left12:41
richwestcoast joined12:41
tgkokk joined12:42
cagedwisdom left12:42
marlun joined12:43
marlun Is there an official git-hg just like there's a git-svn?12:43
blackmesa left12:43
lithiumjake joined12:45
sniperliu left12:45
the_bz joined12:46
ntio joined12:46
tobiasvl marlun: not official, but there is https://github.com/cosmin/git-hg12:46
richwestcoast left12:46
tgkokk left12:47
m0viefreak marlun: git comes with a hg remote helper12:47
richwestcoast joined12:47
m0viefreak check out the contrib/remote-helpers directory12:47
tobiasvl marlun: however, I believe you can just push with git to a remote hg repo that has hg-git12:47
m0viefreak put git-remote-hg somewhere in your path12:47
and use prefix your URLs with hg::12:47
Celm joined12:47
tobiasvl m0viefreak: ah, that's nice12:48
there's also https://github.com/buchuki/gitifyhg12:48
mjsmith2 left12:48
m0viefreak yeah, all those are not really recommended12:48
tobiasvl yeah, I bet. I didn't know about git-remote-hg12:49
rjhunter left12:49
Christer After using git commit --amend, it seems to remove my hook. and it comes up with a message lige "mv .git/COMMITMSG_EDIT.tmp......" cannot be moved to COMMITMSG_EDIT. If i restart my computer, its ok again. is there any way i can do the same kind of "reset" that happens after a computer restart without restarting ?12:50
kburdett left12:50
marlun will checkout contrib/remote-helpers thanks!12:51
moritzs joined12:51
Gamecubic joined12:51
kbart left12:51
blackmesa joined12:52
DolpheenDream joined12:52
Celm left12:52
k_sze[work] joined12:52
kburdett joined12:53
bartman`` joined12:54
franzip left12:54
franzip joined12:54
mikecmpb_mikecmpbll12:56
IrishPrime joined12:56
maveneagle left12:56
Christer left12:56
rgr joined12:56
joelmo joined12:56
k_sze[work] left12:57
paulweb515 joined12:57
revoNxt joined12:57
Kayra left12:58
mh` joined13:00
mh` left13:00
Gamecubic left13:00
livingstn joined13:01
dsdeiz left13:02
rfoust joined13:02
juvenal joined13:02
teran left13:02
Kayra_ joined13:02
richwestcoast left13:03
richwestcoast joined13:04
Zariel_ left13:04
tmcmahon joined13:05
Zariel_ joined13:05
shinnya joined13:05
Zariel_ left13:05
lite_ left13:06
harish left13:06
Zariel_ joined13:06
cjwilburn joined13:07
Gamecubic joined13:07
harish joined13:08
Zebroid joined13:08
sniperliu joined13:09
LeMike joined13:09
qwyeth joined13:10
woollyams left13:10
setra joined13:12
gandalfcome left13:12
Zebroid left13:12
setra hellopat, why does git not lock on the serverside if 2 parties push. so the larger upload(push) will fail all the time if they were done simultaneously13:13
hide, why does git not lock on the serverside if 2 parties push. so the larger upload(push) will fail all the time if they were done simultaneously13:13
Why does git not lock on the serverside if 2 parties push. so the larger upload(push) will fail all the time if they were done simultaneously13:13
Xethron left13:13
Kronuz joined13:14
tmcmahon left13:14
Xethron joined13:15
Xethron left13:15
Xethron joined13:15
tobiasvl setra: we got you the first two times13:15
hyperair joined13:15
setra sorry, but I always addressed members, but I just wanted to be polite and say hi13:16
tgkokk joined13:16
tobiasvl hello!13:16
setra: it doesn't need to lock, because the latter push will be rejected anyway (unless it can be fast-forward merged, in which case why would you want a lock?)13:16
bitkiller joined13:16
tobiasvl the second push will be rejected because it doesn't contain the history from the first push13:17
see also the reply to http://stackoverflow.com/questions/4643998/how-git-works-when-two-peers-push-changes-to-same-remote-simultaneously13:17
setra tobiasvl, because if A has a couple of small changes and does a push, and B will have a slow internet connection with a large change, he will never be able to push, because all the time he tries, B will get rejected and need a pull before next try13:17
FortySix2 joined13:18
razrunelord joined13:18
ehmatthes joined13:18
FortySix2 left13:19
sniperliu left13:19
hjalti joined13:19
richwestcoast left13:19
binarydog left13:20
richwestcoast joined13:20
jeffasinger joined13:20
ziro` left13:21
zivester joined13:22
sniperliu joined13:22
Gizburdt left13:22
razrunelord left13:23
anildigitalzz_anildigital13:23
FortySix2 joined13:23
vivien_m` left13:24
kanja left13:25
sanjayu joined13:26
richwestcoast left13:26
MutantMahesh left13:26
GT4066 joined13:26
richwestcoast joined13:27
Sicp joined13:27
Asiajey_ left13:28
Exancillatus left13:28
Asiajey joined13:28
Asiajey left13:28
Asiajey joined13:28
Kayra_ left13:28
cjwilburn left13:29
tgkokk left13:30
cjwilburn joined13:30
mh` joined13:30
mh` left13:30
j416 can I somehow grep -v using git log --grep ?13:30
dowwie !localrepo13:31
!help13:31
gitinfo What do you need help with? Something with git? Tell us what's going on, and please be specific. For information on how to abuse me (I'm a bot!), see http://jk.gs/git/bot . Please be gentle.13:31
AOP_ left13:31
polyzen joined13:31
j416 I want to find all commits that are missing a reference to an issue in our issue tracker13:32
WormDrink joined13:32
j416 by 'grep -v'-ing them from the log13:32
carlosgoce joined13:32
EminenceHC joined13:33
osse j416: you could do git rev-list HEAD, then git rev-list --grep=foo HEAD, and subtract one list from the other. It'll be a bit ugly perhaps13:33
But maybe it's ok for you purpose13:33
cjwilburn left13:34
j416 it'll only be a handful of commits mostly so it's not a real issue if it's a bit slow, but it would be elegant if I could somehow.. git log --not --grep foo13:34
Error404NotFound left13:34
j416 hm13:34
xsbeats left13:34
juvenaljuvenal_away13:34
osse comm -23 <(git rev-list HEAD | sort) <(git rev-list --grep=foo HEAD | sort)13:35
BAM!13:35
xsbeats joined13:35
lsiv568 left13:35
the_bz left13:35
osse in tha faaaace!13:35
AaronMT joined13:35
d33tah joined13:36
Xeroa left13:36
d33tah hi again :)13:36
ojacobson_ joined13:36
EveBird left13:36
ojacobson_ left13:36
bunbury joined13:36
tgkokk joined13:37
Kronuz left13:37
d33tah i've got two commits in my git history. one is pushed, the other i made by mistake and i'd like to erase it completely from history. git rebase -i won't let me as it only shows one line and if i remove it, it assumes that there's nothing to do. how can i get rid of this commit?13:37
EminenceHC left13:37
osse j416: ping. just in case you didn't see my latest suggestion. I think that'll do the trick13:37
d33tah ah, git reset --hard HEAD~1 helped13:38
_ikke_ d33tah: !next13:38
gitinfo d33tah: Another satisfied customer. NEXT!13:38
_ikke_ :-)13:38
Dougie187 joined13:38
MattStratton joined13:39
cjwilburn joined13:39
jeffasinger left13:40
ojacobson left13:40
dowwie push.default matching vs simple?13:40
Gizburdt joined13:40
xsbeats left13:40
Destos joined13:41
xsbeats joined13:41
_ikke_ dowwie: upstream13:41
j416 osse: sorry, thanks13:41
osse: what's comm?13:41
matheus23 joined13:41
osse no need to apologise13:41
j416 wtf I have a command named 'comm' o_O13:41
j416 manpages13:41
osse j416: it's a fairly standard program that compares files13:41
_ikke_ j416: A diff like tool13:42
j416 apparently13:42
:D13:42
thanks13:42
osse I didn't know about it until relatively recent either13:42
_ikke_ Me either13:42
j416 neither?13:42
_ikke_ Both work13:42
j416 o_O13:42
osse you can use either :P13:42
_ikke_ :P13:42
You can use either either or neither13:43
_Vi joined13:43
ingu_cloud_ left13:43
osse but neither neither nor either means or13:43
dsdeiz joined13:43
dowwie _ikke_: sorry, I'm not well versed yet -- what is upstream13:43
ascarter joined13:44
ascarter left13:44
_ikke_ man git config lists all of them13:44
gitinfo the git-config manpage is available at http://jk.gs/git-config.html13:44
MattMaker left13:44
cjwilburn left13:44
brandonw left13:44
lsiv568 joined13:44
ascarter joined13:44
dowwie k13:44
j416 osse: and also I want those to show as the git log format13:45
default* format13:45
mh` joined13:45
mh` left13:45
cjwilburn joined13:45
osse j416: I'd do that in a seperate step13:45
Kronuz joined13:46
Kronuz left13:46
osse hmm, never mind. git show $(comm -23 <(git rev-list HEAD | sort) <(git rev-list --grep=foo HEAD | sort))13:46
aw yiss13:46
Error404NotFound joined13:47
binarydog joined13:47
jeffasinger joined13:47
j416 I never knew git show took multiple arguments, nice!13:48
thanks13:48
xudongz joined13:48
osse I found out just now13:48
j416 :D13:48
rudisimo joined13:48
j416 you're welcome13:48
danecando joined13:49
brandonw joined13:49
osse they won't be in sorted order though13:49
LeMike left13:49
osse well, actually, they'll be sorted according to the lexical sorting of the SHAs13:49
danecando left13:49
fr33 joined13:50
danecando joined13:50
Kayra joined13:50
chiromante left13:51
Guest42013 joined13:52
bunbury left13:52
richwestcoast left13:52
mjsmith2 joined13:52
richwestcoast joined13:52
WormDrink left13:52
dancat left13:52
reaverb joined13:53
osse j416: sooo.... did it work ?13:53
the_bz joined13:55
bunbury joined13:55
j416 osse: still experimenting :)13:55
:D13:55
rfoust left13:55
rfoust joined13:56
tvw left13:56
crelix joined13:56
fragMental left13:56
tvw joined13:57
intellix left13:57
aero joined13:57
sohail left13:58
momomomomo left13:58
Macaveli left13:59
Exancillatus joined13:59
airportyh joined14:00
starkhalo joined14:00
Zariel_ left14:00
vanillajohn joined14:02
airportyh hello all, I have a weird problem where on a digitalocean vps trying to git clone a http url from github will just hang, but https works just fine. Does anyone have any idea what might be causing this?14:02
j416 osse: apparently it has been discussed by the top committers, but I don't know what came of it in then end. agh.14:02
osse: I'll go with your solution, it is the least ugly one for now. thanks14:02
osse j416: What's "it" ?14:02
j416 I'll report my success14:02
osse: ah, -v for git log --grep14:03
(or "--grep-not")14:03
gripp9k joined14:03
fragMental joined14:03
Zariel_ joined14:04
kenneth left14:04
MattStratton left14:04
MutantMahesh joined14:04
MutantMahesh left14:04
MutantMahesh joined14:04
MutantMahesh left14:04
MutantMahesh joined14:04
richwestcoast left14:04
richwestcoast joined14:05
the8thbit joined14:05
Cheaterman joined14:06
Cheaterman left14:06
Cheaterman joined14:06
Cheaterman Hello ^__^14:06
Ardenzi left14:06
hkon_ left14:06
gitinfo Welcome to #git, a place full of helpful gits. If you have a question, feel free to just go ahead and ask—somebody should answer shortly. For more info on this channel, see http://jk.gs/git/ Take backups (type !backup to learn how) before taking advice.14:07
acharlieh joined14:07
lithiumjake left14:07
aero left14:08
Cheaterman Don't hit me (I know git isn't a deployment tool), but I'd like to use git to version-control various "flavours" of my project. The idea is that I have a skeleton that I deploy for customers, but I'm still developing the skeleton itself, so it'll require re-integration sometimes, and I figured I could facilitate this with git.14:08
aero joined14:08
intellix joined14:08
offby1 hits Cheaterman14:08
offby1 ok, now I'll read what he said14:08
Cheaterman :DDDD14:08
Zebroid joined14:08
jast you could probably just put the base skeleton in git, and fork the individual things off of it14:08
Cheaterman So I'm gonna look up documentation on how to create a non-bare repo as "master" and use it as remote for the others14:09
locally14:09
Yes that's the idea14:09
offby1 that doesn't sound entirely insane.14:09
jast why use a non-bare?14:09
rgr left14:09
Cheaterman However forking has already happened, in case this might be an issue14:09
jnavila joined14:09
aero left14:09
jast well if there's common history it should all work out reasonably14:09
Cheaterman The project is a web project, I need the sources to be available for the "skeleton", it's used as a demo14:09
I love git <3 thanks jast for your encouragements14:10
jast okay, so basically you want the physical files to be updated when pushing?14:10
spuz joined14:10
prutz joined14:10
aero joined14:10
MattStratton joined14:10
Cheaterman Hmm nah I was thinking of making it like the "sub" projects do a "pull request" kind of14:10
While I would commit on the main project like it was a local clone14:10
m0nkmaster joined14:10
offby1 left14:10
Cheaterman (I'm developing on the server itself with git)14:10
(vim*)14:10
jast okay, but pushing to non-bares is rather iffy14:11
Cheaterman That's why I'm pulling from them insted14:11
instead*14:11
I figured it would be simpler?14:11
jast well, depends14:11
pull will work, yes14:11
your customer deployments are on different machines?14:11
spuz What is the best way to do this? Current state: master: A-B-C; mybranch: A-B-C-D-E; Desired state: master: A-B-C; mybranch: A-B-C-E'14:11
Cheaterman If that's really an issue, I can have a bare repo, and make the "demo" one of the cloned repos, it's not excessively problematic14:12
masak spuz: 'git checkout mybranch; git rebase -i master'14:12
zivester left14:12
robzilla_ joined14:12
spuz masak: and then remove commit D?14:12
Cheaterman jast: Nope everything is on the same VM14:12
masak spuz: right.14:12
spuz ok fairly easy14:12
masak spuz: could also acheive the same with '--onto D' instead of '-i', methinks.14:13
spuz masak: ah ok that's probably what I wanted to know14:13
Zebroid left14:13
spuz I was wondering how it would be done without -i14:13
richwestcoast left14:13
jast Cheaterman: do you ever want to get changes from the deployments back to the skeleton? because if you're committing the deployment-specific stuff, getting only the skeleton changes back into the main skeleton repo will be more difficult than is practical14:13
Exancillatus left14:13
jast spuz: sure, but it's much easier to get wrong14:13
Cheaterman Anyways I'm very glad you think git is (if not the right tool) appropriate for what I want14:13
jast: never ever!14:14
spuz yeah, good to know though14:14
Guest42013 left14:14
Cheaterman Deployments will always go one-way, customer-specific stuff stay in their "own repo"14:14
osse spuz: a third way, just for shits and giggles. create a new branch based on master, cherry-pick E, then force-rename that branch to mybranch14:14
jast spuz: IIRC, git rebase D --onto C14:14
but I tend to get this wrong about 1 out of 514:14
WormDrink joined14:14
spuz yeah same here14:14
allay joined14:14
Devastatr left14:15
Devastatr joined14:15
jast Cheaterman: okay, in that case what you proposed seems perfectly reasonable14:15
b4rbz joined14:15
Cheaterman Thanks a lot for confirming jast, I'll start looking up some documentation now14:15
treehug88 joined14:15
jast there's not much that needs to be done, really14:15
you can just add a non-bare as a remote14:15
git remote add mybase /path/to/skeleton14:15
richwestcoast joined14:16
Cheaterman That is, from direct filesystem access, without git:// or ssh://14:16
Samual left14:16
jast yes, for example14:16
Cheaterman (which I never did so far)14:16
jast works exactly the same way14:16
Cheaterman Okay perfect14:16
Sounds fairly simple indeed14:16
deryni left14:16
ErKa joined14:16
jnavila left14:16
MutantMahesh left14:16
Cheaterman I'll probably ask more when I get to resolve the conflicts14:16
It'll for sure be way simpler now, because ATM I'm deploying with cp and vim14:17
(with all the issues and inconveniences you can imagine)14:17
vire left14:17
robzilla_ left14:17
cheguvera left14:17
richwest_ joined14:17
Cheaterman (oh and working without backup too so if I'm erasing some customer integration, I have to type it again... you get the idea)14:18
(git will be my salvation)14:18
deryni joined14:18
aberrant joined14:18
Cheaterman So again thanks a lot jast14:18
p8952 left14:19
richwestcoast left14:20
p8952 joined14:20
p8952 left14:20
p8952 joined14:20
JerryT left14:20
richwest_ left14:20
Guest42013 joined14:20
richwest_ joined14:20
monbro left14:20
richwestcoast joined14:20
aero left14:20
richwest_ left14:21
bwreilly joined14:21
richwestcoast left14:21
beautifulmind left14:21
axl_ joined14:22
m0ltar joined14:22
PaulePan1erPaulePanter14:23
CKyle joined14:24
sniperliu left14:24
Zebroid joined14:24
papegaaij left14:25
gerard0 left14:25
dipendra left14:25
lurraca joined14:27
airportyh left14:27
gerard0 joined14:28
Cheaterman <richwestcoast> ello friendly gits.... I have a question, i'm currently setting up a development environment. The host is where i keep the main repository, the second server is local(without a public IP) which is the development server. Now my question - if i wanted to keep the two servers repositories synced; is this a good idea or bad idea?14:28
(He's having a pain to register @ freenode apparently so I'm asking his question)14:29
sparr joined14:29
richwestcoast joined14:29
richwestcoast Hello friendly gits.... I have a question, i'm currently setting up a development environment. The host is where i keep the main repository, the second server is local(without a public IP) which is the development server. Now my question - if i wanted to keep the two servers repositories synced; is this a good idea or bad idea?14:29
j416 osse: git log --no-walk --no-merges $(comm -23 <(git rev-list origin/master..HEAD | sort) <(git rev-list -E --grep 'refs #[0-9]{4}' origin/master..HEAD | sort))14:29
that's what I ended up with14:30
thanks :)14:30
guns joined14:30
j416 but I'll probably butcher it so that I can exit code 1 if there were commits, otherwise 014:30
Cheaterman j416: git isn't a deployment tool :D14:31
(just like su doesn't know about the wheel group!)14:31
osse j416: nice14:31
Zariel_ left14:31
Zariel_ joined14:33
gitinfo set mode: +v14:33
Ardenzi joined14:33
jeffasinger so I think I've found the issue I'm having. In my .gitattributes, I have the line "* text eol=lf", but some of the checked in files have CRLF line endings, which causes them to show up as modified no matter what, how do I fix that?14:33
j416 Cheaterman: so?14:33
Cheaterman: how else do you propose I do sanity checks for my commit messages before deploy? :)14:34
jast jeffasinger: commit the fixed files once14:34
WormDrink left14:34
betelgeu1e joined14:34
EminenceHC joined14:34
WormDrink joined14:34
airportyh joined14:34
dsdeiz left14:34
jast richwestcoast: I'm not sure about the roles of the two machines yet. both are purely for *hosting* the repository, not the machines you're actually working on?14:35
Cheaterman j416: I do not!!! Your command is VERY nice as osse said :) I'm just making a pun!14:35
vipzrx joined14:35
hafeez3000 left14:35
m0nkmaster left14:35
j416 Cheaterman: cheater14:35
hafeez3000 joined14:35
Cheaterman j416: (it's even more ironic that I myself will use git as a deployment tool soon enough, and came here for this very reason :P)14:35
goTAN left14:35
j416 Cheaterman: you know what though14:36
Cheaterman You tell me?14:36
osse Cheaterman be punnin'14:36
j416 Cheaterman: git isn't a deploy tool14:36
richwestcoast jast: maybe ill do a git hook which pushes the master branch to live14:36
when ever it changes14:36
Cheaterman Hehehehehe :D I know right j416!!! I've read the manpage about the hooks14:36
and first remark is "KEEP IN MIND GIT IS NOT A DEPLOYMENT TOOL"14:36
jast obtw, not sure if you got this, but Git is not designed to replace a deployment system14:37
richwestcoast is git not a deployment system?14:37
masak Cheaterman: remember though, Git is not a deployment tool.14:37
Cheaterman It can call it though - it can integrate within the toolchain14:37
richwestcoast looks at Cheaterman :D14:37
Cheaterman richwestcoast: nope it's not14:37
richwestcoast *looks at Cheaterman*14:37
dreams dashed14:38
Cheaterman lulz richwestcoast don't expect me to deny what these guys say14:38
m0nkmaster joined14:38
thedodd joined14:38
richwestcoast :P for our purposes its def not life threatening >:D14:38
Cheaterman They beat me with experience, and they are RIGHT (at least more often than myself)14:38
I read the docs about it and everything says "GIT IS NOT A DEPLOYMENT TOOL" :D14:38
No that's true14:38
But as mentoined, it's better to integrate git within a toolchain14:38
use a deployment tool for deployment14:39
and git as a VCS14:39
akim joined14:39
Cheaterman that is, a very clever VCS that can call the deployment tool itself14:39
but not a standalone tool that does both14:39
osse In my book, anything that can run a shell script is a {anything} tool14:39
richwestcoast yep yep, i reckon i have my answer now. im gonna push changes to master to live14:39
Odd_Bloke joined14:39
richwestcoast with a lovely hook14:39
Cheaterman osse: Very good point, that makes git able to call a pizza14:39
xSmurf joined14:40
Cheaterman You could make a hook that whenever you push, it calles a python script from the shell, that in turn orders a pizza14:40
richwestcoast thanks guys for your patience14:40
osse if non-fast-forward: extra cheese14:40
richwestcoast nice!!!!!14:40
Cheaterman exactly osse XDDD14:40
richwestcoast pizza all day14:40
using bitcoin?14:40
:D14:40
osse dogecoin14:40
such pizza14:41
jast gitcoin14:41
richwestcoast much happiness14:41
bgerber left14:41
richwestcoast ok thanks little git-monsters14:41
osse http://www.carcrushing.com/wp-content/uploads/2014/04/Doge-nascar-03.jpg14:41
offby1 joined14:41
Odd_Bloke I'm writing a pre-commit hook and want to run a command over only the files that are being included in this commit. I'm using `git diff --cached --name-only` which works fine unless I `commit --all` in which case nothing seems to be cached.14:42
Is it possible to detect that this is a `commit --all` and switch to just looking at all changed files?14:42
(Or is there another, better thing that I could be doing?)14:42
salparad1se left14:42
jast possibly the other hooks (prepare-commit-msg and commit-msg) do have the changes staged/cached14:44
worth a try if choosing one of those hooks doesn't conflict with your goal14:44
davividal joined14:44
dik_dak joined14:45
G__81 joined14:45
alexlindenlevy joined14:45
G__81 hi i sent a patch to a project and i have got some comments and i want to change certain things in the patch + add more to it. How do i edit the patch which shows in my git log?14:46
nilg joined14:46
jast G__81: is it the topmost commit in 'git log'?14:46
kanja joined14:46
sanjayu left14:46
G__81 the patch that i want to edit is the most recent checkin14:46
jast yes14:46
jast oh, good, that's the simplest case14:46
there are two ways to do this. one way is to just make your changes, add and commit --amend them (modifies the existing commit instead of creating a new one)14:47
the other is to run 'git reset --soft HEAD~'; this removes the commit but leaves its changes in your working dir)14:47
G__81 jast, oh ok so i can edit the .c file, make changes and do git commit --amend14:47
jast hmm, do we have a trigger about this? !amend14:47
gitinfo Use `git commit --amend` to combine your current staged changes with those in the previous commit. If you have already pushed the last commit, this counts as a !rewrite14:47
offby1 I wonder if it'd be better to simply add another commit with the improvements14:48
then regenerate the patch as needed14:48
jast G__81: yes, 'git add' the changes before you run the amend though, otherwise they don't get included14:48
Darvein joined14:48
G__81 jast, oh ok thanks a lot let me try it right away14:48
jast generating one patch from two commits doesn't work with format-patch14:48
Sicp left14:48
jast so that's a reason against making another commit14:48
WaReZ_ joined14:49
zumba_addict joined14:49
Celm joined14:49
chris_thomson joined14:49
ascarter left14:49
guns left14:49
jxf joined14:49
MagePsycho left14:50
frankdogg left14:50
nardev left14:51
frankdogg joined14:52
dsdeiz joined14:52
offby1 ah true indeed14:52
akim_ joined14:52
tranzfuse joined14:52
blackmesa left14:52
offby1 unless you rebase, which is effectively what you're suggesting14:53
Celm left14:53
akim left14:53
rfoust left14:53
mizu_no_oto joined14:54
Sound left14:55
blackmesa joined14:55
becks__ joined14:55
G__81 jast, cool thanks a lot, it works so i have now done git format-patch-1 and have the changes. To send the updated changes is it again git send-email with the patch name?14:55
Vooloo left14:56
rfoust joined14:56
jast yeah. on git's own development list it's common to use a [PATCH v2] prefix for the second iteration14:56
lurraca left14:56
Odd_Bloke jast: commit-msg looks like it should probably work. Thanks!14:56
jast I believe there's an option to change the prefix14:56
Odd_Bloke: good luck :)14:56
bgerber joined14:57
tgkokk left14:57
gerard0 left14:57
G__81 jast, yeah its on the same development list.14:57
FilipNortic left14:58
Odd_Bloke left14:58
toomanysecrets joined14:58
G__81 it shows like this in the subject [PATCH] [PATCH v2] foo......14:59
jast yeah, I think there's an option to make it put something else in front instead of the [PATCH], and you can pass e.g. [PATCH v2] for that option14:59
garvank left15:00
jast no, there isn't15:00
what I've done in the past is editing the patch file prior to sending it15:00
G__81 jast, oh ok thanks i would edit it and send it as you say :)15:01
jceb_ left15:01
thiago joined15:02
joelm left15:02
chris_thomson left15:02
garvank joined15:02
JanC left15:02
JerryT joined15:03
JerryT left15:03
adamgall left15:03
JerryT joined15:04
ascarter joined15:05
bwreilly left15:05
teran joined15:06
jatt left15:06
codeurge joined15:06
roelmonnens left15:07
roelmonnens joined15:07
irqq_ left15:07
lite_ joined15:07
m0ltar left15:08
FortySix2 left15:08
lavong left15:08
the8thbit left15:09
tureba_ left15:10
hafeez3000 left15:10
tureba joined15:10
watermel0n joined15:10
irqq joined15:10
Exancillatus joined15:10
teran left15:10
vanillajohn left15:10
roelmonnens left15:11
identity left15:11
lite_ left15:12
vanillajohn joined15:12
FortySix2 joined15:13
robzilla_ joined15:13
Gizburdt left15:14
Guest42013 left15:14
cbreak-work left15:14
robzilla_ left15:15
Exancillatus left15:15
robzilla_ joined15:15
alexlindenlevy left15:15
alexlindenlevy joined15:16
Guest42013 joined15:16
JanC joined15:17
lavaman joined15:17
axl_ left15:17
Jeana joined15:18
axl_ joined15:18
ziro` joined15:18
ThomasLocke left15:18
j416 osse: this is what happened https://github.com/jsageryd/.config.d/commit/878ca694443f7057f57dab0d0e424039f2721d5215:18
lavaman left15:18
shinnya left15:18
lyubenblagoev joined15:18
sparr left15:18
razrunelord joined15:20
alexlindenlevy left15:20
checkit joined15:20
j416 and of course I made a mistake; blergh. --no-merges is in the wrong place, oh well. :)15:20
armyriad left15:21
armyriad joined15:21
osse j416: hmm, is that tr -d ' ' necessary?15:21
oh wc-l15:21
momomomomo joined15:22
checkit Hey guys... So I'm a git newb but I've been getting by pretty well but I'm stuck at the moment. I have my origin/master repo on bitbucket and I've committed all of my local development changes. I want to merge orgin/master into a "production" branch (I think) and pull those production changes down to you staging server. HOW?15:22
psoo left15:23
lov checkit: Git isn't typically used to !deploy15:23
gitinfo checkit: Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html15:23
lov having a "production" branch isn't a bad idea though15:24
j416 osse: I gave the function to a friend.. guess what happened15:24
razrunelord left15:24
checkit lov: Thanks. So How would you typically deploy your project to a production environment?15:24
osse j416: WW3 ?15:24
j416 osse: "why didn't you simply use uniq?"15:24
lol15:24
(git rev-list HEAD; git rev-list --grep foo HEAD) | sort | uniq -u15:25
tada..15:25
osse j416: that's a good point15:25
cworth`cworth15:25
thevishy left15:26
rob_w left15:27
makubi_ left15:27
aismail points checkit to http://gitolite.com/deploy.html15:27
kalypso joined15:29
scampbell left15:29
makubi joined15:29
MattStratton left15:30
mattstratton joined15:30
osse j416: here are some more: http://mywiki.wooledge.org/BashFAQ/036 :P15:30
GODDOG left15:30
gain left15:31
ingu_cloud_ joined15:31
j416 hah15:31
osse is satisfied that his approach is the preferred one15:32
FreezingCold joined15:33
j416 I liked not having to use <()15:33
it's a fairly new addition15:33
and a bashism15:33
Jeana how do I upgrade git? it seems my terminal commands all give me git version 1.8.5.2 (Apple Git-48).. I’m trying through macports but I keep getting all sorts of errors… I downloaded and installed the dmg from git-scm.com but that’s not changing the version number when I do git —version15:33
j416 Jeana: you may have better luck in a channel for osx with that question as it is not related to git but more to your OS15:34
Jeana: but linger here in case someone cares to answer anyway. :)15:35
HelperW_ left15:35
Jeana hmm ok.. thanks.15:35
jagob left15:35
osse j416: well, bash has had it since the beginning. zsh and ksh also have it.15:35
so it's basically an anything-but-posix-ism, a type of -ism there are many of15:36
pikaren left15:36
j416 really15:36
I felt fairly sure it was added in bash 3 or so15:37
kermit left15:37
j416 but I may very well be wrong15:37
it's not in sh anyway. :)15:37
gua_ould left15:38
Gamecubic left15:39
lb left15:39
osse it'll be in most of them :p15:39
intellix left15:39
j416 I'll use uniq -u anyway.15:40
it kind of looks simpler15:40
guessing the speed would be about the same15:40
CKyle left15:40
j416 not that it matters in this case15:40
Bruno_ joined15:40
osse j416: the problem with uniq -u is that using -u is like using a bashism15:40
ehh, never mind15:41
posix specifies -u15:41
ghostlines left15:41
jimi_ joined15:41
aerocarbine joined15:41
teran joined15:41
teran left15:41
jimi_ I have installed git bash for windows. I checked out a repo, and after checking out, I do a "git status" and it shows TONS of files as "deleted" ... shouldnt it show nothing?15:41
aerocarbine ^I have the same question.15:42
teran joined15:42
bwreilly joined15:43
jimi_ aerocarbine, as me?15:43
CKyle joined15:43
_ikke_ jimi_: Is it under changes staged for cmomit?15:44
joelmo left15:44
aerocarbine jimi_ : Yes.15:44
_ikke_ commit15:44
FortySix2 left15:44
jimi_ _ikke_, it shouldnt be.. i literally did a "git clone http:// ... " and then "git status" inside the newly created folder15:44
_ikke_, but yes, it's under "to be committed"15:45
Samual joined15:45
_ikke_ jimi_: Sound like your index is either gone or corrupt15:45
sounds*15:45
Not sure why it happened15:45
git reset should fix it though15:45
Gamecubic joined15:45
jimi_ _ikke_, oh ok, trying now. I did it on my linux machine, without the same issue. Wondering if it's a file name or length issue in windows or something maybe15:45
chrisshattuck joined15:46
jimi_ _ikke_, ah, i see.. i just did a checkout again and it says unable to create a few files, invalid argument15:46
recycle joined15:46
aismail Jeana: when you type "which git" in the terminal, what does it tell you ?15:47
Jeana aismail: /usr/bin/git15:47
blackmesa left15:47
identity joined15:47
identity left15:47
identity joined15:47
betelgeu1e left15:47
aismail when you build git from source and install it, make sure you go to /usr/bin and symlink git to point to the newly installed one.15:47
jimi_ _ikke_, its because it has ":" in the name ha15:48
_ikke_ That explains a lot15:48
kermit joined15:49
xsbeats left15:49
luc_ joined15:49
jimi_ aerocarbine, is that the same issue you are having as well?15:49
betelgeu1e joined15:49
fragMent1 joined15:49
Celm joined15:49
j416 osse: :P15:50
bambams__ joined15:50
frankdogg left15:50
j416 osse: fwiw I reverted to the comm version, maybe I like it better.15:50
aerocarbine jimi_ : I faced the same problem few months ago. Then, i gave up.15:50
Celm_ joined15:50
vurma left15:51
aerocarbine jimi_ : Anyway, your's was a typo, right?15:51
frankdogg joined15:51
fragMental left15:51
jimi_ aerocarbine, nope, mine was because a file name contained characters that windows doesnt support15:51
aerocarbine jimi_ : oh. okay.15:51
thiago left15:52
aismail Jeana: if you installed git from macports, I recommend that you try to upgrade git from there first.15:52
m0ltar joined15:52
fragMent1 left15:53
aismail e.g. sudo port update && sudo port upgrade git-core15:53
Jeana aismail: I think I’m finally having luck there. even my macports was having an updating issue15:53
fragMental joined15:54
Jeana aismail: I had to install commandline tools for xcode, and now macports is updated, and now I might be able to update git now15:54
xsbeats joined15:54
Celm left15:54
ngladitz joined15:54
ngladitz left15:54
ngladitz joined15:54
ehmatthes left15:54
aismail ok. good to know.15:54
CKyle left15:55
allay left15:55
FortySix2 joined15:55
blackmesa joined15:55
claudfernandes left15:56
vipzrx left15:56
jimi_ tab completion on git bash laaaaaags15:57
Nicholas_Rishel joined15:57
dfinly joined15:57
mishok13 left15:57
elektronisk joined15:57
dfinly left15:57
konadr left15:58
deens joined15:59
guns joined15:59
richwestcoast left16:00
CKyle joined16:00
Octalot_ left16:00
akushner left16:00
elektronisk left16:00
lsiv568 left16:01
elektronisk joined16:01
xudongz left16:02
Gizburdt joined16:02
teran_ joined16:02
ferreum158 left16:02
Asandari left16:05
guilhermewop joined16:05
Gizburdt left16:05
dreiss joined16:05
Gizburdt joined16:05
teran left16:06
teran_ left16:06
hebz0rl left16:07
MafooUK left16:09
blosocool joined16:09
polyzen left16:09
D4v33 left16:09
causasui joined16:10
kadoban left16:10
lucastt joined16:11
Asandari joined16:11
Gizburdt_ joined16:11
luc_ left16:11
alexlindenlevy joined16:12
causasui merge conflict in my gitconfig so I can't mergetool. I need a "mrw" gif16:12
oodavid left16:12
samsamm777 joined16:12
D4v33 joined16:13
Gizburdt_ left16:13
Gizburdt left16:13
freez_ffm joined16:14
adamgall joined16:14
toomanysecrets left16:14
D4v33_ joined16:15
Gizburdt joined16:15
rchavik left16:15
alexlindenlevy left16:15
_tpavel left16:16
alexlindenlevy joined16:16
Khisanth left16:16
Xethron left16:16
RyPeck joined16:16
hellopat left16:16
roelmonnens joined16:17
erikruthven joined16:17
FortySix2 left16:18
D4v33 left16:18
tyreld joined16:18
HelperW joined16:18
nnyk_ left16:19
dreiss left16:20
razrunelord joined16:20
jargon left16:21
roelmonnens left16:21
irqq left16:22
armyriad left16:22
armyriad joined16:23
nwertman_ left16:24
vijay13 joined16:24
freez_ffm left16:24
imachuchu joined16:24
D4v33_ left16:24
ArSn left16:25
razrunelord left16:25
FortySix2 joined16:26
lmat I'm having trouble here... what's the right way to deal with colleagues that you think are wrong ?16:26
Not just wrong "about something", but wrong every time he opens his mouth ? ... even before he opens his mouth.16:27
Skrypter joined16:27
lov lmat: my solution was to quit and work for google instead16:27
I've found my new employer delightfully free of those sorts.16:27
jimi_ why would files show modified after checking them out in windows? file permissions?16:27
checkit left16:28
lov ... now I am that person :(16:28
cjwilburn left16:28
moritz jimi_: line endings messup, probably16:28
cjwilburn joined16:28
beyondcreed joined16:28
beyondcreed left16:28
beyondcreed joined16:28
luc_ joined16:28
Khisanth joined16:29
kermit left16:29
dsdeiz left16:29
Gizburdt left16:30
Balliad left16:30
Sicp joined16:30
Sicp left16:30
Sicp joined16:30
mikecmpbll left16:30
jimi_ moritz, I added * -crlf to my gitatrributes files, but they still show. Looking at it in a tool like windiff shows no difference, so i think you might be right about line endings16:30
CKyle left16:30
primitive joined16:30
CareBear\ joined16:30
Sicp left16:31
kenneth joined16:32
allay joined16:32
rishabh_ left16:32
cjwilburn left16:33
lucastt left16:33
cjwilburn joined16:33
lmat lov: haha16:33
Macaveli joined16:35
thiago joined16:35
lov it's definitely a problem though, and sometimes it's unfixable.16:36
Xiti` left16:36
lov that was a small part of what made me leave my last job; one of the leads was blatantly wrong about a lot of things, and it was really annoying me.16:36
D9 joined16:36
cjwilbur_ joined16:36
lucastt joined16:36
lmat lov: I'm thinking that I should just duck down and not rock the boat ?16:36
lov: But my boss is also somewhat confrontational asking questions and such. I keep thinking, "I *really* don't want to answer that."16:37
samsamm777 left16:37
D4v33_ joined16:37
razrunelord joined16:37
kermit joined16:37
CKyle joined16:37
jceb joined16:37
xlinkz0 left16:38
Skrypter left16:38
ojacobson joined16:38
lov is it your boss that's always wrong, or your colleague?16:38
Skrypter joined16:38
lmat lov: Well hard to say. We have a "technical lead" who I think is properly a "colleague", and we both have the same boss.16:38
lov: So the technical lead sort of ...well leads the way.16:39
lov aha.16:39
thaifood joined16:39
lmat lov: My other thought is to just ... win. Put myself in a higher position so that I can correct these problems.16:39
thaifood hi16:39
lmat lov: Then I remember that I don't care enough for my employer (I work for the government)16:39
lov: I am sort of on an exit strategy. I guess run ins like this should help me increase my zeal for exiting.16:40
lov: I'm not headed toward Google, though... I'm not educated enough.16:40
ezrafree left16:40
cjwilburn left16:40
luc_ left16:41
thaifood when i pull my git repo on my redhat server it shows all the files modified. My last commit was from my centos box with autocrlf = input in the config. Any ideas what is causing all the files to show modified please ?16:41
osse lov: do you work with boring stuff?16:41
bdavenport left16:41
lmat thaifood: Stop modifying line endings ?16:41
FreezingCold left16:41
thaifood lmat, i didn't have anything before so i just added autocrlf = input trying to fix it16:42
going from centos to redhat16:42
is there something I can do to fix it please ?16:42
lmat thaifood: What's broken ?16:42
airportyh left16:43
thaifood i want it so when i clone the repo that it doesn't show any files modified16:43
lmat thaifood: earlier you said pull, do you mean "clone" now ?16:43
thaifood sorry this is a clone16:44
nwertman joined16:44
canton7-mac left16:44
spuz left16:44
SegFaultAX left16:45
lmat thaifood: So, you mkdir newdir; cd newdir; git clone <url>; and you want the output to be something like "nothing changed" ?16:45
thaifood yes16:45
lmat no.16:45
bdavenport joined16:45
lmat thaifood: "change" is not a useful concept when you're cloning a repo.16:46
thaifood so i have to do another commit to prevent git status from showing every file changed ?16:46
lov lmat: it's less a matter of education and more a matter of experience and competence. I only have a BS in CS.16:46
kadoban joined16:46
offby1` joined16:46
lmat thaifood: Clone is to creation as pull is to change. (?)16:46
lov osse: sort... of.16:46
I'll say that it's relatively quiet, which suits me fine :)16:47
lmat lov: Yeah, I know. I think the real deal is that I want to be self-employed rather than work for even Google.16:47
thaifood but clone comes with the git commits which show clearly that nothing has changed16:47
SegFaultAX joined16:47
lov lmat: fair enough.16:47
thaifood lmat so i need to do a commit to get it to stop showing all of the files as changed16:48
matteo left16:48
FreezingCold joined16:48
anry left16:48
anry joined16:48
thaifood For linux boxes, this is correct ? [core] autocrlf = input16:49
elektronisk left16:49
lov thaifood: if you know you haven't modified anything, you can do "git reset --hard HEAD", which will bring your workspace to the state of your HEAD commit. This is not reversable, do not do this if you are not certain."16:49
mikecmpbll joined16:49
thaifood lov, perfect16:50
that's exactly what i needed16:50
osse lov: what I had in mind is that because of how popular Google is an an employer they end up in a situation where they set brilliant people to do even the most mundane tasks16:50
thaifood is "get reset --hard" the same as with HEAD ?16:50
osse (supposedly)16:50
Jeana left16:50
lmat I think my coworker sees everything as relationships... When I say something, his response isn't, "Is that right or wrong?" but rather "Is that friendly or attacking?" or something like that.16:50
lov osse: it's a valid complaint, I'll say that. That said, there's 20% time if you have a good idea :)16:51
thaifood lmat, haha that's funny, tell him it is a predator16:51
WormDrink left16:51
akushner joined16:51
lucastt left16:51
lmat You know... one thing I could use to my advantage is that my boss thinks very highly of me. If my boss sees me performing poorly under this leader, things may change ?16:52
lov osse: I'm definitely not working on what I kind of hoped I would be when I started, but I'm happy with how things turned out. I ended up on a very low stress team, and there's no pressure to pull all nighters or work weekends or anything like that.16:52
erikruthven left16:52
lmat lov: Ah, very good. On what do you work ?16:52
lov Not being in an on-call rotation is a really great thing for me, since I have an awful commute.16:52
lmat lov: I'm guessing you must be production support for adsense...16:52
lov hah, nowhere near close.16:52
lmat :AP16:53
the8thbit joined16:53
lmat :P16:53
thaifood is "git reset --hard" the same as with HEAD ?16:53
blosocool left16:53
lmat Or maybe I just need to talk to my boss...16:53
thaifood: HEAD is implied.16:53
osse thaifood: yes16:53
lov I do iPhone development for a public product which I won't specify, because I don't want to get bugged about it :)16:53
thaifood thank you guys16:53
lmat lov: good idea ;-)16:53
lov it's an interesting change since I've been doing Android development since Android started, and never did iOS before.16:53
rivarun left16:53
lmat lov: I don't have a cellphone, anyway ;)16:53
erikruthven joined16:54
thaifood For linux boxes, this is correct ? [core] autocrlf = input16:54
erikruthven left16:54
Kayra left16:54
mizu_no_oto left16:54
tang^ joined16:55
roelmonnens joined16:55
dougsland_ joined16:55
D9 left16:56
zz_anildigitalanildigital16:56
bdavenport left16:56
thaifood maybe ? hehe16:57
FortySix2 left16:57
brandon80__ joined16:57
codeFiend joined16:58
Kayra joined16:58
gripp9k left16:59
FortySix2 joined17:00
m0ltar left17:00
lmat thaifood: I have never used that option.17:00
leeN joined17:00
lmat thaifood: So I would say, "no, don't put that". :)17:00
thaifood: Oh, and I use a linux machine.17:01
lov http://git-scm.com/book/en/Customizing-Git-Git-Configuration#Formatting-and-Whitespace17:01
momomomomo left17:01
lov it's probably fine to do, especially if you're going to worry about windows clients17:01
osse thaifood: set the 'text' attribute to auto in .gitattributes. That's all you need. Stay away from autocrlf and safecrlf17:01
thaifood lov, that's where i got it17:01
Eugene You shouldn't need to touch core.autocrlf on a *nix box(or with an editor that defaults to LF)17:01
osse or so I've heard17:01
lov but yeah, don't touch it unless you need to.17:01
Eugene And on Windows, the correct approach is to use a LF-aware editor, eg Notepad++17:01
akushner left17:01
willnorris joined17:01
thaifood ok so i can just have nothing17:01
FortySix2 left17:01
thaifood is sublime text lf aware ?17:02
offby1 left17:02
offby1`offby117:02
Kayra left17:02
Eugene I have no idea; never used it myself. But probably17:02
akushner joined17:02
jeffasinger thaifood: Yes17:02
bluesm joined17:02
Eugene You need to make it the default, too17:02
thaifood Eugene: there is a setting ?17:02
CKyle left17:03
welly left17:03
jeffasinger If you open a file with LF endings, it will recognize that, you can change the default_line_ending setting for new files17:03
lmat lov: Do you use Microsoft Windows ?17:03
lucastt joined17:03
thaifood ok17:04
chris_thomson joined17:05
lov lmat: you realize that windows is banned within google, yes? :)17:06
lucastt left17:07
Sample joined17:07
Tuna-Fish left17:07
brandon80__ left17:08
sluther joined17:08
StoneCypher joined17:09
lucastt joined17:09
dreiss joined17:09
aspiers left17:09
gitinfo set mode: +v17:09
StoneCypher git is declining to show me the diff of a file because it thinks the file is a binary. i assume this is because it's minified css, and is therefore on one line. is there a way to get git to show me just the different piece?17:10
normally i want this behavior to stay what it is; i want to see in that file just once as a one time thing17:10
willnorris left17:10
cjz joined17:10
Zariel_ left17:11
thaifood left17:11
Zariel_ joined17:11
zoso left17:11
cathedral joined17:11
hebz0rl joined17:12
blackmesa left17:12
CKyle joined17:12
osse StoneCypher: try --word-diff17:12
Noldorin joined17:12
osse StoneCypher: but consider not committing generated files17:12
batrick left17:13
StoneCypher i would like to not commit generated files, but organizational momentum, etc17:13
--word-diff doesn't seem to have made a change17:13
batrick joined17:13
markjwill joined17:14
StoneCypher oh it takes an argument17:14
lmat lov: I didn't know that! Are you saying "you realize windows is banned" then "Yes, I use Windows" ? ;-)17:14
bdavenport joined17:14
osse StoneCypher: maybe try difftool17:14
StoneCypher osse: /me doesn't have difftool17:15
osse +17:15
bdavenport left17:15
osse ?17:15
rfoust left17:15
the_bz left17:15
bdavenport joined17:15
nnyk_ joined17:16
willnorris joined17:16
lucastt left17:16
xMYTHICx joined17:17
jcvfen_ joined17:17
finster left17:17
gitinfo set mode: +v17:17
jcvfen left17:17
ferreum joined17:18
lucastt joined17:18
markjwill left17:19
pen left17:19
willnorris left17:19
lapache hello, how to know which commits/tags/branch not pushed yet ?17:19
cathedral If I clone a git repository into a local directory, make changes without committing any of them, and then delete the whole directory with no backups, am I correct in assuming that the repo is gone with no way to recover anything?17:19
NimeshNeema joined17:20
osse cathedral: yes17:20
cathedral: I assume you've checked the recycle bin/trash17:20
achadwick left17:21
cathedral osse: I didn't actually delete it, just making sure I understand how it works.17:21
Thank you17:21
osse cathedral: cool.17:21
gitinfo set mode: +v17:22
skorgon even if you committed those cahnges they'd be gone17:22
osse cathedral: it is possible to make Git use a .git directory that is outside the directory you're working in though17:22
I can think of 4 different ways :p17:23
sluther left17:23
freimatz left17:23
InsanelyADHD joined17:24
ziro` left17:24
aartist joined17:24
shingshang left17:25
Tuna-Fish joined17:27
CKyle left17:28
martinklepsch left17:28
hgl left17:28
Scott6 joined17:29
richwestcoast joined17:29
allay left17:30
moritzs left17:31
Shusshu joined17:31
aerocarbine left17:32
dingbat left17:32
dark_splinter joined17:33
Shusshu left17:33
mewm joined17:33
GT4066 left17:33
m0nkmaster left17:34
l0x3py left17:34
endiruna joined17:35
CKyle joined17:35
sjmikem I stupidly killed a git svn fetch, and now get "error: could not lock config file .git/svn/.metadata: File exists" when I try to restart it17:35
how to recover?17:35
midnightmagic_midnightmagic17:36
osse probably delete that file17:36
sjmikem Tried that17:36
osse So it complains that it exists eve if it doesn't ?17:36
kenneth left17:37
lithiumjake joined17:37
sjmikem so I delete the .metadata file, verify that it's gone, and run the command again. The error appears, and the .metadata file reappears17:38
dowwie or a private (company) project, is it generally good practice to force gpg signatures with the commit tags?17:39
tgkokk joined17:40
tgkokk left17:40
SilverBln joined17:40
HSaka joined17:41
tvw left17:42
paulweb515 left17:43
ingu_cloud_ left17:43
watermel0n left17:44
JosephFerano left17:44
shruggar left17:44
lapache i have modified files (seems to be added) but not commited, git diff doesn't show me the changes :( do i missed something ?17:44
osse lapache: yes, you're missing --staged17:45
dowwie: I think it's more important for open source17:45
rivarun joined17:45
sjmikem Ah, I needed to delete .metadata.lock too17:45
vijay13 left17:45
dowwie osse: yeah17:46
ohcibi sjmikem: you shouldnt have deleted .metadata i guess 8-))17:46
sjmikem I did, just not the corresponding .lock file17:46
the error message was misleading17:46
watermel0n joined17:46
SilverBln left17:46
CKyle left17:47
BuSerD joined17:47
carandraug_ left17:47
sjmikem seems to be ok now, I assume .metadata is reconstructable?17:48
Nathan2055 joined17:48
lsiv568 joined17:48
m0nkmaster joined17:49
Ardenzi left17:50
thedodd left17:50
LeMike joined17:51
Nathan2055 left17:51
revoNxt left17:51
LeMike left17:52
lsiv568 left17:52
jnewt joined17:53
armyriad left17:53
LeMike joined17:53
LeMike left17:53
Zariel_ left17:53
revoNxt joined17:53
jnewt i can't seem to get my remote location for cloning set up on my laptop to match what i have on my desktop. my clone on my desktop looks something like this git clone alias:repo.git17:53
the alias expands to ssh://[user@server.com:port]17:54
thedodd joined17:54
LeMike joined17:54
lucastt left17:54
cathedral If I clone a remote master into a local directory and make changes, can I update my local master clone to account for changes synced by other people to the remote master? Would I do this using rebase?17:54
guns left17:54
xMYTHICx left17:54
xMYTHICx joined17:54
bitkiller left17:55
StoneCypher left17:55
jnewt i tried to setup the laptop in the same manner. however, i get cloning into 'reponame'... ssh: could not resolve hostname alias: name or service not known17:55
lucastt joined17:55
m0nkmaster left17:56
lapache osse: thank you17:56
skorgon cathedral, rebase or merge. depends on how you want your history to look like17:56
_Vi left17:57
cathedral skorgon: I want the history to be linear17:57
aard_ joined17:58
Error404NotFound left17:58
tgkokk joined17:59
Kayra joined17:59
anildigitalzz_anildigital18:00
beatdown joined18:00
xcesariox left18:00
Kayra left18:00
Kayra joined18:01
pbrobst joined18:01
tgkokk left18:01
lsiv568 joined18:02
G__81 left18:02
tm512_ joined18:02
pbrobst left18:02
tm512 left18:02
beatdown I've configured my GLOBAL user.mail and user.name. But when I commit git says: Your name and email address were configured automatically based on your username and hostname. How can I make it take the GLOBAL config? (git v.1.7.12)18:02
lucastt left18:03
osse beatdown: what does 'git config user.email' say while inside the repo?18:04
xMYTHICx left18:04
tranzfuse1 joined18:04
jimi_ git diff doesnt show any diff of a file, but git status shows its modified, other than file permission mode, what else could that be?18:04
skorgon cathedral, well, then you need to rebase. but you cannot influence the remote which still may merge18:04
lite_ joined18:04
osse jimi_: it has been staged and you need git diff --staged18:04
lmat lov: Okay, I'm writing a letter to my (our mutual) boss.18:04
beatdown osse: my gmail account, the same that is configured under GLOBAL and the one that I want to use18:04
skorgon Jiffy_, is it staged?18:04
argh, wrong nick and too late. i go home18:05
jimi_ osse, it says its not staged18:05
Kayra left18:05
tranzfuse left18:05
MissionCritical left18:06
osse beatdown: and you commit via a regular 'git commit' ?18:06
jimi_: try 'LESS= git diff'18:06
tgkokk` joined18:07
sq-one joined18:07
mikecmpbll left18:07
beatdown osse: yes, git commit -m18:07
pbrobst joined18:07
lithiumjake left18:08
osse beatdown: do you have any hooks?18:08
tgkokk` left18:08
bob14 joined18:08
tgkokk joined18:08
knownasilya joined18:08
osse and is the error repeatable?18:08
ehh, reproducible18:08
beatdown osse: I don't think so, because I don't know what hooks are... :\18:08
Keridos_offKeridos18:08
osse then you don't18:08
beatdown osse: I'll try again to see if it's reproducible, hold a minute18:09
tm512_ left18:09
mikecmpbll joined18:09
tm512 joined18:09
BuSerD left18:09
kulkarp left18:09
Asandari left18:09
ascarter left18:09
Kamilion left18:10
asturel left18:11
stealthii left18:11
cruig joined18:11
jimi_ osse, im on windows git bash18:11
BuSerD joined18:11
lite__ joined18:11
osse jimi_: doesn't matter18:11
HelperW left18:11
lithiumjake joined18:11
the8thbit left18:11
jimi_ osse, it says sh.exe comman not found18:12
LeMike left18:12
raijin left18:12
HelperW joined18:12
asturel joined18:12
osse jimi_: don't include the quotes18:12
ascarter joined18:12
dancat joined18:12
the_cybersphinx joined18:12
ascarter left18:12
jimi_ osse, do i need the filename after? if not it says missing operand18:12
Asandari joined18:12
beatdown osse: yes, it's reproducible via: mkdir foo; cd foo; git init; touch bar; git add .; git commit -m "hello"18:12
osse jimi_: what exactly are you typing in ?18:13
blarson left18:13
tirengarfio left18:13
ascarter joined18:13
kstuart_ left18:13
ascarter left18:13
jimi_ osse, LESS=git diff18:13
beatdown it's weird, isn't it?18:13
osse jimi_: insert the space you removed18:13
carlosgoce left18:13
blarson joined18:13
kstuart joined18:13
carlosgoce joined18:13
finster joined18:14
finster left18:14
finster joined18:14
ascarter joined18:14
Ivo left18:14
setra left18:14
boombatower joined18:14
chrisshattuck left18:14
jimi_ lots of ESC[m on the screen18:14
cybersphinx left18:14
lsiv568 left18:14
osse jimi_: do you see the diff at least ?18:15
Kamilion joined18:15
jimi_ osse, ya, of all the files18:15
osse jimi_: try LESS=FRSX git diff18:15
blackmesa joined18:15
chrisshattuck joined18:15
Ivo joined18:15
lite_ left18:15
HelperW left18:16
jimi_ osse, it looks like its tabs or whitespace18:16
lite__ left18:16
Sonderblade joined18:16
paulweb515 joined18:16
Sonderblade left18:16
osse what do you mean18:17
raijin joined18:17
loveablelobster left18:17
stealthii joined18:17
Sonderblade joined18:17
MissionCritical joined18:17
jimi_ osse, it looks like the changes are like tabs or something, i dont see actual changes18:18
mechanize joined18:18
osse jimi_: to Git those are changes just as much as any other18:18
mishok13 joined18:18
Error404NotFound joined18:19
jimi_ osse, but they aren't changes, like no one changed them? could it be something between windows and linux?18:19
tirengarfio joined18:19
pantsman joined18:19
pantsman left18:19
pantsman joined18:19
xMYTHICx joined18:19
jovy88 left18:19
osse jimi_: some program rewrote your line endings perhaps18:19
D9 joined18:20
osse jimi_: if you don't want those changes use git checkout -- file to get rid of them18:20
jovy88 joined18:20
jimi_ ty18:21
armyriad joined18:21
momomomomo joined18:21
HSaka left18:21
Asenar left18:22
FortySix2 joined18:22
osse beatdown: before git commit, what does 'git config --get-all user.name' say ?18:22
acharlieh left18:24
beatdown osse: I issued your command with user.mail instead of user.name. And it display the global setting18:24
osse beatdown: and only one, right?18:25
Asenar joined18:25
beatdown yes18:25
osse try with name too18:25
kulkarp joined18:25
beatdown osse: only one too18:25
betelgeu1e left18:26
osse beatdown: what does 'declare -p GIT_AUTHOR_NAME' say? Ditto for GIT_AUTHOR_EMAIL18:26
bob14 left18:26
endiruna left18:26
m0ltar joined18:27
xMYTHICx left18:27
beatdown osse: not found18:28
agrajag42 joined18:28
osse then I must give up18:28
blackmesa left18:29
jonmorehouse joined18:29
Gizburdt joined18:30
kenneth joined18:30
beatdown osse: ok, thanks! :) I've found something: it's only putting the wrong e-mail. I changed user.name globally and it uses it when commit. I think I got it... just let me check...18:31
WaReZ_ left18:32
chrisshattuck left18:32
harobed_ joined18:32
harobed_ left18:32
freeman42 joined18:33
harobed_ joined18:33
harobed_ left18:33
allay joined18:33
snql joined18:33
harobed_ joined18:34
harobed_ left18:34
harobed_ joined18:35
harobed_ left18:35
m0nkmaster joined18:35
beatdown osse: I got user.mail in .gitconfig, not user.email18:35
harobed_ joined18:35
beatdown LOL18:35
osse: thank you very much18:35
LucasTT joined18:36
osse beatdown: but you said 'git config user.email' showed your email :P18:36
pwnz0r joined18:36
mechanize left18:37
osse The lesson to learn here is: Always copy-paste shell commands given to you by strangers18:37
kermit left18:37
Gizburdt left18:38
lov beatdown: type this: "sudo shutdown now"18:38
betelgeu1e joined18:38
skorgon right: http://thejh.net/misc/website-terminal-copy-paste18:38
Gizburdt joined18:38
osse hwh18:39
heh18:39
also always accept candy18:39
and smell their napkins18:39
nyuszika7h lov: that's too obvious, don't you think? :P18:39
skorgon doesn't shutdown need to be passed a target?18:40
jimi_ left18:40
beatdown byeee18:40
dowwie left18:41
acharlieh joined18:41
skorgon also, today it is systemctl poweroff :P18:41
pwnz0r left18:41
thedodd left18:41
osse I just press the button and it does the right thing18:41
fragamus joined18:42
Guest42013 left18:42
Gizburdt left18:43
Gizburdt joined18:43
Error404NotFound left18:43
endiruna joined18:44
TheJH skorgon: :)18:44
moritzs joined18:44
teran joined18:45
blackmesa joined18:45
kenneth left18:45
kstuart left18:45
xMYTHICx joined18:45
Celm_ left18:46
JosephFerano joined18:48
xMYTHICx left18:49
dougsland_ left18:50
ajf- I accidentally added two files I'm still working on 2 commits ago. How can I take them out of there and bring them back to Modified stage18:51
*State18:51
?18:51
Silex joined18:51
m0nkmaster left18:51
CKyle joined18:51
Celm joined18:52
xMYTHICx joined18:53
_tpavel joined18:53
lov skorgon: try it and see :D18:54
mordocai joined18:54
skorgon ajf-, rebase -i and edit the faulty commit. (does !fixup cover this?)18:55
gitinfo ajf-: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!18:55
xMYTHICx left18:55
xMYTHICx joined18:55
nkouevda joined18:55
revyd joined18:55
xMYTHICx left18:56
sgen left18:56
xMYTHICx joined18:56
razrunelord left18:56
CorySimmons joined18:57
CorySimmons left18:57
CorySimmons joined18:58
CorySimmons left18:58
FortySix2 left18:58
FortySix2 joined18:59
CorySimmons joined18:59
primitive left18:59
revyd left18:59
Darvein left19:00
dowwie joined19:01
LucasTT left19:01
teran left19:01
pbrobst left19:01
Kayra joined19:01
teran joined19:02
CodeShar_ left19:03
dowwie I'm trying to set up version control using a local repository on my workstation. I init'd a bare repo, cloned it in another directory, added files, committed them, and pushed -- how do I see whether its residing in the master repo at this point?19:03
mattstratton left19:03
xcesariox joined19:03
CodeShark joined19:03
teran left19:03
EminenceHC left19:04
revyd joined19:04
teran joined19:04
albel727 left19:04
EminenceHC joined19:04
Apocalisp joined19:05
Kayra left19:06
albel727 joined19:06
nkouevda dowwie: from your (non-bare) repo, git branch -av will show what commit remotes/origin/master is on19:06
sounds like it should match the local master19:07
acharlieh left19:07
kermit joined19:08
dowwie yes I see my commit19:08
thanks nkouevda19:08
EminenceHC left19:09
digital-shokunin left19:09
tgkokk left19:09
lsiv568 joined19:09
nilg left19:10
rgr joined19:10
LBV_User joined19:11
CKyle left19:11
Darvein joined19:12
SegFaultAX left19:12
Kicer86 joined19:12
primitive joined19:13
SegFaultAX joined19:13
ezrafree joined19:13
Exancillatus joined19:13
fragamus left19:15
staafl joined19:15
mad joined19:17
xMYTHICx left19:18
acharlieh joined19:18
lmat left19:18
Exancillatus left19:18
hyperair left19:19
Arctico joined19:20
rishabh_ joined19:21
LucasTT joined19:21
kenneth joined19:21
jpierre03 left19:22
aard_ left19:22
NimeshNeema left19:24
yhager joined19:24
CKyle joined19:25
m0nkmaster joined19:25
pheaver joined19:26
GeoAleyPerMer joined19:27
SegFaultAX left19:27
fragamus joined19:27
m0ltar left19:28
SegFaultAX joined19:28
roelmonnens left19:28
saorge joined19:29
kalypso left19:30
lsiv568 left19:31
ziro` joined19:31
blahdodo joined19:31
thedodd joined19:31
saorge_ left19:32
daedeloth left19:33
lsiv568 joined19:33
teran left19:33
teran joined19:34
cjwilbur_ left19:35
cjwilburn joined19:36
cjwilbur_ joined19:37
felixjet_ left19:37
teran left19:38
a-l-e left19:38
teran joined19:38
mad left19:38
grep0r left19:38
jonmorehouse left19:39
mad joined19:39
harobed_ left19:39
felixjet joined19:39
ascarter left19:39
Gizburdt left19:40
przemkovv left19:40
cjwilburn left19:40
mad left19:40
WaReZ joined19:40
mad joined19:41
jackneill left19:42
Kicer86 left19:42
m0nkmaster left19:43
blackmesa left19:44
martinklepsch joined19:44
chrisshattuck joined19:45
cavallari joined19:46
cavallari Hi19:46
how can I generate a public SSH key in windows?19:46
teran left19:46
grep0r joined19:46
canton7 cavallari, if you've got git bash, 'ssh-keygen'19:46
teran joined19:46
canton7 otherwise, puttygen can export ssh keys19:47
felixjet left19:47
alvaro_o joined19:48
CKyle left19:48
ziro` left19:49
CKyle joined19:50
fatalhalt joined19:50
ziro` joined19:50
jonmorehouse joined19:51
blackmesa joined19:51
lyubenblagoevlyubenblagoev_19:51
ziro` left19:51
lyubenblagoev_lyubenblagoev19:51
causasui left19:52
teran left19:53
felixjet joined19:53
m0ltar joined19:54
kballou joined19:55
harobed joined19:55
harobed left19:55
reaverb left19:56
nnyk_ left19:56
harobed joined19:56
harobed left19:56
oojacoboo left19:57
harobed joined19:57
fragamus left19:57
Korvin left19:59
chrisshattuck left19:59
przemkovv joined19:59
Kayra joined19:59
IrishPrime left19:59
fr33 left20:00
razrunelord joined20:00
FortySix2 left20:01
CorySimmons left20:01
EminenceHC joined20:01
pheaver left20:02
m0nkmaster joined20:02
chrisshattuck joined20:03
coz joined20:04
Arkaniad joined20:05
identity Hello. I manage my dotfiles using git, and within those dotfiles, I also include .oh-my-zsh which itself is a git repository. This resulted in some rather strange results at some point, because oh-my-zsh tries to automatically update. In a fit of idiocy, I simply deleted the .git directory from .oh-my-zsh.20:05
Kayra left20:05
identity Now I would like to somehow .. reinitialize the .oh-my-zsh subfolder to.. i don't know, a submodule? Or some such20:05
so that I can include it in my dotfiles and update it.20:05
Is there a way for me to do this?20:05
Sleepy63 left20:05
felixjet left20:05
Korvin joined20:06
KorvinGuest5560320:06
cruig left20:07
teran joined20:07
axl_ left20:08
cfedde_ left20:08
nilg joined20:08
_tpavel left20:10
jcvfen_ left20:11
allay left20:11
Gizburdt joined20:11
PeterBooker left20:12
lsiv568 left20:13
axl_ joined20:13
hoschi left20:13
acharlieh left20:14
jcvfen joined20:14
jamieshepherd left20:14
teran_ joined20:14
clandest joined20:14
testerbit joined20:14
MattMaker joined20:15
Skrypter_ joined20:15
Skrypter left20:15
bs867230 joined20:15
testerbit left20:16
testerbit joined20:16
jason237 left20:16
bs867230 left20:16
testerbit I'm new to github, trying to push but getting this error: Permission denied (publickey).20:16
fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. -- What is the issue?20:16
axl_ left20:18
teran left20:18
pheaver joined20:18
Wader add your ssh key to your github account or use the https links and login with your username/password20:18
reaverb joined20:18
canton7 followed https://help.github.com/articles/generating-ssh-keys ?20:18
(excluding the github for windows bit)20:18
oojacoboo joined20:18
Guest55603 left20:20
Guest55603 joined20:20
acharlieh joined20:20
dobalina left20:20
Guest55603Korvin20:20
ferreum left20:21
xender Where does Git store HEAD reflog?20:21
lsiv568 joined20:22
someplace joined20:22
lsiv568 left20:22
canton7 .git/logs20:22
'git reflog' shows it20:22
reaverb left20:23
blackmes1 joined20:23
immerzeel joined20:24
blackmesa left20:25
shinnya joined20:25
Macaveli left20:26
LBV_User left20:27
CKyle left20:27
posicks left20:29
reaverb joined20:29
rudisimo left20:29
DolpheenDream left20:29
cavallari I´ve made ssk-keygen20:30
irqq joined20:30
cavallari but always when I try to push...20:30
give me this error:20:30
Permission denied (publickey).20:30
eletuchy joined20:31
osse cavallari: try 'ssh <the url you're pushing to>'20:32
Skrypter_ left20:32
canton7 cavallari, did you add the key to github, per the instructions/20:32
Skrypter joined20:32
cjz1 joined20:32
xsbeats left20:32
Asiajey left20:33
canton7 cavallari, is it stored in the right place? what's the output of 'ls ~/.ssh' ?20:33
kenneth left20:33
mdpatrick joined20:33
bs867230 joined20:33
cavallari just "known_hosts" now20:34
oh no20:34
djapo left20:34
cavallari there are two more files20:34
id_rsa and id_rsa.pub20:34
cjz left20:34
matheus23 left20:34
cavallari there is the pub key20:34
djapo joined20:34
teran_ left20:34
bs867230 left20:34
thegatta_ left20:34
kenneth joined20:34
jnewt left20:34
kyb3r_ joined20:35
Arkaniad left20:35
Gizburdt left20:35
cavallari I dont know if this is right, i´ve read on github helps...20:35
vire joined20:35
cavallari but i´ve tryed: ssh [email@hidden.address]20:36
Gizburdt joined20:36
cavallari just say that no addess associated with name20:36
LBV_User joined20:36
chris_thomson left20:36
canton7 answer my past 2 questions20:36
veebers joined20:36
canton7 ah, you did20:37
Goligo joined20:37
kanja left20:37
setra joined20:37
canton7 did you add your key to github?20:37
yes or no?20:37
you need to upload it using a web interface thingy20:37
clandest left20:37
cavallari yes, i added20:37
Exancillatus joined20:38
canton7 pastie the output of 'ssh -vvv [email@hidden.address]20:38
posicks joined20:38
oojacoboo left20:38
acharlieh left20:38
cavallari well, there are too much lines to paste20:39
Skrypter left20:39
GodEater left20:39
cavallari there is a line saying that i am successfully authenticated, but github does not provide shell access20:39
kenneth left20:39
ascarter joined20:40
Gizburdt left20:40
canton7 cavallari, I said pastie, not paste ;) ie.e. use a pastebin20:40
but if you successfully authenticated, then great20:40
ascarter left20:40
canton7 it means the repo you were trying to access doesn't exist20:40
cavallari i cant copy that, dont know how20:40
Skrypter joined20:40
cavallari it exists20:41
Zariel_ joined20:41
canton7 www.pastie.org20:41
for one20:41
acharlieh joined20:41
canton7 'ssh -vvv [email@hidden.address] > file.txt', then open file.txt20:41
GodEater joined20:41
GodEater left20:41
GodEater joined20:41
canton7 or icon in top left -> mark -> select -> enter20:41
ascarter joined20:41
canton7 or maybe you don't own that repo?20:41
dowwie dumn question but I'm going to ask it anyway-- a remote repository is never on your local workstation, correct?20:42
LBV_User left20:42
kenneth joined20:42
snql left20:42
LBV_User joined20:43
posicks left20:43
cavallari canton7: file.txt is in blank20:43
=(20:43
SegFaultAX left20:44
pbrobst joined20:44
endiruna left20:44
oojacoboo joined20:44
grep0r left20:44
danecando left20:45
rgr left20:45
canton7 'ssh -vvv [email@hidden.address] 2> file.txt', then open file.txt, rather20:45
marthinal left20:45
canton7 dowwie, not necessarily20:45
cavallari, but you successfully auth'd, so that's ok20:46
cavallari, what git command are you running?20:46
jpierre03 joined20:46
SegFaultAX joined20:46
cavallari canton720:47
http://pastie.org/915704820:47
I am trying a simple push20:47
reaverb left20:47
setra left20:47
lov cavallari: I'm inclined to think that you added the wrong remote ;)20:48
CKyle joined20:48
lov (see line 182)20:48
grep0r joined20:48
ojacobson git remote -v20:48
lov also, #github20:49
Dreamer3 joined20:49
[BNC]l1kw1d left20:50
canton7 cavallari, what git command are you running?20:50
so yeah, you probably don't own that rpeo20:50
*repo20:50
thegattaca joined20:50
Hounddog left20:50
cavallari I own that repo20:50
git remote add orgin [email@hidden.address]20:50
Zariel_ left20:51
yosito joined20:51
l1kw1d joined20:52
Mitchbones joined20:52
fragMental To paste from the commandline, the easiest way is: <command> | curl -F 'sprunge=<-' http://sprunge.us20:52
jceb left20:52
LBV_User left20:53
chris_thomson joined20:53
Kayra joined20:54
Goligo left20:54
canton7 cavallari, 'git remote -v' output20:55
jason237 joined20:55
razrunelord left20:55
Mendenbarr left20:56
Mendenbarr joined20:56
CKyle left20:56
immerzeel left20:57
zackiv31 left20:58
cavallari origin ssh://git@github.com/andrecavallari/Pannel.git (fetch)20:58
origin ssh://git@github.com/andrecavallari/Pannel.git (push)20:58
juvenal_away left20:58
zackiv31 joined20:58
cavallari This was a Try20:58
the original is:20:59
origin [email@hidden.address] (fetch)20:59
origin [email@hidden.address] (push)20:59
chris_thomson left20:59
cavallari D:\server\cakephp\app\Plugin\Pannel>git commit -m "Test"20:59
On branch master20:59
nothing to commit, working directory clean20:59
=(20:59
sq-one left20:59
watermel0n left21:00
Scott6 left21:00
zackiv31 left21:00
cavallari left21:01
Arkaniad joined21:01
Lemony joined21:01
yaru22 left21:01
zackiv31 joined21:01
Bruno_ left21:01
zackiv31 left21:02
Skrypter_ joined21:03
agrajag42 left21:03
zackiv31 joined21:03
cannonball left21:03
jacobt joined21:03
chris_thomson joined21:04
Skrypter left21:04
hellopat joined21:04
lavaman1 joined21:04
chris_thomson left21:05
canton7 cavallari, you have id_rsa and id_dsa. the latter looks invalid. make sure you uploaded the right stuff to github21:05
biertie left21:05
biertie joined21:05
canton7 maybe?21:05
biertiebdesmet21:05
oojacoboo left21:07
lithiumjake left21:07
FortySix2 joined21:08
hellopat left21:08
jnavila joined21:09
razrunelord joined21:09
Goligo joined21:11
Gizburdt joined21:12
testerbit left21:13
kermit left21:13
yaru22 joined21:14
kermit joined21:14
zumba_addict left21:14
nnyk_ joined21:14
zumba_addict joined21:15
bs867230 joined21:15
watabou joined21:15
akim_ left21:16
jeffasinger left21:16
Gizburdt left21:16
Skrypter_ left21:16
akim_ joined21:16
babilen joined21:16
m0nkmaster left21:17
irqq left21:17
Darvein left21:17
cjwilbur_ left21:17
mishok13 left21:18
Skrypter joined21:18
lithiumjake joined21:18
zumba_addict left21:19
razrunelord left21:19
Xethron joined21:19
Xethron left21:19
Xethron joined21:19
jpierre03 left21:19
joelmo joined21:20
beatdown left21:20
Darvein joined21:20
jovy88 left21:21
ojacobson left21:22
tpollard joined21:22
b4rbz left21:22
nnyk joined21:23
Darvein left21:23
cagedwisdom joined21:23
nnyk_ left21:25
Mitchbones left21:26
EveBird joined21:26
kulkarp left21:26
FunkyAss left21:27
johnflux__ left21:27
CKyle joined21:28
liri__ left21:28
tophyr joined21:28
tophyr why would 'git blame' for a file show it entirely as Not Committed Yet, but git status shows nothing to commit, working directory empty?21:28
coasterz joined21:29
osse tophyr: is it ignored?21:29
tophyr nope, if i delete it, git status shows "deleted: ..."21:29
if i check it back out, status goes back to normal, and blame says NCY again21:30
Arctico left21:30
nnyk left21:30
FreezingCold left21:30
coasterz left21:31
testerbit joined21:32
Padawan joined21:32
nafg_ joined21:33
gitinfo set mode: +v21:33
m0nkmaster joined21:34
Padawan how do i update my local repository that i once git cloned?21:34
bluesm left21:34
jason237 left21:34
Overboost joined21:34
tophyr Padawan: pull21:35
R0b0t1 joined21:35
pheaver left21:35
razrunelord joined21:36
cjz1 left21:36
cjz joined21:36
R0b0t1 Hello, using gitolite on windows server 2008 r2. I add a user's key but they don't get access to the specified repository. This seems to be due to: https://stackoverflow.com/questions/7529660/gitolite-not-updating-authorized-keys-file however applying the listed fix doesn't fix it. Anyone knowledgeable?21:36
pheaver joined21:37
tophyr ahh it's line-ending changes. somebody is a-screwin up crlf21:37
Goligo left21:37
Goligo_ joined21:37
skorgon Padawan, git fetch21:38
jpierre03 joined21:39
Padawan left21:39
Padawan_ joined21:39
Sonderblade left21:39
cjz1 joined21:40
pheaver left21:41
scelis joined21:42
Joost` skorgon: is it not preferable to advocate git pull instead of git fetch && git merge?21:42
GeoAleyPerMer left21:42
osse Joost`: no21:43
m0nkmaster left21:43
osse Joost`: in fact, there has been heated debates lately on the mailing list about what to do with pull21:43
jrnieder heated for no good reason :)21:43
scelis i have an enormous stash that i accidentally created with ignored files (I meant to only do untracked). As expected, stash pop fails. However, I want to get a few files out of this stash without doing a git clean. Is there anyway to pull just a couple files out of the stash? git checkout stash@{0}:PATH doesn't seem to work21:43
vanillajohn left21:43
osse jrnieder: that's true21:43
cjz left21:43
the8thbit joined21:45
scelis hmmm, its not elegant but 'git show stash@{0}:PATH > PATH' works21:46
SegFaultAX left21:46
Overboost left21:47
franzip left21:47
dowwie I'm struggling here.21:47
SegFaultAX joined21:47
dowwie I can really use some help...21:47
CKyle left21:48
Gizburdt joined21:48
AaronMT left21:48
prutz left21:48
skorgon Joost`, i think no. also 'update the repo' is quite fuzzy. in my definition it doesn't cover any merging or rebasing, but only fetch21:49
dowwie I don't know the proper way to set up a local repository on my workstation. I created a base repo and learned how to branch and merge into it. However, it's not clear to me whether I should be setting up that base repo as a remote and pushing too?21:49
delight joined21:49
jacobtoojacoboo21:49
Padawan_ left21:49
RyPeck left21:49
martinklepsch left21:50
Kayra left21:50
livingstn left21:50
R0b0t1 got it21:50
R0b0t1 left21:50
Rastus_Vernon joined21:51
blackmes1 left21:52
richwestcoast left21:52
ValicekB left21:52
cathedral left21:52
moritzs left21:52
richwestcoast joined21:52
ezekielnoob2 joined21:52
martinklepsch joined21:53
dowwie what is the scope of a main branch -- is it the main branch in my working directory or in the master repo?21:54
Overboost joined21:54
mjsmith2 left21:55
blackmes1 joined21:55
delight left21:56
ezekielnoob left21:56
cbreak dowwie: there's no main branch21:57
ngladitz left21:57
SamB dowwie: if it just says "main" or "refs/heads/main" that's in yours21:57
FortySix2 left21:57
dowwie oh ok its in mine21:57
nnyk joined21:57
skorgon cbreak, how do you know. he could have created one21:57
SamB if it says something involving, say, "origin/main" that's in the remote called (in this example) "origin"21:57
dowwie here's what I've done so far..21:57
pheaver joined21:58
SamB same with "refs/remotes/origin/main"21:58
crelix left21:58
ValicekB joined21:58
nilg left21:59
King_Hual left22:00
FortySix2 joined22:00
pantsman left22:00
dowwie 1) create a base repo 2) create a new git working directory (git clone the base repo) 3) I check out a new branch 4) I create a simple file, add it, commit it22:00
akim_akim22:00
FreezingCold joined22:01
dowwie what I've been reading about is that with branches you gotta think about merging / rebasing22:01
bs867230 left22:01
dowwie so I'm confused about where merging will get me and whether I need to declare a remote and push?22:02
I'm trying to version control my own project. I am the only contributor. I am not using github/bitbucket yet.22:02
vire left22:03
SegFaultAX left22:03
dsdeiz joined22:03
Zebroid left22:03
SegFaultAX joined22:03
dowwie any help would really be appreciated.. I sincerely tried to read the docs and tutorials online22:04
pantsman joined22:04
pantsman left22:04
pantsman joined22:04
dowwie I have not been lazy about trying to figure this out22:04
yosito left22:04
Zebroid joined22:04
SamB dowwie: you do not need to push anywhere, but if you were to push somewhere then you would have less reason to worry about accidentally losing the stuff you had pushed22:05
aberrant left22:05
SamB to declare a remote, you'd need another repository22:05
danecando joined22:05
_Vi joined22:05
tophyr left22:05
dowwie is that what the base repo is for?22:05
axl_ joined22:06
SamB dowwie: oh, yeah, it is22:06
sorry, I'm a bit of a space-cadet :-)22:06
Gooder` left22:06
SamB dowwie: so, "git remote -v" should list that as "origin"22:06
twice, presumably22:07
dowwie yeah it is22:07
so have I done this setup right so far -- cloning the base?22:08
allay joined22:08
Zebroid left22:09
ELLIOTTCABLE is there a way to force a push to ignore the output of the before-push hook?22:10
fatalhalt left22:11
babilen left22:11
skorgon dowwie, FYI: github has a !tutorial that covers basic usage quite well22:11
gitinfo dowwie: A list of interactive git tutorials: http://try.github.com22:11
acharlieh left22:11
dowwie thanks I will try that next22:12
Dougie187 left22:12
allay left22:12
Destos left22:13
jrnieder ELLIOTTCABLE: try --no-verify22:13
MattMaker left22:14
FortySix2 left22:15
kukks joined22:15
kukks left22:15
kukks joined22:15
allay joined22:15
ariscop left22:15
pantsman left22:19
kierandunne11 joined22:20
endiruna joined22:20
mizu_no_oto joined22:23
moritzs joined22:24
MacWinne_ joined22:24
moritzschaefer joined22:25
mollitz joined22:25
JerryT left22:25
mollitz left22:25
reaverb joined22:25
moritzschaefer left22:25
Gamecubic left22:26
dsdeiz left22:26
Gamecubic joined22:27
moritzschaefer joined22:29
momomomomo left22:30
mollitz joined22:30
moritzs left22:31
moritzs joined22:31
moritzs left22:31
moritzs joined22:31
moritzs left22:31
mollitz left22:31
SegFaultAX left22:32
moritzs joined22:32
bwreilly left22:33
Dougie187 joined22:33
RyPeck joined22:33
Overboost left22:34
cruig joined22:34
Zebroid joined22:34
Zebroid left22:36
Zebroid joined22:36
kanja joined22:36
kanja left22:36
bwreilly joined22:36
axl_ left22:37
amcsi joined22:37
davividal left22:37
bitkiller joined22:37
amcsi left22:37
amcsi joined22:38
SegFaultAX joined22:38
reaverb left22:39
HD625B joined22:39
whitby joined22:40
adamgall left22:40
simonsmith joined22:40
Zebroid left22:41
simonsmith left22:41
blinkdesign joined22:41
godgodgodgo joined22:41
Overboost joined22:42
rishabh_ left22:42
MattMaker joined22:43
dik_dak left22:43
nilg joined22:44
HD625B left22:45
HD625B joined22:45
cavallari joined22:46
cavallari hi people22:46
chrisshattuck left22:46
m0ltar left22:46
cavallari how to add a origin using ssh key?22:47
public ssh key22:47
skorgon just specify the URL using ssh. usually something like ssh://<user>@<host>/path/to/repo22:48
hebz0rl left22:48
skorgon once you have that it's up to having ssh configured properly to find your key22:48
tranzfuse1 left22:50
cavallari I´ve configured my ssh key22:51
I am trying to add github repo22:51
but doesnt go22:51
rnsanchez left22:51
hellopat joined22:52
rnsanchez joined22:53
blinkdesign left22:53
harobed left22:53
jovy88 joined22:53
mizu_no_oto left22:55
mizu_no_oto joined22:56
Lemony left22:56
hellopat left22:56
lhunath joined22:57
scelis left22:57
rom1504 cavallari: git remote add origin git@github:user/repo22:58
lhunath I'm having trouble with git difftool. regardless what tool I select, I always get diff -cc output on stdout rather than a launching tool. how do I debug what's going on?22:58
cavallari rom1504: this didnt work =(22:58
mizu_no_oto left22:59
Cheaterman Say I want to track software locally - I have different implementations for different customers22:59
I created a repo in the "base" project22:59
Now I'm in a subproject, I "git remote add origin /path/of/main/project"22:59
Ragnor left22:59
markjwill joined22:59
Cheaterman Then git fetch22:59
osse lhunath: that is a known bug.22:59
lhunath: the mechanism that figures out that a --cc diff is needed kicks in before checking for external tools...23:00
Cheaterman Now how do I create the commit for the local integration?23:00
markjwill left23:00
Xethron left23:00
lhunath osse: interesting. do you have a reference or know whether this has been fixed or has a workaround?23:01
testerbit left23:01
hellopat joined23:02
fejjerai left23:02
zizzfizzix left23:02
dsdeiz joined23:02
clandest joined23:02
Lunatrius left23:02
razrunelord left23:02
danecando left23:02
osse lhunath: I have a reference consisting of my own mail to the mailing list about and the small discussion that followed. I know it hasn't been fixed yet23:03
nilg left23:03
ajf- I have a wp installation. I just added github.com/wordpress/wordpress.git as remote and I want to update wp by fetching and merging. I'm getting lots of conflicts even though I haven't modified anything. What merge strategy should I use ?23:03
allay left23:05
ajf- I'm currently trying git merge --no-commit --squash wordpress/3.9-branch23:05
lhunath does this break git difftool for everybody or only under specific circumstances?23:05
Exancillatus left23:05
osse lhunath: if you want a >2 -way diff I'm afraid you'll have to invoke it yourself using <( ) and whatnot23:05
rom1504 cavallari: what do you mean it didn't work ?23:06
osse lhunath: it's only when the commit is a merge commit23:06
rom1504 did it print "this didn't work" so you decided to shut down the computer and go cry ?23:06
codeFiend left23:06
osse and always then.23:06
ariscop joined23:07
jnavila left23:07
moritzs left23:07
Gizburdt left23:07
alexlind_ joined23:08
osse lhunath: which in essence means only when you're in a merge conflict. There is git-mergetool though23:08
testerbit joined23:08
reaverb joined23:08
osse lhunath: the discussion was shorter than I remember, but it has been mentioned later at one point too: http://git.661346.n2.nabble.com/Suggestion-for-difftool-behaviour-during-a-merge-conflict-td7579621.html23:08
clandest left23:08
apocawaka left23:09
razrunelord joined23:10
primitive left23:10
DolpheenDream joined23:11
lhunath osse: thanks!23:11
Lunatrius joined23:11
alexlindenlevy left23:12
alexlind_ left23:12
elbeardmorez left23:12
MattMaker left23:12
ErKa left23:14
osse lhunath: this is the other one but there might be more: http://thread.gmane.org/gmane.comp.version-control.git/185990 - Btw, I think that David Aguilar fellow is our beloved David-A from #bash but I'm too shy to ask :p23:14
sparr joined23:15
razrunelord left23:15
tarkus left23:16
razrunelord joined23:17
cavallari what can I do with this error:23:17
Permission denied (publickey).23:17
fatal: Could not read from remote repository.23:17
Please make sure you have the correct access rights23:17
and the repository exists.23:17
tang^ cavallari: look at the document I pointed you at in #github23:20
HD625B left23:20
Segfault_ left23:20
SegFaultAX left23:21
Segfault_ joined23:21
cavallari tang^: Iam reading23:22
amcsi left23:22
kyb3r__ joined23:22
megawac joined23:23
mewm left23:24
kyb3r_ left23:25
bwreilly left23:26
freestyl3r left23:26
testerbit left23:27
lhunath osse: I'll ask him some time, I've been talking about the new guide with him.23:28
SegFaultAX joined23:28
bwreilly joined23:29
Balliad joined23:29
reaverb left23:32
endiruna left23:33
nDuff joined23:35
mizu_no_oto joined23:35
blackmes1 left23:36
nDuff I'm trying to get a bare list of changed files within a given subdirectory between two trees. To do this, I'm currently using git diff-tree --name-only first_commit second_commit -- /path/to/directory. However, it's returning to me the parent directory, and not a list of files which changed under the parent given. What would be the correct way to accomplish what I'm doing here?23:37
jovy88 left23:37
Zebroid joined23:37
razrunelord left23:37
betelgeu1e left23:37
MattMaker joined23:37
jovy88 joined23:38
cavallari how can i get a SSH Agent to work on my pc?23:39
betelgeu1e joined23:39
nDuff discovers that git diff --name-only works fine.23:41
nDuff cavallari, that depends on which ssh implementation you're using for the tunnel.23:41
Zebroid left23:41
nDuff cavallari, ...if you're using cygwin sshd, then it has its own agent. If you're using Putty's plink, then you'll want to use pageant. Etc.23:42
MattMake_ joined23:43
rom1504 cavallari: you need to add your public key into github23:43
that's what your error above is about23:43
nDuff cavallari, ...if you're using a Java library for interacting with git, then that library's agent support will differ; etc.23:43
reaverb joined23:43
nDuff oh, there was an actual error message given?23:44
osse nDuff: for reasons I don't know the details of properly regarding Git's own glob/filter-y feature, it makes a difference whether you write '-- directory' or '-- directory/'23:44
betelgeu1e left23:45
revyd left23:45
yaru22 left23:46
MattMaker left23:46
betelgeu1e joined23:47
treehug88 left23:47
Lyqyd joined23:47
thedodd left23:47
osse hmm, not that it would give you the precise result you wanted anyway (without the -r option at least)23:47
codeurge left23:47
treehug88 joined23:48
osse My usual approach, which I believe is the correct one, is to use the "plain" git diff until I find out I have a reason to use any of the other diff-*23:48
treehug88 left23:48
jleclanche left23:49
Exancillatus joined23:50
jleclanche joined23:50
mad left23:52
jleclanche left23:53
kierandunne11 left23:53
mad joined23:53
jleclanche joined23:53
anry left23:54
OnkelTem left23:57
MattMaker joined23:57
bwreilly left23:57
jleclanche left23:57
jleclanche joined23:58
mad_ joined23:58
mad left23:58
Goligo_ left23:58
OnkelTem joined23:59
yaru22 joined23:59
Exancillatus left23:59

Logs Search ←Prev date Next date→ Channels Documentation