IRCloggy #git 2013-02-01

Logs Search ←Prev date Next date→ Channels Documentation

Provider of IRC logs since 2005.
WARNING: As Freenode became unjoinable and lost all warnings in topics, we cannot log channels on Freenode anymore.

2013-02-01

john_anderson joined00:00
wongon left00:01
wongon joined00:02
Dooom left00:03
jackyalcine left00:03
tinocos joined00:03
ehsan_ left00:05
tevfik left00:05
kristofers left00:06
Ziggy` left00:06
john_anderson left00:06
noisewaterphd_ joined00:07
marhaban joined00:08
paradigm left00:08
xiong Okay, I've fixed the immediate issue with global user.name and user.email. Thanks.00:09
lresende_ joined00:09
noisewaterphd left00:09
noisewaterphd_noisewaterphd00:09
thiago left00:09
samuel02 joined00:10
thiago joined00:10
macabre left00:10
Grum left00:11
Noldorin joined00:11
jackyalcine joined00:13
dankest left00:13
lresende left00:13
Grum joined00:13
lresende_ left00:13
Dactyl left00:14
sebuba joined00:14
Khisanth joined00:17
MacWinner joined00:18
rchavik joined00:18
breakingthings joined00:18
giallu left00:18
sgambino left00:19
TheFuzzball left00:21
b2jrock joined00:21
tewecske left00:21
FernandoBasso left00:21
Khisanth left00:22
dvide joined00:22
kermit joined00:22
MacWinner left00:22
jcromartie joined00:25
ozette left00:25
snql left00:25
eletuchy left00:28
baneM left00:29
domargan joined00:29
cakehero joined00:29
thiago left00:29
CodeShark joined00:30
v0n joined00:30
jcromartie left00:30
opus left00:30
chisler left00:30
domargan left00:30
Khisanth joined00:30
nicoo joined00:31
nicoo Hi00:31
gitinfo nicoo: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.00:31
marhaban left00:31
nicoo I'm working on a repository, and I have two branches, master and foo00:31
Ziggy` joined00:32
nicoo In foo, I used git checkout -b to branch into foobar, and in foobar, I rebased all commits from master into foobar00:32
hyperair left00:32
Fall am I able to stash changes in master, then change to another branch and apply them there?00:32
nicoo What is the proper way to make foobar « be » the new foo branch00:33
?00:33
AnimeCYC left00:33
nicoo Fall: git cherry-pick00:33
I can be used to apply a commit in another branch00:33
ojacobson Fall: yes; git stash apply and git stash pop will apply the diffs, not just the contents00:33
joeytwiddle left00:33
Fall ojacobson: thank you very much00:33
ojacobson Fall: git branch -F, git reset --hard, and a few other options00:33
er00:33
nicoo Ah, ok,~; staged00:33
ojacobson nicoo: ^00:33
nicoo stashed*00:33
ojacobson: I misread his question00:34
boombatower left00:34
joeytwiddle joined00:34
nicoo ojacobson: Ok, second line was for me00:34
Thanks; will read the man about git branch -F00:35
Fall thanks ojacobson, that worked.00:35
nicoo ojacobson: Will this break people that follow the foo branch ?00:35
abcdefg_ left00:35
michaelmartinez left00:36
iSaleK left00:36
davidbanham joined00:36
davidbanham left00:36
nicoo And did you mean « -f » ? I don't see the uppercase switch in the manpage00:36
davidbanham joined00:37
hwrd|work left00:37
lavaman left00:39
edoceo left00:39
mrkotfw joined00:39
mrkotfw left00:40
mrkotfw joined00:40
mrkotfw Hello everyone00:40
gitinfo mrkotfw: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.00:40
eletuchy joined00:40
michaelmartinez joined00:41
mrkotfw So I have a repository with a lot of commit messages that I wanted to rewrite -- don't worry, I'm the only committer. I changed the HEAD to the commit I wanted to change, I amended, then replaced that commit00:41
I did that for all of them00:41
When I do git log, it shows up just fine but none of that is reflected when I clone a fresh copy of the repository00:41
robotmay left00:42
mrkotfw This is on GitHub, so I permanently deleted the repository, re-created it and then pushed the branch (master) to the new repository expecting all my commits that were changed to be in the remote branch00:43
But it doesn't seem to work00:43
Anyone know how I can go about this?00:43
eletuchy left00:44
Khisanth left00:44
yshh joined00:45
x82_nicole left00:45
svetlyak40wt left00:45
nicoo ojacobson: ?00:46
!backup00:46
gitinfo Taking a backup of a git repository is always a good idea, especially when taking advice over IRC. Usually, the best way to TACTICALLY back up a git repo is `git clone --mirror`. However, some unusual maintenance might require `tar cf repo-backup.tar repodir`. Testing in a clone is also an excellent idea. See also http://sethrobertson.github.com/GitBestPractices/#backups00:46
lethjakman_lapto left00:46
pfFredd left00:46
eletuchy joined00:46
baneM joined00:47
cakehero left00:47
grawity Hmm. Why isn't `tar` listed first there?...00:49
AdrienBrault left00:49
MacWinner joined00:49
sebuba left00:53
timj joined00:54
juvenal joined00:54
mrkotfw git-rebase and forcing a git-push helps...00:54
I have about 50 commits to fix...00:54
yshh_ joined00:55
nicoo mrkotfw: You mean you want to reword 50 commits ?00:55
dankest joined00:56
yshh left00:57
michaelmartinez left00:57
lresende joined00:57
pity joined00:57
Khisanth joined00:59
bauruine left01:01
ejd1 left01:01
maestrojed left01:01
opus joined01:02
bauruine joined01:03
daniel_- left01:03
Khisanth left01:03
opus left01:03
lonewulf` joined01:04
lonewulf` left01:05
lonewulf` joined01:05
imarcusthis left01:06
osse left01:06
bakers joined01:06
SamB_ left01:08
bakers I forked a repo on github. The did a git pull on my form, updated some code and did a git push request. How do I update my fork to be a copy of the original as it is today, instead of last week when I did the fork01:08
Khisanth joined01:08
SamB_ joined01:08
osse joined01:08
mrkotfw nicoo: Yeah, I did that. What I ended up doing was forcing a rebase and a force push01:09
nicoo bakers: Add the original as a new remote, git fetch, then git rebase <original>/<branch>01:09
mrkotfw nicoo: That did the trick01:09
imarcusthis joined01:09
Grum left01:09
nicoo mrkotfw: It sounds like a job for rebase -i (but you will have to force push anyways)01:09
yshh_ left01:11
Grum joined01:11
_iron left01:11
seniorsassycat joined01:11
avpx joined01:11
seniorsassycat Is there a command to untrack files that match patterns in the .gitignore?01:11
hyperair joined01:12
lresende_ joined01:12
RandalSchwartz it'll make merging hard01:13
since the prior commits had those tracked01:13
so think hard before you type "git rm --cached"01:13
doing it globally would be a bit scary01:13
lresende left01:13
lresende_lresende01:13
RandalSchwartz are you trying to untrack config files?01:14
danishkhan left01:14
Goles_ left01:14
tplaner joined01:15
cmmagid joined01:15
cmmagid left01:15
cmmagid joined01:16
mrkotfw nicoo: That's exactly what I did01:17
Grum left01:17
\rs left01:18
Grum joined01:19
franckGuest9709701:21
x82_nicole joined01:21
Parhs joined01:22
Parhs left01:22
Parhs joined01:22
howlymowly left01:22
bil` left01:22
seniorsassycat It's a new repo, I made one commit before adding a .gitignore01:22
The commit has log/* tracked, I'd like to stop tracking those files in the future01:23
ojacobson !untrack01:23
gitinfo To remove a file from git's tracking, without deleting it from your working tree, `git rm --cached <file>`. Note that any repo which pulls this change will delete their local copy of that file. You can "bring it back" using `git checkout HEAD^ file`01:23
RandalSchwartz yeah like that01:23
b2jrock I've run a tree-filter on a large repo with many branches that took several days. In the mean time, the original repo has been changing. Is there any way to apply the same filter to the delta and append it to my filtered repo so that I get a current filtered repo?01:23
Grum left01:24
ojacobson if you've made one commit _and not yet published it_ you can git commit --amend away the original addition, too :)01:24
normanrichards left01:26
ryez joined01:26
danishkhan joined01:27
Grum joined01:27
ryez regarding things in .git/objects/pack, would 'git gc' always zip everything in only one pack after I run it?01:27
ezrafree joined01:27
nioncode left01:27
tplaner left01:30
Sky[x] joined01:30
yshh joined01:31
MacWinner left01:31
danishkhan left01:31
lethjakman_lapto joined01:32
ojacobson left01:34
cspray joined01:34
m0viefreak joined01:35
m0viefreak left01:35
m0viefreak joined01:35
Xunie left01:35
Xunie joined01:36
XunieGuest7703301:36
pppaul joined01:37
berserkr left01:39
phlipperphlipper_01:40
pigeon is there something like git branch --contains but for looking for a particular filename?01:41
ojacobson joined01:43
youf left01:45
ryez pigeon: with a little tweak to git log you can see all the related commits with tags/branches displayed01:45
like this * 7ef1135 (HEAD, origin/master, origin/HEAD, master)01:46
abf left01:47
ryez try `git log --decorate --oneline`01:48
dankest left01:50
aartist joined01:52
goshawk left01:52
kimico left01:55
kimico joined01:55
Targen left01:57
dvide left01:57
hiroyuki left01:57
adamben left01:57
raspy_freenode joined01:57
raspy_freenode left01:57
jcromartie joined01:57
jesfre joined01:57
hiroyuki joined01:57
Targen joined01:57
eijk left01:58
WorkeD joined01:58
guide left01:58
raspy_freenode joined01:58
raspy_freenode left01:58
timj left01:58
guide joined01:59
main_ left01:59
fletch` left01:59
raspy_freenode joined02:00
raspy_freenode left02:00
amccloud left02:00
glebd left02:00
glebd joined02:00
alunduil joined02:01
raspy_freenode joined02:02
lyang0 left02:04
tinti_ left02:05
Davey left02:05
maletor left02:07
pppaul left02:09
Grum left02:10
maletor joined02:10
ErKa left02:10
dvide_ joined02:11
rakl left02:11
Goplat joined02:11
Grum joined02:11
greenfire joined02:12
towski left02:12
nardev left02:13
Davey joined02:13
seniorsassycat left02:14
matthias_dev left02:14
dvide_ left02:14
Bombe left02:16
scorphus left02:16
jdyin joined02:17
Vampire0_ joined02:17
fisted left02:18
jackyalcine left02:18
maletor left02:19
fisted joined02:19
weiyang joined02:19
erkules_ joined02:20
Vampire0 left02:20
tanath left02:21
ankurankan left02:21
erkules left02:22
notfunk left02:22
jackyalcine joined02:22
fisted left02:23
catsup left02:23
catsup joined02:23
markalanevans left02:23
techlife left02:24
mrkotfw left02:25
dvide_ joined02:25
fisted joined02:25
eijk joined02:25
miso1337 joined02:27
Khisanth left02:27
tjbiddle_ joined02:27
pivonroll left02:27
Bombe joined02:27
catsup left02:28
catsup joined02:29
jaequery left02:30
oreth left02:30
techlife joined02:30
tjbiddle left02:30
pppaul joined02:31
aartist left02:31
tjbiddle_ left02:31
prudnikov left02:31
jdyin left02:31
eletuchy left02:34
pppaul left02:34
sayd left02:37
Bosox20051 left02:38
Droolio left02:39
bootstrapper left02:39
TLGreg left02:39
Khisanth joined02:40
dragon3_ joined02:41
jackyalcine left02:42
Grum left02:43
jackyalcine joined02:44
frogonwheels left02:45
Grum joined02:45
stliu joined02:48
gusnan left02:51
Hounddog left02:51
Hounddog joined02:51
fisted left02:52
jesfre left02:52
fisted joined02:52
Progster joined02:54
Khisanth left02:55
babilen left02:56
ojacobson left03:00
scenefinale-SATs joined03:01
bmac joined03:02
techhelp joined03:02
babilen joined03:03
eletuchy joined03:04
x82_nicole left03:07
njbair left03:09
apok left03:10
amccloud joined03:10
bmac left03:11
amccloud left03:14
eletuchy left03:14
scenefinale-SATs Question if someone has a minute03:15
normanrichards joined03:15
basmoura joined03:16
scenefinale-SATs in the git tutorial I'm reading it says git status puts files into one of three categories03:16
akiress left03:16
scenefinale-SATs "Files are put in one of three categories: new files that haven’t been added (with git add), modified files that haven’t been added, and files that have been added"03:17
michaelmartinez joined03:17
apachebeard1 left03:17
mehwork yeah03:17
davidbanham left03:17
scenefinale-SATs so the categories I see are tracked and untracked... What is the third to which they are referring?03:17
jaequery joined03:17
mehwork staged03:17
Noldorin left03:18
scenefinale-SATs ahhh03:18
mehwork in between committed and untracked03:18
scenefinale-SATs thanks mehwork03:18
mehwork to oversimplify it03:18
Khisanth joined03:18
notfunk joined03:19
john_anderson joined03:22
miso1337 left03:22
davidbanham joined03:27
pppaul joined03:28
kermit left03:30
v0n left03:30
infynyxx left03:31
miso1337 joined03:31
kpreid left03:31
kpreid joined03:31
eletuchy joined03:33
jdunck left03:33
Nibato joined03:38
tukkol joined03:42
Progster left03:42
anderse left03:43
john_anderson left03:44
d2dchat left03:44
[KinG]_Edson joined03:44
avpx left03:44
tukkol_ left03:45
samuel02 left03:47
`Quote` joined03:47
`Quote` so when i'm merging and there are conflicts03:47
what's the fastest way to say 'just use the file from the branch I'm merging with'03:47
john_anderson joined03:47
techhelp left03:48
Khisanth left03:48
Grum left03:49
bootstrapper joined03:50
lyang0 joined03:50
cmmagid left03:50
lyang0 I have a file named foo.c in tree, I find it's delete now, how could I know which commit done this ?03:51
engla --ours and --theirs flags to git checkout, `Quote`03:51
[KinG]_Edson left03:51
hacker216 joined03:51
EugeneKay The whole file? checkout. To attempt to fix the conflict sanely to begin with? man git-merge; see -Xtheirs03:52
gitinfo the git-merge manpage is available at http://jk.gs/git-merge.html03:52
Grum joined03:52
hacker592 joined03:53
hacker742 joined03:53
bootstrapper left03:54
kcj joined03:55
ojacobson joined03:56
bmac joined03:56
`Quote` thanks engla03:57
kcj left03:57
`Quote` and EugeneKay03:57
Kulrak joined03:58
Kulrak left03:58
Kulrak joined03:58
infynyxx joined03:59
beneggett left03:59
sangi joined03:59
yshh left03:59
infynyxx left04:00
eijk left04:01
infynyxx joined04:01
Khisanth joined04:04
offby1` left04:05
subhojit777 joined04:05
offby1 joined04:05
offby1 Yikes! I only just now realized that, in gitk, 'j' and 'k' do exactly the opposite of what I expect.04:05
phlipper_phlipper04:05
offby1 Yikes, I say.04:05
ojacobson left04:07
lethjakman_lapto left04:09
preflex left04:09
beautifulmind joined04:11
guampa left04:11
eletuchy left04:11
preflex joined04:12
eletuchy joined04:12
stliu left04:12
dvide_ left04:15
Bankzilla left04:15
eletuchy left04:16
Khisanth left04:16
engla left04:16
blorbx``` joined04:16
miso1337 left04:17
JeremyWei joined04:17
ChangChong joined04:18
hays_ joined04:19
hachque_ joined04:19
Zeelot3k joined04:19
Orbitrix left04:20
WorkeD left04:20
cehteh left04:20
hachque left04:20
Pagan left04:20
sjefen6_ joined04:20
Zeelot left04:20
cehteh joined04:20
WorkeD joined04:20
SeySayux left04:20
sjefen6 left04:20
txomon|home left04:20
fasta left04:20
skoop left04:20
blorbx`` left04:20
hays left04:20
fasta joined04:20
Pagan joined04:21
SeySayux joined04:21
txomon|home joined04:21
towski joined04:21
infynyxx left04:21
Hounddog left04:21
LuxuryMode joined04:21
Hounddog joined04:21
JeremyWei left04:22
bmac left04:22
`Quote` is there a way to get git to sync all changes04:22
all branches*04:22
miso1337 joined04:23
skoopty joined04:24
bmac joined04:24
pppaul left04:26
tiglog joined04:30
kpreid left04:30
engla joined04:30
OOPMan left04:30
kpreid joined04:30
v0n joined04:30
SBoudrias left04:32
Infiltrator `Quote`: git fetch?04:32
`Quote`: Or git remote update?04:32
`Quote` like git push04:33
but with all branches. preferably with the github client04:33
but git cli is fine too04:33
Infiltrator Um... git push --all?04:33
I have no idea about the github client, though.04:33
weiyang left04:34
beneggett joined04:35
`Quote` maybe it's in the configuration options04:35
Khisanth joined04:35
redrocket left04:35
archdori joined04:37
babilen left04:37
hwrd|work joined04:37
Fandekasp left04:39
eletuchy joined04:42
jcao219 left04:44
xiangfu joined04:47
bootstrapper joined04:50
pretty_function joined04:50
bmac left04:53
m0ltar left04:54
eletuchy left04:54
techhelp joined04:55
gamja9e joined04:55
bootstrapper left04:56
the_cybersphinx left04:56
gamja9e left04:59
gamja9e joined04:59
eletuchy joined04:59
Grum left05:00
john_anderson left05:00
Grum joined05:01
bakers left05:02
goshawk joined05:03
ChangChongOrbitrix05:03
OrbitrixOrbitrix205:04
Orbitrix2Orbitrix05:04
irqq joined05:04
TDJACR joined05:05
skorgon left05:05
frogonwheels joined05:07
Khisanth left05:08
cspray left05:11
catsup left05:12
cilly left05:14
redrocket joined05:15
cilly joined05:15
pppaul joined05:15
basmoura left05:17
techhelp left05:17
imaginationac joined05:17
kcj joined05:18
Error404NotFound left05:18
skorgon joined05:19
Fuuzetsu joined05:21
Fuuzetsu left05:21
Fuuzetsu joined05:21
Khisanth joined05:22
yshh joined05:23
eletuchy left05:23
eletuchy joined05:24
ErKa joined05:25
eletuchy_ joined05:25
Khisanth left05:27
stliu joined05:28
eletuchy left05:28
Error404NotFound joined05:30
bootstrapper joined05:31
karptonite joined05:32
bootstrapper left05:33
karptonite left05:35
techlife left05:35
karptonite joined05:36
karptonite left05:36
jcromartie left05:37
karptonite joined05:37
johnkary joined05:37
smirn0v joined05:38
yshh left05:38
karptonite How can I add a remote branch to an existing local branch in a local repository? I want to be able to fetch from it into the existing local branch, but I don't want to automatically pull.05:39
(the remote branch is a framework I'm using)05:39
breakingthings left05:39
milki karptonite: that doesnt quite make sense. do you mean you want your existing local branch to track a remote branch?05:40
LeMike joined05:40
catsup joined05:40
engla left05:41
techlife joined05:41
karptonite I downloaded a framework from a zip file, and did a git init to create my local repository, and have that the tracking branch set to a branch on bitbucket. However, I want to also be able to fetch changes to the framework from the framework's git repository.05:42
(I should have done a git clone from the repository to begin with)05:42
milki karptonite: then you can the repo as a new remote and setup the tracking branches05:43
karptonite: man git remote add and man git branch --set-upstream-to05:43
gitinfo karptonite: the git-remote manpage is available at http://jk.gs/git-remote.html05:43
karptonite: the git-branch manpage is available at http://jk.gs/git-branch.html05:43
irqq left05:43
tjbiddle joined05:44
Khisanth joined05:45
ankurankan1 joined05:45
karptonite milki:if I do set-upstream-to, won't it automatically pull changes from that branch when I do a git pull with no arguments? I still want my remote on bitbucket to be where I pull and push from.05:45
I just want to be able to fetch and merge changes from the framework as well.05:45
tjbiddle_ joined05:46
leen^| joined05:46
karptonite I guess I could do --set-upstream --no-track?05:46
Jahm left05:47
Jahm joined05:47
smirn0v left05:47
tjbiddle left05:48
tjbiddle_tjbiddle05:48
Hounddog_ joined05:49
Hounddog left05:49
archdori left05:50
Khisanth left05:50
raspy_freenode left05:50
milki karptonite: o, then dont do e set-upstream05:52
just fetch the remote and manually do the merges05:52
dont do any tracking05:53
raspy_freenode joined05:53
hwrd|work left05:54
hwrd|work joined05:56
davidbanham left05:57
ehsan joined05:57
dhruvasagar joined05:58
jdyin joined05:58
greenfire left06:01
ISF left06:04
negaduck joined06:05
subhojit777 left06:05
Khisanth joined06:06
ankurankan1 left06:06
v0n left06:06
itanoss joined06:08
hafeez3000 joined06:08
JohnBat26 joined06:09
ckoch786 left06:09
Grum left06:10
itanoss left06:10
lresende_ joined06:11
osmosis joined06:12
Grum joined06:13
jackyalcine left06:14
lresende left06:15
maletor joined06:15
lresende_ left06:16
Khisanth left06:16
jab416171 joined06:17
osmosis left06:17
tinocos left06:18
robbyoconnor joined06:18
Jahm left06:18
rgr joined06:19
guns joined06:19
Cromulent joined06:19
dhruvasagar left06:19
subhojit777 joined06:20
ckoch786 joined06:21
Khisanth joined06:21
dhruvasagar joined06:21
o] left06:24
o] joined06:24
arvind_khadri joined06:25
infynyxx joined06:25
Sky[x] left06:26
negaduck left06:27
infynyxx left06:27
rgr left06:27
untaken left06:28
luc__ joined06:28
untaken joined06:28
khmarbaise_ joined06:28
dhruvasagar left06:28
davidbanham joined06:28
dhruvasagar joined06:29
michaelmartinez left06:29
khmarbaise left06:30
khmarbaise_khmarbaise06:30
Jahm joined06:30
ilteris_ left06:31
jdyin left06:32
BiggFREE joined06:33
guns left06:33
cilly left06:34
dhruvasa1ar joined06:34
archdori joined06:35
`Quote` left06:38
Goplat left06:38
karptonite left06:43
h0bbit joined06:44
hwrd|work left06:45
davidbanham left06:45
Jahm left06:46
svetlyak40wt joined06:46
leechradio joined06:46
aberrant joined06:50
svetlyak40wt left06:51
tiglog left06:51
n1x joined06:52
n1x left06:54
x82_nicole joined06:55
ozette joined06:55
rockfruit joined06:56
Jahm joined06:56
n1x joined06:56
dc5ala joined06:57
thehandler joined06:57
kcj left06:57
beneggett left07:00
TonyM joined07:00
PapaSierra_ joined07:00
jnavila joined07:00
khmarbaise left07:00
whowantstolivefo joined07:01
samio joined07:01
PapaSierra_ morning. i have set up a template project which is sitting in bitbucket. i would now like to use that template in a real project. should i fork? or should i clone and then change the remote repo urls?07:02
peppyheppy_ joined07:04
peppyheppy left07:07
tevfik joined07:07
ThomasLocke joined07:08
peppyheppy_ left07:09
milki PapaSierra_: cloning good enough07:10
PapaSierra_: forking is only a concept if you plan to contribute to the template from your new project, which i doubt is the case07:11
foofoobar joined07:11
PapaSierra_ ok. i figure forking via bitbucket was pretty convenient. but i'm worried about the upstream concept07:11
yeah07:11
cool, thanks, understood07:11
though, technically what is a fork? isn't it just a cloned repo that happens to have some remote paths set?07:12
milki no, a fork doesnt need any remotes set at all07:13
all clones can be considered a fork07:14
a simple copy of the repo can be a fork07:14
the fork from these online git services adds some sort of reference to the original repo to make certain operations easier07:15
PapaSierra_ oh i see. i guess my question was "what are these special references"?07:15
is it valid git? or is it some extra magic?07:15
milki thats an implementation question07:16
yes, extra magic07:16
davidbanham joined07:16
PapaSierra_ i see07:16
Nevik PapaSierra_: pure git knows nothing about forks07:16
it only knows clones07:16
PapaSierra_ cool, well i think i get it. thanks07:16
Nevik :)07:16
PapaSierra_ well, i once did start a new project by forking the template. anything bad going to happen?07:16
GeertV joined07:17
milki no, but you might be annoyed if bitbucket keeps telling you its a fork07:17
howlymowly joined07:17
milki dont be ocd, and you'll be fine07:17
alternitively, you might be able to ask them to remove the fork reference07:18
robustus left07:18
PapaSierra_ ok, understood.07:18
sluther left07:19
PapaSierra_ thanks so much :)07:19
hafeez3000_ joined07:19
robustus joined07:19
Sky[x] joined07:19
peppyheppy joined07:19
hafeez3000 left07:20
hafeez3000_hafeez300007:20
ErKa left07:21
negaduck joined07:21
maletor left07:22
cbreak-work joined07:22
hoschi joined07:22
x82_nicole left07:23
tvw joined07:24
davidbanham left07:24
leen^| left07:25
LeMike left07:25
aberrant left07:25
huoxito left07:26
yshh joined07:27
hwrd|work joined07:29
flijten joined07:30
miso1337 left07:30
kerrick left07:33
kerrick_ joined07:33
beautifulmind left07:33
whowantstolivefo left07:34
fisted left07:34
fisted joined07:34
whowantstolivefo joined07:34
Grum left07:35
giallu joined07:35
Grum joined07:36
fisted_ joined07:36
fisted left07:36
mmitchell left07:36
fisted_fisted07:37
mmitchell joined07:37
Davey left07:37
exoon joined07:39
subhojit777 left07:39
Davey joined07:39
netiul joined07:40
yshh left07:40
LeMike joined07:43
pppaul left07:43
kerrick_kerrick07:44
eletuchy joined07:44
yshh joined07:45
marthinal joined07:46
goshawk left07:46
smirn0v joined07:46
eletuchy_ left07:48
ankurankan joined07:48
raspy_freenode left07:50
Cromulent left07:50
subhojit777 joined07:51
bestform joined07:52
kerrick left07:52
primitive left07:52
kerrick joined07:52
primitive joined07:52
raspy_freenode joined07:53
ankurankan left07:54
gerryvdm_mbp joined07:56
Chryyz left07:56
foofoobar left07:57
kenperkins left07:57
samuel02 joined07:59
hwrd|work left07:59
laurav joined08:00
anderse joined08:00
LeMike left08:00
robbyoconnor left08:00
skoopty left08:00
skoop joined08:01
mishok13 joined08:01
ankurankan joined08:01
archdori left08:02
tbosua joined08:02
pantsman joined08:02
pantsman left08:02
pantsman joined08:02
hyperboreean left08:02
hafeez3000 left08:02
OOPMan joined08:03
Nimesh joined08:03
rchavik left08:04
sobhan joined08:04
markalanevans joined08:04
papegaaij joined08:04
markalanevans left08:04
Nimesh left08:05
Nimesh9867 joined08:05
suy joined08:05
corimarisol left08:06
corimarisol joined08:06
corimarisol left08:06
corimarisol joined08:06
Nimesh9867 left08:06
nimesh_accenture joined08:07
nimesh_accenture hi08:07
gitinfo nimesh_accenture: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.08:07
nimesh_accenture how do I get a version of a file with a particular change id08:07
milki this sounds like gerrit08:07
nimesh_accenture: does change id refer to a commit?08:08
tasslehoff joined08:08
towski left08:09
tasslehoff I forgot the local repo in my command, and typed "git branch --set-upstream origin/master". How do I undo this? It says that origin/master is setup to track my local branch.08:09
milki hmmm08:10
hyperboreean joined08:10
canton7 if it does, git checkout <commit> -- <path/to/file> to check it out into the same location in your working directory, or git show <commit>:<path/to/file> to cat it (from where you can redirect it somewhere else if you want)08:10
maleknet joined08:10
milki tasslehoff: man git branch --unset-upstream08:10
gitinfo tasslehoff: the git-branch manpage is available at http://jk.gs/git-branch.html08:10
canton7 tasslehoff, just type it again with the correct upstream08:10
cbreak-work tasslehoff: just delete the origin/master branch08:10
canton7 and yeah, get rid of that branch you created08:11
milki o ya, sincei t creates the branch08:11
lol08:11
cbreak wins08:11
sobhan left08:11
nimesh_accenture left08:12
LuxuryMode left08:12
AdrienBrault joined08:13
cbreak-work yay... :)08:13
ozette left08:14
tasslehoff deleted the origin/master, but now I need to fix that I suspect08:14
since I want my *real* origin/master back :)08:15
cbreak-work you should still have that one08:15
git branch -r08:15
maleknet left08:15
tasslehoff ah, that just worked.08:16
cbreak-work: yep08:16
PapaSierra_ i've added a submodule, but somehow it's got screwed up. the dir has been created for it by git, and it's empty. if i do git status it doesn't show up as a change. if i do submodule update it doesn't even realise it's there08:16
davidbanham joined08:16
cbreak-work PapaSierra_: git submodule update --init08:16
davidbanham left08:16
xxc_michael joined08:16
davidbanham joined08:17
PapaSierra_ cbreak-work sure, but in the output it simply doesn't show up08:17
rchavik joined08:18
cbreak-work PapaSierra_: is the submodule in the repository root?08:18
if so, pastebin git cat-file -p HEAD:08:18
bauruine left08:19
cbreak-work hmm... git ls-tree HEAD is probably more user friendly :D08:19
exoon left08:20
Fandekasp joined08:20
wasanzy joined08:21
PapaSierra_ cbreak it's actually under application/vendor/<mysubmodule>08:21
alorence joined08:21
cbreak-work then do a git ls-tree HEAD application/vendor08:21
hwrd|work joined08:21
PapaSierra_ right, it's missing from that output08:21
i see my other submodules but not this one08:21
LeMike joined08:22
cbreak-work then it's not a submodule08:22
submodules must be listed there with a commit entry08:22
PapaSierra_ (i'm going to reboot my vm because sometimes things get screwed up)08:22
cbreak-work (there being the tree)08:22
hoschi left08:22
setmeaway left08:23
PapaSierra_ yeah i know. but that's what's amazing. i did "git submodule add <xyz> application/vendor/xyz". git was able to create the folder for me. but git wasn't able to enter it into it's submodules. this happens about 5% of the time for me using submodules08:23
davidbanham left08:25
hoschi joined08:25
lb1a joined08:25
lb1a left08:25
lb1a joined08:25
superfred left08:26
maleknet joined08:28
fRAiLtY- joined08:28
asaf joined08:29
dhruvasa1ar left08:30
dhruvasagar left08:30
miso1337 joined08:30
PapaSierra_ left08:30
exoon joined08:30
dhruvasagar joined08:31
dhruvasa1ar joined08:31
davidbanham joined08:32
davidbanham left08:32
beliveyourdream joined08:32
davidbanham joined08:33
Fandekasp left08:33
alexwhitman left08:33
PapaSierra_ joined08:34
yshh left08:35
alexwhitman joined08:35
Fandekasp joined08:35
rath joined08:35
marc_kdab_ left08:36
marc_kdab_ joined08:36
anish[1] joined08:37
PapaSierra_ cbreak-work this is serious messed up. i have completely removed the submodule. then i add it from scratch. it creates the folder. beyond that it simply will not recognise it as a submodule08:37
cbreak-work can you clone it yourself?08:38
anish[1] i have a main branch and now I have checked out the other branch.Just now I synced up my main branch.Now I want to apply the latest patches which I have got in my main branch to the other branch which I checked out.08:38
how do i do it?08:38
EugenA joined08:38
asaf left08:38
mnx| joined08:38
PapaSierra_ cbreak-work i have a clone of the sub repo, yes08:39
cbreak-work can you copy it to that location?08:39
yshh joined08:39
PapaSierra_ so i copy the cloned sub repo contents into the git created folder?08:40
anish[1] kind of my checkout branch is behind my main branch.So i want to update my checkout branch with main branch.08:40
milki anish[1]: you can merge the branch or cherry-pick the commits08:40
davidbanham left08:40
anish[1] milki: git merge08:40
?08:40
milki anish[1]: man git merge08:40
gitinfo anish[1]: the git-merge manpage is available at http://jk.gs/git-merge.html08:40
PapaSierra_ cbreak-work in the git created dir there is a .git file. if i copy/paste contents into that dir the .git file will be replaced. what should i do?08:41
EugenA i have ftp access to git bare repo, if i try to clone it, i get error: error: RETR response: 550 while accessing /info/refs08:42
there is no "refs" in info08:42
PapaSierra_ cbreak-work i've done what you said. but now git just sees the contents of that directory as untracked files, not as a submodule08:45
maxmanders joined08:45
cbreak-work PapaSierra_: is it a submodule or not?08:46
miso1337 left08:46
cbreak-work if it's not a submodule, delete it08:46
the whole directory08:46
and add it again after you copied in the clone08:46
it is my theory that the cloning failed08:46
kristofers joined08:47
cbreak-work EugenA: just download the whole thing08:47
EugenA: FTP is dumb08:47
EugenA: it probably needs the same index as dumb HTTP08:47
EugenA: see man git-update-server-info08:47
gitinfo EugenA: the git-update-server-info manpage is available at http://jk.gs/git-update-server-info.html08:47
Jahm left08:47
Jahm joined08:47
hwrd|work left08:50
psoo joined08:50
RET joined08:50
PapaSierra_ cbreak-work please rephrase "is it a submodule or not?", i don't get it. in repo A i have added a submodule (repo B). repo A has created a folder called repo-b but refuses to see it as a submodule. independently i am able to clone repo B elsewhere. if i copy paste the contents of repo B into the repo A/repo-b folder then of course repo A just sees those files as untracked changes, which is not what i want. sorry if i'm a little slow understanding08:50
cbreak-work PapaSierra_: does it have a commit entry in the tree?08:50
PapaSierra_ no08:51
cbreak-work if it has, then it's a submodule. If it does not have, then it's not.08:51
RET after removing some old binary files from my repo with help of http://dound.com/2009/04/git-forever-remove-files-or-folders-from-history/ , the size did not decreased. why?08:51
cbreak-work PapaSierra_: then do what I said above08:51
it should work08:51
PapaSierra_: and try to find out why the cloning failed08:51
(and wether my theory that it failed is correct)08:52
RET: man git-filter-branch08:52
gitinfo RET: the git-filter-branch manpage is available at http://jk.gs/git-filter-branch.html08:52
buibex joined08:52
cbreak-work RET: read the last section08:52
buibex left08:52
PapaSierra_ cbreak-work cloning into a totally different folder, elsewhere on my hard drive completely worked. it's the next steps that you're suggesting that i'm not clear on08:52
engla joined08:52
cbreak-work PapaSierra_: move/copy it where you want the submodule08:52
RET mhm k08:52
cbreak-work PapaSierra_: then git submodule add08:52
Grum left08:53
PapaSierra_ ok. i've never used this technique. what should the git submodule add params look like?08:53
Nmesh_accenture joined08:53
main_ joined08:54
Nmesh_accenture left08:54
adamben joined08:54
soee joined08:54
Nimesh_accenture joined08:54
Nimesh_accenture how do i pick the verdion of a file witha change id?08:54
without merging08:55
Grum joined08:55
cbreak-work PapaSierra_: the same08:55
PapaSierra_: if there is already a clone, submodule add will use it08:55
epta M08:56
cbreak-work Nimesh_accenture: git doesn't have change IDs08:56
epta Are the hooks from ~/.git/hooks/ directory will be available for all git repos?08:56
Dreamer3 joined08:56
miso1337 joined08:57
soc42 joined08:58
PapaSierra_ cbreak-work interesting. i never knew that (obviously). here's what i get Adding existing repo at 'application/vendor/xyz' to the index08:58
cbreak-work epta: no. Just to that git repository08:58
adamben left08:58
tjbiddle_ joined08:58
tjbiddle_ left08:58
PapaSierra_ cbreak-work now in my staging area i see "modified: .gitmodules" and then "new file: application/vendor/xyz". does that look right to you?08:59
cbreak-work PapaSierra_: looks ok...08:59
hakunin_ joined08:59
hakunin left08:59
PapaSierra_ interestingly, with other submodules i get a .git FILE in the submodule dir. with this one, since i did copy/paste, i get a .git DIR08:59
cbreak-work can't say why it failed before though, but it seems to be related with cloning.09:00
PapaSierra_: yes, new git just put a redirect into the submodule09:00
luc__ left09:00
cbreak-work that way you can switch branches without having leftovers09:00
(branches in which the submodule does not exist)09:00
luc__ joined09:00
cbreak-work I've never seen those new ones myself though09:00
PapaSierra_ ok. so having the .git dir is actually ok?09:01
tjbiddle left09:02
cbreak-work yeah. Old school.09:03
as long as you don't have any branches :D09:03
PapaSierra_ well, i do and will have branches09:03
luc___ joined09:03
jnavila left09:04
PapaSierra_ cbreak-work that was very bizarre and the most confusing this was: even if the clone did fail once, why, when i [successfully?] removed the submodule and then re-added it, did git not respect that?09:04
cbreak-work it did09:05
didn't you just said it worked?09:05
PapaSierra_ only via the copy/paste work around09:05
luc__ left09:06
PapaSierra_ typically i would cleanly remove the submodule and then re-add and everything would work fine. this time even after cleanly removing it still just repeated the fail09:06
and, as you say, i can't use branches09:06
cbreak-work you can use them09:06
it'll just have those submodules as leftovers09:06
PapaSierra_ so i think i need to remove repo-A (with it's ghost in the machine) and start over, would that fix it?09:07
cbreak-work no idea.09:08
my crystal ball is cloudy09:08
Sonderblade joined09:09
robotmay joined09:10
jargon joined09:10
yshh left09:11
AndHeiberg joined09:11
yshh joined09:12
hoschi left09:12
PapaSierra_ cbreak-work, yeah, this is really screwy. theoretically i should be able to remove a submodule and then re-add it right?09:12
untaken Is there a command to see information about a commit id? The commit could be on any tag/branch09:13
AndHeiberg I'm new to git. I was suggested to do the following workflow http://pastie.org/6006877 Thought I would install Tower for OSX to make it a little less daunting. I tried to follow this workflow, but on line 5 your linking your local repo with a github repo. I however would like to do this local only for now. How would I go about it?09:14
hafeez3000 joined09:15
PapaSierra_ cbreak-work i've had a breakthrough. i went right back to what i know. adding submodules the normal way. then i cd-ed into the offending submodule dir and did git branch. it came back as null. i did git checkout develop and suddenly all the files appears. so it must have been that the submodule add command was looking to pin it to master or something?09:15
Jahm left09:16
RET cbreak-work: thanks for hint to the last paragraph @shrinking repo: cloning did the trick09:16
tvw left09:17
Jahm joined09:17
sobhan joined09:17
cbreak-work PapaSierra_: it should go by remote HEAD09:17
PapaSierra_: do a git ls-remote of the remote you tried to clone from09:17
maybe it's weird09:17
svetlyak40wt joined09:17
alkino joined09:17
sjefen6_ left09:17
Noel_ joined09:17
cbreak-work RET: yep, it's the easiest way. Don't forget to copy your settings and your other local only things over into the new one09:18
sebuba joined09:18
RET yea09:18
PapaSierra_ cbreak-work be95d4cbae14f3d6e9bf914c0b134846f3202e1d HEAD and be95d4cbae14f3d6e9bf914c0b134846f3202e1d refs/heads/develop09:18
jkremser joined09:19
bauruine joined09:19
yshh left09:19
johnkary left09:21
cbreak-work PapaSierra_: weird... that looks reasonable09:21
svetlyak40wt left09:21
RET left09:21
Jahm left09:23
Jahm_ joined09:23
EugenA now i can clone over ftp, but i'm getting error while cloning: error: Server denied you to change to the given directory (curl_result = 9, http_code = 550, sha1 = .... )09:23
jlopez joined09:24
PapaSierra_ cbreak-work my worries are not over :( i did a git add . and then git status and it's listed all the files in the submodule!09:24
EugenA why? how can i get more information? if i login using ftp client, i'm in my ftp root.. my clone command is: git clone ftp://user:pass@myserver/ .09:24
cbreak-work PapaSierra_: weird. It should not go into directories with a .git09:25
PapaSierra_ cbreak-work i agree. i have a .git file which contains gitdir: ../../../.git/modules/application/vendor/xyz09:26
timj joined09:27
johnkary joined09:27
johnkary left09:27
asaf joined09:28
stliu left09:29
PapaSierra_ cbreak-work amazing. the submodule has mysteriously dropped off the git ls-tree HEAD list again. if i cd into the submodule it feels like a regular repo.09:29
negaduck_ joined09:30
ankurankan left09:30
negaduck left09:32
negaduck_negaduck09:32
thiago joined09:32
chisler joined09:33
hakunin_ left09:33
WorkeD left09:33
PapaSierra_ cbreak-work and, git rm --cached application/vendor/repo-b gives fatal: pathspec 'application/vendor/repo-b' did not match any files09:34
hakunin joined09:34
untaken Is there a command to see information about a commit id? The commit could be on any tag/branch09:36
SonderbladeWork joined09:36
SonderbladeWork left09:36
cmn git show will tell you most of what you want to know about a commit09:37
jast _ikke_: the source code for gitinfo is on github09:39
AndHeiberg any thoughts on how to solve my problem?09:39
PapaSierra_ cbreak-work ok. fixed. i think. i removed the submodule completely and then did git submodule add <url> <path> -b develop09:39
untaken cmn: thanks09:39
wasanzy left09:39
maleknet left09:40
hoschi joined09:42
xiangfu left09:42
giallu left09:42
EugenA i've cloned over ftp, but if i push, it says: fatal: git-http-push failed09:43
asaf1 joined09:43
asaf left09:43
memoryleak joined09:43
yshh joined09:44
TomWij left09:46
Sigma joined09:46
TomWij joined09:46
GeertV left09:47
nafg left09:48
jast EugenA: pushing over FTP is not supported09:48
GeertV joined09:48
EugenA ok..09:48
pity left09:48
cmn and ftp is deprecated at best09:50
the fetching, I mean09:50
anderse left09:50
AndHeiberg is this the wrong place to ask questions like mine?09:50
jast nah09:50
if you want to work locally, just don't add any remotes and don't push09:51
(of course, since there's no other repo, you won't have to fetch/merge, either)09:51
oh well, I guess you *are* cloning from an upstream repo, so that part may actually still make sense09:51
hafeez3000 left09:51
jatt joined09:51
AndHeiberg +jast: but I'm trying to add laravel development branch as a remote, since I wan't to be able to pull updates09:52
chisler left09:52
jast cloning automatically adds a remote for your clone source09:52
it's called 'origin' by default09:52
GeertV left09:52
rchavik left09:53
AndHeiberg okay, so after doing the clone there's no need to do anything else?09:53
lyang0 left09:53
tasslehoff left09:53
jast that's right09:53
marhaban joined09:53
AndHeiberg cool I will try that then09:53
thanks a lot for you help09:53
chisler joined09:53
jast good luck :}09:54
fisted left09:55
hafeez3000 joined09:55
buibex joined09:56
GeertV joined09:56
cheater joined09:56
cheater hi guys09:56
Xethron left09:56
cheater can i somehow pull from many unrelated repositories, in order to be able to do git log on one repo and see the commit messages from all the different remotes at once?09:57
Chryyz joined09:57
fflush left09:57
smirn0v left09:57
guns joined09:58
PapaSierra_ left09:58
fflush joined09:58
giallu joined09:58
tPl0ch joined09:58
AndHeiberg +jast: but if I only do the clone and tried to push wouldn't that go to the cloned repo?09:59
RaceCondition joined09:59
JohnBat26 left09:59
smirn0v joined09:59
djsecilla left10:00
babilen joined10:00
svetlyak40wt joined10:00
hegemoOn joined10:00
hegemoOn hello10:00
gitinfo hegemoOn: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.10:00
hegemoOn im new to git10:01
i created a repository online using web interface10:01
im new trying to put some file from my computer for this repository10:01
Ziggy` left10:01
hegemoOn but it fails with error : failed to push some refs to ....10:01
AndHeiberg +jast: why can I only commit with the --amend tag?10:02
dermoth|home joined10:02
hegemoOn update were rejected because the tip of your current branch is behind10:02
nafg_ joined10:02
hegemoOn what can i do to fix that ?10:02
irqq joined10:03
timj left10:03
EugenA left10:03
frogonwheels hegemoOn: by 'web interface' do you mean github?10:04
hegemoOn yes10:04
achadwick joined10:04
frogonwheels hegemoOn: did you clone your new repo first?10:04
hegemoOn no10:04
jast AndHeiberg: what happens if you don't?10:04
frogonwheels hegemoOn: and this is your first push?10:04
FernandoBasso joined10:05
JohnBat26 joined10:05
hegemoOn yes10:05
AndHeiberg +jast: I'm using git Tower and it tells me I can only do it with that flag, but I can try in the command promt10:05
jast AndHeiberg: sounds weird10:05
hegemoOn frogonwheels: im trying to follow the https://help.github.com/articles/create-a-repo10:05
instructions10:05
frogonwheels hegemoOn: I think github might put an initial commit with .gitignore in it. so if you force push your first commit you should be good.10:05
hegemoOn: also there's #github10:05
hegemoOn frogonwheels: thanks for the hint10:05
yshh left10:06
frogonwheels anyway I gg. gl10:06
Dr4k3 joined10:07
AndHeiberg +jast: http://pastie.org/6007533 is the terminal response10:07
BiggFREE left10:07
jast AndHeiberg: how about you follow the instructions in that message ;)10:08
AndHeiberg yeah, just read it :) Remeber I used Tower before10:08
Gentlecat_ joined10:08
AndHeiberg I guess there must be some "add" button in tower. Idk maby I should just use the command line :)10:09
beautifulmind joined10:10
sjefen6 joined10:10
Sonderblade left10:11
soee left10:11
dhruvasagar left10:11
whowantstolivefo left10:11
peppyheppy left10:11
thehandler left10:11
dc5ala left10:11
frogonwheels left10:11
dragon3_ left10:11
rockfruit left10:11
jday_ left10:11
keller left10:11
tirengarfio left10:11
nutron left10:11
zivester left10:11
simesy left10:11
masak left10:11
cespare|home left10:11
infogulch left10:11
Samual left10:11
Modernmy1h left10:11
kanzure left10:11
RichardJ left10:11
jepler left10:11
KaiSforza left10:11
beawesomeinstead left10:11
Anathema left10:11
worch left10:11
theForce_ left10:11
chisler left10:11
KaiSforza joined10:12
chisler joined10:12
dragon3_ joined10:12
zoresvit joined10:13
Sonderblade joined10:14
soee joined10:14
dhruvasagar joined10:14
whowantstolivefo joined10:14
peppyheppy joined10:14
thehandler joined10:14
dc5ala joined10:14
rockfruit joined10:14
frogonwheels joined10:14
jday_ joined10:14
keller joined10:14
tirengarfio joined10:14
nutron joined10:14
zivester joined10:14
simesy joined10:14
masak joined10:14
cespare|home joined10:14
infogulch joined10:14
Samual joined10:14
Modernmy1h joined10:14
Anathema joined10:14
RichardJ joined10:14
jepler joined10:14
beawesomeinstead joined10:14
worch joined10:14
sobhan left10:14
notfunk left10:14
Xethron joined10:14
notfunk joined10:14
whowantstolivefo left10:14
kanzure joined10:15
whowantstolivefo joined10:15
AndHeiberg left10:15
frogonwheels left10:17
frogonwheels joined10:17
skul joined10:18
ahf left10:19
nikosss joined10:19
ahf joined10:19
Gentlecat__ joined10:19
xonix left10:20
JohnBat26 left10:20
beliveyourdream_ joined10:20
beliveyourdream left10:20
Gentlecat_ left10:21
Chryyz left10:21
jkremser left10:21
xonix_ joined10:22
smirn0v left10:23
JohnBat26 joined10:24
jnavila joined10:24
arkiver joined10:25
beliveyourdream_ left10:25
smirn0v joined10:25
beliveyourdream joined10:25
anderse joined10:27
xiangfu joined10:30
nikosss left10:30
svetlyak40wt_ joined10:30
svetlyak40wt left10:30
dhruvasa1ar left10:31
dhruvasagar left10:31
peppyheppy left10:31
lyang0 joined10:31
sobhan joined10:32
thiago left10:32
thiago joined10:32
dhruvasagar joined10:33
dhruvasa1ar joined10:33
juvenal left10:34
juvenal joined10:35
Hounddog_ left10:35
sebuba left10:36
kerrick left10:36
Hounddog joined10:39
negaduck left10:40
Grum left10:40
ozette joined10:41
memoryleak left10:41
mklappstuhl joined10:42
Grum joined10:42
snql joined10:42
robotmay_ joined10:44
Sonderblade left10:45
asaf1 left10:45
asaf joined10:45
guampa joined10:46
TheFuzzball joined10:46
FernandoBasso left10:46
robotmay left10:48
FernandoBasso joined10:48
zoresvit left10:48
timj joined10:48
vaibhavjain joined10:48
svetlyak40wt_ left10:48
zoresvit joined10:50
tvw joined10:50
asaf left10:51
asaf1 joined10:51
lun_ joined10:51
the_cybersphinx joined10:51
svetlyak40wt joined10:53
negaduck joined10:53
rchavik joined10:54
arietis joined10:56
asaf1 left10:58
asaf joined10:58
tinti left11:00
tinti joined11:01
asaf left11:01
asaf1 joined11:01
chisler left11:01
iksikpratchet11:02
negaduck left11:02
pratchetiksik11:03
myx joined11:04
memoryleak joined11:06
Anders_J joined11:09
juvenal left11:09
rchavik left11:09
negaduck joined11:10
i42n joined11:10
lun_ left11:11
lun_ joined11:11
zoresvit left11:11
Targen left11:12
hegemoOn left11:12
jaequery left11:15
scorphus joined11:15
rchavik joined11:16
gerryvdm_mbp left11:17
arietis left11:18
zoresvit joined11:18
Noel_ left11:19
maleknet joined11:21
rchavik left11:21
dragon3_ left11:23
Mannequin joined11:24
soc42 left11:24
hyperair left11:25
epta Is there a way to have hook that will add ticket number from branch name to commit message if there is no one? I wan't to use it with -m (http://stackoverflow.com/questions/5823772/append-ticket-number-using-git-commit-hooks - this one don't works with -m as they said)11:25
want*11:25
sobhan left11:26
maleknet left11:26
arietis joined11:26
eletuchy left11:27
chisler joined11:27
anish[1] left11:28
Chiku|dc joined11:28
Chiku|dc hi11:28
gitinfo Chiku|dc: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.11:28
Chiku|dc I want to find the commit from all commits a word match11:30
is it possible to do that ?11:30
mit2nil joined11:30
wolfmitchell left11:31
Chiku|dc not in commit desc but in comiited files11:31
prudnikov joined11:32
lyang0 left11:32
Progster joined11:33
grawity you mean commits where a word was *added*, or...?11:33
Chiku|dc no11:33
svetlyak40wt left11:34
Chiku|dc word in files which are commited11:34
on all diff commited11:34
all commited diffs11:35
svetlyak40wt joined11:35
Chiku|dc to get wich commit add this word in a file11:35
AdrienBrault left11:36
grawity ...so like I said, commits where a word was added...11:36
git log -Syourword11:36
Chiku|dc ok11:36
svetlyak40wt left11:36
PigeonFriend joined11:36
robbyoconnor joined11:36
hafeez3000 left11:37
rchavik joined11:37
svetlyak40wt joined11:37
Chiku|dc thx grawity11:38
pity joined11:38
Chiku|dc it 's what I wanted11:38
mit2nil left11:39
pantsman left11:40
jkremser joined11:40
GeertV left11:40
rastar joined11:40
Dreamer3 left11:40
GeertV joined11:41
basmoura joined11:41
babilen left11:42
babilen joined11:43
anish[1] joined11:43
juvenal joined11:44
aldskf3 joined11:45
Xethron left11:45
Guest68908 joined11:46
luc___ left11:47
Dreamer3 joined11:47
Guest68908 left11:47
nafg_ left11:49
itatitat joined11:50
angelsl joined11:50
Sky[x] left11:50
i42n_ joined11:51
i42n_ left11:52
davidbanham joined11:52
i42n left11:53
sebuba joined11:53
flavius left11:56
eletuchy joined11:58
ryez left11:58
vaibhavjain left12:00
prudnikov left12:01
zoresvit left12:03
Grum left12:03
marhaban left12:04
jnavila left12:04
Grum joined12:04
Xethron joined12:06
alansaul_ joined12:06
eletuchy left12:09
alansaul_ left12:11
Error404NotFound left12:11
alansaul_ joined12:11
RonScagz joined12:11
rwestphal left12:13
giallu left12:15
krispin joined12:15
rwestphal joined12:15
miso1337 left12:15
Sonderblade joined12:16
lun_ left12:16
lun_ joined12:16
eletuchy joined12:17
OOPMan left12:18
zoresvit joined12:19
cmmagid joined12:19
dhruvasagar left12:20
e-dard joined12:20
dhruvasa1ar left12:20
e-dard Hi, just wondering if I can use submodules to link a certain folder in another repository into my repo at a current location?12:20
I don't want the entire "common" repo linked in, just a part of it. Is that possible?12:21
cmmagid left12:21
lun__ joined12:21
lun_ left12:21
awesome_muffin left12:21
Chryyz joined12:22
dhruvasagar joined12:22
dhruvasa1ar joined12:22
prudnikov joined12:22
TonyM !backup12:23
gitinfo Taking a backup of a git repository is always a good idea, especially when taking advice over IRC. Usually, the best way to TACTICALLY back up a git repo is `git clone --mirror`. However, some unusual maintenance might require `tar cf repo-backup.tar repodir`. Testing in a clone is also an excellent idea. See also http://sethrobertson.github.com/GitBestPractices/#backups12:23
cmmagid joined12:23
odin_ left12:23
arietis left12:24
e-dard TonyM: was that for me?12:24
sangi left12:24
SeoZSeoZ-work[AWAY]12:24
sysadminAli joined12:25
TonyM no, I was just looking back through the morning's messages and saw the welcome message from gitinfo at 10:00. I was interested in its comment about taking backups.12:25
buibex left12:25
TonyM I'm pretty new to git, so can't answer your question - sorry!12:27
flijten left12:27
dhruvasagar left12:28
dhruvasa1ar left12:28
jast e-dard: nope12:28
revagomes joined12:28
dhruvasagar joined12:29
dhruvasa1ar joined12:29
Progster left12:29
corimarisol left12:29
flijten joined12:29
corimarisol joined12:30
corimarisol left12:30
corimarisol joined12:30
corimarisol left12:30
corimarisol joined12:31
corimarisol left12:31
corimarisol joined12:31
buibex joined12:33
samio left12:34
cheater_ joined12:35
jnewt joined12:36
samio joined12:37
jnewt how can i get a list of branches and whether or not they were updated into a post-receive hook?12:37
arkiver left12:37
n4irc joined12:37
guns left12:38
cheater left12:39
brunov joined12:39
xxc_michael left12:40
marhaban joined12:42
negaduck left12:44
EugeneKay jnewt - man githooks; you already get the list of updated branches. You can use man git-rev-list --branches to get a list of all branches and compare the two for intersections & omissions.12:44
gitinfo jnewt: the githooks manpage is available at http://jk.gs/githooks.html12:44
jnewt: the git-rev-list manpage is available at http://jk.gs/git-rev-list.html12:44
cmmagid left12:44
yshh joined12:44
cmmagid joined12:45
achadwick git svn, wh[y do yo]u no[t support] submodule [directly]?12:45
cmmagid left12:45
EugeneKay !why12:45
gitinfo Why? Because screw you, that's why.12:45
achadwick rearranges those omission []s until it's right.12:45
achadwick also approves of this approach.12:46
dhruvasagar left12:46
jnewt EugeneKay: i see this: <old-value> SP <new-value> SP <ref-name> LF is that what you mean? how do i use that?12:46
dhruvasa1ar left12:47
agile left12:47
AdrienBrault joined12:47
EugeneKay You read from stdin ;-)12:48
Error404NotFound joined12:48
Error404NotFound left12:48
dhruvasagar joined12:48
JDuke128 joined12:48
chisler left12:48
dhruvasa1ar joined12:49
Error404NotFound joined12:49
JDuke128 left12:49
lyang0 joined12:49
ashok joined12:49
agile joined12:50
ashokGuest2707412:50
JDuke128 joined12:50
CausaMortis__ left12:50
asaf1 left12:50
JDuke128 left12:51
ankurankan joined12:51
jnewt EugeneKay: ok, we're not really getting anywhere here. lets say i have the script, with a while read lne; do "something"; done ok, now say i want to echo "$x"; where x is the branch names. how do i do that?12:51
JDuke128 joined12:51
skorgon left12:52
EugeneKay jnewt - https://github.com/EugeneKay/scripts/blob/master/bash/git-deploy-hook.sh#L14212:52
sobhan joined12:52
JDuke128 left12:52
EugeneKay (this is bash, which I presume is what you're using as well)12:52
hyperair joined12:52
JDuke128 joined12:53
lugzer_ joined12:53
pandeiro joined12:53
JDuke128 left12:53
skorgon joined12:54
JDuke128 joined12:54
jnewt that's fine. i can use bash12:54
lugzer_ left12:54
lugzer joined12:54
lugzer hi12:54
jnewt EugeneKay, perfect. thanks.12:55
svetlyak40wt left12:56
lugzer i noticed that when i'm in a directory present only in one branch, and then checkout master branch while in that directory, it gets created in the master branch. is that normal?12:56
alansaul_ left12:56
sebuba left12:56
Bombe It does not get created anywhere.12:57
svetlyak40wt joined12:57
Bombe If it’s not tracked, Git won’t touch it.12:57
(Git doesn’t track directories, anyway.)12:57
thyseus left12:57
teukka left12:58
lugzer Bombe, okay, but I am seeing them created (only directories).12:58
ij joined12:58
ij What do you guys think about cross-branch fast-forward merges?12:58
jast for real merges I tend to prefer merge commits12:59
thyseus joined12:59
jast i.e. if I want to leave a record that something was merged12:59
tirengarfio_ left12:59
tirengarfio left12:59
Bombe lugzer, if you are in a directory while performing git checkout, how can you see it being created?13:00
(Hint: you can’t. Because it’s not created.)13:00
agile left13:00
lugzer Bombe, try "git checkout -b testbranch", "mkdir test && cd test", "touch index.html", "git add . && git commit -am 'commit'", "git checkout master" -- you will see what i mean13:00
teukka joined13:01
EugeneKay ij - they hide the "path" that the merging branch takes to get to the destination commit(via HEAD~ watching). Whether this is acceptable to your workflow is largely a religious matter.13:01
tirengarfio joined13:01
bmac joined13:02
Bombe lugzer, I do not see what you mean. The directory you created is gone.13:02
As one would expect it to because there’s nothing in it which is in master.13:02
lugzer Bombe, then I don't understand why I am seeing the directory created in master after the same operation13:03
sander^work joined13:03
davidban_ joined13:03
sysadminAli left13:04
YoungFrog lugzer: after 'git checkout master', if I do 'git status', I get an error fatal: Unable to read current working directory:13:04
(because the directory is non existent, even if the shell still thinks I'm in it)13:04
rastar left13:04
Bombe lugzer, then you’re probably doing something else. Or your system is broken. The directory doesn’t exist in master, and it won’t simply get created.13:04
lugzer Bombe, ok I understand now - it was the damn editor which was forcing these directories to be created? sorry, that was lame13:04
Bombe Yes, that was lame. :)13:04
lugzer (as I had them opened for edit in an editor)13:05
sander^work Hi. Does gitignore files make a file downloadable on a clone, but ignored on push?13:05
valtih joined13:05
EugeneKay sander^work - no; man gitignore. It's for telling git to ignore untracked files in your working directory(eg, build output)13:05
gitinfo sander^work: the gitignore manpage is available at http://jk.gs/gitignore.html13:05
wolfmitchell joined13:05
bestform left13:05
milStaja joined13:05
Shurakai joined13:05
hafeez3000 joined13:06
grawity sander^work: No. `git push` always pushes commits unaltered. "gitignore" only applies when adding files to a new commit.13:06
Droolio joined13:06
valtih I have one commit. Then, I add one file and make another commit. Now, I rebase interactively: pick the first and squash the second. Two initial commits are replaced by one in result. So far so good. The problem is that the new file is missing in the result. How is this possible?13:07
davidbanham left13:07
Sky[x] joined13:07
sander^work I've read the manpage.. But I want to be sure an initial version of the file follows the repository even if I dont want to track it.13:07
sebuba joined13:08
EugeneKay sander^work - !config13:08
gitinfo sander^work: [!configfiles] It is recommended to store local configuration data in a file which is not tracked by git, but certain deployment scenarios(such as Heroku) may require otherwise. See https://gist.github.com/1423106 for some ideas13:08
hafeez3000_ joined13:08
skorgon left13:08
sander^work EugeneKay, I want everyone to not be able to add some spesific files.13:09
samio left13:10
bmac left13:10
jcromartie joined13:10
skorgon joined13:10
deavidsedice left13:10
e-dard jast: what about if I use the gitignore file to ignore parts of the repository I don't want? Is that a possibility?13:11
kristofers left13:11
grawity Add something.conf to .gitignore, and add something.conf.example to the actual repository13:11
YoungFrog valtih: I don't see that behaviour.13:11
EugeneKay git either tracks a file or it doesn't. gitignore doesn't change that13:11
hafeez3000 left13:12
hafeez3000_hafeez300013:12
EugeneKay WHat gitignore changes is the behaviour of 'git status' and 'git add' for files that are not tracked13:12
That's it.13:12
mmitchell left13:12
rockfruit left13:13
gregsmith joined13:13
gusnan joined13:13
EugeneKay If you want the file to not be tracked in your repo, but still provide an example file, do as the configfiles factoid says and provide a ".example" file.13:13
Put something in the README to make a copy of it13:13
rockfruit joined13:14
miso1337 joined13:15
tPl0ch left13:15
fflush left13:15
fflush joined13:15
speidy1` joined13:16
deavid joined13:17
speidy left13:18
adhawkins-awayadhawkins13:18
rastar joined13:18
skorgon left13:19
marhaban left13:19
amigojapan joined13:19
Grum left13:19
hafeez3000 left13:20
valtih Here is the archive, http://speedy.sh/tQuXv/.git.zip You 'git rebase -i HERAD~2', pick first commit 0c2b399 and squash with second 84f800e. You will recieve a conflict on a third file, just move it into index area and rebase -- continue. Please note that bug.vhdl, contained in the second commit has disappeared.13:20
amigojapan hi, is there a channel for the gists api, or can I ask here? I want to udenrstand how the authentication process for gists api works, I cant udnerstadn teh documentation very well,can someone explain it please13:20
skorgon joined13:20
adhawkins amigojapan: #github might be more appropriate.13:20
revagomes left13:21
amigojapan ok adhawkins13:21
Grum joined13:21
EugeneKay From my experience with github's API, the answer is "poorly"13:22
hafeez3000 joined13:22
e-dard left13:22
cmmagid joined13:22
cmmagid left13:23
sander^work EugeneKay, does /* match all . files also?13:23
hinst joined13:23
skorgon left13:23
sander^work with gitignore13:23
EugeneKay Yes.13:23
sander^work Thanks :-)13:24
Guest27074 left13:24
subhojit777 left13:24
Matek joined13:24
foofoobar joined13:25
dharrigan left13:25
dharrigan joined13:26
dharrigan left13:26
dharrigan joined13:26
revagomes joined13:26
keller left13:26
skorgon joined13:27
miso1337 left13:27
jcao219 joined13:28
OOPMan joined13:28
aspiers left13:29
tomoyuki28jp joined13:29
sgambino joined13:29
Fandekasp left13:29
cohwsw joined13:30
tomoyuki28jp How can I checkout a file which used to exists but has gone?13:30
EugeneKay man git-checkout; last syntax13:31
gitinfo the git-checkout manpage is available at http://jk.gs/git-checkout.html13:31
myx left13:31
Fandekasp joined13:31
wasanzy joined13:32
karptonite joined13:32
yshh left13:33
R1KRDO joined13:33
YoungFrog valtih: I have no bug.vhdl (anywhere), I have no conflict either, but there is a file named bug.vhd in the resulting commit13:33
myx joined13:33
MacWinner joined13:33
R1KRDO left13:34
R1KRDO joined13:34
dharrigan left13:34
jcromartie left13:35
alunduil left13:35
dharrigan joined13:35
dharrigan left13:36
dharrigan joined13:36
rfoust left13:36
tomoyuki28jp git checkout ID PATH returns me 'did not match any file(s) known to git.'13:36
valtih If you add these files http://www.speedyshare.com/8CSU2/b01.zip into your work dir?13:36
jcao219 left13:36
dhruvasagar left13:36
valtih YoungFrog:13:36
speidy1` left13:36
dhruvasa1ar left13:36
speidy joined13:36
valtih can existing file in the working dir cause lost files after sqash?13:36
javaprogger joined13:37
rgr joined13:38
buibex left13:38
kristofers joined13:39
YoungFrog valtih: those files are the working dir of HEAD (except .project)13:40
I don't see why existing files would interfere. If they don't match HEAD, git won't allow you to rebase (unless they are untracked or ignored of course)13:42
valtih I get a rebase conflict at modelism.do13:42
chisler joined13:42
tirengarfio left13:42
wasanzy left13:42
speidy1` joined13:43
karptonite left13:43
sontek left13:44
sontek joined13:44
tirengarfio joined13:44
teukka left13:44
ajeffco joined13:44
goshawk joined13:45
speidy left13:46
YoungFrog after unzipping, here is what happens when rebasing : http://pastebin.com/7VmNF0sf13:46
valtih: so no conflict for me.13:46
glennpratt left13:47
karptonite joined13:47
sweb joined13:47
geekbri joined13:48
sweb left13:48
davidban_ left13:48
jjido joined13:50
valtih This is odd. Thanks, YoungFrog13:50
Chryyz left13:51
zoresvit left13:52
negaduck joined13:52
YoungFrog You may want to try redownloading your own files and trying from an empty directory as I did. I tried to read your reflog but can't make any sense out of it.13:52
freeed joined13:53
sysadminAli joined13:54
teukka joined13:54
smirn0v left13:55
zoresvit joined13:55
johnthebear left13:55
lyang0 how to get the oldest commit id in tree13:56
smirn0v joined13:57
arvind_khadri left13:58
rastar left13:58
Fandekasp left13:59
hafeez3000 left13:59
tirengarfio left13:59
asaf joined14:00
n1x left14:00
hafeez3000 joined14:00
acrocity joined14:01
tirengarfio joined14:01
handsome_cam joined14:01
yshh joined14:01
beautifulmind left14:01
whowantstolivefo i finished my tests and try to push my files. i get this error, how can i fix it ? https://gist.github.com/4691423 ?? and when i type " ssh-add -l " i get this 2048 58:ac:6a:6d:f5:b9:ff:46:c1:0b:fa:60:db:33:88:b7 [email@hidden.address] (RSA)14:02
lyang0Adele14:02
Matek left14:02
rfoust joined14:04
arietis joined14:05
abcdefg_ joined14:05
ojacobson joined14:05
huoxito joined14:05
rfoust left14:05
gregsmith left14:06
handsome_cam left14:06
teriyakis joined14:07
Adele I'm Adele14:07
lb1a whowantstolivefo: your key isn't regognized by the remote14:07
gregsmith joined14:08
breakingthings joined14:08
buibex joined14:08
whowantstolivefo lb1a: how i will recognize ?14:09
john_anderson joined14:09
javaprogger left14:09
lb1a whowantstolivefo: make sure that your remote accepts your ssh key.14:10
whowantstolivefo lb1a: how i will make sure ? i have ssh key in my github command14:10
lb1a whowantstolivefo: what does "git remote -v" tell you?14:10
whowantstolivefo https://gist.github.com/4691516 << telling me this14:11
wrouesnel left14:11
foofoobar left14:12
teriyakis left14:12
lb1a whowantstolivefo: i'm guessing you are trying to push to heroku. instead your git client tries to push to github (because it's your origin and tracked by default if you cloned) and github doesnt accept your id_rsa.pub key14:13
whowantstolivefo: if you want to push to heroku say "git push heroku <branch>"14:13
ehsan left14:13
lb1a whowantstolivefo: if you want to push to github, check you ssh keys at the github homepage14:14
Xethron left14:14
lb1a or your ~/.ssh/config14:14
whowantstolivefo wait me i will check my ssh keys14:14
infynyxx joined14:15
yshh left14:15
davidbanham joined14:16
kenperkins joined14:16
whowantstolivefo https://gist.github.com/4691516 <<<<14:16
ij left14:16
kumbayo joined14:16
buibex left14:16
AAA_awright_ joined14:17
ankurankan left14:17
lb1a whowantstolivefo: http://wiki.ubuntuusers.de/SSH14:17
whowantstolivefo: http://wiki.ubuntuusers.de/SSH#ssh-config14:18
yshh joined14:18
Xethron joined14:18
john_anderson left14:18
kill-9_ joined14:18
marhaban joined14:19
m0ltar joined14:19
whowantstolivefo i have only >>>>>> id_rsa id_rsa.pub key_backup known_hosts <<<<<<<< these files in .ssh ?14:19
lb1a whowantstolivefo: your don't need the config, it's just a helper. anyway, your pushtarget doesn't recognize this key.14:19
whowantstolivefo: https://github.com/settings/ssh14:20
make sure you've added your pub key there14:20
whowantstolivefo i am stuck of here letme look github/setting/ssh14:20
lb1a whowantstolivefo: https://help.github.com/articles/error-permission-denied-publickey14:20
whowantstolivefo lb1a: [email@hidden.address] (b8:60:34:0a:e0:1c:b4:da:c3:25:fe:a3:32:35:72:8d) <<< in my github page SSH keys is this.14:21
dvide joined14:21
cannonball joined14:21
lb1a whowantstolivefo: if that's your id_rsa.pub your fine. check your user upon connection. to push to github it must be user "git" and not your local username or your github username14:22
read the FAQ page, there are the most common errors listed14:23
whowantstolivefo lb1a: let me figure out i am newbie about programming and push stuff i will figure out it with your helpful links i will let you know soon14:24
rockfruit left14:24
lun__ left14:24
davidbanham left14:25
matthias_dev joined14:26
h0bbit left14:27
hsn joined14:28
thl0 joined14:29
hsn how do i revert already pushed commit? i need reversed cherrypick on that commit14:29
jast git revert14:29
rockfruit joined14:30
lb1a jast: sometimes the answer is so simple ;)14:30
alunduil joined14:30
hsn i did git rever xxxxx and it still working - about 30 seconds now14:31
tinti left14:31
jast that's... highly unusual14:31
exoon left14:31
exoon joined14:32
pretty_function left14:32
alunduil left14:32
huoxito left14:33
ESphynx left14:33
alunduil joined14:33
glennpratt joined14:33
n4irc left14:34
Milossh joined14:34
hsn i had configured some weird X11 editor which took forever to start14:34
Milossh left14:34
hsn i was afraid that repo got corrupted14:35
jast phew :)14:35
Milossh joined14:35
sbodo joined14:36
mmitchell joined14:36
lugzer left14:37
hsn what is command for checking if repo is not corrupted14:38
jast git fsck14:38
aspiers joined14:39
FernandoBasso left14:39
lun_ joined14:40
whowantstolivefo lb1a: i added new SSH key to my github finally :)14:40
karptonite left14:41
hafeez3000 left14:41
hafeez3000 joined14:42
nkr joined14:42
buibex joined14:42
timj left14:43
thl0 left14:43
foofoobar joined14:44
hellopat joined14:44
hsn left14:44
svetlyak40wt left14:45
svetlyak40wt joined14:45
normanrichards left14:45
flavius joined14:46
AaronMT joined14:46
negaduck left14:47
lb1a whowantstolivefo: yw14:48
bil` joined14:48
whowantstolivefo lb1a: but now i have another problem14:48
giallu joined14:48
karptonite joined14:49
aspiers left14:49
teukka left14:49
valgrind left14:49
AAA_awright_ left14:49
karptonite left14:49
whowantstolivefo lb1a: https://gist.github.com/4691728 <<14:49
buibex left14:49
teukka joined14:51
Infiltrator left14:52
lb1a whowantstolivefo: http://bit.ly/XsDNHB14:52
Infiltrator joined14:52
lifelike joined14:53
lb1a whowantstolivefo: https://help.github.com/articles/error-agent-admitted-failure-to-sign ^^14:53
JDuke128 left14:54
buibex joined14:54
samuel02 left14:55
soee left14:55
whowantstolivefo lb1a: i think i made wrong at here >>> Enter passphrase for /home/aslan/.ssh/id_rsa: <<14:55
OOPMan left14:55
whowantstolivefo lb1a: what is passphrase ? my github password ?14:56
lb1a whowantstolivefo: your passphrase that you setup when you generated the key14:56
v0n joined14:56
Ikoo left14:56
whowantstolivefo Server host key: RSA 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48 <<< this one ?14:56
kill-9_ left14:56
lb1a that looks liek a fingerprint to me14:57
whowantstolivefo yes it is ?14:57
lb1a a passphrase is a password. setup while creating the ssh key. you'll have to remember14:57
rgr left14:57
whowantstolivefo lb1a: >>> Identity added: /home/aslan/.ssh/id_rsa (/home/aslan/.ssh/id_rsa) <<<14:58
x82_nicole joined14:59
rugged joined15:00
whowantstolivefo lb1a: i pick it up!! thank you " git push " worked here but now have another problem same git push.. about git push heroku master >>> https://gist.github.com/469180115:00
tmcmahon joined15:01
whowantstolivefo need heroku keys:add ?15:01
svetlyak40wt left15:01
krispin1 joined15:01
lb1a whowantstolivefo: this is not git specific. try the heroku docs on their page or #heroku15:01
krispin left15:01
whowantstolivefo okay15:02
lb1a: thank you very much!15:02
ehsan joined15:02
myx left15:02
lb1a whowantstolivefo: you're welcome15:02
oreth joined15:02
whowantstolivefo lb1a: i got it over also :) now uploading!15:02
svetlyak40wt joined15:03
bartek left15:03
bartek joined15:04
TeckniX joined15:04
aldskf3 left15:05
mmitchel_ joined15:05
jjido left15:05
wave joined15:06
wave I did this git config core.filemode false, but I committed already files those mode changed. So can I somehow uncommit them?15:07
ehsan left15:07
wave I think this should keep my changed on a commit tree and uncommit? git reset --soft HEAD^15:08
mmitchell left15:08
skorgon left15:09
EugeneKay !amend15:09
Hrm.15:09
wave - man git-commit; see --amend.15:09
gitinfo wave: the git-commit manpage is available at http://jk.gs/git-commit.html15:09
EugeneKay Just change the files how you want; add, then amend ;-)15:09
wave thank you, got it uncommitted15:10
but how can I ignore change of file modes?15:10
I don't want upload whole repository15:10
skorgon joined15:10
normanrichards joined15:10
lausi left15:11
lausi joined15:11
kill-9_ joined15:11
luc___ joined15:11
spuz joined15:11
adhawkinsadhawkins-away15:12
flijten left15:13
gregsmith left15:13
johnthebear joined15:13
timj joined15:13
eletuchy left15:14
thl0 joined15:14
saby joined15:14
saby Hi15:14
gitinfo saby: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.15:14
michaelmartinez joined15:15
saby !topic15:15
jstn joined15:15
gitinfo set mode: +v15:15
Gentlecat joined15:16
natechan joined15:16
jstn left15:16
davidbanham joined15:16
saby Hi, we are currently using SVN as our central repository and are planning to move to Git What according to you should be the best procedure to migrate all the code from SVN to Git and also get all the commit history in Git, so that if we want to move back to a previous version of code then we can easily do that.15:17
flijten1 joined15:17
Destos joined15:18
tomoyuki28jp left15:18
thl0 left15:18
thl0 joined15:18
jast there's git-svn... it's slightly eccentric, though15:18
Gentlecat__ left15:18
grawity reposurgeon can load svnadmin dumps15:18
javaprogger joined15:19
goshawk left15:19
wasanzy joined15:19
kermit joined15:20
clreed87 joined15:20
daniel_- joined15:21
daniel_- left15:21
daniel_- joined15:21
netiul left15:22
jesfre joined15:22
fflush saby: you might want to read http://blogs.atlassian.com/2013/01/atlassian-svn-to-git-migration-technical-side/?utm_source=GooglePlus&utm_medium=Atlassian&utm_campaign=Stash15:22
lb1a if i do a git svn clone <some-svn-repo> and after that i clone that cloned git repo somewhere else, will the svn metadata get lost?15:22
!migration15:22
saby thanks fflush :)15:22
jast does git-svn also migrate the commit history so that we can revert back to previous code if required?15:23
jast it does migrate the commit history15:23
though you have to take care if you want all branches etc. to use the right parameters15:23
lb1a: metadata can't be cloned via the git protocol15:23
git-svn metadata, that is15:23
lb1a saby: if you create an authors file, it will map all old users to new users in git15:24
saby ya we would require all the branches as we want to get rid of SVN completely15:24
infynyxx left15:24
grawity migrating the commit history is the whole point of git-svn15:24
jast it's technically possible to clone and then do a new init/fetch, but no promises that it'll work :}15:24
saby how's SubGit?15:24
lb1a jast: i want to get rid of the svn metadata ;)15:24
timj left15:24
saby heard that's better than git-svn15:24
grawity saby: i'd say just try all three15:25
davidbanham left15:25
bauruine left15:25
saby grawity all three?? 1. Git-SVN, 2. SubGit, 3. ??15:25
grawity reposurgeon15:25
saby ah ok15:25
Arktos joined15:25
cheater_ hi15:26
x82_nicole left15:26
beliveyourdream left15:26
kenperkins left15:27
michaelmartinez left15:27
ISF joined15:27
OOPMan joined15:27
cheater_ i have a git repo where someone checked a lot of huge files, then they got removed, and people went on developing like this. i would like to find out what the biggest files are (whether they exist in the current rev or not). how can i obtain this info?15:27
*checked in15:27
erichynds joined15:29
goshawk joined15:29
techhelp joined15:29
WinstonSmith left15:30
eletuchy joined15:30
tmcmahon left15:32
Arktos left15:32
myx joined15:32
krispin1 left15:33
marhaban left15:34
javaprogger left15:34
techhelp left15:34
mnx| left15:34
john2496 joined15:34
ash4 joined15:35
odin_ joined15:35
tbosua left15:36
MissionCritical left15:36
fasta left15:37
timj joined15:38
WinstonSmith joined15:38
drizzd joined15:38
axl_ joined15:38
ehsan joined15:40
dermoth|work joined15:40
x82_nicole joined15:40
AnimeCYC joined15:40
pfFredd joined15:41
ThePeach joined15:42
OliverJAsh joined15:42
Noldorin joined15:42
ThePeach hi all. if I need to add a tag to a specific commit, would it work: git checkout <commit>; git tag -a "newtag" ?15:42
OliverJAsh How can I see which commit a file was first introduced by?15:43
aksnot joined15:43
n4irc joined15:43
zenx joined15:43
comps ThePeach: git tag -a newtag <commit>15:43
ThePeach oh that's even better15:43
milStaja left15:43
ThePeach thanks comps15:43
asaf left15:44
exoon left15:44
infynyxx joined15:44
jcromartie joined15:45
comps OliverJAsh: something like git log --oneline -- path/to/file | tail -n1 ?15:45
Mission-Critical joined15:45
comps being very basic, it does not follow renames15:45
eletuchy left15:46
OliverJAsh cheers15:46
setmeaway joined15:46
Chryyz joined15:48
cmmagid joined15:48
kalanag joined15:49
ijuma joined15:49
rideh joined15:49
lb1a left15:50
laurav left15:50
flijten1 left15:50
memoryleak left15:52
laurav joined15:53
michaelmartinez joined15:54
EugeneKay !stats15:54
gitinfo [!irclog] Public logs of #git are kept at: http://colabti.org/irclogger/irclogger_log/git or look at stats for the last 30 days: http://itvends.com/irc/git.html15:54
EugeneKay .trigger_edit irclog Public logs of #git are kept at: http://colabti.org/irclogger/irclogger_log/git or look at stats for the last 30 days: http://itvends.com/irc/git.html or since Jan 1, 2012: http://itvends.com/irc/git-all.html15:55
gitinfo EugeneKay: Okay.15:55
Mission-CriticalMissionCritical15:55
EugeneKay Yes, I'm too lazy to import old logs from the logger.15:55
aksnot left15:55
cmn the second link doesn't work15:56
third, rather15:56
EugeneKay Give it a minute, still generating15:56
cmn ah, you tease15:56
EugeneKay ;-)15:56
F5 now15:56
cmn nope, still 40415:57
EugeneKay Pretty sure it isn't15:58
YoungFrog "works for me"15:58
cmn not for me15:58
EugeneKay F5 harder15:58
kevwil joined15:58
un1matr1x| left15:59
jaequery joined15:59
un1matr1x| joined15:59
cmn ok, F5'd harder (ran curl from a different machine) and it worked15:59
nicklasbo joined15:59
cmn I must be behind some stupid-add transparent proxy15:59
alorence left15:59
cmn s/add/ass/15:59
EugeneKay ;-)15:59
ejd joined15:59
maxmanders left16:00
cmn yep, there's a squid rewriting my HTTP16:00
clreed87 left16:00
maxmanders joined16:00
EugeneKay I have a fishing pole if you need16:01
You can load it over https16:01
snql left16:01
tvw left16:01
maxmanders left16:01
cmn that's too easy, I openend a socks proxy with ssh that goes over my sever16:02
I have too much bandwidth anyway16:02
EugeneKay Heh16:02
clreed87 joined16:02
swiety joined16:02
itatitat left16:02
maxmanders joined16:03
wongon_ joined16:03
wongon left16:03
wongon_wongon16:03
d2dchat joined16:03
cmn heh, in the total count I'm beating cbreak by words16:03
skyf joined16:04
ChanServ set mode: +o16:04
EugeneKay changed the topic to: Latest version: 1.8.1.2 | http://git-scm.com | Help with git and #git: http://jk.gs/git/ | Git Wars II: Attack of the Clones | Getting "Cannot send to channel" or unable to change nick? /msg gitinfo .voice16:04
EugeneKay set mode: -o16:04
arex\ joined16:04
gitinfo set mode: +v16:04
arex\ I suspect my git repo has been corrupted. http://pastie.org/private/kboolsq1dd1f1hc0oomjw16:04
john_anderson joined16:04
psoo left16:05
EugeneKay man git-fsck16:05
gitinfo the git-fsck manpage is available at http://jk.gs/git-fsck.html16:05
cmn that just shows you're in an unborn branch16:05
rockfruit left16:05
YoungFrog bare repositories do that16:05
rockfruit joined16:05
cmn do what?16:05
ISF left16:06
YoungFrog Show the given message. Don't they ?16:06
cmn no more than any other repo16:06
there is simply no correlation between unborn branches and bare repos16:07
dhruvasagar joined16:07
dhruvasa1ar joined16:07
Davey left16:07
EugeneKay Empty repos != bare repos16:07
eletuchy joined16:08
catlee joined16:08
ajeffco left16:09
jerikl joined16:09
kergoth joined16:10
luc___ left16:11
axl_ left16:11
amigojapan left16:11
catlee hi - I'm trying to do something that's possibly not a great idea...I'm fetching a bunch of unrelated repos into a single local repo. My builds then do local shared clones from the local repo to their build directory using specific refs to get the contents they need16:11
techhelp joined16:12
kcj joined16:12
krispin joined16:12
thl0 left16:12
kergoth left16:12
beaky joined16:12
beaky hello16:12
revyd left16:13
beaky how do I merge changes from my master branch into all of my development and topic branches?16:13
svetlyak40wt left16:13
RandalSchwartz one at a time16:13
because any one of those might fail16:13
beaky ah16:13
rath left16:13
RandalSchwartz takes a human to oversee that16:13
Sigma left16:13
beaky yep16:13
EugeneKay Pfffft, -Xtheirs16:14
beaky I think I have too many branches :(16:14
thl0 joined16:14
EugeneKay Works magic.16:14
RandalSchwartz heh!16:14
axl_ joined16:14
RandalSchwartz "I got yer upstream... RIGHT HERE..." :)16:14
angelsl left16:14
catlee the local clones work well actually. but I've noticed that fetching new remotes into the giant shared repo takes orders of magnitude more time than a simple clone16:14
michaelmartinez_ joined16:15
dermoth|work left16:16
cbreak-work left16:16
michaelmartinez left16:16
michaelmartinez_michaelmartinez16:16
gregsmith joined16:16
beaky is it a good idea to delete branches?16:17
davidbanham joined16:17
PerlJam beaky: if they are no longer useful, sure.16:17
beaky ah16:17
yes I wanna just merge all those done topic branches to my development branch16:17
thatguycraig joined16:18
lethjakman_lapto joined16:18
beaky oh noes, a merge conflict!1116:18
relipse joined16:18
beaky git ftw16:18
rchavik left16:19
beaky without it my workflow would be hell managing all those timestamped tarballs :(16:19
aberrant joined16:19
PerlJam beaky: I predict lots of merge conflicts in your future btw. From what you've said of your workflow, it sounds like you let branches linger a bit.16:20
beaky yeah :(16:20
mklappstuhl left16:20
papegaaij left16:20
beaky i need to improve my habits16:20
my git graph looks like scooby doo16:21
meLon left16:21
Sonderblade left16:21
fisted joined16:21
infynyxx left16:22
lun_ left16:22
cmmagid left16:22
meLon joined16:23
infynyxx joined16:23
cmmagid joined16:24
jatt left16:24
mklappstuhl joined16:25
relipse left16:25
davidbanham left16:25
leokaito joined16:25
marhaban joined16:26
DeltaHeavy joined16:26
anish[1] left16:27
thl0 left16:27
nilg left16:27
beaky how do I diff between two branches?16:28
zoresvit left16:28
kpreid git diff branch1 branch216:29
hafeez3000 left16:29
bootstrapper joined16:29
swiety left16:29
beaky ah thanks16:29
kenperkins joined16:30
tplaner joined16:30
shashin joined16:30
amccloud joined16:33
beaky so is it a bad idea to have several branches?16:33
ErKa joined16:33
Milossh left16:33
cannonball Uh, I hate using cvs. I changed like 40 files fixing some cross site scripting, and I just want the simplistic cvs equivalent of 'git status' to see which ones I changed. YUCK YUCK YUCKY cvs.16:34
todd_dsm joined16:34
asaf joined16:34
michaelmartinez_ joined16:35
jerikl beaky: Not if there is a purpose for them, just a bit more upkeep. Create a branch to implement a feature or fix a bug or to play around, merge it back into master when done and delete the branch.16:35
buibex left16:35
beaky ah16:35
jerikl That's my workflow anyway16:36
looper joined16:36
tjbiddle joined16:36
michaelmartinez left16:37
GeertV left16:38
lavaman joined16:38
shwaiil joined16:38
jerrad_jerrad16:38
GeertV joined16:38
shwaiil hi16:38
alkino left16:38
meLon left16:39
TeamColtra left16:39
michaelmartinez_ left16:40
lresende joined16:40
shwaiil Q: I've been working in a branch for some time. Done 6 different tasks (6 commits). I've pushed to the live server 4 of those tasks. But not I need to make a change in that state, but the 6 needs to have it too. I'm wondering what should I do ? Create a new branch work on that changes and then push ?! not sure...16:40
tks16:40
not sure if I was clear16:40
LimeBlast left16:42
pity left16:42
GeertV left16:43
PerlJam shwaiil: not particularly clear for me :)16:44
shwaiil PerlJam: thanks for looking btw! Yes, I'll try to be more clear16:44
PerlJam shwaiil: explain "need to make a change in that state" a bit more.16:45
herdingcat joined16:46
ThePeach how do I get a specific tag?16:46
shwaiil I had some bugs to fix and create some new features in this website. Working on branch-A. I fix each bug and commit and pushed to the repository (4 commits). Then I created two new features, 2 new commits. I had to send the bug fix to the live server but not the features. What I did was, checked out commit nr 4 and push to the live site.16:46
grawity ThePeach: with `git checkout`16:46
cilly joined16:46
ThePeach how would I do that using refspecs?16:46
(trying to configure jenkins to build a specific tag)16:46
nicklasbo left16:47
grawity tags are under refs/tags/*, not sure what format jenkins wants16:47
mklappstuhl left16:47
shwaiil The HEAD is in the 6 commit where the features are, but I'll only push that to live after approval, next week. But right now I need to fix some other issue and send it to the live site, but I don't want to send the new features PerlJam16:47
not sure if I was more clear now :T16:48
jesfre left16:48
ThePeach grawity: from the error is trying to do a "git fetch -t <repo path> +refs/tags/mytag16:48
shwaiil so, what I did was, made the changes in the live one manually and commited. In the HEAD (where the new features that shouldn't be live yet are) I did it manually too. I think this is not the best way of doing this, and I'm wondering what could I've done instead16:48
ojacobson if you need a + when fetching tags, something has gone seriously wrong :)16:48
shwaiil Thanks for looking16:48
ThePeach I've specified +refs/tags/mytag as refspec, but I don't think that's correct grawity16:49
grawity shwaiil: don't commit features to the "master" branch immediately16:49
shwaiil: use a separate branch (or branches) for that – and merge to master when they're approved16:49
shwaiil: that'd be my guess16:49
ThePeach ojacobson: that's just me fiddlying around, I've used the + only because it was in the description of the field.16:49
sobhan left16:50
ThePeach I'd remove that and see if that's making it ork16:50
*work16:50
PerlJam shwaiil: making another branch at the point where you feature set diverges seems like what you wanted to me.16:50
ojacobson + means "blindly replace" in that context16:50
shwaiil grawity: I see. So each new bug fix or feature, or whatever really I should always create a new branch and just commit to "Master" once approved ?16:50
clreed87 left16:50
ojacobson and if you have a tag that changes frequently enough to need that, perhaps it shouldn't be a tag16:50
sobhan joined16:50
PerlJam shwaiil: i.e. branch at "commit 4" and continue adding features and don't push the 2 commits you don't want live yet.16:50
ojacobson (eg. blindly replace the local refs/tags/mytag with the value of refs/tags/mytag in the source repo, when fetching)16:50
grawity shwaiil: Yes.16:50
shwaiil PerlJam: I see :) and then just merge16:51
grawity shwaiil: Or *at least* have a single "devel" branch.16:51
shwaiil grawity: thanks a lot! I'll start doing that16:51
mklappstuhl joined16:51
shwaiil and thanks for the tip on fixing my current issue. I was doing things wrong :P16:51
sq-one joined16:51
grawity shwaiil: That way, you can always commit bugfixes & push "master" to the server without accidentally pushing "unapproved" changes...16:51
ThePeach ojacobson: makes sense. Is there a way to explicitly push a tag? or is it pushed normally?16:51
ojacobson ThePeach: man git-push and read down: there are a few ways to do it16:52
gitinfo ThePeach: the git-push manpage is available at http://jk.gs/git-push.html16:52
grawity shwaiil: See `git branch` and `git merge` for more info.16:52
meLon joined16:52
meLon left16:52
meLon joined16:52
eletuchy left16:52
shwaiil grawity: true! thanks a lot! It's clear for me what to do. The thing is, I always work by myself and unless I can get tips online, it's just hard to learn everything : )16:52
davidbanham joined16:52
myx left16:52
ojacobson you can push all tags, push the tag named foo (git push <remote> 'tag foo' I believe, though 'git push <remote> foo' works if foo is unambiguously a tag), or you can spell out the refspec during push16:52
shwaiil grawity: I'll start doing that from now on = D makes more sense16:52
wasanzy left16:53
clreed87 joined16:53
ThePeach thanks ojacobson16:53
atrus at our office, we don't even have the ability to directly push to master. we push to a review branch, which (once the review is finished) is automatically merged into master (assuming it builds successfully in several platforms, configs, and passes unit tests in same).16:54
ThePeach scared are they? :D16:54
shwaiil atrus: nice : ) that's advanced16:54
kcj left16:55
shwaiil well... here... the IT guys..it's actually just me : I it's hard to keep up with everything but doing my best16:55
rue_XIV joined16:56
PerlJam atrus: we do something similar here, except everyone can push to master, but there's another branch for the stuff that goes live. (so, our master is like your review)16:56
irqq left16:56
rue left16:57
irqq joined16:58
john_anderson left16:58
infynyxx left16:58
mklappstuhl left16:59
maestrojed joined16:59
john_anderson joined16:59
cmmagid left16:59
ash4 left17:01
davidbanham left17:01
petersaints left17:01
timj left17:01
hwrd|work joined17:03
tvw joined17:04
normanrichards left17:04
zequence_ joined17:04
jesfre joined17:04
ash4 joined17:05
skul left17:05
seanh left17:05
Grum left17:05
OliverJAsh left17:05
Ziggy` joined17:06
seanh joined17:06
Ryback_ joined17:06
Ryback_ left17:06
Ryback_ joined17:06
Grum joined17:06
navid_ left17:07
herdingcat left17:07
edoceo joined17:07
jcromartie left17:07
zequence left17:08
matthias_dev left17:09
herdingcat joined17:09
edoceo I want to keep my patch set small, like cleaning up the "sausage" part. I created my branch from master months ago and made numerous commits to it; now I will checkout master, pull, checkout my branch and rebase - correct?17:09
undecim joined17:09
herdingcat left17:09
paulweb515 edoceo: yes, that's the general practice17:10
eijk joined17:10
edoceo after 20 more times I'll get it - swear!17:10
sobhan left17:10
swiety joined17:11
herdingcat joined17:11
sebuba left17:11
rakl joined17:11
anish[1] joined17:11
leeN joined17:12
fobban joined17:12
herdingcat left17:12
bootstrapper left17:13
tjbiddle left17:13
eijk left17:13
clreed87 left17:14
h0bbit joined17:15
nilg joined17:15
Asenar left17:16
LeMike left17:16
shashin left17:16
sobhan joined17:17
kcj joined17:17
sluther joined17:19
Xethron left17:19
thl0 joined17:20
JohnBat26 left17:20
jesfre left17:20
jfelchner joined17:20
Xethron joined17:20
sobhan left17:22
fRAiLtY- left17:22
shwaiil Q; when we merge we don't have to commit right ? we can just push and its saved in the repository ?!17:22
jdunck joined17:22
eletuchy joined17:22
WinstonSmith left17:22
zequence_zequence17:23
eijk joined17:24
lun_ joined17:24
sebuba joined17:25
jaequery left17:25
sobhan joined17:26
WinstonSmith joined17:26
lun_ left17:26
khmarbaise joined17:27
Destos left17:27
RandalSchwartz if the merge has conflicts, you have to fix them and commit17:29
if the merge just works, then no, the commit is already made17:29
but either way, you should push to share it17:29
bootstrapper joined17:29
jerikl left17:29
RandalSchwartz shwaiil?17:29
sayd joined17:29
eijk left17:29
spuz left17:30
jaequery joined17:30
eijk joined17:30
macabre joined17:30
cmn shwaiil: notice that merges (actual ones, not fast-forwards) are commits in themselves17:31
jaequery left17:31
babilen left17:31
myx joined17:31
mmitchel_ left17:32
Shusshu joined17:33
thl0 left17:33
relipse joined17:34
MissionCritical left17:35
JDuke128 joined17:36
eijk left17:37
Chillance joined17:37
amccloud left17:37
ecadre joined17:37
cheater_ left17:38
irqq how to push all branches at once?17:38
flijten joined17:38
mikef_ joined17:39
whowantstolivef1 joined17:39
RandalSchwartz git push --all I think17:39
yeah17:40
maletor joined17:40
maletor left17:40
RandalSchwartz presuming they all have valid upstreams17:40
gtrak joined17:42
maletor joined17:42
mishok13 left17:42
maletor left17:42
OliverJAsh joined17:43
Mission-Critical joined17:44
LuxuryMode joined17:44
gtrak left17:44
sobhan left17:44
irqq does --all apply to anything else beyond just branches?17:45
todd_dsm left17:45
cmn no, see man git push --all17:45
gitinfo the git-push manpage is available at http://jk.gs/git-push.html17:45
cmn but the upstreams shouldn't have much to do with this17:46
davidbanham joined17:46
rcu joined17:46
svetlyak40wt joined17:47
sobhan joined17:48
Shusshu left17:48
tjbiddle joined17:48
tazle_ joined17:48
timj joined17:48
kumbayo left17:49
irqq does refs mean branches there?17:49
jkremser left17:49
davidbanham left17:50
grawity it means references – which might be branches, tags, or just simple pointers to an object17:50
ZaherDirkey joined17:51
ZaherDirkey left17:51
dc5ala left17:52
ISF joined17:52
MrPunkin joined17:52
MrPunkin Guys, I want to trash my last commit (not pushed)… but don't want to lose the work… I just want to change which files were included in it before pushing as one was accidentally included that shouldn't have been.17:52
grawity `git reset HEAD^` should do it17:53
wongon left17:54
soypirate joined17:54
john_anderson left17:54
Mission-CriticalMissionCritical17:54
MrPunkin Thanks grawity17:55
jaequery joined17:55
jcromartie joined17:55
john_anderson joined17:55
maxmanders left17:56
corimarisol left17:56
corimarisol joined17:57
corimarisol left17:57
corimarisol joined17:57
achadwick left17:57
ErKa left17:57
anderse left17:58
wongon_ joined17:58
Praise left17:58
mmitchell joined17:58
grn joined17:59
Praise joined18:00
hobodave joined18:00
MrPunkin left18:00
mikef_ left18:01
cmmagid joined18:01
howlymowly left18:01
Cromulent joined18:01
thl0 joined18:01
Jahm_ left18:02
towski joined18:03
Jahm joined18:03
michaelmartinez joined18:03
saby left18:03
AdrienBrault left18:03
peppyheppy joined18:03
rath joined18:03
gitinfo set mode: +v18:04
Jahm left18:04
Jahm joined18:04
guest3137 joined18:04
hobodave left18:05
shashin joined18:05
howlymowly joined18:05
z8z joined18:07
n4irc left18:07
pppaul joined18:07
R1KRDO left18:08
amccloud joined18:08
howlymowly left18:09
sd1074 joined18:09
epta Is there a way to have red __git_ps1 when state is dirty and green otherwise?18:09
Using git-prompt.sh18:10
breakingthings left18:10
sd1074 left18:10
flijten left18:11
michaelmartinez left18:12
engla isn't that GIT_PS1_SHOWCOLORHINTS18:12
thl0 left18:13
aspiers joined18:13
tvw left18:14
tvw joined18:14
ankurankan joined18:14
bil` left18:15
hoschi left18:15
prudnikov left18:15
marthinal left18:15
Rolybrau joined18:17
epta engla: nope18:17
bgerber left18:17
robotmay_ left18:17
Rolybrau left18:17
Xethron left18:18
jlopez left18:18
towski left18:19
wongon_ left18:19
wongon joined18:19
JDuke128 left18:19
cmmagid left18:20
techlife left18:20
cmmagid joined18:21
nsanden joined18:21
JDuke128 joined18:22
oojacoboo left18:22
cohwsw left18:23
o] left18:23
ankurankan left18:23
wavez joined18:24
o] joined18:24
dwmw2_gone left18:24
nsanden hi guys, i have 50 or so websites all under a /home/ directory on my web server, i want to get away from ftp, I wonder if i should try making a single repository to include them all or should i make one for each website. probably about 75gigs18:24
dwmw2_gone joined18:24
wavez doing my first git commit. Having trouble using the commit message editor18:24
relipse i went on github, forked a project, added a feature, now how do i contact the owner18:25
dont use an editor wavez18:25
git commit -m "your message here"18:25
nsanden relipse: do a pull request18:25
wavez relipse, how do I cancel?18:25
jcromartie git config --global alias.brnach branch18:26
foofoobar left18:26
smirn0v left18:26
oojacoboo joined18:26
techlife joined18:26
techlife left18:26
wavez nothing is getting me out of this thing18:26
dhruvasa1ar left18:26
wavez ctrl-c does nothing18:26
just causes a system beep18:27
oojacoboo left18:27
wavez esc does nothing18:27
grawity wavez: if you're in vim, press Esc a few times, then :wq18:27
nsanden type in :q i think18:27
grawity (then Enter)18:27
techlife joined18:27
techlife left18:27
dhruvasagar left18:27
wavez ah, it was vim18:27
no wonder18:27
scorphus left18:27
techlife joined18:28
techlife left18:28
wavez no, vi18:28
amccloud left18:28
scorphus joined18:28
mikef_ joined18:28
grawity whatever your $VISUAL is set to – or if it's unset, $EDITOR18:28
if *that* is unset, 'vi' is the default18:28
techlife joined18:28
techlife left18:28
pfFredd left18:28
grawity except Git for Windows symlinks 'vi' to Vim, I thought?18:29
meh, doesn't matter what it does18:29
skyf left18:29
amccloud joined18:30
techlife joined18:30
techlife left18:30
techlife joined18:31
techlife left18:31
lresende left18:31
techlife joined18:31
techlife left18:31
dwmw2_gone left18:32
techlife joined18:32
techlife left18:32
dwmw2_gone joined18:32
wavez a friend of mine had me setup git using assembla. I've decided to abandon that project and also use git on my host account instead. What happens to the previous remote origin?18:32
Is that specific to the local repository?18:32
Cromulent left18:32
siriuz left18:32
grawity Each repository has its own remotes18:33
wavez so commits from one repository go to the assembla repository and commits from the new one go to my new host server repository?18:33
I see18:33
grawity (multiple remotes if needed)18:33
techlife joined18:33
techlife left18:33
DeltaHeavy left18:33
sysadminAli_ joined18:33
longbeach joined18:34
techlife joined18:34
opus joined18:34
jason237 joined18:34
siriuz joined18:34
nsanden anyone have suggestion, i want to use git for about 50 websites all under /home dir maybe 75gigs data. is this safe or should i just go the long route and make a repository for each site18:35
pantsman joined18:35
pantsman left18:35
pantsman joined18:35
sbodo left18:35
wavez I've finished with the first push. I'm manually browsing the directory to see that it worked. Are the files not visible as standard files?18:36
osse nsanden: why are the webpages that big? is there a lot of video/pictures and so on? Those are probably best left out.18:36
sysadminAli left18:36
sysadminAli_sysadminAli18:36
sobhan left18:36
nsanden osse: yes lots of images18:36
osse nsanden: leave those out. only put the code itself in git.18:36
wavez I see branches, hooks, info, objects, refs, HEAD, config, description18:36
sbodo joined18:37
grawity wavez: I'm guessing you are pushing to a bare repository – and no, those don't have a working tree, just the repository itself18:37
wavez yes, a bare repo18:37
gustavnils joined18:37
bgerber joined18:37
nsanden osse: hmm ok18:37
wavez grawity, so the data is there? Or it is not there?18:37
grawity wavez: The data is there.18:37
osse nsanden: unless you want to actually version control all that (mostly static) data, in which case git is the wrong tool.18:38
grawity wavez: In somewhat different words, what you see in a bare repository is the same as what you would see in a "normal" repo's .git/ directory18:38
wavez: It has all the commits, you can run `git log` and other commands in it, it just doesn't make the files directly accessible.18:39
buibex joined18:39
Jahm left18:40
wavez ok18:40
nsanden osse: yeah i dont care about versioning as much as having a local copy for testing before pushing18:40
wavez should I choose gitosis or gitolite?18:40
Jahm joined18:40
grawity I've heard the development of gitosis has stopped18:40
sobhan joined18:40
ErKa joined18:41
osse nsanden: then you hould be fine.18:41
nsanden: but you can still add PNGs and GIFs and small images that are poart of the design and subject to change.18:42
shashin left18:42
oojacoboo joined18:43
nsanden osse: yeah thats true, just ignore big image cache dirs18:43
thl0 joined18:43
wavez I'm looking at the install instructions and I don't understand what this means: "a dedicated userid to host the repos (in this document, we assume it is 'git'), with shell access ONLY by 'su - git' from some other userid on the same server."18:43
nsanden osse: thanks18:43
osse nsanden: just craft your .gitignore proprely and you should be off to a good start18:44
nsanden: but it will be up to you whether to version control the pages independently or in one big repo18:44
aberrant left18:44
ThomasLocke left18:44
sobhan left18:45
sebuba left18:45
brunov left18:45
wavez wait? why would ~/.ssh/authorized_keys be empty? I created that when I setup the bare repo in ssh.18:45
yshh_ joined18:45
swiety left18:45
ojacobson wavez: that looks like the gitolite installation instructions18:45
it should be empty when you start _because gitolite will manage its contents_.18:46
wavez it is18:46
oh18:46
ojacobson (eg. adding a key to gitolite using its usual mechanism - by pushing changes to gitolite-admin.git - will cause gitolite to also update authorized_keys appropriately)18:46
grawity wavez: "userid" here means a separate Unix account18:46
ak5 left18:47
wavez grawity, I have one user account that I use. I need a second one?18:47
gregsmith left18:47
ojacobson You _can_ use a single account for both, but I wouldn't :)18:47
arvind_khadri joined18:47
ojacobson (uids are cheap)18:47
ak5 joined18:47
Guest97097 left18:47
ojacobson (time spent troubleshooting ssh keys is not)18:47
grawity if it's a single-user server, I wouldn't bother much with gitolite at all18:48
wavez okay, so create a user account named git and ssh with that?18:48
yshh left18:48
wavez it's my web server18:48
shared hosting18:48
Destos joined18:49
wavez but it's only for my own use right now18:49
there's no team at this point18:49
and no plans for a team yet18:49
jesfre joined18:50
thl0 left18:51
sysadminAli left18:51
cmmagid left18:52
ojacobson wavez: fwiw I do use gitolite for purely-just-me projects, because I find it a handy way to make sure all the repos work the same way (hooks and so on)18:53
nilg left18:53
ojacobson but I'm an inveterate sysadmin and tinkerer18:53
you can quite happily start small with a bare repo in a homedir somewhere18:53
sysadminAli joined18:53
n4irc joined18:53
cmmagid joined18:53
ojacobson The important part is more that you actively choose which repo is the "canonical" one (i.e., the one that you draw releases from/deploy from/tell others to clone)18:53
rgr joined18:54
wavez yeah, I'm not a sysadmin18:54
laurav left18:54
thl0 joined18:55
GeertV joined18:55
CodeShark left18:55
wavez ojacobson, I don't think I understand what you mean. Is my repo safe from outside tampering? The instructions I followed state that, "Git by itself, out of the box, provides no method of access control. If you know a URL for a git repository, you can clone it. Without some mechanism of access control, you can commit to it as well."18:56
infynyxx joined18:56
bratner left18:57
MissionCritical left18:57
relipse left18:57
wavez I thought the ssh key was supposed to take care of the security18:57
ojacobson it's true that git does not do access control itself18:57
however, gitolite is still subject to the underlying OS access control mechanisms (file permissions &c)18:57
er, git18:57
(gitolite too, but that was a typo)18:57
sebuba joined18:58
ojacobson if there's only one of you, your access control needs are very modest: maybe you need a few checks to "keep you honest" with yourself, but probably you need nothing :)18:58
oojacoboo left18:58
ojacobson in which case, FS permissions are probably more than good enough18:58
wavez I see18:58
Sky[x] left18:58
peppyheppy left18:58
wavez ojacobson, and when I want to give permission to another machine, do I just copy the my public rsa key to authorized_keys?18:59
Ziggy` left18:59
sharpyy joined19:00
marthinal joined19:00
OliverJAsh left19:01
Rolybrau joined19:01
suy left19:04
tewecske joined19:04
aberrant joined19:05
rking How do you get that output that a 'git pull' shows, with the +++---- ?19:05
I've been using 'git pull --rebase', but I miss that. And also I find I want to see that just from some random comparisons.19:05
cworth` joined19:06
bootstrapper left19:06
albel727 left19:06
Dactyl joined19:06
EugeneKay rking - man git-log; look at --stat19:06
gitinfo rking: the git-log manpage is available at http://jk.gs/git-log.html19:06
buibex left19:06
bootstrapper joined19:07
cworth left19:07
rcu left19:08
normanrichards joined19:08
nsanden left19:08
irqq left19:09
shwaiil left19:09
tewecske left19:10
cakehero joined19:10
bauruine joined19:10
Mission-Critical joined19:10
apok joined19:11
rking EugeneKay: Yep, that's what I wanted. Thanks!19:11
git stash show --stat # Also works(!)19:11
Haha, no, that's the default19:11
soypirate left19:12
alex-weeej left19:13
aksnot joined19:13
Dr4k3 left19:14
fasta joined19:15
snql joined19:15
thl0 left19:15
gregsmith joined19:16
maletor joined19:16
asaf left19:18
Dactyl left19:18
oreth i've got a public repository on git hub, and a private one on beanstalk19:18
i've cloned my git hub repository, how do i push it to my beanstalk repository?19:18
Mission-CriticalMissionCritical19:18
kevwil left19:18
john_anderson left19:19
aberrant_ joined19:19
arietis left19:19
otherj joined19:19
Rolybrau left19:20
john_anderson joined19:20
grawity Add a second remote, then `git push <remote>`19:20
Or just `git push <url>`19:20
ryanplas joined19:20
cilly left19:20
sbodo left19:20
oojacoboo joined19:21
oreth when i do that, it tells me everything is up to date19:21
but my beanstalk repository is competely empty19:21
aberrant left19:21
aberrant_aberrant19:21
peppyheppy joined19:21
oposomme joined19:22
gregsmith left19:22
maxmanders joined19:22
johnw left19:23
pro_metedor joined19:23
hobodave joined19:24
LeMike joined19:24
Dactyl joined19:24
dbck joined19:24
pppaul left19:25
AAA_awright_ joined19:26
wavez I'm getting started with gitx19:26
wongon left19:27
wavez if I branch, that's only a branch on my local repo?19:27
grawity wavez: yes19:27
Noldorin left19:27
wavez If I push, does the branch go with?19:27
wongon joined19:27
grawity wavez: only if the remote already has a branch with the same name19:28
wavez: or if you explicitly tell git to push this branch19:28
natechan left19:28
grawity (but I think the "has a branch with same name" behavior changes in 1.9 or 2.0 or whatever – I always forget when)19:28
jfelchner left19:30
wavez I think gitx is only showing my local repo19:30
hyperair left19:30
AAA_awright_ left19:31
AAA_awright_ joined19:31
basmoura left19:31
wavez I don't understand the point of having only local repo control.19:31
AAA_awright_ left19:31
PerlJam wavez: what do you mean?19:31
you don't understand the point of separating local branches from remote branches?19:31
wavez PerlJam, I don't understand the point of not having gui features to show my local repo changes in relation to the remote repo19:32
Pieter wavez: gitx is meant as additional tool, supplementing the CLI interface19:32
tenmilestereo joined19:33
Pieter wavez: it's not a replacement for CLI git or a standalone program at all19:33
kcj left19:33
wavez pieter, does there exist a gui replacement for cli? I don't think I can adapt to CLI19:33
hoschi joined19:33
jesfre left19:34
Pieter wavez: you can take a look at gittower or gitbox, or the github git app for os x19:34
Dactyl left19:35
jlopez_ joined19:36
otherj left19:36
ojacobson !gui19:36
gitinfo Graphical user interfaces are not supported here. If you want to get support, it needs to be through the git CLI. Reasons: 1) Because very few people here use the graphical interface. 2) Because giving instructions for GUI's is difficult. 3) The command line gives you a history of what commands you have executed.19:36
Jestah joined19:36
ojacobson wrong factoid19:36
tower, github, sourcetree19:36
arvind_khadri left19:37
wavez pieter, great. I will probably try each of these. thnx much19:37
sharpyy left19:37
Guest77033 left19:37
Jestah left19:37
Guest77033 joined19:37
kermit left19:38
_iron joined19:38
albel727 joined19:39
setmeaway left19:39
johnw joined19:39
oposomme left19:41
sbodo joined19:41
rgr left19:41
jesfre joined19:42
txomon|home left19:42
frogonwheels_ joined19:42
kalanag left19:42
txomon|home joined19:43
_iron left19:44
_iron joined19:44
jlopez_ left19:44
jlopez joined19:44
thl0 joined19:45
AdrienBrault joined19:45
kevwil joined19:45
frogonwheels left19:46
ISF left19:46
AdrienBrault left19:47
john_anderson left19:47
john_anderson joined19:48
OliverJAsh joined19:48
b1rkh0ff joined19:49
AdrienBrault joined19:49
eletuchy left19:49
gregsmith joined19:51
chisler left19:51
rideh left19:51
natechan joined19:52
n4irc left19:52
jonshea joined19:52
RonScagz left19:52
aspotashev joined19:53
kevwil left19:54
johnw left19:54
thl0 left19:56
jwmann left19:57
hoschi left19:58
jason237 left19:59
thorie joined19:59
thl0 joined19:59
jwmann joined20:00
breakingthings joined20:00
TeamColtra joined20:00
Goles joined20:00
anish[1] left20:00
trungqtran joined20:01
todd_dsm joined20:01
ejd left20:02
theoros left20:02
theoros joined20:03
nigelb left20:03
tukkol left20:03
nigelb joined20:03
tukkol joined20:04
gregsmith left20:04
jMCg joined20:04
jMCg Hello happy people!20:04
hwrd|work left20:04
jMCg How do I go through the history of a single file, diff by diff?20:05
pppaul joined20:06
Chryyz left20:06
juvenal left20:06
TonyM left20:06
kermit joined20:06
erichynds left20:06
myme left20:06
aberrant left20:07
TDJACR left20:07
TonyM joined20:07
grawity git log -p foo.c20:08
zenx left20:08
primitive left20:09
trout with git svn is there a way to see which commits will be committed?20:10
git svn dcommit -n shows me diff-tree which is not useless20:10
* not useful20:10
marthinal left20:11
opus left20:11
jMCg grawity: awesome. Thank you.20:11
Now I know that this fix hasn't been tried yet ;)20:11
aberrant joined20:11
aksnot left20:12
thl0 left20:13
rockfruit left20:14
pro_metedor left20:15
eletuchy joined20:15
nilg joined20:15
smirn0v joined20:15
jlopez left20:16
cyphase left20:16
marthinal joined20:17
CodeShark joined20:18
sobhan joined20:18
sebuba left20:18
juvenal joined20:18
rideh joined20:18
michaelmartinez joined20:21
JDuke128 left20:21
Chryyz joined20:22
smirn0v left20:22
juril joined20:22
cbreak tr4656: you can look at git !lol20:23
gitinfo tr4656: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all20:23
Grum left20:23
cbreak sorry, trout was the intended target20:23
hoschi joined20:23
sebuba joined20:23
cbreak trout: also look at normal git log ..@{u} syntax20:24
cyphase joined20:24
rockfruit joined20:24
Grum joined20:24
pfFredd joined20:27
hwrd|work joined20:30
thl0 joined20:31
ojacobson "normal" followed by punctuation soup might be a bit strong ;)20:31
(yes, I know exactly how to read it)20:32
revagomes left20:34
john2496 left20:35
Goles left20:35
jfelchner joined20:35
OOPMan left20:35
recurrence joined20:35
john2496 joined20:37
hoschi left20:37
LeMike left20:38
john2496 left20:38
imMute left20:38
Milossh joined20:39
LeMike joined20:40
john2496 joined20:40
OOPMan joined20:40
TonyM left20:41
TonyM joined20:41
john_anderson left20:42
thl0 left20:43
valtih left20:43
thl0 joined20:44
ntls joined20:44
virako left20:44
john_anderson joined20:45
skyf joined20:45
valtih joined20:46
catlee I'm fetching a bunch of unrelated repos into a single local repo. My builds then do local shared clones from the local repo to their build directory using specific refs to get the contents they need. However, I've noticed that fetching new repos into my giant shared repo is several times slower than a regular clone...20:47
any ideas why?20:47
tinti joined20:47
thatguycraig left20:48
catlee e.g. a repo that normally takes 5s to clone takes 5 minutes to fetch into the shared repo20:48
warthog9 joined20:49
cbreak catlee: sounds dumb20:49
R1KRDO joined20:49
Xunie_ joined20:49
cbreak make separate repositories for separate things20:49
catlee a lot of the separate things are actually related20:50
Fuuzetsu left20:50
catlee is there a quick way to test if repositories are related?20:50
cbreak if they are separate repositories, then don't fetch them into the same20:51
eletuchy left20:51
krispin left20:51
catlee I don't know if they're separate until I have them20:52
Noldorin joined20:52
catlee I guess I could look at the first commit20:52
eletuchy joined20:52
Guest77033 left20:53
cbreak then just clone them into separate repositories20:53
if their URL is different20:53
catlee I have related repos with separate URLs20:53
Fuuzetsu joined20:53
Fuuzetsu left20:53
Fuuzetsu joined20:53
catlee and unrelated repos also with separate URLs20:53
shashin joined20:53
cbreak then you'll have dupes, no big deal20:53
catlee well, it is20:54
Dooom joined20:54
catlee that's why I'm trying to figure out a way around it20:54
rakl left20:54
ntls left20:54
john2496 left20:54
john2496 joined20:56
eletuchy left20:57
Ryback_ left20:58
guest3137 left21:00
youf joined21:00
sbodo left21:00
jason237 joined21:00
Goles joined21:02
cakehero left21:02
skyf left21:02
valtih left21:02
rath If I merge a branch with 10 commits, and i'll get 5 conflicts in a file..do I see exactly the commit which causes the conflict in this part of the file?21:03
cbreak rath: no21:03
git merges the branch tips21:03
I am not completely sure, but I don't think it considers history much (apart from merge base and rename tracking)21:04
bgerber left21:04
osse rath: when you're in the middle of the conflict I think you can use git log --merge to see which commits contributed to the horror21:06
EugeneKay git's recursive merge is a 3-way merge algorithm. It uses merge-base and the two tips being merged.21:06
It uses some magic with intermerges after the merge base(ie, when you merge A into B regularly, but never B into A, until you're ready to do that)21:06
krispin joined21:08
krispin left21:08
z8z left21:08
lun_ joined21:08
EugeneKay But the general gist is no, you can't see the commit that introduced the conflict, because there isn't one until you merge.21:08
It's merging trees, not patchsets(like darcs)21:08
osse So my suggestion is crap?21:08
rath >_<21:08
bgerber joined21:08
hinst left21:08
osse man git-log says: '--merge After a failed merge, show refs that touch files having a conflict and don’t exist on all heads to merge.'21:08
gitinfo the git-log manpage is available at http://jk.gs/git-log.html21:08
EugeneKay It's a good starting point21:09
rath so how to merge pretty old branches with a long list of conflicts?21:09
EugeneKay man git-merge; the -Xours / -Xtheirs options(for the standard recursive strategy) can help greatly in auto-resolving conflicts with the version that you prefer.21:10
gitinfo the git-merge manpage is available at http://jk.gs/git-merge.html21:10
catlee left21:10
EugeneKay You'll want to check before you commit(run your test suite.... you have a test suite, right?) of course21:10
revyd joined21:10
normanrichards left21:11
Destos left21:11
rath a merge strategy is not an option since you've decide at each conflict if you need to take or not....21:12
asaf joined21:12
rath so i can't see "this conflict comes from this comit"?21:12
maletor left21:13
EugeneKay not that I know of, no.21:13
man git-blame may be of interest21:13
gitinfo the git-blame manpage is available at http://jk.gs/git-blame.html21:13
warthog9 left21:14
AdrienBrault left21:14
opus joined21:15
basmoura joined21:15
rath the thing is....merge a branch by merging a count of commits until you're at the end (you have n-times a small number of conflicts you can resolve)....or merge the branch as it is.....21:17
asaf left21:17
LuxuryMode left21:17
imaginationac left21:18
Cromulent joined21:18
asaf joined21:18
john2496 left21:18
john2496 joined21:21
rath resolving 5 conflicts are easier than 10....21:21
thl0 left21:21
geekbri left21:21
Gitzilla left21:21
FernandoBasso joined21:22
freeed left21:23
shashin left21:23
Liir joined21:23
cbreak rath: I rebase a lot, and rarely I have to solve the same conflict over and over21:24
because every commit gets "merged" individually21:24
n1x joined21:24
cbreak using merge for such things instead would be more convenient :D21:24
ckoch786 left21:26
rath It's actually meant as a merge...21:26
Element9 joined21:27
tplaner left21:28
bauruine left21:29
rath I merge a pretty old branch.... 1) i merge it as it is...i'll get 50 files conflicted and i don't know what to do since i don't know where the chances from the branch are from ... 2) i merge to commit 10....resolve...good....merge to 20...good.... next day....merge to 30...21:29
laurav joined21:30
rednaks joined21:31
_iron left21:31
warthog9 joined21:31
rath but i see there's no way to get the single commit within a merge for a separate hunk of a file....21:33
cbreak rath: you can merge them piecewise21:34
and then reset --soft all the merge commits away21:34
and commit them as one single merge commit21:34
Villadelfia left21:34
rath oh....and that would be the same as a "normal" merge?21:35
NfNitLoop Or, if your old branch has a smaller number of commits, it may be easier to merge "in the other direction". check out your destination branch and merge your old branch on top of it. Then 'git annotate' should be able to find out when particular lines were changed.21:35
__BigO__ joined21:35
jason237 left21:36
SeySayux left21:36
cbreak rath: the effect would be21:36
Xethron joined21:36
babilen joined21:37
cbreak rath: I'd probably use git commit-tree with the correct parents and trees21:37
rath cool.... thx cbreak ... I haven't thought about this implication21:37
johnthebear left21:37
thl0 joined21:38
sayd left21:38
SeySayux joined21:38
ckoch786 joined21:39
pppaul left21:40
chisler joined21:41
prudnikov joined21:41
deadmund joined21:42
deadmund left21:42
Villadelfia joined21:42
ncd|leeN joined21:43
lb_ joined21:44
leeN left21:44
Ziber When would be a scenario to cherry-pick?21:44
NfNitLoop cbreak: recommending plumbing commands to newbies? Are you trolling? :p21:45
svetlyak40wt left21:45
rideh left21:46
cbreak NfNitLoop: no. It's probably the easiest.21:46
NfNitLoop: he can reset and recommit with reset --soft and git commit21:46
but then he'd not get a merge21:46
svetlyak40wt joined21:47
cbreak he can just reset --hard, then retry the merge, and resolve all the conflicts with git checkout oldresolution -- ., but I don't trust that as much21:47
Heimdall joined21:48
skoop left21:48
Heimdall hi, I have deleted branches locally, they still exist remotely, how can I delete them there too?21:48
cbreak Heimdall: man git-push21:48
gitinfo Heimdall: the git-push manpage is available at http://jk.gs/git-push.html21:48
cbreak look for --delete21:48
svetlyak40wt left21:49
Heimdall ah ok thx21:49
GeertV left21:50
troutconstant21:50
thl0 left21:51
marthinal left21:51
abcdefg_ left21:52
amccloud left21:52
Davey joined21:55
__BigO__ left21:55
dbck left21:56
thl0 joined21:56
nkr left21:56
kcj joined21:58
normanrichards joined21:58
sysadminAli left21:58
prudnikov left21:59
sebuba left21:59
Chryyz left21:59
mikef_ left21:59
jcao219 joined22:01
Chryyz joined22:01
Cromulent left22:02
AdrienBrault joined22:03
myme joined22:04
Ziggy` joined22:04
glennpratt left22:05
tavisto left22:07
shennyg I'm having trouble with git completion on osx. I'm using this guide: http://johnfgibb.com/how-to-install-git-autocompletion but I get this: ".git-completion.bash: line 66: syntax error near unexpected token `}'"22:07
grawity What does `git version` output?22:08
fletch` joined22:08
bauruine joined22:09
shennyg grawity: git version 1.8.1.122:09
maletor joined22:09
Noldorin left22:10
wongon_ joined22:10
basmoura left22:10
rath left22:10
wongon left22:10
wongon_wongon22:10
skoop joined22:10
svetlyak40wt joined22:11
Xethron left22:11
Grum left22:11
bgerber left22:11
prudnikov joined22:11
Grum joined22:12
eijk joined22:12
seanh_ joined22:12
john_anderson left22:13
grawity shennyg: And bash version? (Ctrl+X Ctrl+V)22:13
hoschi joined22:13
cmmagid left22:13
shennyg GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin12)22:15
hoschi left22:15
recurrence left22:16
drizzd left22:16
abf joined22:17
basmoura joined22:17
bgerber joined22:18
shennyg grawity: should I be installing it a different way?22:18
thl0 left22:18
normanrichards left22:19
john_anderson joined22:19
tinti left22:20
jashsu joined22:21
gitinfo set mode: +v22:21
maletor left22:21
cmmagid joined22:21
SamB_SamB22:22
maletor joined22:22
n1x left22:22
tenmilestereo left22:23
Vampire0 joined22:23
Vampire0 left22:23
Vampire0 joined22:23
Vampire0 left22:24
lb_ left22:24
RobertLaptop left22:25
hellopat left22:25
jnavila joined22:25
laurav left22:26
ash4 left22:26
amccloud joined22:27
RobertLaptop joined22:28
theoroslrnt22:28
Goles left22:28
lrnttheoros22:28
mmitchell left22:29
lresende joined22:29
shashin joined22:29
mmitchell joined22:29
todd_dsm left22:29
Caelum git diff HEAD is hanging for me22:30
very strange22:30
wongon left22:30
grawity strace to the rescue?22:30
Caelum nods.22:30
wongon joined22:30
ferdev_ joined22:30
Caelum ah it's my pager22:32
dijonyummy left22:32
jnavila left22:33
maletor left22:33
rakl joined22:33
Caelum still, I don't get it, the pager works fine for all other files22:34
breakingthings left22:34
Caelum q22:35
NfNitLoop Ziber: I cherry-pick when I accidentally commit a change to a branch that I didn't mean to. "Oh yeah, I meant to put this over in my feature branch. git checkout myFeature; git cherry-pick theWrongBranch;" (Then I'll need to remember to reset theWrongBanch to remove it from its history before I accidentally push it somewhere.) :p22:35
Ziber: You might also cherry pick if you're backporting some fixes from your master branch to an older release. In that case, I recommend the -x flag.22:36
Caelum weird, I ran into some sort of vim bug22:37
rockfruit left22:37
milStaja joined22:37
samuel02 joined22:37
seanh_ left22:37
ryanplas left22:38
dlaban joined22:38
shennyg grawity: it's something strange with my current profile. If I remove everything else it works fine. thanks.22:39
ferdev_ferdev22:39
eijk left22:41
peppyheppy left22:41
Caelum the pager I maintain hangs if you try to feed it binary files22:41
basmoura left22:41
Caelum I should fix that at some point :/22:41
sobhan left22:43
rednaks left22:44
dlaban left22:44
macabre left22:44
aspotashev left22:44
whowantstolivef1 left22:44
kadoban joined22:46
Ziggy` left22:46
R1KRDO left22:48
pppaul joined22:48
thl0 joined22:49
ojacobson left22:49
mmitchell left22:51
maletor joined22:53
skywalkerhere_ joined22:54
john2496 left22:54
youf left22:54
skywalkerhere left22:55
willob left22:56
Chryyz left22:56
skywalkerhere joined22:57
thl0 left22:57
svetlyak40wt left22:58
skywalkerhere_ left22:59
aberrant left22:59
thl0 joined22:59
jnavila joined23:00
relipse joined23:01
fisted left23:01
pfFred joined23:01
Anders_J left23:01
revyd left23:02
cmmagid left23:02
fisted joined23:02
techhelp left23:02
pfFredd left23:03
michaelmartinez left23:03
dwmw2_gone left23:04
dwmw2_gone joined23:04
dwmw2_gone left23:05
dwmw2_gone joined23:06
trungqtran left23:06
sysadminAli joined23:06
mutt joined23:08
sq-one left23:08
grn left23:08
axl_ left23:09
trungqtran joined23:09
TonyM left23:09
Ziggy` joined23:10
thl0 left23:10
sysadminAli left23:11
dwmw2_gonedwmw2_STR23:12
otherj joined23:14
dwmw2_STR left23:14
dwmw2_gone joined23:14
revyd joined23:15
jnavila left23:15
otherj left23:16
jaequery left23:16
virako joined23:16
jaequery joined23:17
jason237 joined23:17
davidbanham joined23:18
v0n left23:18
mishok13 joined23:19
jdunck left23:20
huoxito joined23:21
Gentlecat left23:21
gustavnils left23:21
TheFuzzball left23:21
michaelmartinez joined23:22
jdunck joined23:22
amcsi joined23:22
amcsi left23:22
alunduil left23:23
Davey left23:23
dwmw2_gone left23:23
LeMike left23:23
dwmw2_gone joined23:23
RaceCondition left23:24
Shurakai left23:24
mutt left23:25
unnamedwill joined23:26
hobodave left23:26
Davey joined23:26
hays_hays23:28
nicekiwi_ joined23:28
Davey left23:28
dwmw2_gone left23:29
dwmw2_gone joined23:29
TheFuzzball joined23:31
johnw joined23:32
n4irc joined23:33
rugged left23:33
michaelmartinez left23:34
chisler left23:35
eletuchy joined23:36
dwmw2_gone left23:36
dwmw2_gone joined23:36
anderse joined23:37
ash4 joined23:37
SuperKing left23:37
john_anderson left23:38
Fox- left23:38
SuperKing joined23:39
SuperKing left23:39
davidbanham left23:39
SuperKing joined23:39
SuperKing left23:39
SuperKing joined23:40
SuperKing left23:40
pfFred left23:40
SuperKing joined23:40
SuperKing left23:40
SuperKing joined23:41
SuperKing left23:41
Shurakai joined23:41
SuperKing joined23:41
SuperKing left23:41
boombatower joined23:42
kristofers left23:42
SuperKing joined23:42
SuperKing left23:42
SuperKing joined23:42
SuperKing left23:42
p4tux left23:42
dwmw2_gone left23:43
dwmw2_gone joined23:43
SuperKing joined23:43
SuperKing left23:43
kermit left23:43
SuperKing joined23:43
SuperKing left23:43
mmitchell joined23:43
samholmes joined23:44
samholmes left23:44
SuperKing joined23:44
SuperKing left23:44
SuperKing joined23:44
SuperKing left23:44
apok left23:45
SuperKing joined23:45
SuperKing left23:45
aspiers left23:45
SuperKing joined23:45
SuperKing left23:45
SuperKing joined23:46
SuperKing left23:46
Davey joined23:46
SuperKing joined23:46
SuperKing left23:46
maxmanders left23:47
SuperKing joined23:47
SuperKing left23:47
SuperKing joined23:47
SuperKing left23:47
SuperKing joined23:48
SuperKing left23:48
kaen left23:48
SuperKing joined23:49
SuperKing left23:49
dwmw2_gone left23:49
SuperKing joined23:49
SuperKing left23:49
dwmw2_gone joined23:49
SuperKing joined23:50
SuperKing left23:50
SuperKing joined23:50
SuperKing left23:50
SuperKing joined23:51
SuperKing left23:51
natechan left23:51
kermit joined23:51
SuperKing joined23:51
SuperKing left23:51
SuperKing joined23:52
SuperKing left23:52
SuperKing joined23:52
SuperKing left23:52
tavist0 joined23:52
sirdancealot7 joined23:53
SuperKing joined23:53
SuperKing left23:53
SuperKing joined23:53
SuperKing left23:53
SuperKing joined23:54
SuperKing left23:54
SuperKing joined23:54
SuperKing left23:54
SuperKing joined23:55
SuperKing left23:55
SuperKing joined23:55
SuperKing left23:55
pantsman left23:55
xiangfu left23:55
SuperKing joined23:56
SuperKing left23:56
dwmw2_gone left23:56
dwmw2_gone joined23:56
SuperKing joined23:56
SuperKing left23:56
pppaul left23:56
SuperKing joined23:57
SuperKing left23:57
SuperKing joined23:57
SuperKing left23:57
SuperKing joined23:58
SuperKing left23:58
SuperKing joined23:58
SuperKing left23:58
SuperKing joined23:59
SuperKing left23:59
pppaul joined23:59
FernandoBasso left23:59
SuperKing joined23:59
SuperKing left23:59

Logs Search ←Prev date Next date→ Channels Documentation