IRCloggy #git 2011-08-02

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.

2011-08-02

kenichi left00:02
Nuck joined00:03
alip joined00:04
kvanderw left00:05
brian_g left00:06
[intra]lanman left00:07
arosen2 left00:08
rns itrebal, cool that worked thanks00:08
itrebal great00:08
rvsjoen joined00:09
devth left00:10
tansell-laptop joined00:11
rvsjoen_ left00:12
Blazento joined00:12
emf^ left00:12
sh_sh left00:12
Blazento is there anyway on github to see all the fork from an app00:13
cirwin the network view00:16
jimmy1980 left00:17
tanoku joined00:17
Blazento i see thanks00:18
Destos joined00:19
steveoliver left00:19
fiyarburst left00:21
cjuner left00:21
GeertB joined00:21
cccaldas left00:22
budda joined00:28
beakerman left00:29
budda hi. i seem to have a knack of getting git in to a confused state which then causes further problems and wondered if there is a recommended solution to resolve it.00:29
i've got a repo cloned locally. and at some point a file or folder permission has been changed00:29
i then later do a git pull again as i know code at the origin has been updated00:29
git chokes on the pull due to the local file giving a permission denied00:30
i fix the permission, but at this point git has done half a pull and is now mixed up.00:30
i don't want to lose my local changes as they need to be committed after i've pulled down from origin.00:30
what should i do ?00:30
ISF joined00:31
cirwin budda: it sounds like you (in future) want "git pull --rebase"00:32
hten you can commit before you pull, and the commits will be put after the stuff you pull down.00:32
budda i was just reading http://stackoverflow.com/questions/2472254/when-should-i-use-git-pull-rebase :)00:32
i assume a git pull is not atomic then?00:32
cirwin if you want to have control over the process, you can just not use git pull00:32
budda i will bare in mind the git pull --rebase for the future00:32
cirwin use git fetch, which doesn't affect the working tree00:33
and then git merge (or git rebase) to introduce the changes locally00:33
budda how is git rebase used after a fetch to introduce the changes locally?00:33
cirwin git checkout master; git rebase origin/master;00:34
will move any commits you haven't pushed to origin to after any commits you pulled from origin00:34
tystr left00:34
Blazento should i be worried about this warning when installing bundler in a gemset? Installing abstract (1.0.0) WARNING: abstract-1.0.0 has an invalid nil value for @cert_chain00:35
cirwin Blazento: #bundler ?00:35
(or #rvm)00:35
Blazento ahh. sorry!00:35
budda cirwin: the checkout & rebase result in "cannot rebase: you have unstaged changes"00:36
cirwin budda, you must commit your changes00:36
never, ever, do a rebase or a pull or a merge with uncommitted changes00:36
budda i've committed them locally00:36
cirwin not all of them :p00:36
git status00:36
budda thats the issue00:36
when i did the pull which failed00:36
at the start00:36
cirwin ok00:36
budda its made a load of files00:36
appear changed00:37
its like half a pull has happened00:37
cirwin I see00:37
budda and changed files locally00:37
cirwin git merge --abort *may* help00:37
budda but not updated some index of something00:37
cirwin though it may also through away your local uncommitted changes00:37
budda ah thats what i want to avoid00:37
well00:37
cirwin you can save copies of all the files you need to keep in a temporary directory00:37
budda hmm, i guess my local stuff is committed00:37
jalama left00:38
effnj0X joined00:39
ericography joined00:39
ericography left00:39
ericography joined00:39
budda cirwin: error: unknown option `abort' --- and i can't see anything similar to an abort switch. using git 1.7.0.4 here00:40
cirwin maybe it's only available in more modern versions00:40
I think it mainly does: git checkout -f00:40
ryez joined00:40
cccaldas joined00:42
budda its surprising how borked Git can get from a file permission during git pull :-(00:42
cirwin it's surprising that git pull exists :p00:42
budda and annoyingly i've poked myself in the eye a few times with the same thing :-)00:42
cirwin yeah00:42
I think everyone does00:42
I never use git pull anymore00:42
it's too confusing00:42
jbrokc left00:43
budda you're the first to say that :-)00:43
itrebal cirwin: you do it manually? fetch + merge?00:43
/rebase00:43
cirwin yup00:43
itrebal ah00:43
cirwin when you have more than one branch, it's the only sane thing to do00:43
Yuuhi left00:44
cirwin particularly I have a chance to see what I00:44
've pulled00:44
*fetched00:44
itrebal biggest problem w/ git pull is people don't fully understand it, and then you get this: "Git Pull til it git works!" -- http://teddziuba.com/2010/08/too-smart-for-git.html00:44
cirwin before it clobbers my work00:44
budda is that a unicorn in the window?00:45
itrebal I believe so00:45
budda aaaah00:45
cakehero I'm trying to tag a commit so that it can be used to track a release, for some reason after i tag and push/pull the branch to another location i don't see the tag00:45
any ideas?00:46
Tag command looks like this: git tag -m "Added 24 hour default advanced notice" 2.02 079b2ea9629a234f97e16395e2c656d630f0b97600:46
itrebal cakehero: have you pushed the tag? (and then fetch from remote)00:46
cakehero i pushed the branch I tagged on00:46
do i have to push the tag itself?00:46
itrebal yep00:46
it isn't associated to the branch, its associated to the commit when you tagged00:47
cakehero git push origin <tag> ?00:47
itrebal yep00:47
cakehero k00:47
awesome00:47
xiangfu joined00:47
itrebal (git push origin :tag to delete one, cakehero)00:47
cakehero sweet00:47
same as branch00:47
that worked - thanks00:47
itrebal yep00:47
jfkw left00:48
kthomas_vh joined00:49
Cromulent left00:50
cooloney joined00:51
tansell-laptop left00:51
EyesIsServer left00:52
mikemo joined00:53
mikemo I just broke something in my code, but havent had a commit in a while, so I'd like to save what I have in a separate branch. How can I break this into branch "broken" and then get back to my last commit? Thanks!00:53
cirwin mikemo: use git checkout -b newbranch00:55
then you will have two branches that are the same00:55
then git add -p, to choose which bits of which files to commit00:55
git commit00:55
then git checkout -m oldbranch to go back to where you were, but with half the commit on a new branch00:56
mikemo i did all those steps but the last one00:57
bonhoffer joined00:57
mikemo git status says there are a bunch of unsynched files00:57
cirwin unsynched?00:58
mikemo untracked00:58
mlncn left00:58
cirwin if you want to commit them, use git add00:58
and then git commit00:58
otherwise delete them00:58
ryez left00:59
f0i left00:59
gusnan joined00:59
ISF left01:00
seivan joined01:01
budda cirwin: just noticed that the git pull that went wrong earlier. its pulled down a load of new files from origin which are now listed as untracked locally. re-running the git pull then gives the "error: Untracked working tree file 'sites/default/modules/br_discussion/br_discussion.context.inc' would be overwritten by merge. Aborting" message.01:01
xissburg joined01:01
budda cirwin: would deleting the local files be safe to do and then re-pull ?01:01
stliu joined01:01
cirwin it should be safe, yes01:01
just check you don't delete anything that you created that's not in the repository ;)01:02
mikemo left01:02
budda hah01:02
nah its all new things which another dev has added01:03
i think overall http://teddziuba.com/2010/08/too-smart-for-git.html summed up my issue pretty well :-) except i'd previously used CVS rather than SVN01:03
chrischambers left01:03
sirdancealot left01:04
cirwin if you don't use git pull, and don't use git push with no arguments; git will surprise you much less01:04
budda cirwin: is there any decent blog posts you know of to explain that?01:05
so i can send it on to the others in the team01:05
nicoulaj left01:05
cirwin git for computer scientists is the oft-recommended "what's git really doing" article01:05
git push and git pull are just personal hates :p01:05
I could write a blog post I suppose, but seems a bit of a negative note on which to start01:06
nicoulaj joined01:06
flavius left01:06
jlk joined01:07
kthomas_vh I've generated a new id_rsa key, but git gitosis-init < id_rsa.pub does not alter the keyfile. What am I missing?01:07
EyesIsServer joined01:07
kthomas_vh goes to read the man pages01:07
jlk what's the proper way to start committing to a new empty bare repo?01:07
budda cirwin: maybe it needs to be said :)01:07
jlk I created the repo, cloned it elsewhere, added a file and tried to push, but git doesn't like that. Says there is nothing in common and no branch to push to01:07
cirwin git push origin master01:08
don't use git push with no arguments01:08
ericography_ joined01:08
budda ;)01:08
ericographyGuest3860201:08
kthomas_vh heh01:08
jlk blah, I was trying origin/master silly me01:09
ericography_ left01:09
sirdancealot joined01:09
shiba_yu36 left01:10
ericmuyserericmuyser|away01:11
Guest38602 left01:12
dr_win joined01:12
dr_win_ left01:12
PhillipA left01:13
preflex left01:13
verto left01:14
verto_ left01:14
nadirvardar left01:15
ericmuyser|awayericmuyser01:16
mlncn joined01:16
mlncn left01:19
jbrokc joined01:19
kthomas_vh discovers that gitosis-init works only once01:20
frogonwheels !gitosis01:21
jast *automatic message* gitosis is no longer maintained and supported by the author; we usually recommend gitolite instead which has much better documentation and more features: http://github.com/sitaramc/gitolite01:21
bentkus joined01:21
kthomas_vh greps, groks01:21
Cromulent joined01:23
fiyarburst joined01:23
protozog joined01:25
jungejason left01:27
Vampire0_ joined01:28
kpreid left01:28
Cromulent left01:30
rickharrison left01:30
spearce left01:31
shiba_yu36 joined01:32
Vampire0 left01:32
Araxia left01:32
metcalfc left01:33
utu joined01:35
ilumi joined01:37
sako left01:38
fivetwentysix joined01:39
fivetwentysix left01:39
alfplayer left01:39
Swimming_bird joined01:39
ericography__ joined01:40
ericography__ left01:42
ilumi left01:42
ericography joined01:42
haseeb left01:42
ericography left01:43
lm-brodo joined01:43
brodo left01:44
jbrokc left01:45
dl9pf_ left01:46
dl9pf joined01:47
ksawicki left01:47
natea joined01:49
jbrokc joined01:50
natea if i did a git merge --no-commit and now i want to revert the merge, how do i reset it?01:50
frogonwheels natea: did you have any files modified in your working directory when you did the merge?01:51
natea presumably it hasn't been committed yet (since i used the --no-commit), but it's still queued up to be merged, and i don't want that to happen.01:51
frogonwheels natea: I think git reset --merge will work regardless of modified files actually.01:51
d0k joined01:52
glennpratt joined01:52
natea frogonwheels: thanks, i think that worked. how can i be sure?01:53
frogonwheels natea: git status should tell you01:53
f0i joined01:53
natea it says the same thing it did before after i did the git merge --no-commit01:54
normanrichards joined01:55
dr_win left01:55
captainramen joined01:55
lolfrenz left01:56
frogonwheels natea: I just did a try here, and it seems it should work fine. what does it show exactly?01:56
captainramen is it possible to have git fetch automatically initialize all submodules?01:56
frogonwheels captainramen: git clone has --recursive, but fetch, nope.01:56
captainramen basically i need to submodule this project up but i don't want the other devs to have to remember to do anything extra (they come from svn)01:57
natea it says, "on branch master. your branch is ahead of 'origin/master' by 3 commits.01:57
frogonwheels captainramen: it's a pitb01:57
natea: but no other changes?01:57
offby1 pitb must come right after pita in the dictionary01:57
frogonwheels offby1: true01:57
natea frogonwheels: no, just a bunch of "untracked files"01:57
captainramen frogonwheels: so there's no git config stuff i could do then01:57
frogonwheels natea: sounds good to me.01:57
captainramen: nope. it's a bit of a known submodule sore point01:58
captainramen frogonwheels: hah! oh well, git subtree is out of the question01:58
natea k. just weird that git status didn't show those changes before i did the git reset --merge01:58
The_Ball left01:58
frogonwheels oooh.. wait01:58
captainramen frogonwheels: it's easy enough to do on the server since we just use a little script for that.01:59
The_Ball joined01:59
frogonwheels captainramen: investigate git-config submodule.<name>.fetchRecurseSubmodules01:59
captainramen frogonwheels: thanks!01:59
ISF joined02:00
juangiordana left02:00
frogonwheels captainramen: just yesterday I had to remind a dev to git submodule init so I feel your pain.02:01
(in order to init a new submodule)02:01
captainramen frogonwheels: doh, this is no good. they might as well do it from git extensions02:02
itrebalgrahamc02:02
frogonwheels captainramen: look at githooks post-checkout ?02:03
captainramen: it's not actually fetch that's the problem, it's checkout.02:03
captainramen frogonwheels: ahhhhhh02:04
frogonwheels: this is the kind of thing that needs to be done once on each dev's machine02:04
frogonwheels yep.02:04
captainramen frogonwheels: really it's just cakephp and some assorted plugins. i don't care if they have 1.3.x instead of 1.3.7 unless it's some suuper critical bug02:05
cause the server will always be up to date02:05
frogonwheels captainramen: just send an email round.02:05
Dreamer3 left02:05
captainramen frogonwheels: you don't understand02:05
GeertB left02:05
frogonwheels captainramen: well maybe I do.02:06
captainramen frogonwheels: we already have all the documentation for correct workflow (git flow) and they still do dumb stuff like pull merge, merge commits where the branch is a single commit02:06
Dreamer3 joined02:06
captainramen frogonwheels: multiple merge commits with the same commit message, etc02:07
frogonwheels captainramen: I have a developer that goes back to TeamCoherence for history.02:07
bitkiller left02:07
captainramen frogonwheels: i don't know what that is, but it sounds like the opposite of what it's called02:07
frogonwheels captainramen: which is basically like Visual Source Safe with better networking.02:07
captainramen frogonwheels: i'm sorry.02:07
frogonwheels yeah. me too02:07
he tried to tell our board (aka 'Dad' to me) that Git was a backwards step. Fortunately I was backed up by other team members02:08
macUzer left02:08
captainramen ...02:09
i've used vss. i was the only developer and somehow my files would get locked from time to time02:09
budda left02:10
frogonwheels captainramen: I've used VSS, StartTeam, TeamCoherence. Nice to be finally using a real source control for a change.02:10
f0i left02:10
frogonwheels *StarTeam02:10
davesag joined02:10
GeertB joined02:11
chrisf wouldnt be hard to outdo VSS's networking ;)02:11
Prasad joined02:11
grahamc I'm not sure how companies justify systems beyond git/svn/cvs02:12
kmc software you don't pay money for is clearly worthless02:12
chrisf grahamc: the usual sales reality distortion tricks, i think.02:12
cooloney left02:13
frogonwheels grahamc: yeah well these projects all started a while ago.02:13
kmc VSS is *enterprise grade* and *industrial strength*02:13
frogonwheels lol02:13
kmc: that's amusing.02:13
grahamc oy02:13
kmc by the way Microsoft doesn't use VSS on their internal projects, hell no02:13
they use some ancient and crufty fork of Perforce02:13
p4 is the only non-free vcs I've heard good things about02:14
preflex joined02:15
haseeb joined02:15
bonhoffer left02:17
cronin joined02:17
cooloney joined02:18
peterwald joined02:18
ndim joined02:18
Chib joined02:19
kpreid joined02:19
kpreid_ joined02:20
kpreid left02:20
kpreid_kpreid02:20
rickharrison joined02:20
rickharrison left02:20
cyberswat left02:22
SirFunk joined02:27
cschneid joined02:28
cschneid left02:28
captainramen lol yeah02:28
cschneid joined02:28
pen joined02:28
captainramen i heard a guy say that he would have trouble convincing his boss to use log4net because it hasn't been maintained in a while02:28
bosses are idiots02:28
o] joined02:28
Prasad left02:29
Destos left02:29
devth joined02:29
]o left02:30
kmc not all of them are02:31
if you have an idiot boss, get a new one02:31
gretch joined02:31
captainramen mine are so so02:32
at least they are committed to doing things a better way. I think that's the important thing02:32
replore left02:32
sbell_ joined02:33
hackez_work left02:33
thews left02:35
sbell left02:35
sbell_sbell02:35
Xerkus left02:37
cyberswat joined02:39
thiago left02:40
cyberswa_ joined02:41
Raging_Hog joined02:42
Chib left02:42
kthomas_vh left02:43
Chib joined02:43
lahwran anyone know of a plugin for maven (java build tool) to add the git revision to the project version used at build time (so that the artifact has the git revision in it's name)?02:43
kthomas_vh joined02:43
kthomas_vh left02:44
cyberswat left02:44
Techplex joined02:44
xissburg left02:44
kthomas_vh joined02:45
ChanServ set mode: +v02:45
gusnan left02:46
Techplex Hello?02:46
tansell-laptop joined02:46
grahamc hello02:46
Techplex How does one pull the latest version or a repo and loose all the local changes?02:46
seivan left02:46
cirwin git fetch origin;02:46
git reset origin/master --hard02:46
rendar left02:47
grahamc Techplex: you'll have to do the reset upon every branch you've changed locally02:47
Techplex thank you02:47
mcc joined02:48
Kichael left02:48
metcalfc joined02:49
kthomas_vh left02:49
lahwran resolved in #maven: buildnumber-maven-plugin02:49
DrNick left02:49
xissburg joined02:50
captainramen left02:50
Techplex cirwin: when I try to push that to github it says rejected not-fast-forward02:50
cirwin are you sure you did a fetch really recently>/02:51
mjessome joined02:52
gerard0 left02:54
seivan joined02:54
Techplex when I follow your instructions i get my last commit to github02:54
cirwin ok02:54
Techplex I want the one from the master of the origional not my fork02:54
cirwin in that case, "git remote add fooble [email@hidden.address]02:55
and do the same again, with fooble in place of master02:55
you will then need to force push it, if you want to overwrite your github version with the version from fooble02:55
(you will lose your changes)02:55
cyberswa_ left02:55
towski_ left02:56
glennpratt left02:56
Techplex I feel like what I want to do is: git pull waterbear master --hard02:59
but that doesn't work02:59
cirwin git fetch waterbear02:59
git reset waterbear/master --hard02:59
grahamc Techplex: try fetching their changes (git fetch waterbear) and then do git reset --hard waterbear/master02:59
cirwin I find git pull is very confusing03:00
roadt joined03:00
DrNick joined03:01
grahamc cirwin: I understand what you mean now.03:01
tansell-laptop left03:01
Techplex the only problem with doing that is I get rejected when I try to push to github.03:01
tjholowaychuk left03:02
natea left03:02
cirwin Techplex: that's because you have commits on github that aren't in waterbear/master03:02
if you want github to forget those commits, you need to use git push -f origin master03:02
tansell-laptop joined03:02
dr_win joined03:03
Techplex well that worked! Thanks Guys!03:03
cirwin no worries03:03
Techplex I am really new to this whole git thing. Any suggestions. I find the documentation very confusing03:03
and i get trapped in these holes often. Ruining my productivity03:03
grahamc Techplex: have you read progit?03:04
Techplex nope03:04
just whats on github03:04
grahamc http://progit.org/03:04
http://book.git-scm.com/, too03:04
Techplex ok03:05
chapter a night03:05
L-Chymera1 joined03:05
cirwin Techplex: read the error messages03:05
they generally tell you what to do or where to look03:05
Techplex I have been trying to do what they say but It didn't get me where i wanted to be,03:05
mjessome left03:06
L-Chymera left03:06
Techplex Thanks much guys bakd to work03:06
spaceonline left03:06
jacknagel joined03:06
Techplex left03:06
grahamc something about "Thanks" and "Thanks much" makes me batty03:07
mjessome joined03:07
cirwin Thanks much is a bit clunky, what's wrong with thanks though?03:07
juli0w left03:09
grahamc Hrm... any way I try to explain it sounds like I'm big-headed, but "thanks" seems a lot less gracious than "thank you", and since people are on IRC are helping out of their own free will, I feel like "thank you" is more appropriate03:10
cirwin fair enough :)03:10
grahamc I was raised in a southern home (US) and "thanks" wasn't very well received in most circles :P03:11
cirwin heh, for us it was "pardon" instead of "excuse me" that was utterly forbidden :p03:12
tanoku left03:13
grahamc nice :)03:14
merkosh joined03:15
sven^ joined03:16
ISF left03:16
fission6 left03:16
thehodge left03:16
flamingspinach left03:17
juli0w joined03:17
flamingspinach joined03:18
cYmen joined03:19
cccaldas left03:20
mjessome left03:20
tanoku joined03:20
Weust` left03:21
coldboot|home joined03:21
tansell-laptop left03:21
Will| left03:21
Raging_Hog left03:21
MikhX joined03:22
effnj0X left03:22
tansell-laptop joined03:22
towski joined03:22
MikhX left03:22
utu left03:23
jpmelos left03:24
roadt hi, i found there are many xxx.git file for large project like git.kernel.org, is any way to check out all thing efficiently?03:26
cyberswat joined03:26
gnufied joined03:27
Weust` joined03:28
cronin left03:29
peterwald left03:31
cronin joined03:31
offby1 git.kernel.org isn't a single project.03:31
It's a bunch of projects.03:32
zzing_ joined03:32
offby1 each xxx.git "file" (actually a directory) holds one project, or (sometimes) a piece of a project.03:32
So chances are you only need to check out one, or a few, of those.03:32
kmc well many of the kernel.org repos have some objects in common03:32
cronin left03:32
offby1 ah03:33
short of fiddling with "alternates", I cannot think of a way03:33
Will| joined03:33
zzing left03:34
krz joined03:34
gnufied left03:34
ericmuyse joined03:35
tristanseifert left03:36
jbrokc left03:37
tristanseifert joined03:37
metcalfc left03:37
tanoku left03:38
ericmuyser left03:38
CannedCorn joined03:39
Bass10 left03:39
jungejason joined03:40
SirFunk left03:41
flaguy48 left03:41
flaguy48 joined03:42
flaguy48 left03:45
tansell-laptop left03:46
tansell-laptop joined03:47
cyberswat left03:48
haseeb left03:50
msponge joined03:50
flaguy48 joined03:51
gerard0 joined03:53
f0i joined03:54
jacknagel left03:54
caseymcg left03:55
Error404NotFound left03:55
coldboot|home left03:57
ncbncb joined03:57
_psychic_ joined03:58
cschneid left03:59
SimonNa left04:00
ncbncb left04:00
ncbncb joined04:00
kukks left04:01
alfplayer joined04:01
OOPMan left04:03
joshteam1 joined04:03
ericmuyser joined04:04
segg2 joined04:05
alfplayer left04:05
alfplayer joined04:06
joshteam left04:06
joshteam1joshteam04:06
ericmuyse left04:08
Error404NotFound joined04:08
guns joined04:09
alfplayer left04:09
gnufied joined04:09
pandeiro left04:09
alfplayer joined04:09
roop joined04:09
envi joined04:10
lunks left04:12
Rockj left04:13
Rockj joined04:14
alberto56 left04:14
Pupeno joined04:14
beautifulmind joined04:14
gnufied left04:14
vol7ron joined04:15
beakerman joined04:16
rdqfdx joined04:19
vol7ron left04:20
dr0id joined04:21
caseymcg joined04:21
rcu joined04:22
gnufied joined04:23
mkanat left04:23
OOPMan joined04:24
OOPMan left04:24
Corren_ joined04:25
rcu left04:25
beakerman left04:27
boaz left04:27
ricky left04:28
xissburg left04:28
Bacon890 joined04:28
Bacon890 left04:29
boaz joined04:29
tore_ joined04:29
ricky joined04:32
cirwin left04:32
tansell-laptop left04:32
Fissure joined04:33
cytrinox_ joined04:33
cschneid joined04:34
zzing joined04:35
gnufied left04:35
cytrinox left04:37
cytrinox_cytrinox04:37
zzing_ left04:38
guns left04:42
grahamc left04:43
itrebal joined04:44
eycel joined04:45
itrebal left04:46
itrebal joined04:46
itrebalgrahamc04:46
Blazento left04:49
dfr|mac joined04:49
gnufied joined04:53
alip left04:56
alip joined04:59
farktronix left04:59
Prime326 left05:04
farktronix joined05:06
mlncn joined05:07
Gunni joined05:08
acl_ joined05:08
ThomasLocke joined05:08
segg2 needs help setting-up git server05:09
kmc left05:10
dfr|mac left05:10
dreiss left05:10
cschneid left05:11
RobertLaptop joined05:16
mlncn left05:16
macUzer joined05:18
ceej left05:19
Kichael joined05:19
devth left05:20
sitaram segg2: how many users? If it's only one or two and there are no serious access control needs, just plain ssh will do05:20
http://sitaramc.github.com/gitolite/doc/overkill.html has some instructions; there may be others around the web with similar info05:21
seivan left05:22
rchavik joined05:22
seivan joined05:22
cakehero left05:22
avinashhm joined05:24
sasori left05:28
tansell-laptop joined05:35
cschneid joined05:35
diegoviola left05:37
metcalfc joined05:37
joel_falcou joined05:38
Prasad joined05:42
j416 joined05:43
_psychic_ left05:44
max8613 joined05:45
Niedar joined05:46
Jippi joined05:46
SunilThaha left05:46
sunil joined05:47
mlncn joined05:48
tore_ left05:48
Error404NotFound left05:48
d0k left05:48
markbao_ left05:49
Error404NotFound joined05:49
steveoliver joined05:51
airborn joined05:51
metcalfc left05:54
madewokherd left05:59
gnufied left06:00
mlncn-agaric joined06:00
vmil86 joined06:00
Nuck plops down to try and set up gitolite again06:01
stodan joined06:02
mlncn left06:02
Corren_ left06:04
gnufied joined06:04
Error404NotFound left06:05
macUzer left06:07
dc5ala joined06:08
grahamc left06:09
bjoernh joined06:10
cirwin joined06:11
TrineLocke joined06:12
hemanth joined06:13
hemanth installing git without root permission, possible?06:13
cbreak_work joined06:13
cehteh hemanth: somewhat, but depends on the actual setup06:15
hemanth cehteh, m on shared hosting need to setup git server06:15
belkiss joined06:15
edoceo joined06:16
edoceo I did a `git checkout -b rev2` to switch from master to rev2, then hacked, then did `git commit -as` and `git format-patch origin` - so now I have a patch for rev206:17
Now, I want to switch back to "master", and edit to make a patch for that revision as well06:17
So, `svn checkout -b master`, changes that - correct?06:17
Error404NotFound joined06:18
teweWork joined06:18
steveoliver left06:18
edoceo But the files I edited are my edited versions, I need to make them the "master" copies, so I can edit, get diff, commit and format-patch again06:18
cehteh hemanth: i'd first ask the provider if they would install git06:19
next if it is even withhin their terms of service that you run git and/or install your own service06:20
installing it as user should be doable but certainly needs some custom setup, so if you can get it easier, thats the way to go06:20
Error404NotFound left06:21
Error404NotFound joined06:21
cehteh i'd even threaten the provider to leave them if they dont provide git :P .. or if thats a problem for you host your normal stuff at that provider but use github or something like that06:22
hemanth cehteh, configure: error: no acceptable C compiler found in $PATH :(06:22
cehteh yeah, likely there is no development environment installed06:23
cirwin hemanth: well.. if you know the architecture, you can compile it locally and copy it up — probably not a fun thing to try though06:23
cehteh and more likely the provider dont like you install and run your own software06:23
yes thats a lot works and then possibly violates the terms of service, check that first06:23
hemanth cirwin, i'm on centosi68606:24
_^_06:24
cehteh would be a fun excercise to bootstrap a whole development environment with a assembler or C compiler written in bash or perl :P06:24
Jippi left06:25
dl9pf_ joined06:25
segg2 how much is this different from the GNU setup06:25
hemanth heh heh indeed, worth the effort06:26
dl9pf left06:26
fiyarburst left06:26
slithytove2006 joined06:26
cehteh well what provider? .. you earn nothing when you put efforts into it, trigger a lot red lights there and have your contract canceled06:26
hemanth cehteh, me on $hitty godaddy server :|06:27
msponge left06:27
cehteh as saied check the terms of service, in the easiest case, installing git is just one ticket away06:28
IcePic as one who installed gitosis due to such a ticket I can agree. Its dead simple and works like a charm. Kudos to sitaram for that one.06:29
Prasad left06:30
hemanth cehteh, no support06:31
cehteh then change the provider06:31
noetik left06:32
noetik joined06:32
cehteh gitosis or gitolite?06:32
cirwin !gitosis06:33
jast *automatic message* gitosis is no longer maintained and supported by the author; we usually recommend gitolite instead which has much better documentation and more features: http://github.com/sitaramc/gitolite06:33
IcePic oh dang. gitolite06:33
meant that one.06:33
aminpy joined06:33
cehteh :)06:33
simenbrekken joined06:33
cirwin !gitolite06:33
aminpy how can I set ssh key tu git server?06:33
in debian server06:33
or fedora06:33
cehteh man ssh-copy-id06:33
beautifulmind left06:34
cehteh when you verified *!* that key login works i'd sugest to remove the password from the server06:34
lut4rp left06:34
hemanth cehteh, i got the binaries!06:35
xaxxon joined06:35
cehteh hemanth: with all libs?06:36
hemanth cehteh, http://www.krizka.net/download/files/git-1.7.3.4_centos5.2.tar.bz206:36
envi left06:37
ncbncb left06:37
cehteh i have no idea if that will work, try it on your own risk06:37
google "godaddy git"06:38
.. no idea about cheap unsupported hosting, i'd rather not use such06:38
xaxxon_ left06:38
[SySteM] joined06:38
[SySteM] Hello06:38
please i need some help with git06:39
cehteh hey google gives a lot results ..06:39
[SySteM] i fond git commit -amend to reedit last commit06:39
but i want to reedit the 3 lasts.. is there a possibility please ?06:39
hemanth cehteh, heh heh ok06:40
cehteh [SySteM]: git rebase --interactive06:40
CannedCorn left06:40
mhauri joined06:41
saschpe joined06:41
frogonwheels [SySteM]: (hint, use 'edit' and once the rebase stops at the commit, make your changes, stage them (add to index) and use commit --amend)06:43
[SySteM]: before git rebase --continue06:43
[SySteM] git rebase -i HEAD~3 ?06:43
cehteh yes06:43
mlncn-agaric left06:43
mlncn joined06:44
cirwin [SySteM]: see also "git commit --fixup" if you have a recent version of git06:44
envi joined06:44
Blekel joined06:44
mjessome joined06:44
tewecske joined06:47
cesario joined06:47
marc_kdab joined06:49
sako joined06:50
sako left06:50
sako joined06:50
Nuck_nuck06:53
slithytove2006 left06:53
_nuck___nuck06:53
hemanth cehteh, yupppy it worked :)06:54
cehteh have fun06:54
___nuckNuck06:54
flijten joined06:54
mansour joined06:54
cirwin heh, that's cool06:55
^^ hemanth06:55
mansour I have a local project, and I want to make it available as a bare repo on a remote server.06:55
how to do so ?06:55
airborn left06:55
cirwin ssh to the box, git init --bare;06:55
hemanth cirwin, cehteh hope they wont cancel my account ;)06:55
mansour cirwin: but all the code is local06:56
cirwin mansour: step 206:56
git remote add mansour@server:path/to,git06:56
*git remote add origin mansour@server:path/to,git06:56
Error404NotFound left06:56
cirwin git push origin master06:56
sasori joined06:56
mansour ok, cirwin will try that06:57
sasori hi, how to remove the existing folder at the github account?06:57
emptyflask left06:57
cirwin sasori: existing folder? do you mean repository?06:57
sasori cirwin: yup..how ?06:57
hemanth cirwin, cehteh test1 git clone http://www.h3manth.com/repo/photoblog.git working file, /me <3 git <3's freedom06:58
cirwin sasori: I don't actually know, maybe #github can help06:58
hemanth: 'tworks06:59
rvsjoen_ joined06:59
cehteh hemanth: we run our websites through git too, but on our own server :P07:00
git + asciidoc .. winning team :)07:00
hemanth hope i will also have dedicated lines soon07:00
freedombox FTW!07:01
rvsjoen left07:01
[SySteM] please another question : got permission denied only for make a stash. (there no problem about permission, got full permission, try too on root..)07:01
cehteh [SySteM]: if you once used it as root and permission/umask where not set up for sharing then root left file inaccessible for other users around07:02
abhishekb joined07:02
eletuchy joined07:02
Spockz joined07:02
[SySteM] it try to create a new file like /.git-stash.8100-index07:02
each time i make a stash07:02
cehteh and no access to write there07:03
permission problem07:03
[SySteM] its a mounted samba partition07:03
cehteh eek07:03
[SySteM] im owner of all files07:03
cehteh why would one do that :P07:03
abhishekb how to initialize git where it is alreadt initialized07:04
how to initialize git where it is already initialized07:04
cirwin abhishekb: you can run git init again?07:05
what are you wanting to do?07:05
abhishekb actually i had a git account which crashed07:05
now I have a new account i don t know how to setup07:06
aLeSD joined07:06
cirwin git = github?07:06
abhishekb please help me out07:06
yeah07:06
mlncn left07:06
cirwin so you have a new account?07:06
you've set up the ssh keys?07:06
mlncn-agaric joined07:06
abhishekb not yet but i will wat to do after that07:07
cirwin I don't understand what you're trying to do07:07
delete the old repository from your computer and start again?07:07
just use "rm -r"07:07
abhishekb no that way i ll loose all my commits is there any way to keep them cause the pro. dir. still have a .git folder07:08
cirwin ok, what you want to do then is add a new remote07:08
git remote add new-repo [email@hidden.address]07:08
then you can "git push new-repo"07:08
git remote add new-repo [email@hidden.address]07:09
abhishekb ohh, thanks man, help is much appriciated, thanks alot :)07:09
cirwin no problem — the hard bit is working out what you're want to do ;)07:10
abhishekb yeah07:10
lundtor joined07:10
radarek joined07:11
goshakkk joined07:11
Error404NotFound joined07:11
segg2 need a setup server for dummy, git init, create file1, on mycomp, git init --bare myrepo project.git07:13
ciberglo joined07:13
segg2 now, where are the command to make the thing work with push07:13
cirwin man git-remote07:14
jast *automatic message* the 'git-remote' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-remote.html07:14
fairuz|awayfairuz_07:14
CannedCorn joined07:14
cirwin i.e. git remote add origin [email@hidden.address]07:14
Niedar left07:16
mastro joined07:17
lundtor left07:17
lundtor joined07:18
herdingcat joined07:20
sourcerebels joined07:20
butter71 joined07:20
nellyb joined07:20
butter71 left07:20
kerrick left07:22
kriegerod joined07:22
mlncn-agaric left07:23
tvw joined07:23
tansell-laptop so is there any way to test if a merge will be successful? Kinda like a git merge --dry-run or something?07:24
mattp_ left07:24
JimHank joined07:25
babonk joined07:25
babonk Where's a good URL to start learning Git? I'm completely new to version control, but I udnerstand in the abstract how it works with diffs/merges/commits07:25
*understand07:25
tansell-laptop babonk, I would just jump right in and start trying to do stuff07:26
milli left07:26
roop left07:27
seivan left07:27
sako left07:28
tango_ babonk: pro git probably07:28
liquidproof joined07:28
nocturnal one thing I like about another version control system is that I only have to do a commit to push files to the server. can that be done in git somehow or should I just add my own shell alias?07:29
ciberglo left07:30
nocturnal I've learned git commit -am but I would like to get it down to just one step. I make many small commits.07:30
milli joined07:30
dr0id left07:30
nimrod10` joined07:34
abhishekb how to remove untracked files?07:34
nevyn abhishekb: rm07:34
abhishekb git rm *.pyc , is it ok ?07:34
nevyn abhishekb: so you probably want to use gitignore for generated stuff like that07:35
abhishekb yeah, i got so in google results but i dont know how to use that command07:35
nd__ joined07:36
nimrod10 left07:36
Textmode left07:37
abhishekb please tell me how to use gitignore07:37
gitignore *.pyc is saying command not found :(07:38
eycel left07:38
cirwin echo '*.pyc' >> .gitignore07:39
segg2 is this making sense to any of you http://pastebin.com/fHD1TcUR07:39
abhishekb ohh, like that thanks man..!!07:39
tango_ hm has anybody else had problems sending emails to the git ml? I'm not seeing my emails from yesterday yet07:40
towski left07:40
qian_office joined07:41
Chaser joined07:43
starlays joined07:43
jungejason left07:43
jungejason joined07:44
masterkorp hello,good monrning07:44
seivan joined07:45
qian_office left07:46
pantsman joined07:46
pantsman left07:46
pantsman joined07:46
qian joined07:46
mastro left07:46
jungejason left07:48
tatsuya joined07:48
nellyb left07:49
soahcccsoahccc`07:49
alfplayer left07:50
alfplayer joined07:50
aminpy_ joined07:50
Mkaysi joined07:51
caseymcg left07:51
belkiss left07:52
abhishekb left07:52
aminpy_ left07:53
OOPMan joined07:54
mhauri_ joined07:55
workmad3 left07:56
mhauri left07:56
dr_lepper joined07:56
Fullmoon joined07:58
alextheger joined07:59
mastro joined07:59
Fullmoon left08:00
roop joined08:00
mcc left08:01
davzie joined08:03
whitman joined08:04
cbreak_work is there an easy way to make a gitolite controlled server read only temporarily?08:08
dr0id joined08:08
segg2 i need someone rsa key, that someone would check if my ssh setup is working for writiing08:08
juli0w left08:10
Chaser left08:11
pantsman left08:15
thehodge joined08:15
charon tango_: there's some graylisting in place. also, some filter rules, notably large mails (>100kb or so) and html are dropped silently08:15
tristanseifert left08:16
tristanseifert joined08:16
PigeonFriend joined08:16
tango_ charon: I don't think either applies to my case, unless I stepped over a filter rule08:17
charon: I don't suppose you can check if I got filtered, can you?08:17
Juo left08:18
tango_ maisl are in the form [PATH [0-2]/2] .*diff.* from a @gmail.com address08:18
juli0w joined08:18
Vile left08:19
seivan left08:20
gretch left08:20
_md joined08:21
TheWorldofDan joined08:21
joel_falcou left08:21
stliu left08:22
seivan_ joined08:23
cbreak_work hmm... I could change gitolite's update hook to always disallow08:26
Juo joined08:26
johnw left08:26
_md left08:28
himsin joined08:30
ketas left08:30
RobertLaptop left08:31
dfas joined08:31
mishok13 left08:32
haseeb joined08:32
RobertLaptop joined08:35
sitaram cbreak_work: yes there is08:37
Tommy[D] left08:37
alcy joined08:38
mishok13 joined08:38
nicoulaj_ joined08:39
sitaram cbreak_work: look for "disabling write access" in the master doc index: http://sitaramc.github.com/gitolite08:39
sasori left08:39
lm-brodo left08:40
Prasad joined08:41
brodo joined08:41
babonk left08:42
krz left08:42
plashchynski joined08:42
fs-sylr joined08:43
cbreak_work thanks! I've not found that in the normal docs.08:43
_md joined08:43
sitaram cbreak_work: assuming your gitolite is at least v1.5.808:44
(and if you didn't find it in *your* docs perhaps your gitolite is too old... please tell me what version you're running)08:44
lut4rp joined08:45
lut4rp left08:45
lut4rp joined08:45
alcy folks, what's the difference between post-update & post-receive ? only the kind/number of args ?08:45
drev1 left08:45
sitaram alcy: yes08:45
drev1 joined08:46
[SySteM] left08:46
caseymcg joined08:46
cbreak_work v1.5.7-18-g2bbcc8208:46
alcy sitaram: thanks. since I don't have a requirement for any args, it doesn't make any difference ?08:47
cbreak_work I am migrating to a new server with an all new installation08:47
TomyLobo left08:49
sitaram cbreak_work: that should have the documentation for that feature... wonder why you didn't find it. Anyway, yeah it should work08:50
cbreak_work maybe I didn't search well enough08:51
juli0w left08:51
sitaram cbreak_work: it's easier to *search* the master index because there's no eqvt for it in the shipped docs (it's auto-generated). Other than that it should be there...08:51
rapha joined08:51
rapha Hi all!08:51
drev1 left08:52
sitaram alcy: shouldn't. Best way is to test with some dummy program08:53
rapha We have a repo here with a master and an alpha_2 branch, and we've been using the alpha_2 branch for months exclusively now, and the master branch has become pretty much useless. I'd like to keep the history, but apart from that I want it to get back to a state where there's only a master branch again and that's where the newest code which is now called alpha_2 is. How would I best do thatß08:53
Alvo joined08:54
sitaram rapha: git branch -M master old-master; git branch -M alpha_2 master; git push -f --all08:54
or equivalents08:54
rapha okay, let me try that08:54
sitaram sorry; use "-m" (lowercase) for safety08:54
alfplayer left08:54
alfplayer joined08:55
rapha okay08:55
cbreak_work note that that only renames the local branch08:55
you'll have to do that on every repository08:55
(and force push to remotes)08:56
make sure that no one accidentally pulls the new master into the old version :)08:56
jfelchner joined08:56
cbreak_work (branch replacements count as history rewriting, potentially)08:57
jfelchner So I just did a commit and somehow it created it without a parent. Is git commit-tree what I want at this point?08:57
gebi left08:57
jfelchner Or do I just have to do a hard reset and commit again?08:57
sitaram rapha: please also read what cbreak_work wrote above and understand the implications of doing this. You have to make sure all your team knows and does not push the old one out again!08:58
FauxFaux cherry-pick is probably the easiest fix.08:58
alfplayer left08:58
alfplayer joined08:59
kR15t0 joined08:59
sitaram has always found it bl**dy hard to make a commit without a parent; how did someone do that *accidentally*?08:59
juli0w joined08:59
jfelchner sitaram: I wish I knew! :)08:59
rapha sitaram: yeah i'm wondering right now how to prevent an accident from happening here because we have non-programmer team members who push to the repo08:59
f0i left09:00
cbreak_work why do you think it has no parent?09:00
IcePic learn "undo". Its the main tip ever when using versioning systems. When you know how to undo bad commits, everything gets simple.09:00
rapha sitaram: couldnt i just have them push their changes, stop working, delete their local copies, do my thing, and have them clone again?09:01
cbreak_work rapha: you can have them run git remote update && git checkout master && git reset --hard origin/master09:02
that'll nuke all local changes to master09:02
and is probably faster09:02
rapha okay09:02
alextheger is there a git tool (e.g. GUI), so that I can compare three or more different versions from file in a git repo?09:02
rapha yeah it's kind of a big repo ... 700MB or so09:02
alextheger e.g. seeing the last three commits that changes one specific file?09:03
sitaram alextheger: kdiff309:03
curtana joined09:03
Vile joined09:03
sitaram alextheger: but you'd have to do something separately to get those versions out I suppose09:03
crashanddie left09:03
amoe left09:03
jfelchner FauxFaux: A cherry-pick worked great. Don't know why I didn't think of it myself. Thanks!09:03
cbreak_work alextheger: git log -p -- filename09:03
jfelchner: cherry-pick should not work without a parent09:04
since it works by diffs09:04
soahccc`soahccc09:04
cbreak_work you should not use it to get changes from a commit without parent because commits without parents do not have a changeset defined09:04
jfelchner cbreak_work: Since the commit had no parent, it considered it a "first commit" and had everything listed. When I cherry-picked it, it diffed against the commit I was on and only added the changes.09:04
cbreak_work weird.09:05
jfelchner Not sure WHY it worked, but it did. :)09:05
cbreak_work maybe special case09:05
gretch joined09:05
rapha bah... 150k down and 50k up are not rly comfy for working with git09:06
RaceCondition joined09:08
Coriolan joined09:08
seivan_ left09:08
FauxFaux rapha: Better than any centralised vcs, surely.09:08
seivan joined09:08
alextheger cbreak_work: can I also limit this to a special hunk (e.g. all between line 50 and 60, or whenever line x changed)?09:08
goshakkk left09:09
rapha FauxFaux: indeed!09:10
BlaDe^ joined09:10
rapha FauxFaux: i'm more complaining about the speed of the pipe in general09:11
FauxFaux Roll on 4g and the EU beating the crap out of the mobile networks for us. ¬_¬09:11
thehodge left09:11
rapha hey i'm on DSL here09:11
most 4G ppl get higher speeds :P09:12
Alvo left09:13
achadwick joined09:13
ketas joined09:15
svend left09:16
rapha sitaram: when i do "git branch -m master alpha_2" all i get is "fatal: A branch named alpha_2 already exists"09:16
workmad3 joined09:16
rapha oh wait09:16
you LITERALLY meant "old-master"09:16
anubhaw joined09:17
tango_ left09:18
rapha sitaram: okay, seems to have worked.09:18
DrNick left09:18
jesteracer joined09:19
rapha sitaram: another question; is it possible to loop through all revisions and remove a certain directory whenever it's present?09:19
SRabbelier|Lappy joined09:19
sitaram rapha: gfb! (the famous git-filter-branch -- it's man page should have examples)09:19
rapha sitaram: i mean physically remove it ... we want to get rid of anything we don't need anymore to get down to a reasonable size again - 700MB is quite hefty as 650 of that is probably junk09:20
sitaram: okay, thanks09:20
tango_ joined09:20
mattp_ joined09:20
sitaram rapha: read man git-filter-branch thoroughly; it has all the answers you need. Practice on a copy if you're not sure. It's very picky on syntax and all but works great09:21
jast rapha: *automatic message* the 'git-filter-branch' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-filter-branch.html09:21
joel_falcou joined09:22
_md left09:23
rapha sitaram: okay, will do ... working on a copy is probably a good idea09:24
haseeb left09:26
eletuchy left09:27
jargon- joined09:32
DrNick joined09:32
yeryry left09:34
yeryry joined09:34
giallu joined09:35
rapha sitaram: just got confirmation from one team member that everything has worked out nicely for him ... now i got to figure out what to do with the linguistics people who are using tortoisegit instead of command line git09:35
brian_g joined09:35
Amorphous left09:37
Vile left09:38
sebbi joined09:40
sourcerebels left09:40
RobertLaptop left09:41
flavius joined09:41
Garen left09:42
charon tango_: i can't check except what i got delivered from the ML. but there's so much diff stuff going on right now that you may want to be a little less paranoid about your subjects and address09:45
Vile joined09:45
bittin` joined09:45
tango_ I wondr why else I could have been filtered. messages were short09:45
alansaul joined09:47
bauruine left09:47
tiago left09:47
nocturnal left09:48
Akkar1n joined09:48
_md joined09:48
seivan left09:50
charon i was just saying i'm not getting into a guessing game09:51
xiangfu left09:51
Amorphous joined09:53
sourcerebels joined09:53
RobertLaptop joined09:54
pen left09:57
chrischambers joined10:00
beautifulmind joined10:01
nineteeneightd left10:01
xaxxon left10:01
ph^ left10:01
xaxxon joined10:01
ph^ joined10:02
toxico left10:02
Tabmow left10:02
kimico joined10:02
an0maly left10:02
brainbox1100 left10:03
Tabmow joined10:03
brainbox1100 joined10:03
awallin_ joined10:03
jceb joined10:03
an0maly joined10:03
Zeelot left10:04
sven^ left10:04
Zeelot joined10:04
sven^_ joined10:04
pastie left10:04
airtonix left10:04
Nuck left10:04
airtonix joined10:04
nazgul101 left10:05
numbah left10:05
Dynetrekk left10:05
mhauri_ left10:06
numbah joined10:06
sc joined10:06
nevyn left10:06
tonyhit left10:06
Dynetrekk joined10:06
qknight left10:06
nazgul101 joined10:06
qknight joined10:06
jpalmer left10:06
tonyhit joined10:06
nevyn joined10:07
nineteeneightd joined10:07
Nuck joined10:09
cesario left10:11
thiago joined10:12
tanoku joined10:15
sanjoyd joined10:15
tanoku left10:20
haseeb joined10:21
jbrokc joined10:21
sourcerebels left10:23
SimonNa joined10:28
zamabe left10:29
MUILTFN joined10:29
brodo left10:30
Prasad left10:30
TrevGamingRIg joined10:32
saschagehlich joined10:32
TrevGamingRIg left10:32
abhishekb joined10:33
abhishekb how to change repo in project directory?10:35
anyone ?10:36
brodo joined10:38
sikao_lfs1 joined10:39
haseeb_ joined10:39
haseeb_ left10:40
belkiss_ joined10:40
haseeb_ joined10:40
Prasad joined10:41
haseeb_ left10:41
haseeb left10:42
mlncn joined10:42
caseymcg left10:42
haseeb joined10:42
sitaram abhishekb: what does the question even mean?10:43
abhishekb actually i created the repo with wrong name can i rename it ?10:45
on github ?10:45
jpjacobs use mv10:45
ah10:45
Akari` you can rename it, go to the admin panel10:45
jpjacobs not on github though :p10:45
Akari` https://github.com/USER/REPO/admin10:46
right there10:46
abhishekb thanks for help :)10:47
Blekel left10:49
JStoker left10:49
Blekel joined10:49
Pupeno left10:50
Juo left10:50
pen joined10:50
tore_ joined10:52
mhauri joined10:53
nardev left10:54
alextheger is there an irc channel for gitx?10:55
cirwin left10:56
Pieter alextheger: no, but you can ask questions here10:56
_md left10:57
herdingcat left10:57
ericography joined10:58
OOPMan left10:58
Anubisss joined10:59
joel_falcou left11:00
f0i joined11:02
alextheger Pieter: is there a way to have two windows of the same repository in gitx? Ideally I could run a cmd like gitx <sha1> and gitx2 <sha2> to open up to gitx windows.11:03
Pieter alextheger: no, I don't think so, it's document-based so it can only open a repo once11:04
alextheger Pieter: I already tried to copy GitX.app (naming it GitX2.app) and setting a symlink gitx2 in /usr/local/bin to GitX2.app, but it all opens it in one window11:04
Pieter alextheger: yeah, the second command-line tool will communicate with the same app as the first tool11:04
alextheger: you could compile gitx yourself and change the identifiers it uses for the command line client11:05
alextheger Pieter: in which file would I do this?11:05
sitaram Pieter: you serious? you can't open two views of the same repo using a GUI repo viewer?11:07
bonhoffer joined11:08
Pieter sitaram: yeah11:09
alextheger: probably a file with the word 'proxy' in it11:09
nenjordi joined11:11
hurikhan|Work joined11:11
alextheger Pieter: I found kGitXBundleIdentifier in GitXScriptingConstants.h. It's set to @"nl.frim.GitX". Should this do the job?11:11
haseeb left11:11
marekw2143 joined11:12
nenjordi Hi all, while rebase -i, if I decide to use reword, should I change the message in the actual buffer or will I get a new buffer to put my new message after saving changes? so, is it a two step or one step?11:12
sitaram Pieter: is this a Mac thing or a GitX thing? The GitX website says it's like 'git gui and gitk', and I know those two can open any number of views11:12
flavius left11:12
nardev joined11:12
marekw2143 hi, how to create "standard" patch acceptable by patch command?11:12
Pieter sitaram: it's an os x convention11:12
flavius joined11:12
Pieter alextheger: hmm, I'm not sure if that's the one. Perhaps something with CLI in it?11:12
sitaram Pieter: that's an odd definition of "convention" I must say11:12
juli0w left11:13
Pieter sitaram: well, a document is a unique thing, so if you try to reopen it, it just goes to the thing already opened11:14
makes sense to me11:14
might not be the best way to model a git client, but oh well11:14
cjuner joined11:14
sitaram Pieter: a repo is a document?11:14
Pieter sitaram: yes11:14
sitaram Pieter: wow... I'm... speechless!11:15
BlaDe^ left11:16
iXeno_ joined11:17
Pieter alextheger: you need to change ConnectionName11:18
spatulasnout joined11:18
alextheger Pieter: already on it. thx!11:18
iXeno left11:19
quadz left11:20
beautifulmind1 joined11:20
Juo joined11:21
alextheger Pieter: I compiled it with "#define ConnectionName @"GitX2 DO Connection". I also have a symlink from gitx2 -> /Users/USERNAME/Applications/GitX2.app/Contents/Resources/gitx . But still gitx2 will only open the first gitx:(11:21
juli0w joined11:21
Juo left11:22
beautifulmind left11:22
prasadkr joined11:22
Prasad left11:23
pen left11:23
robinbowes left11:23
alextheger Pieter: is there maybe a applescript option to tell gitx2 to show commit <sha2>?11:24
liquidproof left11:24
kms joined11:25
glennpratt joined11:25
fish_ joined11:26
fish_ hi11:27
robinbowes joined11:27
robinbowes left11:27
fish_ I don't really get this submodule stuff.. how do I update to which commit a submodule refers?11:27
drake01 joined11:27
Juo joined11:28
fish_ a submodule is a reference to a specific commit/revision in another repository, right? so if I do changes to that repository, how do I update the repository which points to it?11:28
nenjordi auto-reply: two steps :)11:29
avinashhm left11:29
gavin_huang joined11:29
Error404NotFound left11:29
jceb left11:29
xjonc joined11:30
jceb joined11:30
xjonc left11:30
tanoku joined11:30
saschagehlich left11:30
fish_ nenjordi: ? comit the changes in the refered repository, push them. and what do I do in the refering repos?11:31
nenjordi fish_: I was replying to my own question, sorry I didn't answer to you, have no idea :(11:32
fish_ damn ;)11:32
OOPMan joined11:35
dc5ala left11:35
pngl left11:36
himsin left11:38
cesario joined11:38
avinashhm joined11:39
johnw joined11:39
GeertB left11:41
pngl joined11:41
Drakevr joined11:42
avinashhm left11:43
tiago joined11:44
bonhoffer left11:46
belkiss_ left11:50
Error404NotFound joined11:51
Error404NotFound left11:51
Error404NotFound joined11:51
Fudge left11:51
Fudge joined11:53
vmil86 left11:53
shiba_yu36 left11:54
himsin joined11:55
cannonball joined11:56
cooloney left11:56
thehodge joined11:57
jbrokc left11:57
Drakevr left11:58
Drakevr joined11:58
marekw2143 left11:58
quadz joined12:00
s0undt3ch left12:02
Pieter alextheger: nope, but may be possible to create one, I think there should be a system service12:02
spatulasnout left12:03
normanrichards left12:04
dwmw2_gone__dwmw212:06
cyberswat joined12:07
vmil86 joined12:07
ccushing joined12:07
Martin_ joined12:11
cyberswat left12:11
Jon47 joined12:12
RaceCondition left12:13
kvanderw joined12:15
Vortex35 joined12:16
Chris|2 left12:17
svend joined12:19
Vortex34 left12:19
tansell-laptop left12:22
[intra]lanman joined12:24
workmad3 left12:25
pandeiro joined12:25
cccaldas joined12:28
jonatasnona joined12:29
prasadkr left12:30
beakerman joined12:30
lunks joined12:32
fisted left12:32
joel_falcou joined12:32
fisted joined12:32
zzing left12:35
project2501a left12:36
abhishekb left12:37
normanrichards joined12:38
project2501a joined12:41
kelsin fish_: you go into your subdirectory that contains the module, move it to the commit you want (probably a pull or something) and then go back to your parent repo's directory and do a git status. You should see that you can now "commit" this change to the submodule12:41
xiangfu joined12:43
fish_ kelsin: thanks! but i already found that out. acctually it was exactly like i tried before, but i fucked something up because i lost a not pushed commit somewhere 'on the way'12:43
jsick3 joined12:43
bartek joined12:45
cesario left12:45
jwineinger joined12:45
jfkw joined12:46
RaceCondition joined12:46
thehodge left12:47
jwineinger hey guys, i've got a custom pretty-format for log in my .gitconfig. It uses various color codes in it. On some of my systems, the colors all work, on others only a couple work and the rest are spit out as text like "%C(yellow)%d". Any idea what to check for?12:47
AaronMT joined12:47
SethRobertson fish_: Depending on what you are trying to do, you might find gitslave easier to use and think about than git submodules. It is better for some workflows, but worse for others12:50
mlncn left12:53
drake01 left12:55
leonaves joined12:55
project2501a left12:56
GeorgeJ Should I commit .gitignore to the repository?12:56
rendar joined12:56
ChanServ set mode: +v12:57
leonaves hello12:57
can anyone direct me to a git tutorial for absolute beginners12:57
and i mean i've never touched a command line12:57
GeorgeJ Have you tried google?12:58
leonaves yes12:58
dfamorato left12:58
leonaves all i can find is tutorials that expect me to know how to use the command line12:58
what bout command line tutorials?12:58
im on unix12:58
GeorgeJ leonaves: Have you tried searching for command line tutorials?12:58
leonaves no :(12:58
beautifulmind1 left12:59
leonaves left12:59
SethRobertson leonaves: See !book12:59
jast leonaves: *automatic message* 'Pro Git' is a complete book about git that is available online for free: http://progit.org/book/12:59
SethRobertson But that probably will involve command lines. I will note that using the command line rarely causes wounds13:00
kvanderw left13:00
juangiordana joined13:01
SethRobertson What you really need to do is see if your IDE supports git. If you are not using the command line you must be creating your content using some kind of GUI, and that GUI might well support git.13:01
SirFunk joined13:01
cbreak_work if you want to use git, nothing beats the command line13:02
SethRobertson https://git.wiki.kernel.org/index.php/Interfaces,_frontends,_and_tools has a list of GUIs for git13:02
Look for the chart13:02
Wow, he left. Lots of patience that one.13:02
drake01 joined13:03
IcePic Fall to the dark side, he will.. mmm?13:03
murr4y ...why did he have +v?13:03
shiba_yu36 joined13:04
drake01 left13:04
ChanServ set mode: +v13:05
project2501a joined13:05
ndim GeorgeJ: If you want the rules for everyone using the repo, put them into .gitignore. If you just want them locally, put them into .git/info/excludes13:05
drake01 joined13:06
GeorgeJ ndim: I'm using jgit with eclipse, adding a file to ignore(trough the menu) gets added to .gitignore sadly13:06
starlays left13:06
jspiros left13:06
mpenzi left13:07
mpenz joined13:07
ndim GeorgeJ: You can still move those rules from .gitignore to .git/info/excludes manually, I guess.13:08
Depending on the importance and scope of the rules, I would consider doing that in your place.13:09
GeorgeJ I see, thanks13:09
s0undt3ch joined13:10
s0undt3ch left13:10
boaz left13:10
boaz joined13:10
boaz left13:10
s0undt3ch joined13:10
NaNoNickV joined13:11
NaNoNickV left13:11
bitkiller joined13:11
boaz joined13:12
Bass10 joined13:13
jalama joined13:15
curtana whoa, when did google code start supporting git13:15
SethRobertson a few weeks ago13:15
FauxFaux When github attained dominance.13:15
lolfrenz joined13:15
curtana ahf, it's a recent thing13:16
i just saw a git link on a project hosted there and blinked :)13:16
FauxFaux Probably two years after they gave a presentation on how hg was better than git in every way. ¬_¬13:17
curtana they did?13:17
how could anyone think such a thing!13:17
protozog left13:18
dr0idscal313:19
fairuz_ FauxFaux: What's "hg" ?13:20
tango_ mercurial13:20
emptyflask joined13:21
fairuz_ ah, ok13:21
scal3w3bscal313:21
akosikeno joined13:22
drake01 left13:22
kermit left13:23
_psychic_ joined13:23
itrebal joined13:23
kermit joined13:23
akosikeno left13:23
hemanth left13:24
akosikeno joined13:24
aminpy left13:24
jpmelos joined13:25
akosikeno left13:25
dcarper joined13:26
jspiros joined13:26
is_null left13:26
akosikeno joined13:26
kvanderw joined13:27
wereHamster FauxFaux: googlecode's web interface is horrible if you compare it to github. I have no idea why anyone is still using it13:28
PerlJam wereHamster: because they're still using subversion ;)13:30
_psychic_ left13:30
spearce joined13:30
himsin left13:31
teknoid joined13:31
Swimming_bird left13:32
TeckniX joined13:33
itrebal left13:33
Nuck left13:33
MrMaksimize joined13:33
Prime326 joined13:35
nwp_ joined13:35
ceej joined13:35
v0n joined13:36
cyberswat joined13:38
workmad3 joined13:38
rmsc joined13:38
wereHamster they = google?13:39
internally they are using perforce..13:39
GeertB joined13:40
SirFunk left13:42
rvsjoen joined13:43
mlncn joined13:44
roop left13:44
rvsjoen_ left13:45
dfamorato joined13:45
jwineinger left13:45
beatak joined13:46
OOPMan left13:47
ccushing_ joined13:48
ymasory joined13:49
ccushing left13:50
cmyk_ joined13:50
project2501a left13:50
IcePic wereHamster: isnt those kinds of statements like "nasa" or "MIT" or whatever sufficiently large institution where ANY claim will be true like "they run BeOS" or "They use FAT12" or whatever odd thing you can imagine?13:51
zivester left13:52
f0i left13:54
cherro joined13:55
ptr_uzl left13:55
stliu joined13:56
gavin_huang left13:57
selckin but they have perforce boxes with over 100gb of memory13:58
FauxFaux And teams of goblins to maintain them.13:58
ptr_uzl joined13:58
FauxFaux (And still everyone uses git-p4.)13:58
Dave^| joined13:58
selckin and i couldn't care less :/13:58
jfkw left14:00
project2501a joined14:00
Yuuhi joined14:01
haseeb joined14:01
nibblebot joined14:01
dajhorn joined14:02
rvsjoen_ joined14:03
workmad3 left14:03
alberto56 joined14:04
rvsjoen left14:05
w0bni joined14:06
Martin_ left14:06
berkes joined14:06
Swimming_bird joined14:08
axl_ joined14:09
fiyarburst joined14:09
project2501a left14:09
ShooterMG left14:10
g0bl1n joined14:10
jimmy1980 joined14:10
asteve joined14:10
asteve left14:10
asteve joined14:10
berkes I have added a remote (some upstream resource) and would like my collegues to have that same remote set. Is there a way to commit the "list of remotes" to the git repo?14:11
Behi joined14:11
brodo left14:11
awallin_ left14:12
_pr0t0type_ joined14:12
mart joined14:12
brodo joined14:13
mart Hi, can anyone explain the difference between refs/tags/foo and refs/tags/foo^{} in the output of ls-remote?14:13
It's a tricky thing to google for. :/14:13
FauxFaux mart: man git rev-parse14:14
jast mart: *automatic message* the 'git-rev-parse' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-rev-parse.html14:14
ccushing_ left14:15
mlncn left14:15
simenbrekken I went ahead and deleted my submodule directories and now git submodule update/sync14:16
mart FauxFaux: I don't understand why I only see the extra object *sometimes*. I don't seem to see them with tags I create myself.14:16
simenbrekken doesn't do anything, is there any way to force git to refetch submodules14:16
remyo joined14:18
Martin_ joined14:19
max8613 left14:19
remyo So I've got two branches, one with one new commit that the original doesn't have. When I try to merge them I just get the message "Already up-to-date.", what am I doing wrong?14:19
noisebleed_ left14:19
cbreak_work remyo: how?14:20
sonnym left14:20
project2501a joined14:20
remyo cbreak_work: I've tried git merge experimental and git merge master. I'm currently on experimental14:20
cmn mart: when that documentatio speaks of tags, it means real i.e. annotated tags14:21
remyo (experimental being the one with the newest commit)14:21
cmn mart: if you just do git tag something, that's a lightweight tag14:21
noisebleed joined14:21
noisebleed left14:21
noisebleed joined14:21
gastaldi joined14:21
gastaldi hey all !14:22
I am using Git on Github and find it awesome14:22
I wanted to have a similiar (free) environment in my company14:22
any recommendations ?14:22
simenbrekken left14:23
mart cmn: OK. When I create a tag and push it, then I don't see the ^{} labels. When I use maven-release-plugin to tag, I do. But looking at it's logging, I can't see what I'm doing differently. How would I create a non-lightweight tag from the command line?14:23
SirFunk joined14:23
cmn mart: you give it a message14:25
you should see a difference if you use git show14:25
rlmumford joined14:25
mart cmn: Aha! Thanks :)14:26
MrMaksimize left14:26
project2501a left14:26
jfkw joined14:26
jpjacobs remyo: if you want to merge experimental with master then you should checkout master and merge experimental14:26
cbreak_work remyo: if you're on experimental, git merge master will merge the new commit from master14:26
RaceCondition left14:27
rmsc left14:27
airborn joined14:27
remyo Ugggh. Of course. I feel like such a noob. Thanks jpjacobs + cbreak_work14:27
kevwil joined14:28
jpjacobs gastaldi: you might be interested in this pqge then: https://git.wiki.kernel.org/index.php/InterfacesFrontendsAndTools#Web_Interfaces14:28
buckiller_ left14:28
gastaldi jpjacobs: Thanks, I´ll dig into it14:28
mbtez joined14:28
buckiller joined14:29
MUILTFN left14:29
helgikrs joined14:29
mbtez if i do git push ___ master14:29
what is ___14:29
?14:29
and where is the information about it stored14:30
project2501a joined14:30
gastaldi jpjacobs: Do you have any favorite ?14:30
jpjacobs never tried one.14:30
FauxFaux mbtez: "git remote"14:30
project2501a left14:31
jatt joined14:31
mbtez mmn i c thanks14:31
project2501a joined14:31
mbtez question #2...if i have a bunch of changes to my application and do git commit -a, i get an error message, after doing :wq in vim - "Aborting commit due to empty commit message." why?14:31
peterwald joined14:31
tystr joined14:32
ramusara joined14:32
rlmumford left14:32
jpjacobs mbtez: you should actually specify a message. lines starting with # are comments and won't be comitted14:33
o] left14:33
mbtez i'm confused...why isn't it automatically detecting what changed?14:33
or am i supposed to uncomment those lines?14:34
remyo left14:34
nwp_ window goto 214:34
jpjacobs mbtez: no you should type in a message that does not start with #14:34
MrMaksimize joined14:34
mbtez what is that message supposed to be exactly?14:35
just words?14:35
jpjacobs mbtez: the message has for purpose to have a description of what changed and why, in human language, because it's easier to read than raw difs14:35
mbtez OH14:35
frogonwheels left14:35
jpjacobs or whatever you fancy14:35
but your co-devels will be annoyed if you don't properly describe what you did14:36
mbtez my co-devel is stoned14:36
out of his gourd14:36
lol14:37
fiyarburst left14:39
novettam joined14:40
anubhaw left14:40
seivan joined14:40
MUILTFN joined14:42
dfas left14:42
lut4rp_ joined14:42
lut4rp left14:43
gastaldi left14:43
lut4rp_ left14:45
johnw left14:46
fedesilva joined14:47
dfr|mac joined14:48
n8o-mba joined14:49
lut4rp joined14:50
lut4rp left14:50
lut4rp joined14:50
seivan_ joined14:52
abhatnag joined14:52
freimatz2 joined14:53
n8o-mba left14:55
seivan left14:55
tech13 joined14:55
tatsuya left14:56
bjoernh left14:57
tech13 we have a collection of developers on a lan, and origin on github. is there a suggested way of setting up a local caching mirror on the lan of the origin?14:58
FauxFaux There's loads of examples of creative ways to use hooks for mirroring.14:59
tatsuya joined15:00
dfamorato_ joined15:00
mlncn joined15:00
replore_ joined15:01
codebeaker joined15:02
sitaram tech13: it all depends on where you want pushes to go. If you don't mind *everything* being a local server, just do that and add a hook to that server to push to github on each push it receives. Done15:02
dr_win left15:03
codebeaker when I have been incrementing tags such as `v1.0.1`, through v1.0.4 (across ~10 master branch commits) - why would `git describe` only show the first one, from the documentation it should find the most recent reachable tag ?15:03
w3bscal3 left15:03
codebeaker (the tags are pushed, and etc)15:03
dfamorato left15:04
dr_win joined15:04
flijten left15:05
Blekel left15:05
o] joined15:05
seivan_ left15:05
workmad3 joined15:06
sonnym joined15:06
Dreamer3 left15:06
boaz left15:06
dfas joined15:07
stliu left15:07
rlmumford joined15:07
rlmumford hey, what command would I run to find out the last commit in a remote?15:08
wereHamster codebeaker: only the first tag was annotated15:08
codebeaker: describe by default only considers signed/annotated tags15:08
codebeaker ahhh, damn - right15:09
shruggar joined15:09
brodo left15:09
codebeaker thanks for the tip, I completely didn't see that in the documentation, I need to figure a way around that15:09
boaz joined15:09
xiangfu left15:09
codebeaker we won't annotate "bug" versions, but feature versions, we'll put release notes in there15:10
thanks wereHamster - I'll hit the docs again15:10
brodo joined15:10
wereHamster make the tags signed15:10
cmyk_ left15:11
jceb left15:11
alfplayer left15:12
johnw joined15:12
edbian joined15:14
EricInBNE left15:14
edbian Is there a way to see if my local repo is behind the bare mirror without doing a pull? When I'm ahead status tells me but there is now way to see when I'm behind.15:14
FauxFaux git fetch15:14
ph^ left15:15
edbian FauxFaux: What does git fetch show me if I am behind? (I'm not at this particular moment)15:16
FauxFaux git fetch makes git status tell you you're behind, like it tells you you're ahead.15:16
HG` joined15:16
rchavik left15:16
sontek left15:16
sontek joined15:16
mhauri left15:17
gebi joined15:17
Xanax joined15:17
Determinist joined15:17
ph^ joined15:17
pizza__ left15:17
pizza_ joined15:18
edbian thanks15:18
cbreak_work left15:18
ph^ left15:18
cronin joined15:19
ph^ joined15:20
ph^ left15:20
kpreid left15:20
ph^ joined15:20
peterwald left15:20
aleiphoenix joined15:20
Xanax left15:21
tjholowaychuk joined15:21
stodan left15:21
cats4gold_ joined15:22
cats4gold_ left15:22
cats4gold left15:22
cats4gold_ joined15:22
ph^ left15:25
giallu left15:25
edbian left15:27
MUILTFN left15:27
berserkr joined15:27
ShooterMG joined15:28
kenichi joined15:28
macUzer joined15:29
Xanax joined15:29
airborn left15:30
nadirvardar joined15:31
ddkilzer joined15:32
alvaro_o joined15:32
mpenz hi sitaram. I was wondering, are the latest commits going to the pu branch or the master?15:33
alvaro_o left15:33
ph^_ joined15:33
saschpe left15:34
mart left15:34
roop joined15:35
cccaldas left15:36
jlk left15:36
nadavoid joined15:38
Corren joined15:39
radarek left15:39
dfas` joined15:41
threecreepio joined15:41
cakehero joined15:42
rickharrison joined15:42
novettam left15:42
richardkchapman joined15:43
freimatz2 left15:43
dfas left15:43
JimHank left15:45
haseeb left15:45
mbtez left15:45
macabre i just got the dreaded push rejected, non-fast forward error while trying to push my commits to my branch, all this means is i have to issue a pull from my branch and then push?15:45
devth joined15:46
Dave^| left15:46
buckiller left15:46
alextheger left15:47
Cromulent joined15:47
sinojelly joined15:47
ChanServ set mode: +v15:47
mike_perdide macabre: pull rebase or pull merge and then repush15:47
macabre: are other developpers pushing on that remote ?15:48
macabre no15:48
its just my branch15:48
but yes in the master, other devs are working15:48
buckiller joined15:48
mike_perdide macabre: did you push from another location than your local repo ?15:48
macabre we all have seperate branches, im afraid one dev stepped too far ahead15:48
Prasad joined15:49
FauxFaux "dreaded" <315:49
macabre: git fetch; gitk HEAD master origin/master15:49
macabre mike_perdide: no, i just stay in my branch15:49
i don't touch the master :P15:49
sitaram mpenz: pu15:49
macabre our lead dev does all the branch merging to keep sync15:49
hyperair left15:50
angelsl left15:50
FauxFaux "git fetch; gitk HEAD @{u}" probably works, too.15:50
novettam joined15:51
hyperair joined15:52
nicoulaj_ left15:55
s0undt3ch left15:55
sudojelly joined15:55
fir31ight left15:56
drev1 joined15:56
fir31ight joined15:56
boutcher joined15:56
Rubin joined15:58
Rubin i have made (and committed) some local changes, but not pushed. I wish to push that stuff into a branch and get them out of master, but i'm a bit lost15:58
kylehayes Some large binaries (specifically wars) were accidentally checked into one of our repos and then removed. What's the best way to remove these permanently from the index15:59
codebeaker kylehayes: there's no good answer for that15:59
kylehayes codebeaker: heh, I know it's not a desired thing15:59
bauruine joined15:59
dfr|mac left16:00
patrikf permanently: rm and ignore. permanently and retroactively: filter-branch and ignore16:00
brodo left16:01
kylehayes patrikf: ah...ok, I will look into that16:01
Thank you16:01
kpreid joined16:01
RaceCondition joined16:02
Tac left16:02
jatt left16:02
brodo joined16:02
sebbi left16:02
soahcccsoahccc`16:03
Tac joined16:03
cyberswat left16:04
codebeaker left16:05
cyberswat joined16:06
goshakkk joined16:06
nullvariable left16:06
edoceo left16:07
nullvariable joined16:08
ChanServ set mode: +v16:08
s0undt3ch joined16:08
sinojelly how to config http.proxy?16:09
sterlo joined16:09
wereHamster sinojelly: man gitconfig16:09
sc left16:09
sinojelly i have tested two ways16:09
git config --global http.proxy "localhost:9050"16:10
tyteen4a03 joined16:10
sinojelly the other way is: git config --global http.proxy /home/jelly/bin/proxy16:10
jungejason joined16:10
Xanax left16:10
sinojelly the content of bin/proxy is: exec corkscrew localhost 9050 $*16:11
what's the difference of these two ways?16:11
tyteen4a03 left16:11
whitman left16:12
tyteen4a03 joined16:12
tyteen4a03 left16:13
tyteen4a03 joined16:13
tMobile4a03 joined16:14
tyteen4a03 left16:14
tMobile4a03 left16:14
wereHamster the first one is correct, the second one is wrong (according to the man page)16:14
nDuff sinojelly, FYI -- from a shell programming perspective, $* is wrong -- it word-splits things, so if $1="foo bar" and $2="baz", it becomes three items, "foo", "bar", and "baz"16:14
tyteen4a03 joined16:14
nDuff sinojelly, "$@" (with the double quotes) is the proper replacement16:15
SRabbelier|Lappy left16:15
wereHamster nDuff: doesn't it split on IFS?16:15
Cromulent left16:15
nDuff wereHamster, yes, it does -- but "$@" avoids splitting at all, actually preserving the original argument list.16:15
kukks joined16:15
sinojelly thanks, when to use localhost:9050? and when to use corkscrew?16:16
wereHamster ah, Note that $* uses the first character held in $IFS.16:16
ericmuyser left16:17
macUzer left16:17
tMobile4a03 joined16:18
tyteen4a03 left16:18
s0undt3ch left16:19
teweWork left16:19
tMobile4a03 left16:19
liquid-silence left16:19
Tac left16:20
s0undt3ch joined16:20
sako joined16:21
sako left16:21
sako joined16:21
Tac joined16:21
sinojelly msg nDuff why git some thimes use port fowarding tools, such as corkscrew, thanks.16:22
_psychic_ joined16:22
goshakkk left16:23
aleiphoenix left16:24
aleiphoenix joined16:24
aleiphoenix left16:25
aleiphoenix joined16:25
aleiphoenix left16:25
Araxia joined16:26
RaceCondition_ joined16:26
robertfw joined16:27
s0undt3ch left16:29
RaceCondition left16:29
RaceCondition_RaceCondition16:29
cccaldas joined16:29
effnj0X joined16:30
thehodge joined16:30
Determinist left16:30
liquidproof joined16:30
protozog joined16:32
Determinist joined16:33
cirwin joined16:34
protozog left16:34
dr_lepper left16:34
protozog joined16:34
ericmuyser joined16:34
curtana left16:34
glimpsenirvana joined16:34
kR15t0 left16:35
ericmuyser left16:36
elliottcablesad_elliottcable16:36
sinojelly left16:37
curtana joined16:38
TomyLobo joined16:38
curtana left16:38
sad_elliottcableelliottcable16:38
sudojelly left16:38
svend left16:41
glimpsenirvana left16:43
drudge01 joined16:43
cccaldas left16:43
cccaldas joined16:44
buckiller_ joined16:45
roop left16:45
dl9pf_ left16:46
msponge joined16:47
mcc joined16:47
project2501a left16:47
plashchynski left16:47
buckiller left16:48
mjessome left16:48
icwiener joined16:49
Vampire0_Vampire016:49
FylGood joined16:49
GeertB left16:50
liquid-silence joined16:50
liquid-silence left16:50
liquid-silence joined16:50
ObjMind joined16:51
ObjMind left16:51
o] left16:52
alcy left16:52
Vampire0 left16:52
adnasa joined16:53
Vampire0 joined16:53
svend joined16:53
liquidproof left16:54
liquidproof joined16:55
jargon- left16:55
mando joined16:56
nenjordi left16:56
belkiss joined16:57
rlmumford left16:59
shiba_yu36 left17:01
Correnkenperkins17:01
shruggar left17:02
mkramer joined17:03
SimonNa left17:05
davzie left17:06
cccaldas left17:07
NaNoNickV joined17:08
NaNoNickV left17:08
ymasory left17:08
ymasory joined17:08
drudge01 left17:09
liquid-silence left17:09
liquidproof left17:09
mjessome joined17:10
thehodge left17:10
ksawicki joined17:10
workmad3 left17:10
juli0w left17:11
Ryback_ joined17:12
Ryback_ left17:12
Ryback_ joined17:12
cbx333 joined17:12
cbx333 left17:12
joe-mac joined17:13
FylGood left17:13
g0bl1n left17:13
ramusara left17:13
joe-mac I've created a branch from my git stash, there are variables not auto configured like remote.<nickname>.url = <url>, is that typical? If I make a branch off of master and not off my stash, this stuff gets filled in right?17:14
achadwick left17:14
liquid-silence joined17:14
liquid-silence left17:14
liquid-silence joined17:14
alfplayer_ joined17:15
cirwin left17:16
tas_devil joined17:16
Dave^| joined17:16
alfplayer_ left17:17
jfelchner left17:17
alfplayer joined17:17
babonk joined17:17
thehodge joined17:18
ttelford joined17:19
juli0w joined17:19
Juo left17:20
cmyk_ joined17:21
binnson joined17:22
kenperkinsCorren17:23
mastro left17:23
akosikeno left17:24
troyt For purposes of a post-receive hook script, is there a way to determine which subdir(s) had changes in a given commit?17:25
kriegerod left17:26
babonk left17:26
SethRobertson Yes17:26
sustainableweb joined17:27
troyt OK, next question: Is it painful?17:27
ttelford left17:27
SethRobertson post-receive hook gets "oldrev newrev refname" as arguments. You can use the output of `git log` or `git show` or whatever to get the filenames and then post-process the output the find the directory names17:28
troyt OK; and from there just parse it & chug along.17:28
kriegerod joined17:28
troyt OK, thanks.17:28
SethRobertson Well, it actually gets one or more lines of that data on stdin, but whatever17:28
Fitzsimmons joined17:29
shruggar joined17:29
jas4711 joined17:30
plashchynski joined17:30
macUzer joined17:30
steveoliver joined17:31
Fitzsimmons so I've imported my git repo from a mercurial repo, and it looks like a few .git directories were checked in that git now does not like. I'm getting errors like Invalid path 'vendor/plugins/prawnto/.git/foobar' - I should be able to run a git filter-branch to remove .git directories from my history, right?17:31
mkramer left17:32
j416 hm, if i have merged upstream into my topic branch at least once, I can no longer successfully rebase topic on top of upstream without trouble right17:33
I would have to continue merging instead if rebasing17:33
s/if/of/17:33
german joined17:33
german left17:33
dfas` left17:36
soahccc`soahccc17:37
mastro joined17:38
mcc left17:39
effnj0X left17:40
macUzer left17:40
Error404NotFound left17:40
binnson left17:41
cbreak j416: you can always rebase17:41
Chib left17:42
cbreak but depending on what, you have to specify the merge base17:42
helgikrs left17:43
j416 cbreak: I tried to rebase, and it gave me the same conflicts as I got when I merged upstream (master in this case) into topic17:44
I thought maybe rerere is what I want, but then I thought, perhaps rebase isn't the thing17:44
PabloM joined17:44
cbreak j416: conflicts are normal17:44
shruggar left17:44
j416 if I merge upstream into topic again, it's clean17:44
cbreak just resolve them and --continue17:44
j416 cbreak: it's the _same_ conflicts as when I merged.17:44
metcalfc joined17:44
j416 exact same.17:44
joe-mac left17:45
adnasa left17:45
fission6 joined17:45
ObjectMind joined17:45
fission6 i have a code repo on my local machine, i just got a web instance, i want to push all my code and create an upstream repo on it, whats the best way to do this?17:45
cbreak ssh server?17:46
samrose joined17:46
kmc joined17:47
ObjectMind left17:48
Prasad left17:48
juli0w left17:51
bittin` left17:51
tatsuya left17:52
fission6 yes cbreak i just followed these instructions which seemed to work great17:52
http://qugstart.com/blog/ruby-and-rails/create-a-new-git-remote-repository-from-some-local-files-or-local-git-repository/17:52
tatsuya joined17:52
MrPunkin joined17:54
Tac left17:54
MrPunkin After a merge how do I clean up all the .BACKUP and .REMOTE and .BASE files? Just delete them?17:54
cbreak fission6: there's not much to do, just install git, git init --bare a repo, and you're done17:55
fission6 well i need to set up the remote and track it locally17:55
cbreak MrPunkin: what?17:55
doesn't sound like git17:55
MrPunkin hmmm. I think I know what it may be actually.17:56
fission6 cbreak, how would i approach the following, now that i have my upstream repo created, i want to be able to pull the code into a folder where the applicaiton is going to be deployed, how would i want to set up pulling code from a bare repo on the same box?17:56
cbreak just git pull17:56
derek_ joined17:56
Tac joined17:56
cbreak or if you want to do it more secure, use git archive with a tar piped in17:56
GeertB joined17:57
kerrick joined17:57
mkramer joined17:57
fission6 cbreak, well there is no repo estbalished where the code is to be deploued17:58
so do i do git clone /to/local/path/17:58
cyberswa_ joined17:58
cbreak yeah. or use git archive17:59
xris joined17:59
cirwin joined17:59
fission6 yea that worked nicely!17:59
thanks17:59
juli0w joined17:59
cbreak what I would do:18:00
ph^_ left18:00
derek_ left18:00
cbreak git archive | tar x blahblah intonewfolder18:00
vanmik joined18:00
cbreak then mv oldfolder away, and newfolder in place18:00
jlilly left18:00
cyberswat left18:01
MrPunkin left18:01
xris I'm required to use a corporate svn account at work. git-svn works fine as a client but would like to spin off a bare git repository to make it easier for devs to share and push to git branches. anyone have any helpful recommendations/links/tutorials?18:01
cccaldas joined18:01
jlilly joined18:01
cbreak xris: remember to only use one single git repo to talk with svn18:02
dreiss joined18:02
xris yeah, that's the plan18:02
just wasn't sure if there was any trick to using git-svn from a bare repo18:02
cbreak not sure if that works18:03
considering that dcommit might need conflict resolution18:03
which requires a working dir18:03
robertfw left18:04
xris ok, so that would mean creating a separate bare repo for git, and then having one "user repo" defined as the one to move stuff from there to svn?18:05
Mkaysi left18:05
cbreak I think so18:05
xris that makes sense18:05
cbreak not that I've used more than a single git-svn repo18:05
cronin left18:05
xris well, would only need one git-svn repo, then18:05
I guess you could call it a proxy repo. that sort of makes sense18:06
just wish I could skip the whole mess and just use git, but corporate policy says everything has to get pushed into svn18:06
plashchynski left18:07
cbreak you are aware that all the commits in svn will be from the same user?18:07
eletuchy joined18:07
plashchynski joined18:07
xris there is that. hmm..18:07
maybe it doesn't matter.18:07
having each user use git-svn wouldn't be much better.. anything they push would become owned by them in svn.. might make it more confusing.18:08
dunno, maybe I just need to push harder for a corporate git repo. :)18:08
hobodave joined18:09
cbreak I just asked and got a VM to set one up :)18:09
it's nice to be in research18:09
jxpx777 joined18:09
necromancer ughhhhhhhhhh we actually had to have a meeting this morning discussing the process for merging 2 dirs on svn18:09
xris my company isn't so flexible...18:09
heck, we have devs who are scared to leave CVS for svn18:09
I admit that git is scary for some, but svn was such a tiny shift from cvs...18:10
gnufied left18:10
necromancer xris: that i can't imagine18:10
sticking with CVS18:10
xris some people love it. or rather.. don't know anything else.18:11
necromancer isn't CVS broken?18:11
xris only when compared to better stuff. :)18:11
necromancer like isn't it not maintained anymore, and doesn't quite work the way it was intended?18:11
xris no clue18:11
robertfw joined18:12
ew0 left18:12
The_Ball left18:12
himsin joined18:14
lolfrenz left18:15
curtana joined18:15
yrlnry I used CVS quite successfully for a long time to track my blog articles.18:15
johnw left18:15
ericmuyser joined18:16
yrlnry It worked fine because I never need to commit changes to two articles at the same time.18:16
himsin left18:16
SethRobertson If you are going to try to get people to move, you might as well get them to move to git. I did it with my company. There is a list of equivalent commands, really only one new one (git push)18:16
ericmuyser left18:16
BlindOracle left18:16
kmc no, you really cannot learn git as a cookbook18:16
you have to learn the data model18:16
SethRobertson It worked fine because you didn't need to branch or move things into the attic and out of the attic18:16
xris SethRobertson: not going to happen here. I'm one dev in a company of hundreds.. and I'm the new guy.18:16
SethRobertson Untrue. Several people used it as a cookbook18:17
himsin joined18:17
kmc oh, i guess if you're sticking to a restricted CVS-like workflow18:17
then it might work18:17
ew0 joined18:17
SethRobertson Of course, they cried for help when something weird happened, but that was only once a month or two.18:17
kmc if you have branching and merging and rebasing then someone will screw one up18:17
and then they have to understand what's actually going on18:17
xris kmc: we did that at my last company… and it's worked with only a few large bumps when converting mythtv over to git18:17
SethRobertson The cookbookers never did (non-pull) merging or rebasing.18:18
xris SethRobertson: yeah, when I switched to git at my last company, we had a couple of very savvy git users to help all of us out.18:18
SethRobertson Well, actually that isn't true. We actually created a shell script to assist in the merging when they started to need to do it.18:18
kennethreitz joined18:18
zwick joined18:18
BlindOracle joined18:19
brodo left18:19
plashchynski left18:19
xris SethRobertson: we had two-way cvs integration when we started18:20
xris blames cxreg for that bit of brilliance :)\18:20
BlindOracle left18:20
SethRobertson Ugh. That sounds awful18:20
xris sounds worse than it was. it actually worked quite well until we managed to get some stubborn remote devs off of CVS (which was required for some reasons out of our control)18:21
cirwin I can empathise with the CVS enthusiasts — if someone told me I had to use "X" instead of git, I'd also tell them to get lost in no uncertain terms.18:21
vanmik left18:21
kmc does the git → cvs direction work?18:21
xris cirwin: I'm just glad git-svn works as well as it does. git makes an awesome svn client18:22
kmc worked somewhere with cvs → git imports18:22
xris kmc: through a massive custom perl script, I believe18:22
and hand-poking when there were conflicts.18:22
cmyk_ left18:22
kmc in the finance world, if your code successfully makes money, nobody can tell you to do anything18:22
SethRobertson Are there any CVS *enthusiasts*? I know of people who refuse to change because it works "well enough" but they don't think it is better, just not worth the effort to change.18:23
BlindOracle joined18:23
kmc we were lucky they used CVS at all, instead of the good old directory system18:23
project/backups/backup2/backup_4/code_7.cpp18:23
kriegerod left18:23
xris I've met some who like CVS because it was better than whatever they used before. and don't see any added value in svn/git/hg/whatever18:23
odie5533 joined18:24
kmc it's the same as the "Blub Paradox" in programming languages18:24
if you're used to svn then you don't see the ways git could make your life easier18:24
because you're not thinking in those terms18:25
curtana left18:25
gnufied joined18:25
workmad3 joined18:25
kmc if you never think "maybe i should use a branch" then there is no reason to wish for cheap branching18:25
Prime326 left18:31
tas_devil left18:31
envi left18:31
Pupeno joined18:31
ew0 blub paradox?18:32
I never heard that18:32
odie5533 left18:32
kmc it's from one of paul grahams "why you must do a software startup before the age of 12 or you are a failure in life" essays18:33
kennethreitz left18:34
kmc guy's a supreme blowhard, but says some perceptive things18:34
icwiener left18:35
cccaldas left18:35
cccaldas joined18:35
tystr left18:36
ASIRINeiluj left18:36
Behi left18:36
kerrick left18:37
soahcccsoahccc`18:37
fiyarburst joined18:38
tristanseifert left18:39
kelsin kmc: agreed, his essays are worth reading18:40
w0bni left18:40
tristanseifert joined18:41
ew0 ahua18:42
seems interesting18:42
tvw left18:42
thews joined18:42
giallu joined18:43
berkes left18:43
ryansch left18:43
cbreak being perceptive is not a big deal18:44
if you want something that's just perceptive, buy a camera.18:44
Juo joined18:44
cbx33 joined18:44
juli0w left18:45
cbx33 why do I get this after a pre-commit script ran18:45
error: cannot run .git/hooks/pre-commit: No such file or directory18:45
it already ran and exited non-zero18:45
ew0 I just read python paradox18:45
quite a nice piece of text18:45
(btw, is it bad to chat here?18:45
)18:45
cbx33 ew0: link?18:46
kerrick joined18:46
johnw joined18:46
ew0 )http://www.paulgraham.com/pypar.html18:47
masando joined18:47
Myth17 joined18:48
pantsman joined18:48
rzec joined18:49
jdav_gone left18:49
rzec is there a way to force git to display the full path of the files when doing git diff --stat?18:50
joshsmith joined18:50
mkramer left18:51
cbreak full?18:51
it should display it relative to repo root (or current dir?)18:51
Kedare joined18:51
tobago_ joined18:52
cbx33 cbreak: any clue on my hook issue?18:52
adnasa joined18:52
cbreak hook?18:52
cbx33 i made a pre-commit hook script18:52
kassah left18:52
rzec cbreak: I mean instead of .../path/to/file/from/repo/root.txt I want the/real/full/path/to/file/from/repo/root.txt18:52
cbx33 it's very simple checks for existance of a file18:52
juli0w joined18:53
OOPMan joined18:53
cbx33 if it doesn't exist it exits 12718:53
if it does it exits 018:53
macUzer joined18:53
cbreak rzec: cd into repo root18:53
cbx33 it runs as expect18:53
expected - but when the return is 127, it also says error: cannot run .git/hooks/pre-commit: No such file or directory18:53
but it already ran as the echo output is above it18:53
any ideas?18:53
cbreak have you tried to return something else?18:53
joel_falcou left18:53
cbreak like 2?18:53
shruggar joined18:53
cbx33 no18:54
cbreak try :)18:54
cbx33 :)18:54
hah18:54
worked18:54
see knew i should have asked you18:54
cbreak was just guessing, honestly18:55
jdav_gone joined18:55
cbx33 thanks18:55
cbreak how did you pick 127?18:55
dropdrive joined18:55
cjs226 joined18:56
dfamorato_ left18:56
acl_ left18:57
caseymcg joined18:57
tristanseifert left18:57
ChanServ set mode: +v18:58
cjs226 I'm new to git and am wanting to fetch/pull/? only a portion of a repo to a system (an app's configuration). is this possible?18:59
dfamorato joined18:59
joel_falcou joined18:59
sustainableweb left18:59
tristanseifert joined18:59
SirFunk left19:00
FauxFaux cjs226: Nope.19:00
kumbayo joined19:03
workmad3 left19:04
alester joined19:04
Phrogz joined19:05
Phrogz left19:05
Phrogz joined19:05
Phrogz I have a repo with branches "master" and "planning". How can I rename planning to master and remove master?19:05
Or should I somehow merge planning into master and continue to use master?19:06
cronin joined19:07
macUzer left19:07
SethRobertson The later would be easiest for others to understand.19:08
Replace one branch with another: git checkout $destination; git reset --hard $source; git reset --soft ORIG_HEAD; git add -A .; git commit -m "Rewrite $destination with $source"; git merge -s ours $source19:08
Phrogz SethRobertson: Thanks, both for the advice and code.19:08
SethRobertson Hmm. Actually there should be a `git clean -dfx` as the first step.19:09
eean joined19:10
Mannequin joined19:11
rickharrison left19:12
whitman joined19:12
Mkaysi joined19:13
farktronix left19:13
apexi200sx joined19:14
mjsilva left19:14
Glycan joined19:14
bibinou joined19:16
Textmode joined19:16
juli0w left19:17
Agos joined19:18
mpenz sitaram: thanks got it =)19:18
Glycan Hello19:18
Mkaysi left19:20
Glycan I made a commit via github, now I'm ahead. How do I ignore that old commit and make a this new one the main one?19:20
cbx33 hey sitaram you around?19:20
Glycan: where are you ahead?19:20
locally?19:20
Coriolan left19:21
towski joined19:21
LongBeach joined19:22
plashchynski joined19:23
replore_ left19:23
isarl joined19:24
caseymcg left19:24
markbao joined19:24
juli0w joined19:25
isarl There is a file in my repository which exists as a skeleton for holding developer-specific debug flags. This file almost never changes in the repository, but frequently changes on a developer's machine as they enable/disable different debug flags. What is the best way to get Git to ignore these day-to-day changes?19:25
cirwin isarl: the best way is to remove the file from the repository and provide it as a file.example which developers can copy19:26
cyberswa_ left19:26
cirwin then add the file to .gitignore so it doesn't get re-added accidentally19:26
isarl That sounds like a pretty good solution, but won't it mean that a clean checkout of the repository won't be able to build?19:26
cirwin you could add a step to your build process to copy the .example file if no real file exists19:27
isarl True.19:27
Good point.19:27
Thanks for the suggestion. =)19:27
cirwin np :)19:27
adnasa left19:28
bibinou left19:30
_psychic_ left19:31
_psychic_ joined19:31
jwg2s joined19:32
jwg2s Hi, trying to get a folder added to git in my repo and for the life of me it just will not add to the index. Is there a command to override everything and force a folder to be included?19:33
This is driving me insane19:33
Myth17 left19:33
Glycan cbx33: I am ahead locally, yes19:33
FauxFaux jwg2s: An empty folder? You can't track empty folders. git add -f19:34
jwg2s It's not empty19:34
Glycan Rather, the local repo HEAD and the global (?) repo HEAD are not the same. Thire common ansester is thier parent19:34
nimrod10 joined19:34
cronin i am so confused. i have a master branch and created a "experiment" branch to test things out. there are clearly changes in the experiment branch because, when i switch between the two, my project looks different. also, diff experiment master shows differences. however, when i checkout master and do a merge branch experiment it says "Already-up-to-date"19:35
CannedCorn left19:35
Correnkenperkins19:35
CannedCorn joined19:36
jwg2s FauxFaux: should i just make a file in each subdirectory called "empty" or something?19:36
hodgy joined19:36
hodgy left19:36
Glycan Dummy19:36
FauxFaux jwg2s: Or ".gitignore".19:36
jwg2s I need the folder structure, and some subdirectories have files while others don't19:36
Dave^| left19:36
jwg2s ok19:36
FauxFaux cronin: "gitk master experiment @{u}"19:36
Glycan I made a commit via github, now I'm ahead. How do I ignore that old commit and make a this new one the main one?19:36
the local repo HEAD and the global (?) repo HEAD are not the same. Thire common ansester is thier parent19:37
nimrod10` left19:37
ColKurtz joined19:37
pyrony joined19:37
cronin FauxFaux: oh that's cool. so i just go and resolve everything one by one?19:38
FauxFaux Glycan: You want to lose the commit that's on github?19:38
cronin is there no way to just blanked override master with experiment?19:38
FauxFaux cronin: I don't know what you're seeing, but I suspect it doesn't show what you think it does.19:38
jwg2s FauxFaux: thanks, worked great. that was driving me nuts19:38
cronin it opened up some app called "Wish"19:39
kmc 'wish' is the thing that runs tcl/tk apps19:39
such as gitk19:39
cronin yea so i see all my commits i guess19:39
zamabe joined19:40
ISF joined19:41
ISFGuest7306219:42
tvw joined19:42
frobnitz joined19:42
jfkw left19:43
caseymcg joined19:43
_root_ joined19:43
frobnitz Is there an easy way to make the working tree match the current state of the index?19:43
cirwin git checkout .19:44
(-f)19:44
FauxFaux git clean19:44
Cromulent joined19:44
cronin so what do i do with this think. i see where i may have messed up.. http://i53.tinypic.com/bgy4nl.jpg19:44
(experiments is actually called "images" -- just thought it would be easier to explain)19:44
cbx33 why do you think you messed up?19:45
cronin cbx33: i dunno, because images has changes that i want to include into master but i can't merge them anymore19:45
and master has all my old code now19:45
Glycan FauxFaux: Yes19:45
Sorry I keep disspearing19:46
cirwin left19:46
aLeSD how to force to clone from master ?19:48
our branch and 'origin/master' have diverged,19:48
I want to lose all my changes19:48
ph^ joined19:49
Glycan FauxFaux?19:49
fistedfisted_19:49
towski left19:49
toxico joined19:50
cronin anyone?19:50
kimico left19:50
SethRobertson That picture cannot tell us what is going on19:51
toxico` joined19:51
workmad3 joined19:51
SethRobertson cronin: What didn't get done correctly? The "revert"?19:52
cronin SethRobertson: I'm not exactly sure. All I know is that "master" has my old code and I want it to have the code in "Images"19:52
but I can't seem to merge the two anymore19:52
lolfrenz joined19:52
SethRobertson Do you want to replace master with the contents of images?19:52
cronin that would work as well19:52
i suppose19:52
SethRobertson Blindly without thought or consideration19:52
cronin i'd prefer merging them19:53
Cromulent left19:53
cronin but i haven't made many changes.. i've just been trying to get master to reflect the changes in images19:53
RobertLaptop left19:53
toxico`` joined19:53
OOPMan left19:54
kerrick_ joined19:54
frobnitz left19:54
SethRobertson You would really have to let us see what is going on. I imagine the "resolve conflicts" or "revert" change touched the files which you thought were old19:55
toxico left19:55
j416 left19:55
toxico` left19:55
cronin it's like 6 files, i guess i can just copy and paste them haha19:56
unless it's easy to show you what's going on… i'm not sure how i would do that19:56
rideh joined19:56
SethRobertson You can expose the repo. You could show us the list of files being touched by each commit and the list of files which you think are "old"19:57
systemclient joined19:57
systemclient how can I tell git to use vim and not nano?19:57
cbx33 left19:58
juli0w left19:58
SethRobertson $EDITOR or git-cofnig core.editor19:58
isarl systemclient: I think you can set your EDITOR environment variable... mine does it automatically but I'm not sure how, because it's not in my env OR in my .gitconfig19:58
SethRobertson or $GIT_EDITOR19:58
alester left19:58
SethRobertson or $VISUAL19:59
systemclient $EDITOR is set to /usr/bin/vim19:59
SethRobertson and $VISUAL, $GIT_EDITOR, and `git config core.editor` are set to?20:00
isarl is $GIT_EDITOR set to something else? what about core.editor in your gitconfig?20:00
systemclient I did the config now, it works20:00
liquid-silence left20:01
Vile left20:01
liquid-silence joined20:02
kumbayo left20:02
jwg2s left20:02
tewecske left20:02
SethRobertson Which means that $VISUAL is set to nano20:02
mastro left20:03
systemclient SethRobertson: it is empty20:03
Guest72979 joined20:03
systemclient SethRobertson: so is $GIT_EDITOR20:03
SethRobertson I find that difficult to believe20:03
Unless git-config core.editor was previously set to nano, of course20:04
systemclient nope, that was empty too20:04
kimico joined20:04
Guest72979 left20:04
Glycan How do you remove mearge conflicts?20:04
SethRobertson Including in ~/.gitconfig?20:04
tristanseifert left20:05
SethRobertson Glycan: manually after looking at `git status` or via `git mergetool`20:05
toxico`` left20:05
systemclient SethRobertson: there was nothing in the core section except the excludesfile20:06
cronin well… i guess i fixed it. i did a hard reset on master back to the commit on the "images" branch where i had added all the new code20:06
seems to have worked20:06
juli0w joined20:06
SethRobertson systemclient: In ~/.gitconfig as well as .../.git/config?20:06
cronin: Not exactly recommended since it will require a force push to share upstream, but whatever makes you happy20:07
systemclient SethRobertson: I just created a new repo20:08
OOPMan joined20:08
SethRobertson And?20:08
systemclient SethRobertson: I mean that there should be nothing in the config20:09
Glycan My remote repo is one ahead of me. I have commited changes. It want to override the remote repo.20:09
How?20:09
SethRobertson systemclient: Did you check in ~/.gitconfig, which provides a suppliment to any config in your local repo20:09
lut4rp left20:09
mkramer1 joined20:09
systemclient SethRobertson: yeah, it did not contain an editor before20:09
SethRobertson Glycan: Typically you `git pull --rebase` or `git pull`20:09
lut4rp joined20:10
lut4rp left20:10
lut4rp joined20:10
SethRobertson systemclient: What is "it"?20:10
juangiordana left20:10
s0undt3ch joined20:10
huma joined20:11
systemclient SethRobertson: ~/.gitconfig20:11
Glycan But it conflicts with my own20:11
drake01__ joined20:11
towski joined20:12
tristanseifert joined20:12
SethRobertson Glycan: So resolve the conflict. If your favor if you don't like any of the upstream change.20:12
huma how do i supress the "detached HEAD" note in "git checkout [rev]"?20:12
mhauri joined20:12
r0m4n joined20:13
cbx333 joined20:13
Glycan How do I resolve the conflcit?20:13
SethRobertson huma: Not a good idea. Detached heads are bad (IMHO) , so you need to know that you must hide them as quickly as possible.20:13
Rhonda Glycan: git checkout -b tempbranch [rev]20:13
Glycan What?20:13
SethRobertson Glycan: `git mergetool` or look at `git status` and edit the files it tells you to20:13
danking joined20:13
SethRobertson Rhonda: You were talking to huma20:13
Rhonda Glycan: Create a new branch with the checkout20:13
oh20:13
huma SethRobertson: it's a one time operation to build a package by revision20:13
juangiordana joined20:13
Rhonda huma: See above. Glycan, sorry for confusion. :)20:14
SethRobertson >&/dev/null20:14
Rhonda huma: Then simply ignore the message.20:14
antonkovalyov joined20:14
Glycan I am very confuesd20:14
Rhonda Glycan: Ignore me, just listen to SethRobertson, hope this helps reducing the confusion.20:15
SethRobertson Glycan: `git mergetool` or look at `git status` and edit the files it tells you to20:15
huma SethRobertson: well, if no option, guess this then20:15
masando left20:15
antonkovalyov hey people. i am looking for info on how initial commit is different from normal commits—trying to make initial commit with libgit2/pygit2 and having troubles. anybody knows any good resources?20:15
tore_ left20:15
drake01__ left20:15
danking Hmm. After a fast-import from mercurial, my git repo has a commit (the very first commit) which has an Author line of "Author: <>". How would I go about editing the author of that commit?20:15
Glycan Okay20:16
danking This repo has never been pushed publicly, so I can muck the history all I'd like.20:16
SimonNa joined20:16
kenperkins how do I fast forward to lastest without auto-merging?20:16
mastro joined20:16
apocalyptiq joined20:16
huma SethRobertson: but then, i'd like "HEAD is now at" message20:16
SethRobertson danking: Why not edit the data being fed into fast-import?20:16
threecreepio left20:17
SethRobertson huma: 2>&1 | grep -iv "detached head"20:17
kumbayo joined20:17
SethRobertson kenperkins: git fetch && git merge origin/master20:17
mhauri left20:17
kenperkins does specifying the origin/master not auto-commit the merge ?20:18
iXeno_ left20:18
sardaukar joined20:18
sardaukar hey20:18
SethRobertson danking: You could also presumably use `git rebase -i` or `git filter-branch` but if you can trivially recreated it correctly, why not?20:18
noisebleed left20:18
tore_ joined20:18
SethRobertson kenperkins: Not if you use --no-commit. man git-merge20:18
jast kenperkins: *automatic message* the 'git-merge' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-merge.html20:18
r0m4n left20:19
sardaukar I cloned a github.com repo to my private server (bare clone, then mirror) - is there a way to add the original github repo as a ref to be able to sync new code from it?20:19
s0undt3ch left20:19
huma SethRobertson: thanks20:19
jas4711 left20:20
s0undt3ch joined20:20
tore_ left20:20
toxico joined20:20
Glycan I don't get it20:20
SethRobertson sardaukar: git remote add realupstream other-github-url20:20
juangiordana left20:20
drake01__ joined20:20
SethRobertson Glycan: I recommend reading !book which has a good section about resolving conflicts20:20
jast Glycan: *automatic message* 'Pro Git' is a complete book about git that is available online for free: http://progit.org/book/20:20
sardaukar SethRobertson: thanks. and to merge new code from upstream?20:20
danking SethRobertson: Hmm. I don't know much about fastimport and what not. I'll take a look at that and see if I can edit the incoming data.20:21
Glycan The remtoe repo has a commit with a changed .gitignore. I have a commit with a bunch of changes and the change to .gitignore20:21
SethRobertson sardaukar: My instructions *were* for merging new code from upstream (using manual, not auto, merging)20:21
Glycan How do I push properly?20:21
SethRobertson Glycan: resolve the conflict. See !book20:21
jast Glycan: *automatic message* 'Pro Git' is a complete book about git that is available online for free: http://progit.org/book/20:21
kimico left20:22
sardaukar SethRobertson: won't that just add the remote? if it merges, why do I need to add the remote all the time?20:22
drake01__ left20:22
drake01__ joined20:22
SethRobertson sardaukar: Sorry, I confused you with someone else. `git fetch realupstream` will fetch those branches. You can then `git merge realupstream` or `git rebase realupstream` as necessary20:23
xris left20:23
sardaukar SethRobertson: great, just what I was looking for! Thanks for all the help20:23
danb joined20:24
GeertB left20:25
Glycan !book20:25
jast *automatic message* 'Pro Git' is a complete book about git that is available online for free: http://progit.org/book/20:25
farktronix joined20:26
juangiordana joined20:26
drake01__ left20:26
joshsmith left20:26
richardkchapman left20:27
Dreamer3 joined20:28
vmil86 left20:28
sardaukar left20:29
danb left20:29
dabaR joined20:29
markbao left20:29
dabaR How do I git add . for deleted files?20:29
markbao joined20:30
DrNick2 joined20:30
SethRobertson dabaR: `git add -A` I think20:30
DrNick left20:31
dabaR seems like --all did it20:31
should be the same option20:31
apocalyptiq left20:31
SethRobertson It is20:31
_psychic_ left20:32
mkramer1 left20:32
jas4711 joined20:33
tobago_ left20:33
kimico joined20:33
savid joined20:33
nwp_ left20:34
ptl left20:34
MaSch left20:34
dabaR left20:34
Guest36388 left20:35
alansaul left20:35
drake01__ joined20:36
toxico left20:36
steffo joined20:36
thehodge left20:37
hobodave left20:37
apexi200sx left20:37
fisted_fisted20:38
thehodge joined20:38
drake01__ left20:38
tystr joined20:39
Determinist left20:40
_psychic_ joined20:40
_psychic_ left20:40
ymasory left20:41
juli0w left20:41
ptl joined20:42
hobodave joined20:43
vmil86 joined20:43
sterlo left20:43
ericmuyser joined20:44
sterlo joined20:44
prs left20:44
ericmuyser left20:44
jonatasnona left20:45
_psychic_ joined20:46
juli0w joined20:46
Ryback_ left20:47
prs joined20:47
Cromulent joined20:48
Vile joined20:48
_psychic_ left20:48
drake01 joined20:48
jalama left20:49
Determinist joined20:49
swartzcr joined20:50
shruggar left20:50
_psychic_ joined20:51
danking If I have a /win c20:51
danking left20:51
mkramer joined20:51
himsin left20:51
mkramer left20:51
project2501a joined20:52
rideh left20:53
alexim if i "git mv" a file and then edit it, is it good practice to leave that as 2 commits (first the move, then the edit), or do both the move and edit in 1 commit?20:53
jsick3 left20:53
alansaul joined20:53
rzec left20:54
kenichi left20:56
adnasa joined20:56
_psychic_ left20:57
radarek joined20:57
dcarper left20:57
_psychic_ joined20:58
Ryback_ joined20:59
Ryback_ left20:59
Ryback_ joined20:59
lightcap joined20:59
cmyk_ joined21:00
MaSch joined21:00
chrisf left21:00
ISF joined21:01
airborn joined21:01
Guest73062 left21:01
rbd left21:02
PigeonFriend left21:02
chrisf joined21:03
JStoker joined21:03
drake01 left21:03
_psychic_ left21:04
fiyarburst left21:04
eijk joined21:05
toxico joined21:06
kimico left21:06
reber joined21:07
reber hi21:07
soahccc`soahccc21:08
ASIRINeiluj joined21:08
reber i have 2 commits on my local git repos, and i want to merge them before pushing them. Didn't found how to do that, any ideas please ?21:08
hyperair left21:09
teuf reber: git rebase -i can do that21:09
whitman left21:09
deryl joined21:10
reber teuf, trying21:10
deryl I have forked a repo (and cloned it locally). I recently had a change I made merged into the original. I would like to make MY local copy be updated with any and all changes from the upstream I've pulled from. is there a way I can do this in git?21:11
or do I need to delete the forked tree and just do a reull?21:11
NaNoNickV joined21:11
f0i joined21:11
sikao_lfs1 left21:12
vmil86 left21:12
adnasa left21:12
devth deryl: add the upstream repo as a remote, then fetch it and rebase on it21:13
reber teuf, this didn't worked, i see my several commits in gitk ...21:14
w0bni joined21:14
reber teuf, indeed i have several commits and i DON'T WANT TO SEE them in git history tree (gitk). Any ideas how to do that ?21:15
rideh joined21:15
teuf reber: using git rebase -i ...21:15
reber: I guess you didn't pass an argumeent after the -i and didn't get to a list of commits in an editor21:16
NaNoNickV left21:16
nurey joined21:16
rideh left21:16
f0i left21:16
reber teuf, yes i pass the argument "master" after the -i21:16
git rebase -i master21:17
deryl ok, necveer done a rebase before. time to man21:17
f0i joined21:17
reber gush21:17
teuf reber: if the branch you want to remove the commits from is master, this is wrong21:17
you need to pass it a commit before the ones you want to merge21:17
abhatnag left21:17
teuf git rebase -i origin/master will porbably work for you21:18
cannonball left21:18
deryl oh all i had to do was git pull blah branch && git push origin.. nice21:18
reber git rebase -i origin/master21:18
Interactive rebase already started21:18
...21:18
jkyle joined21:18
reber then nothing more21:18
robertfw left21:19
rideh joined21:19
lolfrenz reber, you should probably rm some file from .git21:19
Cromulent left21:19
iXeno joined21:19
teuf reber: git rebase --abort if you're already in the middle of a rebase21:19
jkyle I have a remote repository. I can clone the repository on the local host. I can push to the repository from remote hosts. But when I try to clone the repository on a remote host, I get teh following (4x paste)21:20
remote: fatal: unable to create thread: Resource temporarily unavailable21:20
error: git upload-pack: git-pack-objects died with error.21:20
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.21:20
remote: aborting due to possible repository corruption on the remote side.21:20
systemclient left21:20
FauxFaux jkyle: git fsck && git repack -adf # the repository on the remote machine.21:21
deryl anyone using github that can tell me why on doing a git push i suddenly have to start entering my username and password even though I have the ssh keys in place and ON github?21:21
tiago left21:22
reber teuf, thanks it worked :21:22
:)21:22
jkyle FauxFaux: k21:22
bartek left21:22
jkyle hm, works21:22
novettam left21:23
gnufied left21:23
HG` left21:24
Phrogz left21:25
rideh left21:25
cesario joined21:26
macabre if i received the infamous 'rejected, no fast forward' error .. it tells me to pull the repo, will this over write my changes/commits?21:26
FauxFaux "infamous". /o\21:27
ch077179 left21:27
threecreepio joined21:29
novettam joined21:30
ch077179 joined21:30
sikao_lfs1 joined21:31
g0bl1n joined21:33
Omni|Work joined21:34
Omni|Work I need to get gitorious to drop some changes I've pushed to it.21:34
Is this possible?21:34
arosen1 joined21:35
arosen1 Hello, I've make some code changes and now I want to create a packet for everything that I changed for one commit21:35
I tried git format-patch -M d8236775e4ce6c208252ab71e634f64b8825bc9f but that didn't create a .patch file?21:35
yeryry left21:36
yeryry joined21:36
msponge left21:37
arosen1 nvm got it! :D21:39
lolfrenz left21:39
ISF left21:39
kumbayo left21:42
cesario left21:43
novettam left21:43
cakehero left21:46
kenichi joined21:46
msponge joined21:46
nurey left21:47
nurey joined21:47
itrebal joined21:47
nurey left21:47
hyperair joined21:47
systemclient joined21:47
novettam joined21:47
systemclient does it do any damage to use repos from 1.7.4.1 with 1.7.2.5?21:48
madewokherd joined21:48
Spockz left21:48
TrineLocke left21:49
msponge left21:50
dfamorato_ joined21:52
cjs226 left21:53
beatak left21:53
isarl left21:54
asteve left21:54
mkanat joined21:55
robertfw joined21:55
infogulchinfogulch121:55
infogulch1infogulch21:55
_psychic_ joined21:55
dfamorato left21:55
Xentac joined21:56
zwick left21:56
Xentac I really thought I understood this whole git thing... I want to know if there are any commits in a branch that aren't in my current branch (in other words, what commits will be merged if I git merge)21:58
I thought "git log HEAD..branch" or "git log branch ^HEAD" would give me that21:58
fairuz Xentac: It doesn't?22:00
DrNick2 left22:00
Xentac fairuz: I have a situation in my history where it's not22:00
thiago it does22:00
deryl ok I don't understand this. if I do a git clone why don't all the branches show up? why does ONLY master?22:00
Xentac I think it has to do with merge left/right stuff22:00
thiago except that ^HEAD might be interpreted by your shell22:00
fairuz deryl: git branch -a22:00
acelent joined22:01
tech13 left22:01
thiago $ echo branch ^HEAD22:01
branch akonadi-thiago.fSCGTd a.out [...]22:01
deryl fairuz: thanks22:01
Xentac thiago: (buildout)[jchu@donatello devel(master)]$ echo branch ^HEAD22:02
branch ^HEAD22:02
_psychic_ left22:02
deryl i thought they were supposed to show up under git branch -v22:02
DrNick joined22:02
acelent is there some command or extension that rebases a whole tree of commits from a common root, mapping all branches and tags to the new commits, instead of just rebasing one branch?22:02
thiago must be a zsh thing then22:02
Xentac I don't know if I'll be able to re-create my situation again...22:02
thiago acelent: a tag is never rebased22:02
eletuchy left22:02
Xentac these are commits in our project from 2 years ago22:02
no... 3 years ago22:03
eletuchy joined22:03
Xentac I doubt time has anything to do with it22:03
thiago acelent: you can write an easy script to do that over a list of branches though22:03
acelent thiago: ok, only branches then, is there something?22:03
Xentac I just wanted to make sure it was doing what I thought it was doing22:03
Sonderblade joined22:03
Xentac thing is, even though the commit shows up as "in branch, but not accessible by HEAD", git knows not to merge it22:03
Sonderblade left22:03
Xentac that's why I thought I might be doing it wrong22:04
Sonderblade joined22:04
ThomasLocke left22:04
acelent thiago: is it that easy? it sounds easy, but if you think a bit about it, it doesn't sound that easy anymore22:04
protozog left22:05
fairuz It's easy if there are no conflicts :)22:05
acelent thiago: i'm thinking that such a rebase would be a bunch of cherry-picking, mapping the branches from the old commits to the new ones at the end. is this easy? it sounds like i'm forgeting something22:06
f0i left22:06
RaceCondition left22:06
acelent thiago: for instance, there'll be multiple detached heads while doing this22:07
Xentac acelent: why do you want to do this? are you trying to rewrite history? remove a nasty commit?22:07
f0i joined22:07
Xentac most things to do with rebase get sketchy when you consider merges22:07
acelent Xentac: rewrite local history22:07
Xentac as long as merges aren't part of it, a script is probably the best way22:08
otherwise you might want to look at git filter-branch22:08
acelent Xentac: mostly, it's things i keep for myself until i've tested them enough to push, so i keep rebasing after fetching instead of merging22:08
Sonder joined22:10
Sonderblade left22:10
Xentac oh, so they're a bunch of un-merged feature branches where a simple git rebase would move them22:10
Sonder left22:10
joel_falcou left22:10
Sonderblade joined22:10
whit537 left22:11
Sonderblade left22:11
Sonderblade joined22:11
_pr0t0type_ left22:11
acelent Xentac: yes, but some feature branches fork from other feature branches too. however, the common ancestor is always a commit that's in the shared (central) repository22:12
felipe left22:12
[intra]lanman left22:12
acelent Xentac: i.e. aside from merges, anything can happen22:12
Xentac: but thanks for the pointer, i'll look into filter-branch22:12
Xentac I think filter-branch doesn't rebase them in any way, it just modifies them "inline"22:13
[intra]lanman joined22:13
joel_falcou joined22:15
normanrichards left22:16
haydenmuhl joined22:16
nicoulaj left22:17
haydenmuhl I'm having some trouble installing Gitorious. I've installed everything, and successfully get to the Gitorious splash page, but I get an SSL error when navigating to the login page.22:19
tiago joined22:19
shad left22:19
LongBeach left22:20
ki__ joined22:20
deryl left22:20
[intra]lanman left22:20
angelsl joined22:20
[intra]lanman joined22:22
_psychic_ joined22:23
jkyle_ joined22:23
shad joined22:24
MrMaksimize left22:24
steffo left22:25
jkyle left22:25
belkiss left22:25
Nuck joined22:26
fiyarburst joined22:27
_psychic_ left22:27
rane_ it seems everyone has trouble installing gitorious22:29
FauxFaux It is written in Ruby.22:30
thiago it's not easy22:31
EricInBNE joined22:31
haydenmuhl I was following this guide: http://cjohansen.no/en/ruby/setting_up_gitorious_on_your_own_server22:32
I'm using Ubuntu 10.10, which is claimed to work, but I already found a couple errors, like having to use rugy-gems 1.3.6, not 1.3.522:32
joshteam left22:32
haydenmuhl Others were minor like having to run commands with sudo.22:32
spaceonline joined22:33
felipe joined22:33
haydenmuhl Anyone have any clues for figuring out this SSL problem? Apache configuration, maybe?22:33
gebi left22:34
FauxFaux Well, it's horribly off-topic, but if you want people to help you might want to give more information than "I did something then I got an error".22:34
joshteam joined22:35
haydenmuhl I'm not really sure what more information there is to give. I get different errors depending on the browsers I use.22:35
FauxFaux palmfaces.22:35
haydenmuhl What information do you want?22:36
rdqfdx left22:36
jdouthat joined22:37
reber left22:37
rrjamie joined22:37
haydenmuhl Chrome: "Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error."22:37
rrjamie I changed my url for my submodules in my .git/config (after they have been initalized from .gitmodules), but they still seem to be pulling from the old url22:38
jdouthat how do you find commits that contain a blob if you have that blob's SHA? I tried the scripts in http://stackoverflow.com/questions/223678 but neither return results for me22:38
haydenmuhl Firefox: SSL received a record that exceeded the maximum permissible length.22:38
(Error code: ssl_error_rx_record_too_long)22:38
teknoid left22:38
iSikh joined22:39
Fitzsimmons left22:39
frogonwheels joined22:39
zivester joined22:40
FauxFaux haydenmuhl: Oh, that kind of broken. Really broken. Uh, yeah, it'll be something wrong with Apache.22:40
setmeaway left22:41
_psychic_ joined22:41
haydenmuhl Right. Not a simple 403.22:42
bgerber left22:43
jdouthat How do you find a full-length hash given a unique prefix?22:44
[intra]lanman left22:44
normanrichards joined22:46
haydenmuhl FauxFaux: Would I be better off in the apache channel?22:47
cronin trying to pull from my local repo to update my server files but it's not working. it says, Updating 144723d..12cd80f then lists all the files with "needs update" next to them. the final line is fatal: Entry 'heynelly/messages/views.py' not uptodate. Cannot merge.22:47
ayust haydenmuhl: probably, yes22:47
pantsman left22:47
sonnym left22:48
sivy joined22:48
sivy is there a trick to making git stash apply not die a horrible death when there' no changes to apply?22:49
workmad3 left22:49
rane_ a horrible death?22:49
does it return undesirable exit code or what22:50
jdouthat sivy: no changes to apply. like it's already applied?22:50
systemclient left22:50
sivy jdouthat: i've got a script that does a pull, wrapped in stash/unstash just in case22:51
and sometimes there's no changes that got stashed22:51
git stash works, but stash apply dies22:51
dajhorn left22:51
cbreak sivy: don't do the stashing if there's nothing to stash22:52
sivy cbreak: yeah, i wasn't sure hot o check22:52
how to22:52
cbreak sivy: check out git diff --exit-code HEAD22:52
sivy cbreak: thanks22:53
airborn left22:53
bonhoffer joined22:53
cbreak maybe with --quiet22:53
kevwil left22:53
cronin do i need to do a git pull -f or something22:53
cbreak why?22:53
FauxFaux jdouthat: Didn't see an answer to your short->long hash questoin; git rev-parse22:53
Glycan_ joined22:54
[intra]lanman joined22:54
axl_ left22:54
Glycan left22:55
Glycan_Glycan22:55
shad left22:56
cbx333 left22:56
tristanseifert left22:57
shad joined22:57
jdouthat FauxFaux: thanks!22:57
zulax joined22:57
setmeaway joined22:58
zulax on github when i forked a repo, it just made like zulax/doc.git22:58
what if i want to for another doc.git for another project?22:58
cbreak add numbers22:58
FauxFaux Can't you specify the name when you're forking?22:58
Orphis_ joined22:59
zulax not sure, so new to github22:59
cbreak, where to add numbers?23:00
the is fork button23:00
kmc left23:00
FauxFaux What error do you get when you try and fork again?23:00
zulax no textbox around it23:00
cbreak no23:00
flavius zulax: you can rename the project23:00
Orphis left23:00
cbreak when you want to make an other project with the name doc23:00
call it doc123:00
then doc223:01
then doc323:01
and so on23:01
plashchynski left23:01
bgerber joined23:01
zulax ok, i will do that23:01
tristanseifert joined23:01
axl_ joined23:02
TeckniX left23:02
haydenmuhl left23:02
zulax in the admin tab, i found a way to rename it23:02
Ryback_ left23:03
zulax but should there be a naming option at the beginning of the fork though23:03
Omni|Work I need to drop some changes that I've pushed to gitorious.23:03
Anybody know how to do that?23:03
cbreak just force push something else23:04
_psychic_ left23:05
Orphis_ left23:06
mastro left23:06
iSikh left23:06
Orphis joined23:07
stamina left23:09
stamina joined23:10
nibblebot left23:10
Martin_ left23:11
marc_kdab left23:11
dcarper joined23:12
zamabe left23:15
odin_ joined23:15
AaronMT left23:15
Omni|Work cbreak: How do I do that?23:15
cbreak: I don't know git that well. I know Mercurial.23:16
cbreak git push -f origin master23:16
for origin remote, master branch23:16
you can git reset --mixed HEAD~1 while on master to nuke away the last commit23:16
(before force pushing)23:16
replace --mixed by --hard if you want to throw away the changes23:17
zamabe joined23:17
normanrichards left23:20
fedesilva_ joined23:20
joshteam left23:20
fedesilva_ left23:21
Vile left23:21
Rubin left23:21
Rubin joined23:22
Omni|Work cbreak: Thanks.23:22
joshteam joined23:23
marc_kdab joined23:23
tatsuya left23:23
kmc joined23:23
eijk left23:24
fedesilva left23:24
ericmuyser joined23:24
Sonderblade left23:24
Xentac left23:27
lunks left23:27
v0n left23:27
dfamorato_ left23:28
Omni|Work left23:28
lunks joined23:30
cmyk_ left23:33
tatsuya joined23:34
giallu left23:35
shiba_yu36 joined23:35
cccaldas left23:36
hyperair left23:37
cjs226 joined23:37
lunks left23:38
hyperair joined23:39
cronin left23:39
PabloM left23:40
IanLiu joined23:41
flavius left23:41
IanLiu I'm working on a Mercurial project now. Is it possible to work with GIT and when pushing, use Mercurial?23:41
nadavoid left23:42
replore joined23:42
simenbrekken joined23:43
kvanderw left23:43
thehodge left23:47
kerrick_ left23:50
kerrick left23:50
odin_ left23:51
ddkilzer left23:54
Fernandos joined23:56
Fernandos hi23:56
how do I commit a file inside a .git dir into my git repository?23:56
Agos left23:57
Fernandos project-name/.git/description to be specific23:57
rane_ i don't think you can23:57
description might come from the remote23:58
Fernandos git add .git/description results in: error: Invalid path '.git/description' error: unable to add .git/description to index fatal: adding files failed23:58
sterlo left23:58
EricInBNE left23:58
FauxFaux also doesn't think you can.23:58
Fernandos rane_: yep, I wanted to add the file so that I can push it into the remote. the reason is I use cgit and want it to list the repository's description23:58
mlncn left23:59
roadt left23:59

Logs Search ←Prev date Next date→ Channels Documentation