IRCloggy #git 2016-01-07

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.

2016-01-07

rubyonrailed left00:00
mischat left00:00
junw_ left00:00
juvenal joined00:00
ochorocho joined00:01
phil22 left00:01
mischat joined00:01
samw left00:01
killa_kyle left00:01
lucasmezencio joined00:02
lucasmezencio left00:02
samw joined00:02
filisko joined00:02
alanwill left00:03
lindenle left00:03
alanwill joined00:04
mischat left00:05
FrostCandy left00:05
ochorocho left00:05
willmafh left00:06
lindenle joined00:07
chitopunk left00:07
samw left00:07
c0ded left00:08
c0ded joined00:08
pneuma left00:10
fahadash left00:11
rubyonrailed joined00:12
mellernoia left00:12
namikr left00:12
junw joined00:15
gaen left00:15
otter768 joined00:16
mellernoia joined00:16
lindenle left00:16
shinnya left00:17
gitinfo set mode: +v00:18
felher_ joined00:18
thiago joined00:18
kornbluth.freenode.net set mode: +v00:18
zivester left00:18
gaen joined00:18
jam_ joined00:19
sfan786 joined00:19
sfan786 left00:20
buffal0 joined00:20
otter768 left00:21
lindenle joined00:21
filisko left00:23
jam_ left00:23
blackwind_123 left00:25
blackwind_123 joined00:27
daito joined00:27
AtnevRed joined00:29
HelloAtMega left00:29
Gfurst remembered another issue with git-annex I had00:30
Ekho_ joined00:30
quenode left00:30
quenode joined00:30
hashpuppy left00:30
Ekho left00:31
gaen left00:31
Gfurst it always interfaces with remote repositories even though I told it to ignore, eg repos that had git-annex, github or other without access, for example 'git annex unused' checked them as well and reported ok even though there were unused files00:31
mattfoo left00:31
daito left00:32
lindenle left00:32
bremner yes, it's not a simple tool. it takes some time to learn.00:33
AtnevRed left00:33
lindenle joined00:34
Aboba left00:35
gaen joined00:35
s8321414 left00:36
tvw joined00:36
sr____ joined00:37
mattfoo joined00:38
lindenle left00:40
lindenle joined00:41
otter768 joined00:41
tvw left00:41
ilmgb joined00:43
tvw joined00:44
jottr left00:45
BSaboia left00:45
znabavi left00:46
Lyqyd joined00:47
Gfurst funny, the custom lfs requires to pass the config to .gitconfig, I wonder if its mistyped .git/config or there could be repo tracked config like that00:48
Guest14655 left00:49
Guest14655 joined00:50
lindenle left00:51
Guest14655 left00:52
Guest14655 joined00:52
Guest14655 left00:53
lindenle joined00:53
mellernoia left00:54
hexagoxel left00:54
hexagoxel joined00:55
znabavi joined00:55
juvenal left00:55
bremner there's already .gitattributes and .gitignore and .gitmodules00:56
rewt left00:56
rewt`` joined00:56
jagob joined00:56
bremner I don't think core git looks at .gitconfig, but maybe something changed recently00:56
rewt``rewt00:56
lindenle left00:59
fstd left00:59
kilo_bravo left00:59
fstd joined00:59
harish_ left00:59
jagob left00:59
govg left01:01
mischat joined01:01
lindenle joined01:01
ochorocho joined01:02
MarkyC joined01:02
samw joined01:02
paddyez left01:03
dling joined01:03
sanscheese left01:03
jimi_ joined01:04
Gfurst awesome, the git-lfs serve worked alright, though it needs authentication01:04
Gamecubic left01:04
Gamecubic joined01:05
dyonroot joined01:05
MarkyC left01:05
znabavi left01:05
ochorocho left01:06
samw left01:07
mischat left01:08
dharrigan left01:09
csd_ joined01:09
ome joined01:09
lindenle left01:10
liamonade left01:11
italoacasas joined01:12
tomog999_ joined01:13
steverandy joined01:14
Gfurst left01:14
tomog999 left01:15
lindenle joined01:15
Vgr joined01:15
dharrigan joined01:18
DuckHuntDog joined01:18
jottr joined01:19
znabavi joined01:20
dyonroot left01:21
githogori joined01:22
lbf1121 joined01:23
jam_ joined01:24
lbf1121 left01:24
Guest10159murph01:24
gitnoob joined01:26
jeffreylevesque joined01:28
daito joined01:28
buffal0 left01:29
HanClinto left01:29
lindenle left01:29
highsen joined01:29
gitnoob left01:30
lindenle joined01:31
DuckHuntDog Hi, I'm new to the concept of git branching and merging. I've created a feature branch with some unit tests (lets call it B1) and sent a pull request to push it to main.01:31
dreiss left01:31
DuckHuntDog Now I wanna worki on a new unrelated test but still keep the code from B1 so that I can continue running them01:32
*them = tests I created in B101:32
So the question is : should I fork B1 into B2 and start building my new tests?01:32
And in that case what would happen if I sent a pull request to push B2 into master when B1 hasn't been accepted?01:33
daito left01:33
gaen left01:33
DuckHuntDog there are no dependencies between B1 and B201:34
gaen joined01:34
aapaal joined01:34
milki DuckHuntDog: if theres no dependency, then your reason to keep B1 is not very strong01:36
DuckHuntDog Yeah there's no reason the branches should have any connection to eachother01:38
thiago left01:38
DuckHuntDog but it will make it a lot harder to develop if I cant develop B2 while having the B1 code in the same project to use for comparisons etc01:38
beneter joined01:39
milki DuckHuntDog: checkout B1 into a different directory then01:39
lindenle left01:39
DuckHuntDog Guess that's the only reasonable way to do it01:39
tvw left01:40
dansan_ left01:40
milki develop an ide that can peek at previous revisions of files01:40
Aboba joined01:40
milki actually... thats not a bad idea01:40
lindenle joined01:41
milki i wonder if any git plugins do that already01:41
jottr_ joined01:41
Lyqyd left01:41
tang^ IDEA will let you log changes to your file01:41
so it's pretty easy to peek backwards01:42
DuckHuntDog So in general if you have a branch with a pending pull request - there's no reason to fork that branch until you are sure the pr will be accepted01:42
cause if that pr is rejected...01:43
cmkkc joined01:43
cmkkc left01:44
DuckHuntDog it would be kind of tricky to correct it and then push those corrections to the fork, right?01:44
jottr left01:44
DuckHuntDog *or pull i mean01:44
maslen1maslen01:45
benlieb left01:47
lindenle left01:49
rchavik joined01:49
daivyk joined01:51
reim joined01:51
aapaal left01:52
DuckHuntDog As a git rookie the term "pull request" never made sense to me in the start. Sounds like asking if it's ok to pull someone elses stuff into your own01:52
lindenle joined01:53
fairuz joined01:53
tang^ github pioneered that term, I think01:53
DuckHuntDog To me it should be "push request" - cause what *I* am doing is trying to push MY stuff into someone elses01:54
Doesn't like the terminology uses the subject and object consistently01:54
tang^ nah, you're asking somebody to pull your changes into their repo01:55
DuckHuntDog but isn't that the same thing as asking if they approve my request to push my code into their repo01:55
codedmart left01:56
gitinfo set mode: +v01:56
fracting left01:57
beneter no. you don't get the permission to push01:57
pozitrono joined01:57
tang^ pull request presumes that their repo is the master that you cloned from01:57
jottr_ left01:59
fairuz left01:59
DuckHuntDog yeah, ok02:01
thinking about it and it makes sense02:01
csd_ left02:01
DuckHuntDog but I think many beginners have the same issue :)02:01
tang^ left02:01
csd_ joined02:01
znabavi left02:02
weox left02:02
lindenle left02:02
ochorocho joined02:02
DuckHuntDog left02:03
junw left02:03
wgrant left02:03
wgrant joined02:04
Ahmed90 left02:04
mischat joined02:04
marko joined02:05
csd_ left02:05
marko left02:06
lindenle joined02:07
skorgon joined02:07
skorgon left02:07
skorgon joined02:07
ochorocho left02:07
wgrant left02:07
arescorpio joined02:08
fairuz1 joined02:08
wgrant joined02:08
jottr_ joined02:09
jimi_ left02:12
lindenle left02:15
fairuz1 left02:15
fahadash joined02:16
fahadash left02:16
fahadash joined02:16
fahadash left02:16
fahadash joined02:16
LeeXiaolan joined02:17
LeeXiaolan left02:18
jagob joined02:19
Wetmelon left02:19
lindenle joined02:19
gaen left02:21
gaen_ joined02:21
boombatower joined02:22
Sample left02:23
harish_ joined02:23
tyll_ joined02:24
Aboba left02:25
akushner left02:26
lindenle left02:26
phrozensilver left02:26
tyll left02:27
durham_ joined02:27
dreiss joined02:28
znabavi joined02:28
msonntag left02:28
lindenle joined02:29
msonntag joined02:29
daito joined02:29
AtnevRed joined02:29
durham left02:31
phrozensilver joined02:31
whomp joined02:31
durham_ left02:32
whomp so i made a bunch of changes and now i want to split them into 2 prs. i've figured out 1 of the two, how can i make the other pr be all of the changes that weren't included in the first pr?02:32
dreiss left02:32
daito left02:33
juvenal joined02:34
AtnevRed left02:34
ice9 joined02:36
ice9 how to clone repo using the latest commit version only?02:36
and ignoring all the previous history02:37
bremner !shallow02:38
gitinfo A shallow clone will clone a repository to a certain "depth", which sounds like a good idea for only obtaining the latest revision of a given repo. However, they often don't work as-advertised(breaking on fetch and push operations). Instead you should consider git-archive's --remote feature, or perhaps you're really encountering a !binary problem02:38
m0viefreak left02:38
lindenle left02:38
pks left02:40
lindenle joined02:41
frem left02:42
gaen_ left02:42
gaen joined02:42
pks joined02:43
skylite joined02:43
gaen left02:43
looper left02:44
g105b left02:45
gaen joined02:45
skylite left02:46
looper joined02:46
HanClinto joined02:46
mizu_no_oto joined02:47
g105b joined02:47
Gsham joined02:49
algae left02:49
ril left02:49
lindenle left02:49
justanotheruser left02:51
fracting joined02:52
Guest45789 left02:52
|nodux joined02:53
justanotheruser joined02:53
ril joined02:54
lindenle joined02:54
znabavi left02:55
beneter left02:55
mischat left02:55
jimi_ joined02:55
discipline left02:56
fracting left02:57
joufflu joined02:58
discipline joined02:58
Vampire0 joined02:58
watabou joined02:59
d4rklit3 left03:00
jottr_ left03:00
LBV_User left03:00
lindenle left03:00
Vampire0_ left03:01
LeeXiaolan joined03:02
peoliye left03:03
skorgon left03:04
ochorocho joined03:04
rubyonrailed left03:04
pneuma joined03:05
lindenle joined03:06
BillCriswell joined03:06
ochorocho left03:08
DolpheenDream joined03:09
canine left03:10
weltall left03:10
znabavi joined03:11
boudiccas left03:11
rubyonrailed joined03:12
weltall joined03:14
canine joined03:14
speaker123 joined03:14
NeverDie joined03:14
speaker123 hi all, i'm trying to run 'git status' from a Python shell. i would like the output to be colored, as it would be if the user were running it in their own shell.03:15
ice9 left03:15
speaker123 but when i run from the python shell (using subprocess.Popen), it does not return back ANSI escape sequences. is there something I should be doing to get the color?03:15
boudiccas joined03:17
lindenle left03:17
Sleepy63 left03:17
pneuma_ joined03:17
justanotheruser left03:17
fairuz joined03:18
lindenle joined03:19
pneuma left03:19
pneuma_pneuma03:19
ahr3n left03:21
crayon joined03:24
cyphase joined03:24
cyphase left03:24
cyphase joined03:24
thiago joined03:25
pneuma_ joined03:26
gfixler joined03:27
peoliye joined03:27
lindenle left03:27
ril left03:27
pneuma left03:29
pneuma_pneuma03:29
daito joined03:30
lindenle joined03:30
justanotheruser joined03:30
woodruffw left03:30
Sleepy63 joined03:30
alanwill left03:31
Gsham left03:32
phrozensilver left03:33
Lyqyd joined03:33
daito left03:34
kadoban speaker123: 'git -c color.status=always status'03:37
ome left03:37
fscala left03:37
Goplat joined03:37
Wetmelon joined03:39
fscala joined03:39
speaker123 thanks03:39
Motoko joined03:40
lindenle left03:40
mizu_no_oto left03:40
SkoalBanditExpr joined03:42
lindenle joined03:43
italoacasas left03:44
gaen left03:44
gaen joined03:45
Gsham joined03:45
wethu left03:46
fairuz left03:48
Sonicbit left03:48
Dougie187 joined03:49
lindenle left03:50
mezod left03:51
ril joined03:51
lindenle joined03:53
wethu joined03:54
Sonicbit joined03:55
gaen left03:55
gaen joined03:55
jagob left03:58
faux___ left03:59
Faylite left03:59
happy-dude left03:59
Faylite joined03:59
serapath_ left04:00
faux___ joined04:01
lindenle left04:01
ensyde joined04:02
italoacasas joined04:04
italoacasas left04:04
lindenle joined04:05
phrozensilver joined04:05
ochorocho joined04:05
checkItOut joined04:07
checkItOut left04:07
checkItOut joined04:07
ochorocho left04:10
lindenle left04:12
dreiss joined04:14
lindenle joined04:15
Ekho_ left04:16
zivester joined04:17
arup_r joined04:18
daito joined04:19
Dougie187 left04:19
s8321414 joined04:20
s8321414_ joined04:22
s8321414 left04:22
rubyonrailed left04:22
s8321414_ left04:22
ril left04:24
lindenle left04:24
lykinsbd joined04:25
yqt left04:25
d4rklit3 joined04:25
dreiss left04:26
lykinsbd left04:26
lindenle joined04:27
otter768 left04:28
jam_ left04:28
rkazak joined04:28
daito left04:28
rubyonrailed joined04:29
Sasazuka joined04:30
gaen left04:30
MattMaker joined04:31
Sasazuka left04:31
gaen joined04:32
regedit joined04:35
lindenle left04:35
Manikandan joined04:35
regedit halp! my diff patch i've been playing around with (uncommitted...) for some time now between 2 computers suddenly refuses to apply anymore :(04:36
after a pull from origin04:36
joki left04:37
lindenle joined04:38
HNY_ joined04:41
rubyonrailed left04:42
gaen left04:42
regedit is there any way to proceed with the apply anyway, and resolve conflicts?04:42
joki joined04:44
gaen joined04:45
lindenle left04:45
alanwill joined04:46
jimi_ left04:46
samw joined04:49
lindenle joined04:50
faux___ left04:50
faux___ joined04:51
sdothum left04:53
samw left04:54
Es0teric joined04:55
rubyonrailed joined04:55
gaen left04:55
UTAN_dev_ left04:55
DolpheenDream left04:55
gaen joined04:55
MattMaker left04:56
UTAN_dev joined04:56
daivyk left04:58
pigeon left04:58
csd_ joined04:58
dsdeiz left04:59
dsdeiz joined04:59
lindenle left04:59
dermoth left05:00
lindenle joined05:00
Sonicbit left05:00
dermoth joined05:00
csd_ left05:03
lindenle left05:03
lindenle joined05:04
Gsham left05:05
SkoalBanditExpr left05:05
ochorocho joined05:06
lindenle left05:07
alanwill left05:07
ensyde left05:08
rewt left05:08
lindenle joined05:08
cyphase left05:08
ensyde joined05:08
rkazak left05:09
BeatrixKiddo joined05:11
BeatrixKiddo left05:11
BeatrixKiddo joined05:11
the_cybersphinx left05:11
ochorocho left05:11
nnyk_ joined05:11
crayon left05:12
rewt joined05:16
amdi_ joined05:16
arescorpio left05:17
peoliye left05:19
alanwill joined05:20
cyphase joined05:20
woodruffw joined05:20
blackwind_123 left05:20
blackwind_123 joined05:22
phrozensilver left05:22
nnyk joined05:23
nnyk_ left05:24
crayon joined05:26
whomp left05:26
MattMaker joined05:27
FireArrow133 left05:27
Genome36 joined05:27
Genome36 hello ! long time no see05:27
im wondering, i need to do a diff on two files that have never been committed05:28
is that possible ?05:28
data.log and data.log.orig05:28
nnyk left05:28
preaction use the regular diff tool05:28
GT left05:28
marlinc left05:29
Genome36 how ?05:30
preaction diff <file1> <file2>05:30
Genome36 yes but both never existed in repo05:30
ah cool05:30
preaction not "git diff", just "diff"05:30
Genome36 yes05:30
does it give similar output to git diff ?05:30
like red and green changes ?05:30
d4rklit3 left05:31
preaction git diff is generally unified by default, so you want "diff -u" likely05:31
samsamsam joined05:31
preaction man diff if you want colors05:31
Genome36 ty05:31
MattMaker left05:31
Genome36 oh nice05:32
so if i understand correctly, git depends on diff as a lib ?05:32
or is diff a lib loaded by git when you install it ?05:32
Genome36 is curious05:32
checkItOut left05:33
peoliye joined05:34
marlinc joined05:34
crayon left05:34
guru107 joined05:34
arup_r left05:34
samsamsam I am having trouble with symlinks and git add. The symlink points to another symlink which points to the file. Got add throws "fatal: pathspec 'xxx' is beyond a symbolic link"05:34
Genome36 apparently diff has no color but there is a workaround -> sudo apt-get install colordiff05:34
sweatsuit left05:34
Genome36 samsamsam: you have to link to the original05:35
make sure to not do the mistake i made05:35
keldwud joined05:35
sweatsuit joined05:36
samsamsam @Genome36 I am not sure how to do that05:36
Genome36 you have to point symbolic links relatively else other users cloning your repo will end up with broken links as they will only work on your machine05:36
samsamsam: what os do you use ?05:36
samsamsam linux mint05:36
Genome36 yay good05:36
Cabanossi left05:36
Genome36 cd to directory you need the symlink05:36
les say its dir a05:36
and dir b is the original file05:37
ln -s ../../../../path/to/dir/b/file ./file05:37
the ../ is a way to say to linux to go back one directory05:37
Cabanossi joined05:38
Genome36 else if your file link depends on a linux bin or other installed file you can just point directly to /usr/bin/file (file being an example of course)05:38
bannakaffalatta joined05:39
Chilley joined05:40
rkazak joined05:42
lindenle left05:42
rubyonrailed left05:42
blackwind_123 left05:45
Genome36 ty again preaction05:48
later guys !05:48
Genome36 left05:48
johan_sun joined05:49
CheckDavid left05:49
rubyonrailed joined05:49
samw joined05:49
knownasilya left05:50
nnyk joined05:50
PCatinean joined05:50
durham joined05:53
samw left05:54
arup_r joined05:56
Lyqyd left05:57
arup_r left05:58
durham left05:58
durham joined05:59
pneuma left05:59
highsen left05:59
arup_r joined06:00
jam_ joined06:00
Imek joined06:01
jam___ joined06:02
arup_r left06:03
BillCriswell left06:05
arup_r joined06:05
jam_ left06:06
Es0teric left06:06
Error404NotFound joined06:07
ochorocho joined06:07
tpollard left06:08
rubyonrailed left06:11
ochorocho left06:11
regedit_ joined06:12
rubyonrailed joined06:12
settermjd joined06:13
regedit left06:13
regedit_regedit06:13
rscata joined06:16
SimonNa joined06:17
Motoko left06:17
steverandy left06:23
BeatrixKiddo left06:23
Wetmelon left06:25
daito joined06:25
Manikandan left06:27
HNY_ left06:28
otter768 joined06:29
daito left06:30
AtnevRed joined06:31
|nodux left06:31
lindenle joined06:33
CorySimmons joined06:33
otter768 left06:33
Manikandan joined06:34
thierryp left06:35
AtnevRed left06:36
lindenle_ joined06:38
PsionTheory left06:38
lindenle left06:38
codedmart joined06:39
ensyde left06:40
Sample joined06:40
ensyde joined06:40
robbyoconnor left06:41
lindenle_ left06:41
robbyoconnor joined06:41
petersr joined06:42
amdi_ left06:42
lindenle joined06:42
petersr left06:43
durham left06:44
ensyde left06:46
ensyde joined06:46
dsantiago left06:47
nnyk left06:47
lindenle_ joined06:47
lindenle left06:47
dreiss joined06:48
ThomasLocke joined06:49
speaker123 left06:52
Cata|Work left06:52
InfoTest joined06:52
Cata|Work joined06:52
psk17_ joined06:52
peoliye left06:52
lindenle joined06:52
peoliye joined06:53
ryez joined06:53
Es0teric joined06:53
lindenle_ left06:53
d0nn1e left06:54
dsantiago joined06:54
faux____ joined06:54
NateAGeek joined06:54
robbyoconnor left06:54
faux___ left06:54
buMPnet left06:54
robbyoconnor joined06:54
fairuz joined06:54
joufflu left06:55
buMPnet joined06:56
felixn joined06:56
leeN left06:56
d0nn1e joined06:56
nnyk joined06:56
lindenle left06:58
Faylite left06:59
znabavi left06:59
Tronsha[UPA]Stefan07:00
zivester left07:01
znabavi joined07:01
guru107 left07:02
justanot1eruser joined07:02
justanotheruser left07:02
arup_r left07:02
dopesong joined07:03
gopar left07:03
codedmart left07:05
jokajak left07:05
psk17_ left07:06
ochorocho joined07:07
arup_r joined07:07
rubyonrailed left07:08
nilg joined07:09
phantombeta left07:09
rchavik left07:10
jceb joined07:10
gmichael joined07:10
nnyk_ joined07:10
lamppid joined07:11
BSaboia joined07:11
nnyk left07:11
jceb left07:11
phantombeta joined07:11
ochorocho left07:12
happy-dude joined07:12
mariuscc joined07:12
dreiss left07:12
phroa left07:15
vdv joined07:16
justanot1eruser left07:16
justanotheruser joined07:16
justanotheruser left07:16
justanotheruser joined07:16
dreiss joined07:17
Manikandan left07:17
znabavi left07:17
roelmonnens joined07:17
d4rklit3 joined07:19
znabavi joined07:19
vdv left07:20
dreiss left07:21
phantombeta left07:21
Yeomra joined07:21
d4rklit3 left07:21
SOLDIERz joined07:22
freimatz joined07:23
zeroed joined07:23
_nadim joined07:24
Es0teric left07:25
csd_ joined07:25
acolson joined07:26
daito joined07:26
Manikandan joined07:29
csd_ left07:29
Error404NotFound left07:30
felixn left07:30
dan2k3k4 joined07:30
Error404NotFound joined07:30
phantombeta joined07:31
daito left07:31
crayon joined07:31
Gamecubic left07:32
acolson left07:35
felixn joined07:37
alanwill left07:38
dimi1947 joined07:38
Macaveli joined07:39
Macaveli left07:39
CorySimmons left07:39
mohammed64 joined07:39
thierryp joined07:40
CausaMortis joined07:41
znabavi left07:41
akiva left07:46
NateAGeek left07:46
alanwill joined07:47
ciampix joined07:49
fscala left07:49
bollullera joined07:49
MattMaker joined07:51
acolson joined07:51
fscala joined07:52
felixn_ joined07:55
felixn_ left07:55
felixn left07:56
lindenle joined07:56
MattMaker left07:56
emmajane joined07:57
JeroenT joined07:57
mingwandroid left07:57
french-buget joined07:57
zeroed left07:58
ilmgb left07:58
Fijit joined07:58
zeroed joined07:58
nnyk_ left07:58
ilmgb joined07:59
BSaboia left07:59
otter768 joined08:00
lindenle left08:01
jokajak joined08:01
jokajak left08:01
jokajak joined08:01
jnavila joined08:02
otter768_ joined08:02
gzoo left08:03
boombatower left08:03
mohammed64 left08:04
otter76__ joined08:04
abs25 joined08:04
otter768 left08:04
abs25 can git show all branches that edited that file ? sorted by date?08:05
jagob joined08:05
BSaboia joined08:05
otter76__ left08:06
demirgokhan joined08:06
otter768 joined08:06
jagob left08:06
otter768_ left08:06
sbasso joined08:07
mahendra_ joined08:07
fairuz1 joined08:08
Sceorem joined08:08
otter768_ joined08:08
otter768 left08:08
ochorocho joined08:08
[Brain] joined08:09
JeroenT left08:09
ilmgb left08:10
otter768 joined08:10
otter768_ left08:10
fairuz left08:10
alanwill left08:11
David1977 joined08:11
Error404NotFound left08:12
otter768_ joined08:12
ochorocho left08:13
regedit left08:13
chhaci left08:13
Sleepy63 left08:13
uranellus left08:13
otter768_ left08:13
otter768_ joined08:14
memoryleak joined08:14
otter768 left08:14
Alienpruts joined08:14
xaa joined08:14
otter768_ left08:15
otter768 joined08:15
samsamsam left08:16
Imek left08:17
otter768_ joined08:17
otter768 left08:17
znabavi joined08:18
otter768_ left08:19
otter768 joined08:19
gaen left08:20
uranellus joined08:20
otter768_ joined08:21
otter768 left08:21
mahendra_ left08:21
arup_r left08:22
otter768_ left08:23
mykespb joined08:23
otter768 joined08:23
mahendra_ joined08:25
otter768_ joined08:25
sparetire_ left08:25
TomyWork joined08:25
jam___ left08:25
lolmac joined08:27
otter76__ joined08:27
bonswouar joined08:27
skylite joined08:27
otter768 left08:28
Balliad joined08:28
otter768 joined08:29
jay-m joined08:29
cvanball joined08:30
watabou left08:30
otter768_ left08:30
otter768_ joined08:31
otter76__ left08:31
joel_falcou joined08:31
Balliad left08:32
AtnevRed joined08:32
otter76__ joined08:33
rominronin joined08:33
InfoTest left08:33
otter768 left08:33
Balliad joined08:34
otter768 joined08:34
otter76__ left08:35
crayon left08:35
otter768_ left08:36
otter768_ joined08:36
AtnevRed left08:36
otter768 left08:37
harish_ left08:37
harish joined08:37
otter768_ left08:38
otter768 joined08:38
mrk hi someone knows this: ! [rejected] master -> master (non-fast-forward)08:39
i cant push my project08:39
otter768 left08:40
otter768 joined08:40
fairuz joined08:41
regedit joined08:41
reim left08:41
fairuz left08:41
otter768_ joined08:42
Hounddog joined08:43
fairuz1 left08:43
otter76__ joined08:44
otter768 left08:44
d0nn1e left08:44
JeroenT joined08:45
wethu left08:46
tHEMtZ left08:46
otter76__ left08:46
d4rklit3 joined08:46
otter768 joined08:46
otter768_ left08:47
d0nn1e joined08:47
otter768_ joined08:48
harish left08:48
otter768 left08:48
Lor_ joined08:48
Lor_ left08:48
demirgokhan left08:49
skcin7 joined08:49
otter768 joined08:50
otter76__ joined08:52
otter768 left08:52
otter768_ left08:52
otter76__ left08:53
otter768 joined08:53
rubyonrailed joined08:54
znabavi left08:54
inamoriti joined08:55
otter768_ joined08:56
otter768 left08:57
otter76__ joined08:58
french-buget1 joined08:58
french-buget1 left08:59
french-buget left08:59
fees joined08:59
rubyonrailed left08:59
otter768 joined08:59
french-buget joined08:59
otter76__ left08:59
Seveas mrk: if you read the entire output of the push command, you'll know what to do next09:00
french-buget left09:00
otter768_ left09:01
french-buget joined09:01
otter768_ joined09:01
otter76__ joined09:03
otter768_ left09:03
otter768 left09:04
dreiss joined09:04
scampbell left09:04
otter768 joined09:05
otter76__ left09:05
HowardwLo joined09:05
HowardwLo holy shit! i need help09:06
I tried getting fancy with branches09:06
so i made a test branch with my test changes while my master branch had its own changes09:06
i tried merging my test branch into my master branch because #developer09:06
g00se_ joined09:06
kurkale6ka joined09:07
HowardwLo but now…it seems i may have merged my master into my test?09:07
{AS} joined09:07
otter768_ joined09:07
HowardwLo http://snag.gy/pfa6A.jpg !09:07
Klawsy joined09:07
HowardwLo how do i….fix it09:07
grawity would be nice if your app thing could show commit IDs next to the graph09:09
d4rklit3 left09:09
otter76__ joined09:09
grawity but anyway:09:09
otter768_ left09:09
JeroenT left09:09
grawity 1) git checkout test09:09
zeroed left09:09
grawity 2) throw away the merge commit, with `git reset --hard HEAD^`09:09
french-buget left09:09
marcogmonteiro joined09:09
HowardwLo i have to do it in terminal? :)09:10
grawity (not sure if HEAD^ is right here, you could use the commit ID of that "no message" commit instead)09:10
dopesong left09:10
Stummi "no message" - hehe09:10
grawity if you're asking here in #git, you're going to get terminal answers09:10
otter768 left09:10
Sample left09:10
grawity since most of us know the Git CLI but much fewer know that specific app you use09:10
Stummi HowardwLo, we don't know the application you are using, so we can't tell you how to use it09:10
craigp joined09:11
otter768 joined09:11
otter76__ left09:11
grawity yeah I don't even know its name so I can't even google and pretend I know how to use it09:11
Stummi also, he already pushed the merge09:11
HowardwLo its sourcetree if that helps09:11
grawity that's fine, it's a "test" branch anyway09:11
some history rewriting probably won't cause any problems in a branch named that09:11
HowardwLo ok, is there a 3)?09:12
grawity 3) check out master09:12
4) git merge test09:12
encod3 joined09:12
zeroed joined09:12
zeroed left09:12
zeroed joined09:12
grawity err, hmm09:12
your local master is a bit behind origin/master09:12
bongjovi joined09:13
otter768 left09:13
otter768_ joined09:13
grawity so normally you'd first get the new stuff from origin – `git merge origin/master`09:13
JeroenT joined09:13
HowardwLo so i would merge first?09:14
grawity you should end up with both [master] and [origin/master] at the same "overflow for <code>" commit09:14
and *then* you `git merge test`09:14
HowardwLo so…1-4 still applies?09:14
otter768 joined09:14
otter768_ left09:15
Gottox joined09:15
josuebrunel joined09:15
otter768 left09:16
ilmgb joined09:16
gitinfo set mode: +v09:16
HowardwLo grawity: do i still do 1-4 ?09:17
otter768 joined09:17
twem2 left09:17
grawity yes09:17
dimi1947 left09:17
grawity well 1-3, then merge from origin/master, then 409:17
HowardwLo ok after i did git checkout master, it says it’s behind by 3 commits09:18
otter768 left09:18
HowardwLo so now i do git merge origin/master ?09:18
grawity yeah09:18
otter768 joined09:18
HowardwLo omg its worse09:19
grawity: http://snag.gy/MLQyc.jpg09:19
i also include the commit id :D09:20
i did git merge test09:20
was that suppose to be origin/test instead?09:20
grawity no09:20
otter768_ joined09:20
otter768 left09:20
grawity there's this dropdown, "Show Remote Branches"09:20
does it have an option to just show local ones?09:21
HowardwLo hide remote branches?09:21
grawity yeah09:21
HowardwLo http://snag.gy/y9GNK.jpg09:21
here it is09:21
grawity right, looks fine09:21
HowardwLo push?09:21
grawity yes09:21
git push origin master; git push --force origin test09:21
or the GUI equivalent of that09:21
HowardwLo ok09:22
done09:22
otter768_ left09:22
otter768 joined09:22
grawity with "show remote branches" it should now look the same09:22
HowardwLo yup!09:23
thanks09:23
whew09:23
can i delete test branch and never speak of it again?09:23
grawity yeah09:23
(and push --delete test, as well)09:23
courrier joined09:23
french-buget joined09:23
HowardwLo git push —delete test ?09:24
otter768 left09:24
otter768_ joined09:24
jast you need to include the name of the remote09:24
if it's called origin: git push --delete origin test09:24
Gottox Hi! Maybe s/o got a hint for me: We have a project with a simple line based file which is changed fairly often in different branches.09:25
otter768_ left09:25
clmsy joined09:26
otter768 joined09:26
Gottox To the consistency of the file neither the order nor the context of a line is important.09:26
think of it as a file as fstab.09:26
demirgokhan joined09:26
Gottox is there an optimized merge strategy, that won't create a merge conflict if two branches concat the file concurrently?09:27
and just concat both?09:27
daito joined09:28
otter768_ joined09:28
otter768 left09:28
ryez left09:29
otter768 joined09:30
otter768_ left09:30
fahadash left09:31
cagedwisdom left09:31
otter768_ joined09:32
daito left09:32
synthmeat left09:33
tlaxkit joined09:33
diogenese left09:33
synthmeat joined09:33
otter76__ joined09:34
freimatz left09:34
otter768 left09:34
Sleepy63 joined09:35
JeroenT left09:35
osse Gottox: you can define your own "merge driver" for specific (or all) files. That's the best I can think of09:35
Gottox: ah, maybe you want the "union" built in merge driver. man gitattributes09:35
gitinfo Gottox: the gitattributes manpage is available at http://jk.gs/gitattributes.html09:35
otter768 joined09:35
otter76__ left09:35
JeroenT joined09:36
csd_ joined09:36
regedit left09:36
otter768_ left09:36
dopesong joined09:36
Gottox osse: ah, thx! :)09:37
AwchinBruh left09:37
otter768_ joined09:37
french-bugetfbwnd09:38
dr_lepper left09:38
demirgokhan left09:38
kadoban left09:39
dr_lepper joined09:39
otter768_ left09:39
otter76__ joined09:39
otter768 left09:40
VespaQQ joined09:40
dopesong left09:41
fbwnnd joined09:41
otter76__ left09:41
csd_ left09:41
otter768 joined09:41
fbwnnd left09:42
alanwill joined09:42
fbwnd left09:42
fbwnd joined09:42
twem2 joined09:43
otter768_ joined09:43
otter768 left09:43
Alienpruts left09:45
dopesong joined09:45
otter768 joined09:45
JeroenT left09:46
fbwnnd joined09:46
acetakwas joined09:46
JeroenT joined09:46
fbwnd left09:46
fbwnnd left09:46
Alienpruts joined09:47
fbwnd joined09:47
otter76__ joined09:47
otter768_ left09:48
chll joined09:48
otter768_ joined09:49
otter76__ left09:49
variable joined09:50
otter768 left09:50
tobeplugged joined09:50
otter768_ left09:51
otter768 joined09:51
csd_ joined09:52
variable left09:52
otter768_ joined09:53
samw joined09:53
ensyde left09:54
otter76__ joined09:55
rubyonrailed joined09:55
otter768 left09:56
csd_ left09:56
otter768 joined09:56
otter76__ left09:57
otter768_ left09:57
TomyWork left09:57
TomyWork joined09:57
TomyWork can one push to an ssh server without Git installed on the remote?09:57
samw left09:58
otter768_ joined09:58
grawity only via sshfs, and that'll be much slower than a regular push (among other problems)09:59
TomyWork ok so not a good idea09:59
BSaboia left09:59
TomyWork i'm trying to get someone to give me mirror storage and i want to reduce the requirements on their side to a minimum :)10:00
grawity it used to be a little more common with HTTP (via WebDAV), but git-http-backend has replaced it there as well10:00
TomyWork so far it's SSH, Git and some space10:00
grawity pushing via rsync is still supported to10:00
rubyonrailed left10:00
grawity too*10:00
otter768_ left10:00
otter768_ joined10:01
grawity but in the end, if you can get Git installed there (even manually compiled to ~/bin), it's better to do that10:01
rkazak left10:01
otter768 left10:01
acetakwas left10:01
otter768 joined10:02
otter768_ left10:02
diogenese joined10:04
otter768_ joined10:04
otter768 left10:04
[Brain] left10:04
acetakwas joined10:05
otter768_ left10:05
otter768 joined10:06
dimi1947 joined10:06
otter768 left10:08
asd6a left10:08
otter768 joined10:08
The-Compiler left10:08
dodoododo joined10:08
asd6a joined10:08
roxlu joined10:09
roxlu left10:09
ochorocho joined10:09
otter768_ joined10:10
FrameFever joined10:10
Shentino left10:10
FrameFever can I merge a branch, without all the commits in the branch?10:10
ryez joined10:11
AwchinBruh joined10:11
osse FrameFever: merge --squash10:11
otter768_ left10:11
otter768_ joined10:12
FrameFever osse: I didn't found an docu to it10:12
I have made 100 commit in my branch10:12
otter768 left10:13
Gottox left10:13
FrameFever and I wan to merge basically only the last commit to the master branch10:13
Shentino joined10:13
jast then you can't use merge, but you can use 'git cherry-pick' which applies (copies) individual commits10:13
ochorocho left10:13
mykespb left10:13
otter768 joined10:14
otter768_ left10:14
szblcs joined10:15
gitinfo set mode: +v10:15
szblcs hello10:15
gitinfo szblcs: 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:15
otter768 left10:16
otter768_ joined10:16
FrameFever jast: do you have a command for me?10:16
staafl left10:16
osse I have a feeling this is a job for merge --squash. Do the 99 other commits accomplish nothing?10:16
Don't the 100th commit depend on them ?10:16
JeroenT left10:17
DARSCODE joined10:17
otter768_ left10:17
harish_ joined10:17
szblcs Please help me with Git, I'm a n00b. I've got a site running on Joomla! 3.4.7. And I have an older (J2.5) copy of this site in GitLab. The new J3.4.7 is not in GitLab. How do I update the GitLab repository with the new J3.4.7 site?10:17
otter768 joined10:17
szblcs I know the very basics: SSH key is configured and I'm more than familiar with CLI. I'm just not familiar with version controlling and Git.10:18
JeroenT joined10:19
otter768 left10:19
FrameFever jast: I am on master now10:19
mischat joined10:19
FrameFever git cherry-pick 6bfd4cd => error: could not apply 6bfd4cd...10:19
happy-dude left10:19
osse then you need the 99 other10:19
otter768 joined10:19
acetakwas left10:20
osse git cherry-pick --abort; git merge --squash 6bfd4cd10:20
FrameFever mhm looks good10:21
goTAN joined10:21
otter768_ joined10:21
otter768 left10:21
otter768_ left10:23
otter768 joined10:23
goTAN left10:24
aidalgol left10:24
otter768_ joined10:25
mariuscc I added in the past some images into git. I realized that it became too big and I've deleted them, but I think that didn't made the repository smaller ( and I kind of understand why )10:26
is there a way to regain that space ?10:26
otter768 left10:26
otter768_ left10:27
otter768 joined10:27
dan2k3k4 left10:28
dan2k3k5 joined10:28
otter768 left10:28
daito joined10:29
otter768 joined10:29
_nadim left10:30
arup_r joined10:30
otter768_ joined10:31
Repox joined10:31
otter768 left10:31
AwchinBruh left10:31
s8321414 joined10:32
frdmn left10:32
t0by joined10:32
AtnevRed joined10:33
daito left10:33
frdmn joined10:33
frdmn left10:33
frdmn joined10:33
junw joined10:34
ryez git gc10:35
richard_maw assuming you've already purged the history that contained those files10:35
if not you may want to look at filter branch or squash10:35
otter768_ left10:36
AtnevRed left10:37
Flyers joined10:38
xaa left10:39
ryez ah, right, need to rewrite history and remove all references of those deleted files10:39
goTAN joined10:40
Goplat left10:42
FrameFever left10:42
weox joined10:42
weox I used to have socks4 proxy, right now I don't have any proxy. but I am getting "Failed to receive SOCKS4 connect request ack", and there is no proxy related config in my .git config. how can I fix this?10:43
AwchinBruh joined10:43
ryez left10:44
canton7 weox, checked both ~/.gitconfig and .git/config? Are you using ssh or https?10:44
weox canton7: nothing! I am sure I don't have any proxy setting. (I used to have)10:45
canton7 Are you using ssh or https?10:45
presumably https?10:45
check for any curl config files10:46
weox I am using "go get" command which at the end I think it uses https . okay let me check curlrc10:46
HanClinto left10:46
dimi1947 left10:46
dimi1947 joined10:47
blckbit10 left10:48
blckbit10 joined10:48
BSaboia joined10:49
weox canton7: nothing , I noticed it's not only working when I am using https.10:50
canton7 "not only working" = does work with https, or doesn't? :P10:50
nitesh` joined10:51
tobeplugged left10:51
peoliye left10:52
clmsy left10:52
HNY_ joined10:53
weox canton7: it does not work only with https (sorry for the delay) .10:54
canton7 ok, so only https is broken? that suggests it is something curl-y10:54
can you request anything at all using curl?10:55
weox canton7: exactly10:55
lss joined10:55
lss left10:55
weox I have to try , I use aria and axel for my downloads all the time , I am not so familiar with curl10:55
canton7 also, anything in your env?10:55
berndj left10:56
g00se_ left10:56
acetakwas joined10:57
berndj joined10:58
berndj left10:58
berndj joined11:00
berndj left11:00
berndj joined11:00
phrozensilver joined11:00
TomyWork grawity thanks for the info11:01
weox canton7: curl does work perfectly , I used $curl URL -o tem_file11:02
canton7: start downloading without any problem11:02
TomyWork is it possible to restrict the bandwidth of a push maybe? so far the best idea i have is having a GIT_SSH that does some rate limiting or connecting to a local socket that's proxied via socat with a rate limit, if socat supports that11:03
PCatinean I made a pull and a file of mine is very outdated and the changes from upstream are all that I need11:03
I do not want to manually delete ALL changes loally and leave the HEAD changes11:03
isn't there like a fast command for that?11:03
TomyWork git reset --hard11:03
pozitrono left11:03
TomyWork if you're referring to your local HEAD11:03
canton7 weox, weird. fun. anything in your env?11:04
weox canton7: nothing related to http_proxy or curl_ proxy or anything related .11:04
LBV_User joined11:05
lss joined11:05
TomyWork http://linux.die.net/man/1/throttle hah!11:05
phrozensilver left11:07
PCatinean TomyWork, for just one file?11:07
One I want to manually merge by solving the conflict the other I just want to leave everything from upstream11:08
Not sure if it works with git reset --hard11:08
TomyWork PCatinean git checkout -- filename11:08
ThomasLocke left11:09
PCatinean what's the --?11:09
TomyWork separator between two types of arguments11:09
not filenames and filenames11:09
in this case11:09
BSaboia left11:10
PCatinean It worked for the first file but for the second it says it is unmerged11:10
Jackneill joined11:11
weox My git does not work , not at all , does not let me to clone any repo with https . and I get "Failed to receive SOCKS4 connect request ack." for every cloen on every https repo I have tried .11:12
TomyWork PCatinean so merge it and then git add it11:12
PCatinean Ok this one I actually needed to merge manually11:12
TomyWork or "merge" it :)11:12
PCatinean but for the ones where I want to disregard everything, I assume it should work every time11:13
guardian which page of the man should I read to get a full description of the refspec format please?11:13
canton7 man git rev-parse I think?11:13
gitinfo the git-rev-parse manpage is available at http://jk.gs/git-rev-parse.html11:13
TomyWork PCatinean this sounds less and less like a merge11:13
stevenm joined11:13
PCatinean a rebase11:13
TomyWork so you're using git rebase?11:13
PCatinean Where a few files need to be disregarded11:13
yes11:13
TomyWork or are you just calling it a rebase? :)11:13
"git rebase --skip" skips an entire commit, if that helps you11:14
dimi1947 left11:14
stevenm Hey I've been asked to set up RANCID -- it's this thing that pulls configs from routers/switches via telnet/ssh and dumps them in to either CVS or SVN... but I'd much rather use Git. Is there some handy proxy from CVS or SVN to Git which I can use? (it needs only to be one direction)11:14
kesenai joined11:15
synthmeat left11:15
grawity routers → RANCID → SVN → `git svn` → Git11:15
canton7 (there are gotchas. two 'git svn clones' of an svn repo won't be identical, for example)11:15
grawity people can just `git clone` the central git-svn clone, though11:16
JeroenT left11:16
stevenm hmm I was hoping not really to have an actual SVN set up - i.e. not clone/duplicate in two places11:16
just have SVN proxy to Git11:16
grawity hmm11:16
stevenm essentially translate the very basic requests it'll have to push things in11:16
grawity if you can host the repo on Github, they support SVN access11:17
stevenm nah this is internal - we're an ISP, putting it on Github might be very bad :)11:17
grawity I'm not sure if their bridge is open-source though11:17
codeman joined11:17
grawity make it a private repo >_> :D11:17
ohcibi alias 'svn commit'='git add . && git commit && git push'11:17
grawity hmm actually11:17
Git itself has (or used to have) a CVS bridge11:17
synthmeat joined11:17
grawity man git cvsserver11:18
gitinfo the git-cvsserver manpage is available at http://jk.gs/git-cvsserver.html11:18
grawity I kinda feel like it'd be easier to trick RANCID into running git commands though11:18
stevenm ooh that looks good - there is actually far more people using RANCID with CVS anyway... barely anyone uses it with SVN11:18
alexander__b joined11:18
alexander__b left11:19
alexander__b joined11:19
alexander__bbernalex11:19
grawity https://github.com/dotwaffle/rancid-git11:19
(https://dotwaffle.github.io/rancid-git/)11:19
inamoriti left11:19
PCatinean Now it says resolve all conflicts then git rebase --continue but git status shows only untracked files, nothing else11:20
synthmeat left11:20
acetakwas left11:20
stevenm grawity, looks promising - but my gut would just feel better using the official version from shrubbery which is packed in debian11:21
synthmeat joined11:21
stevenm grawity, you never know when something like that project might get abandoned in the future11:21
berndj left11:21
synthmeat left11:21
berndj joined11:21
ryez joined11:22
Nikoli left11:23
King_Hual joined11:23
stamina joined11:23
berndj left11:23
berndj joined11:23
synthmeat joined11:24
berndj left11:25
mellernoia joined11:25
berndj joined11:25
Klawsy left11:27
TomyWork a private repo is still in the cloud. dont put your customer data in the cloud if you can help it11:28
PCatinean left11:28
stevenm TomyWork, I was never even considering it :)11:28
leksster joined11:29
s00pcan left11:29
[Brain] joined11:29
daito joined11:29
berndj left11:30
berndj joined11:30
s00pcan joined11:30
freimatz joined11:33
Nikoli joined11:34
daito left11:34
tobeplugged joined11:35
Macaveli joined11:37
t0by left11:40
Nikoli left11:40
Nikoli joined11:42
rubyonrailed joined11:44
zeroed left11:45
dsdeiz left11:46
rubyonrailed left11:48
cvanball left11:49
zeroed joined11:49
zeroed left11:49
zeroed joined11:49
wrilain joined11:51
guardian canton7: ref-parse doesn't explain refspec. fetch man page tells a bit about it, the git book describes it but I wanted to know whether the manual did so as well11:52
canton7 oops, mis-read you11:52
guardian s/ref-parse/rev-parse11:53
circ-user-SrhUV joined11:53
JeroenT joined11:53
canton7 I think the stuff in git-fetch might be it11:54
that's what git-config references, anyway11:54
guardian k11:54
canton7 there's not much to say about them anyway11:54
guardian I'm exploring backuping git repositories with git fetch remote_url +refs/*:refs/*11:55
JeroenT left11:56
guardian if I do that instead of starting over with git clone --mirror, are refs no longer existing on the remote removed locally?11:56
JeroenT joined11:56
Manikandan left11:56
Ice_Strike joined11:57
circ-user-SrhUV left12:00
Sendoushi joined12:01
_nadim joined12:02
samw joined12:02
JeroenT left12:02
fscala left12:02
csd_ joined12:03
fscala joined12:05
jost joined12:06
samw left12:06
csd_ left12:07
arup_r left12:09
ochorocho joined12:10
fracting joined12:10
PCatinean joined12:13
King_Hual left12:13
ochorocho left12:14
[UPA]Stefan left12:14
King_Hual joined12:15
King_Hual left12:15
King_Hual joined12:15
Ademan left12:15
mahendra_ left12:15
_nadim left12:16
Ademan joined12:17
gitinfo set mode: +v12:17
japro joined12:17
mizu_no_oto joined12:18
japro i'm trying to clone a repository that requires a password on a remote machine. and apparently git wants to ask for the password via some Gtk box? which fails since there x forwarding or so12:19
csd_ joined12:19
japro any way to have it ask for the password on the command line?12:19
arup_r joined12:20
toogley joined12:20
japro ah found it "unset SSH_ASKPASS" does the trick i found that first but misstyped the name12:21
Sonicbit joined12:21
JeroenT joined12:22
PortaLu joined12:23
doebi left12:24
mahendra_ joined12:24
csd_ left12:24
Lucretia left12:24
in3xes left12:25
jimi_ joined12:25
doebi joined12:26
jhasse joined12:27
alanwill left12:28
alanwill joined12:29
daito joined12:30
diegoviola joined12:30
talin joined12:30
talin hello. if i git mv a dir, do i need to git add all files contained within the dir i rename?12:31
dsdeiz joined12:31
otter768 joined12:32
netcarver joined12:32
PortaLuLucretia12:33
Calrik joined12:33
Calrik left12:33
AtnevRed joined12:33
jimi_ left12:34
duderonomy left12:34
encod3 left12:35
daito left12:35
encod3 joined12:35
Bennux joined12:35
Sceorem left12:36
otter768 left12:37
AtnevRed left12:38
yohnnyjoe left12:39
Sceorem joined12:40
_nadim joined12:40
sjohnsen joined12:41
sjohnsen left12:41
dopesong left12:42
dopesong joined12:42
dopesong left12:42
dopesong joined12:43
Ceber joined12:45
netcarver left12:45
skcin7 left12:47
szblcs left12:49
gitinfo set mode: +v12:50
HNY_ .12:50
Zarthus Good point.12:50
bongjovi left12:50
jost_ joined12:53
tvw joined12:54
golum joined12:54
golum Hello12:54
gitinfo golum: 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.12:54
golum how could i remove certain commit that i see in "git status" ?12:55
aapaal joined12:55
Hounddog left12:55
Hounddog joined12:55
diegoviola left12:56
jost left12:56
diego2 joined12:56
HNY_ left12:57
osse you don't see commits in git status. can you clarify?12:57
goTAN left12:57
utanapischti joined12:58
m8 joined12:58
goTAN joined12:58
fstd left12:59
fstd joined12:59
diego2 left12:59
diego2 joined12:59
goTAN left13:01
drawkula left13:01
drbean_ joined13:02
a3Dman left13:02
golum osse, sorry for my explain13:03
in fact i see a lot of commit (before push) with git status command13:03
i want to delete certain commit, how can i do that ?13:03
osse do you mean it says you are "ahead of origin/master" or something like that?13:04
show the git status output13:04
drbean left13:04
diego2diegoviola13:05
drbean joined13:06
golum osse, it is a french return, but ok13:06
Sur la branche master13:06
Votre branche est à jour avec 'origin/master'.13:06
Modifications qui seront validées :13:06
(utilisez "git reset HEAD <fichier>..." pour désindexer)13:06
nouveau fichier : ../puppet/modules/kafka/files/check_isr_kafka13:06
nouveau fichier : ../puppet/modules/kafka/files/check_isr_kafka.cfg13:06
modifié : ../puppet/modules/kafka/manifests/init.pp13:06
modifié : ../puppet/modules/nagios/files/conf.d/commands_nagios2.cfg13:06
supprimé : mongo_control_primary.sh13:06
nouveau fichier : monitor_kafka_isr.sh13:06
a3Dman joined13:06
golum before push it, i want to remove "modifié : ../puppet/modules/kafka/manifests/init.pp"13:07
osse je parle französisch13:07
golum osse, you understand ?13:07
osse yes13:07
golum lol13:07
drbean_ left13:07
golum :)13:07
rwb joined13:07
osse utilisez "git reset HEAD <fichier>..." pour désindexer13:07
that's the clue13:07
git reset HEAD ./puppet/modules/kafka/manifests/init.pp13:07
_nadim left13:08
osse oops13:08
git reset HEAD ../puppet/modules/kafka/manifests/init.pp13:08
fees left13:09
golum osse, thankyou very much13:10
ochorocho joined13:11
dimi1947 joined13:11
osse de rien13:11
Bennux left13:11
sdothum joined13:12
noteness joined13:13
golum osse, how to remove a file and push it ?13:13
the best way ?13:13
osse git rm file; git commit -m 'Remove a file'; git push13:13
noteness left13:13
roygbiv joined13:14
synthroid joined13:14
qsx golum: just for the record: in future, prepend e.g. LANG=en_US.UTF-8 or so to make it english, and !paste13:14
gitinfo golum: Please use a pastebin for snippers longer than one line. https://gist.github.com and https://vomitb.in both work well.13:14
ochorocho left13:15
osse ah, good idea13:15
Tee_Pee left13:16
emmajane left13:16
dopesong left13:17
kesenai left13:17
memoryleak left13:17
andyr left13:17
aalawlx left13:17
dopesong joined13:17
encod3 left13:17
aalawlx joined13:17
Zoddo left13:17
ashka left13:17
andyr joined13:18
jhasse left13:18
encod3 joined13:18
Cerise left13:18
sleezd left13:18
AivarasK left13:18
GingerGeek_ left13:18
jhasse joined13:18
ruduran left13:19
ashka joined13:19
vigilvindex left13:19
ruduran joined13:20
vigilvindex joined13:20
sleezd joined13:20
GingerGeek joined13:20
GingerGeek left13:20
GingerGeek joined13:20
kesenai joined13:21
AivarasK joined13:21
jeffreylevesque left13:21
bongjovi joined13:21
Zoddo joined13:21
stamina left13:22
mischat_ joined13:22
mischat left13:25
jsparks joined13:28
mizu_no_oto left13:29
fees joined13:29
sgambino joined13:30
MarkyC joined13:31
daito joined13:31
torbjorn im trying to pull from git://anongit.freedesktop.org/drm-intel , but I keep getting merge conflicts. why is that, can't i just pull in whatever is on that repo without having to worry? im not doing local comits, and im not editing any of the files, if so ill gladly discard anything i do locally13:33
littlebit joined13:34
bremner torbjorn: sounds like you don't want pull, but fetch (or fetch+reset)13:35
torbjorn possibly13:35
daito left13:35
torbjorn whats the difference here13:36
King_Hual left13:36
mischat_ left13:36
mischat joined13:37
King_Hual joined13:38
King_Hual left13:38
King_Hual joined13:38
gtzht joined13:38
torbjorn anayway, now it says i have diverged, how can i just make it so that my local dir is what is on the central repo?13:38
jsparks left13:38
knownasilya joined13:38
feliwir_ joined13:39
gtzht left13:40
jeffreylevesque joined13:40
ehynds joined13:40
faedw joined13:42
jhasse left13:42
mkoskar joined13:42
jeffreylevesque_ joined13:42
paulweb515 joined13:43
govg joined13:44
lolmac left13:44
rpdprd left13:44
tobeplugged left13:44
ajf- joined13:45
jeffreylevesque left13:45
dstarh joined13:46
rpdprd joined13:49
BlaXpirit left13:49
rpdprd left13:49
sanketdg joined13:49
frank__ joined13:54
frank__ left13:54
Macaveli left13:55
strozyka joined13:55
Macaveli joined13:55
s8321414 left13:56
Guest26366 joined13:58
faedw left13:58
ash_workz left13:58
Guest26366 left13:58
[Brain] left13:58
_nadim joined13:59
Anderson69s joined13:59
tobiasvl left13:59
algae joined13:59
zivester joined14:00
showaz joined14:01
settermjd left14:01
logikos left14:02
link0802 left14:03
aapaal left14:03
incredible joined14:04
Peng left14:04
Peng joined14:04
GT joined14:04
roelmonnens left14:05
dsdeiz left14:05
charlieWONG joined14:05
MattMaker joined14:09
codedmart joined14:10
Peng left14:10
krawchyk joined14:11
roygbiv left14:11
HanClinto joined14:12
rpdprd joined14:13
noteness joined14:13
MattMaker left14:13
roelmonnens joined14:13
charlieWONG left14:13
dserodio left14:13
dserodio joined14:14
charlieWONG joined14:15
regedit joined14:15
jimi_ joined14:16
rsmarshall joined14:17
dserodio left14:19
dserodio joined14:21
fbwnd left14:21
charlieWONG left14:22
charlieWONG joined14:23
ajf- left14:23
Peng joined14:23
abs25 left14:24
InfoTest joined14:24
Gamecubic joined14:24
dopesong left14:25
t0by joined14:25
dopesong joined14:26
Chilley_ joined14:26
charlieWONG left14:26
bannakaffalatta left14:26
charlieWONG joined14:26
NJ1996 joined14:27
happy-dude joined14:27
mohammed64 joined14:27
strozyka left14:28
mohammed64 left14:28
cmoneylulz left14:28
BlaXpirit joined14:28
cmoneylulz joined14:28
charlieWONG left14:29
charlieWONG joined14:29
mohammed64 joined14:30
rubyonrailed joined14:30
Ed_141541 joined14:30
zotherstupidguy joined14:30
charlieWONG left14:31
sulky left14:31
charlieWONG joined14:31
elementalest left14:31
BigWillie joined14:31
mezod joined14:31
daito joined14:32
charlieWONG left14:32
charlieWONG joined14:32
Vgr_ joined14:32
otter768 joined14:32
Vgr left14:33
sulky joined14:33
Gsham joined14:34
fbwnd joined14:34
AtnevRed joined14:35
charlieWONG left14:35
charlieWONG joined14:36
rubyonrailed left14:36
rwb left14:36
daito left14:36
buffal0 joined14:37
otter768 left14:38
absk007 joined14:38
absk007 left14:38
absk007 joined14:39
AtnevRed left14:39
absk007 left14:40
jimi_ I think my workflow might be off. I am using continuous integration environment to deploy source code on push to the development branch upstream to a QA environment. I am running the affected files in git through a linter in php and making sure it adheres to code standards, etc and if it doesn't, then the files aren't sent to the QA server for that commit. If they do pass, they are rsync'd to the QA webroot, and everything is fine. However, if there is a fa14:40
iling commit and then a passing one, everything is rsync'd on the pass anyhow.... so how should i handle this? should we switch to pull requests?14:40
pozitron joined14:40
charlieWONG left14:40
absk007 joined14:40
charlieWONG joined14:40
moritz jimi_: the typical approach is to use quality gating like tests: if they fail, the deployment stops14:41
jimi_ moritz, we are running unit testing as well, but also checking with phpcs that it adheres to a coding standard like PRS2 etc14:41
utanapischtidrawkula14:41
absk007 left14:41
charlieWONG left14:41
mbrzuzy joined14:41
moritz jimi_: so, treat the two the same: if either fails, don't deploy14:41
absk007 joined14:42
PCatinean left14:42
leeN joined14:42
moritz jimi_: it's the only way to make developers pay attention to them14:42
chitopunk joined14:42
moritz (shameless plug: I'm writing a book on automating deployments: http://perlgeek.de/en/book/automating-deployments )14:42
a3Dman_ joined14:42
jimi_ moritz, yeah, i am only running the coding standards against the files that were modified in that commit though, so the 2nd commit if its fine, acts like all is fine and thats not what i want.... but i also don't want to run the coding standards against the entire code set, as I'm trying to apply it to legacy code14:42
absk007 left14:43
jimi_ clicks the link14:43
a3Dman left14:43
absk007 joined14:43
jbondhus left14:43
rxo left14:43
moritz jimi_: try running them against all the files that were changed since the last successful quality check14:44
absk007 left14:44
jimi_ moritz, thanks, thats a good idea. i will look into that, to see if there is a way to keep track of that in jenkins and using git history/diff logs14:44
absk007 joined14:45
daivyk joined14:45
moritz jimi_: (re link) there's nothing on there for your specific problem, but maybe the general direction is interesting to you?14:45
rxo joined14:45
jbondhus joined14:45
jimi_ reading it now14:45
absk007 left14:46
crayon joined14:46
jimi_ Would pull requests solve this issue? like everyone worked in their own branch, and then when ready to commit they did it as a pull request that could run unit tests and listing and if it failed, reject it14:46
linting*14:46
elementalest joined14:46
strozyka joined14:46
moritz jimi_: sounds like a viable approach, yes14:46
elementalest left14:46
elementalest joined14:46
AaronMT joined14:47
CussBot left14:47
CussBot joined14:47
InfoTest left14:47
mellernoia-work joined14:48
mellernoia left14:48
lindenle joined14:48
Macaveli left14:49
lindenle left14:49
dslevin_ left14:50
BillCriswell joined14:51
rwb joined14:51
lindenle joined14:51
kpease joined14:52
NJ1996 left14:52
jimi_ moritz, thanks. I'm going to investigate those options and also talk to the #jenkins guys and see if they have some thoughts.... maybe just sync only the files from the passing commits etc14:53
dopesong left14:54
theskillwithin left14:54
torbjorn bremner: if i want my local branch to reflect the changes in the remote branch, won't i have to merge?14:54
a3Dman_a3Dman14:54
Es0teric joined14:55
torbjorn like i said, i just want my local copy to be what is on the branch im tracking centrally14:56
dopesong joined14:56
moritz jimi_: the only working approach (IMHO) is having a branch that's only built when stuff is clean; then either make a policy to clean it up immediately if it starts to fail, or to check everything for cleanliness before it goes in14:56
BlaXpirit left14:56
torbjorn nm think i got it14:57
glebihan_ left14:59
BlaXpirit joined14:59
phrozensilver joined14:59
BlaXpirit left15:00
Wetmelon joined15:00
BlaXpirit joined15:01
lindenle left15:03
settermjd joined15:03
[Brain] joined15:03
leeN left15:06
dopesong left15:06
bannakaffalatta joined15:06
lindenle joined15:07
drose joined15:08
Dougie187 joined15:08
leeN joined15:08
gitinfo set mode: +v15:10
drose Hi15:10
gitinfo drose: 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:10
CheckDavid joined15:10
drose I'm tasked at my company with moving to Git, from Subversion (yay!)15:11
ochorocho joined15:11
drose And I'd like to keep the commit history as far as is possible15:11
Repox left15:13
drose The thing is, we've been using svn:externals somewhat extensively to have the (mostly) same code for diferent customers15:13
noname joined15:13
namiR joined15:13
drose But as part of the migration we realized that there's no need to do so.15:13
Sonicbit left15:13
rewt left15:14
drose So my question is how to migrate this best15:14
PCatinean joined15:14
drose Should I try removing the svn:externals in the subversion side, and then import into git15:14
or the other way around?15:14
dan2k3k5 left15:15
dan2k3k4 joined15:15
ochorocho left15:15
codedmart left15:15
mbrzuzy left15:16
mischat left15:17
kdehl left15:17
gitinfo set mode: +v15:17
mischat joined15:17
gitinfo set mode: +v15:18
mischat left15:18
krawchyk_ joined15:18
namiR hi15:18
gitinfo namiR: 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:18
dopesong joined15:18
mischat joined15:19
namiR wt is the best git desktop client?15:19
nnyk_ joined15:19
richard_maw Linux15:20
richard_maw is only partially joking15:20
richard_maw finds the command-line with a good terminal emulator and window manager to be the best for development15:20
Zarthus I am personally am a fan of SmartGit when I don't use the terminal15:21
kdehl joined15:21
krawchyk left15:21
GT left15:21
zivester left15:21
Zarthus SourceTree is also popular, and my fanboyism is based on the fact I hadn't used anything else.15:21
rubyonrailed joined15:21
zivester joined15:22
phrozensilver left15:22
namiR i feel github desktop version GUI isn't user-friendly15:23
cbonobo joined15:23
lindenle left15:24
InfoTest joined15:25
cvanball joined15:25
JeroenT left15:25
mbrzuzy joined15:25
crose joined15:26
rwb left15:26
mezod left15:26
arup_r left15:27
toogley left15:27
rewt joined15:29
namiR left15:29
rscata left15:30
zotherstupidguy left15:30
rwb joined15:31
cmoneylulz left15:31
SomeRandom joined15:32
mohammed64 left15:32
phaleth joined15:32
daito joined15:32
skylite left15:33
modin left15:34
csd_ joined15:35
g105b left15:35
modin joined15:35
IlNominePatre joined15:35
Cassiopaya joined15:35
ciampix left15:36
daito left15:37
g105b joined15:38
IlNominePatre left15:38
Cassiopaya left15:38
roygbiv joined15:38
ciampix joined15:38
zivester left15:39
Yeomra left15:39
bongjovi left15:40
acetakwas joined15:40
roygbiv hey all, i edited some files on my master branch, and realize now i really should have done this work in its own branch. can i keep my changes but somehow backpedal a little and create a new branch for them?15:41
David1977 left15:41
JeroenT joined15:41
mrgrieves joined15:42
qsx roygbiv: if you have not comitted yet, !float15:42
gitinfo roygbiv: If you have made a change in your working directory and have NOT YET COMMITTED, you may "float" that change over to another (`git checkout oldbranch`) or new (`git checkout -b newbranch`) branch and commit it there. If the files you changed differ between branches, the checkout will fail. In that case, `git stash` then checkout, and `git stash apply` and go through normal conflict resolution.15:42
bango2 joined15:42
qsx drose: i'd say get rid of the externals first and !svn2git then15:43
gitinfo drose: For a one-time conversion of SVN to git, svn2git should be used instead of git-svn. There are many tools with this name. Probably the best is the KDE one at https://github.com/svn-all-fast-export/svn2git. To analyze the SVN repo history upfront for building up proper rules for svn2git, you might use svneverever from here: http://blog.hartwork.org/?p=76315:43
roygbiv gitinfo, yes i’ve not yet commited them. thanks for the help!15:43
gitinfo roygbiv: you're welcome, but please note that I'm a bot. I'm not programmed to care.15:43
roygbiv gitinfo, you need an emotion chip15:44
they’re all the rage!15:44
mrgrieves hi, so when I do git log I have a commit that correspond to a Merge, how can I see the diffs of this merge?15:44
qsx roygbiv: PRs welcome at git:github:jast/gitinfo15:44
gitinfo roygbiv: Git web link: https://github.com/jast/gitinfo15:44
drose @qsx thanks. I've been reading up on git submodules vs. svn:externals, and it seems like a lot of work for something which i want to kill off anyway15:45
qsx mrgrieves: which diffs do you mean?15:45
blueyed left15:45
qsx drose: there's a thumb rule whether you want submodules: you do not.15:45
blueyed joined15:45
blueyed left15:46
blueyed joined15:46
qsx when you know what griefs they bring and can work around them, or just don't use them for what they were not intended, it's okay ... i use them in git:github:qsuscs/.dotfiles extensively15:46
gitinfo Git web link: https://github.com/qsuscs/.dotfiles15:46
blueyed left15:46
acetakwas left15:46
joel_falcou left15:46
blueyed joined15:46
Alienpruts left15:47
mischat_ joined15:47
thiago left15:47
incredible left15:47
arup_r joined15:48
drose so you suggest svn2git? according to the web, reposurgeon is also good15:48
mezod joined15:49
qsx yes. suggest, but not recommend ;)15:49
mischat left15:50
mattp_ joined15:50
JeroenT left15:51
bongjovi joined15:51
mattp__ left15:51
mkoskar left15:51
modin left15:52
modin joined15:53
acetakwas joined15:54
buffal0 left15:54
wrilain left15:56
mrgrieves qsx: I mean like log -p output so I can see what changed15:58
jay-m left15:59
qsx mrgrieves: yes, compared to what?15:59
CeberTronsha16:00
jay-m joined16:00
codedmart joined16:00
Macaveli joined16:02
cerkauskas joined16:02
freimatz left16:02
kilo_bravo joined16:02
achadwick joined16:03
rubyonra_ joined16:04
mrgrieves I see, to HEAD16:04
acolson left16:04
SOLDIERz left16:06
roelmonnens left16:06
regedit left16:06
Spacew00t joined16:07
rubyonrailed left16:07
catsup left16:07
spacepluk left16:07
spacepluk joined16:07
bongjovi left16:07
rasto left16:07
craigp left16:09
catsup joined16:09
codedmart left16:09
littlebit left16:09
dimi1979 joined16:10
VespaQQ left16:10
rewt left16:10
guampa left16:11
MarkyC left16:11
thalleralexander left16:13
calamari joined16:13
qsx git diff $commitish..16:13
bongjovi joined16:13
dimi1947 left16:14
rewt joined16:14
kadoban joined16:15
Rodya_ joined16:15
noname left16:15
ochorocho joined16:15
Macaveli left16:16
guampa joined16:16
calamari our team has been working on items in branches, then merging the branches into master once it has been decided to include the fix in the next release. this has been working great, until a fix failed QA testing and it was realized it needs months of work. In retrospect, it seems like maybe we shouldn't have merged it into master until after QA, but I'm curious if there are any best practices for this16:16
imachuchu joined16:18
canton7 calamari, that's fine. just revert the merge commit that introduced the feature16:18
calamari, then later on, read "reverting a faulty merge", linked from man git-revert iirc16:18
gitinfo calamari: the git-revert manpage is available at http://jk.gs/git-revert.html16:18
canton7 jast, the link to revert-a-faulty-merge How-To is broken on that page ^16:19
calamari canton7: I was curious about that, so I tried it experimentally. the problem was that when I then merged master into my personal branch, my code changes were reverted as well16:19
canton7 calamari, don't have "personal branches"16:19
calamari which makes sense because the revert to master was a new commit16:19
MarkyC joined16:19
calamari canton7: the whole point of git is having your own branches16:19
canton7 no, the point is to have *feature* branches16:20
one branch per feature, not one long-lived branch per person16:20
calamari thats what we qre doing16:20
*are16:20
canton7 so what is your personal branch?16:20
cvanball left16:20
calamari sorry I named it correctly16:20
forget I said personal branch and pretend I said feature branch16:21
canton7 for which feature?16:21
calamari the feature that I'm working on16:21
canton7 which feature are you working on? the one that failed QA, or another one?16:21
calamari I think of it as my personal branch because I'm the only one working on the feature16:21
let me start all over sorry16:22
I have a feature in branch feature_a. I merged it into master. I reverted the merge commit. I then merge master into feature_a, and feature_a loses all the changes I made16:23
mohammed64 joined16:23
canton7 read https://www.kernel.org/pub/software/scm/git/docs/howto/revert-a-faulty-merge.txt16:23
sbasso left16:23
mohammed64 left16:23
canton7 I think there's a bit on reverting reverts in there16:24
mrgrieves qsx: thanks! now, how can I do the diff between the commit and whatever was the HEAD just before the merge?16:24
canton7 ... but you probably want to merge master into feature_a, then revert the revert commit16:24
LBV_User left16:24
canton7 that will restore the feature, and mean that when it's next introduced into master, it will "take"16:24
qsx mrgrieves: $commitish^!16:24
calamari okay so there's a way to revert the revert, cool16:24
canton7 yeah, just 'git revert' the commit that the previous 'git revert' created16:25
lindenle joined16:25
iateadonut joined16:25
calamari canton7: thank you, that's exactly what I needed to know16:25
canton7 :)16:25
another option would be to rebase the feature back onto master16:25
(that doc talks about that as well)16:26
mrgrieves qsx: Bravo!16:26
iateadonut i started modifying an unmerged file. i want the original unmerged file back with <<<<< HEAD ===== and everything16:26
mrgrieves so what are the head + bang charaters doing here?16:26
neurodrone_ left16:27
osse iateadonut: git checkout --merge file16:27
johan_sun left16:27
osse mrgrieves: man gitrevisions16:28
gitinfo mrgrieves: the gitrevisions manpage is available at http://jk.gs/gitrevisions.html16:28
osse mrgrieves: it's shorthand16:28
johan_sun joined16:28
drose left16:28
neurodrone_ joined16:29
lindenle left16:29
cvanball joined16:31
dodoododo left16:31
zivester joined16:31
lindenle joined16:31
JanC left16:31
TomyWork left16:32
daito joined16:33
otter768 joined16:33
BigWillie left16:34
thierryp left16:34
amdi_ joined16:34
|nodux joined16:35
dimi1979 left16:35
lindenle left16:36
acetakwas left16:36
thalleralexander joined16:36
richard_maw weird, unless I specify --no-tags, it doesn't just consider objects that it downloaded to opportunistically create refs for, it also creates refs for commits that I have left danging in my object store16:36
littlebit joined16:37
bonswouar left16:37
daito left16:38
otter768 left16:38
littlebit left16:39
richard_maw looks like I'll have to manually purge my object store if the set of tags I care about changes, otherwise the next fetch will anchor them again and I'll never be rid of the objects16:39
LBV_User joined16:39
richard_maw or just remember to always set --no-tags16:39
CausaMortis left16:40
littlebi1 joined16:40
madewokherd left16:40
thalleralexander left16:41
thalleralexander joined16:42
PCatinean left16:42
littlebi1 left16:42
japro left16:43
raijin joined16:44
wrilain joined16:44
mbrzuzy left16:44
harish_ left16:44
Gsham left16:45
JanC joined16:46
akushner joined16:47
user_ joined16:47
user_ left16:47
rubyonra_ left16:47
synthroid left16:49
Toooooth12 joined16:51
Iexs joined16:51
Gsham joined16:52
rsmarshall left16:52
Ed_141541 left16:52
littlebit joined16:53
mischat_ left16:53
frankie64 joined16:53
mischat joined16:54
bannakaffalatta left16:54
codedmart joined16:54
littlebit hi poeple, I have the following git-log-tree http://pastebin.com/z3KSXVWx and i would like to delete the merge commit '2793c45', how can I do that safely?16:54
_ikke_ littlebit: And what do you want the end result to be?16:54
Just as if the merge never happened?16:54
littlebit _ikke_: yes, so that the git log tree would look like a fork16:55
_ikke_: the merge i did was too early16:55
Balliad left16:55
nilg left16:56
mbrzuzy joined16:56
wrilain left16:56
Iexs left16:56
shuaib joined16:57
harish_ joined16:57
_ikke_ git reset --hard HEAD~1 should do16:57
ilmgb_ joined16:57
_ikke_ if you are on the merge commit now that is16:57
littlebit _ikke_: and at what commit should I be before executing that command?16:58
dslevin_ joined16:59
hobodave joined16:59
_ikke_ littlebit: The branch that points to 2793c4516:59
krawchyk joined17:00
NateAGeek joined17:00
wrilain joined17:00
krawchyk left17:00
gitinfo set mode: +v17:00
frankie64 so here is a newbie question....I have a git server running on an ubuntu box and i was able to convert our main tree from cvs to git, and it all looks good, how can i check out files from my windows desktop from this git server running on .6917:00
ilmgb left17:00
krawchyk joined17:01
apiarian left17:01
ilmgb_ left17:02
_ikke_ How are you serving git? Through ssh, http, git-daemon?17:02
french-buget joined17:02
apiarian joined17:02
french-buget left17:02
krawchyk_ left17:03
french-buget joined17:03
jnavila left17:03
frankie64 _ikke_: not sure, i have the repo installed, but i am trying to figure out how to get the next step17:03
french-buget left17:03
fbwnnd joined17:03
Oebele joined17:04
_ikke_ Are you comfortable with ssh?17:05
dimi1947 joined17:05
NeverDie left17:06
gaen joined17:06
jast canton7: the manpage are auto-updated from git iirc17:06
nnyk joined17:06
frankie64 so would the following be the ways to serve it up? http://www.jedi.be/blog/2009/05/06/8-ways-to-share-your-git-repository/17:07
tlaxkit left17:07
fbwnnd left17:07
bollullera left17:08
fbwnnd joined17:08
_ikke_ frankie64: Yes, but it conflates hosted services with protocols17:08
But it covers the basic options17:08
But gitolite is missing17:08
Karkus joined17:08
madewokherd joined17:08
_ikke_ which is an authorization layer on top of ssh17:08
kfunk left17:09
nnyk_ left17:09
toogley joined17:09
MattMaker joined17:10
canton7 jast, presumably you're not generating that how-to though?17:10
Ed_141541 joined17:10
Gsham left17:11
sdothum left17:11
samw joined17:12
thiago joined17:12
craigp joined17:13
bannakaffalatta joined17:14
duderonomy joined17:14
sdothum joined17:14
MattMaker left17:14
InfoTest left17:14
jost_ left17:15
Toooooth12 left17:15
littlebit another question, I made a branch at the wrong commit (it is a commit too late), how do I shift that branch to start one commit earlier?17:15
dopesong left17:15
the_cybersphinx joined17:15
tgies left17:16
dan2k3k4 left17:16
gitinfo set mode: +v17:16
soerenb_ littlebit, git rebase <too late commit> --onto <too_late_commit>^17:16
soerenb_soerenb17:16
kadoban littlebit: You can rebase it. Or you mean you *just* did it and there's no added commits in it yet?17:16
[Brain] left17:17
kadoban Well actually it'll probably work anyway, so my question is probably useless.17:17
postsneakernet joined17:17
rubyonrailed joined17:17
littlebit kadoban: this is my git tree http://pastebin.com/RpQdUJFv , I want the branch to start at 46730c517:18
maslen I accidentally made code changes as two commits instead of one. How can I merge the two commits together?17:18
_ikke_ littlebit: did you already undo that merge?17:18
littlebit _ikke_: yes17:19
_ikke_ maslen: git reset --soft HEAD^ && git commit --amend17:19
hide I've been working on a large rebase, and I just accidentally hit ESC while doing conflict resolution which caused my tool to close and mark the file as resolved. How can I get back to it being unresolved and go back to fixing conflicts?17:19
soerenb maslen, git rebase --interactive HEAD~2 and then squash/fixup the second into the first17:19
maslen erm, which of those two should I be doing ?17:20
soerenb either17:20
Gsham joined17:20
johnnyfive left17:20
hide normally I'd just: git rebase --abort and start again, but this rebase has been going on for days17:20
varesa left17:21
shinnya joined17:23
Aboba joined17:23
_ikke_ Hmm, good questing?17:23
good question*17:23
kfunk joined17:24
hide little deeper googling -- git checkout --conflict merge filename.txt17:24
synthroid joined17:24
_ikke_ Does that work in this case?17:24
Anderson69s left17:24
hide I've got the file back in a both modified state17:24
_ikke_ Ok, good to know17:24
TomyLobo joined17:25
_ikke_ I though that git add <file> (which you use to mark the conflict as solved), would remove all merge state17:25
David1977 joined17:26
_ikke_ (I was just about the suggest that though)17:26
Karkus left17:27
hide cool :) it's back in the state it was prior to my starting resolution, but that's better than restarting everything17:27
Hounddog left17:27
_ikke_ yup17:27
ciampix left17:28
johnnyfive joined17:28
maslen _ikke_, soerenb: Thanks!17:28
aapaal joined17:29
encod3 left17:30
benlieb joined17:30
noname joined17:30
ochorocho left17:31
craigp left17:32
craigp joined17:32
maslen I spent an hour playing around last night and wasn't able to squash the commits.17:32
Sceorem left17:32
ilmgb joined17:32
ilmari notes there are no spectests for file times17:33
mahendra_ left17:34
daito joined17:34
mbrzuzy left17:34
ash_workz joined17:35
raijin left17:35
hobodave_ joined17:35
_ikke_ ..17:35
ilmari at least not in spec/S32-io/file-tests.t17:35
aapaal left17:36
mischat left17:36
ilmari oh, it's in S16-filehandles/filestat.t17:36
_ikke_ you are aware this is #git?17:36
ilmari of course17:36
oh,17:36
damn17:36
sorry, that was meant for #perl617:36
Rodya_ left17:37
hobodave left17:37
daito left17:39
kurkale6ka left17:39
Uwfo joined17:39
Uwfo left17:39
yqt joined17:40
shuaib left17:40
jberkus joined17:41
varesa joined17:41
jberkus I need to clobber my local fork with upstream for one repo. What's the easiest way to do that? Other than deleting my fork entirely and starting over?17:41
subhojit777 joined17:41
_ikke_ clobber?17:41
osse jberkus: fetch and reset --hard17:41
durham joined17:42
jberkus fetch from where? upstream?17:42
mellernoia-work left17:42
osse yes17:42
durham21WAAP7FT17:42
osse _ikke_: https://www.youtube.com/watch?v=eg8DTgLhUdc17:42
jberkus aha, thanks17:42
dopesong joined17:43
mischat joined17:43
BigWillie joined17:43
holodoc left17:44
jay-m1 joined17:44
jay-m left17:44
jay-m1jay-m17:44
ascarter joined17:45
littlebit left17:45
d4rklit3 joined17:46
dopesong left17:47
calamari left17:48
dopesong joined17:48
ehynds left17:49
craigp left17:49
Karkus joined17:50
craigp joined17:51
Ed_141541 left17:52
debug0x1 joined17:52
phrozensilver joined17:53
zeroed left17:54
Gamecubic left17:55
lindenle joined17:55
Chilley- joined17:56
Chilley__ joined17:56
CausaMortis joined17:57
axl_ joined17:57
Chilley left17:57
krawchyk left17:58
Chilley_ left17:58
josuebrunel left17:58
settermjd left17:58
troulouliou_div2 joined17:59
qsx osse: !pusher17:59
gitinfo osse: I am the pusher robot. I shove around the code. http://youtu.be/7E0ot9iJm_k?t=34s17:59
gopar joined17:59
BigWillie left18:00
ojacobson master is protected, master has gone down the stairs18:00
BigWillie joined18:00
holodoc joined18:01
calamari joined18:01
Gamecubic joined18:01
blackjid left18:01
Limes_ joined18:02
zivester left18:02
ash_workz left18:02
jay-m left18:03
ilmgb left18:03
_ikke_ https://www.youtube.com/watch?v=kKO9h-gG4Qg18:04
blackjid joined18:04
DTekk joined18:05
aleksandar2810 joined18:05
nilg joined18:06
nnyk left18:06
nickthetait left18:07
samw left18:07
sarri left18:07
qsx why am i not surprised that the dutch one posts the most weird music18:07
... Seveas, your turn.18:07
mischat left18:07
rubyonrailed left18:09
sarri joined18:10
Sample joined18:10
ash_workz joined18:10
pozitron left18:11
astrofog joined18:11
_ikke_ "fasten your beltseats"18:12
blackwind_123 joined18:12
lindenle left18:13
theverbg joined18:13
theverbg left18:14
iateadonut left18:14
lindenle joined18:15
alezandro joined18:15
qsx you mean, https://www.youtube.com/watch?v=bWXo8Ttwg8E?18:15
irc-5225225 left18:15
tubuliferous_ left18:15
zivester joined18:16
crose left18:16
ascarter left18:16
rubyonrailed joined18:16
nickthetait joined18:16
irc-5225225 joined18:17
Chilley- left18:18
Slyde joined18:18
vdv joined18:20
tubuliferous_ joined18:21
encod3 joined18:21
encod3 left18:21
encod3_ joined18:21
calamari left18:22
glebihan_ joined18:22
samw joined18:24
rominronin left18:24
shinnya left18:24
bsanford joined18:27
t-mart joined18:27
t-mart_ left18:29
crose joined18:29
dreiss left18:29
ajf- joined18:30
arup_r left18:30
krawchyk joined18:30
dasginganinja joined18:30
Gfurst joined18:31
whomp joined18:31
Gfurst hey peeps,18:31
CausaMortis left18:31
lindenle left18:31
ajf- left18:31
_ikke_ ahola18:31
Eugene Zlad isn't even that weird18:32
Gfurst lemme ask you, how do you clean up repo size? only way is to rewrite history?18:32
osse Vlad18:32
ajf- joined18:32
mahendra_ joined18:33
kfunk left18:33
HelloAtMega joined18:33
ajf- left18:34
calamari joined18:34
otter768 joined18:34
Slyde left18:34
daito joined18:35
zivester left18:35
ajf- joined18:35
AtnevRed joined18:36
lindenle joined18:36
n00bdev joined18:37
n00bdev left18:37
reim joined18:37
bsanford left18:37
zotherstupidguy joined18:38
rodarmor joined18:38
subhojit777 left18:39
gitinfo set mode: +v18:39
daito left18:39
otter768 left18:39
bsanford joined18:40
dasginganinja I just inherited a project that had no repository. In the document root I just ran `git init` and then `git add .` and `git commit -a -m "initial commit"`. Some of the subfolders were cloned from other respositories originally and were evidently added as submodules in my new repository at the root. I've removed the .git folders from the subfolders since I just want to house the files, not the other repositories. How do I go about18:40
cvanball left18:40
dasginganinja and add it in a normal folder?18:40
Thanks in advance.18:40
cvanball joined18:41
AtnevRed left18:41
yqt left18:41
rodarmor dasginganinja: I think your question was a little garbled, what's between "How do I go about" and "and add it in a normal folder?"?18:41
troulouliou_div2 left18:41
dasginganinja How do I go about removing the existing "submodule" and add it in a normal folder?18:42
doener joined18:42
Seveas qsx: weird german music: https://www.youtube.com/watch?v=xd847TfxgCc18:42
dasginganinja thanks rodarmor18:42
I had a feeling that the interface was going to truncate my message.18:42
rodarmor dasginganinja: So you committed a .git folder in a subfolder, and now you'd like to undo that?18:43
crose left18:43
dasginganinja root/sub/folder1/.git and root/sub/folder2/.git was the setup. I did `rm -rf root/sub/folder1/.git` but my git status isn't showing any changes.18:44
dimi1947 left18:44
Gsham left18:44
Seveas qsx: better german music: https://www.youtube.com/watch?v=B1XstCH4Ft818:45
dasginganinja rodarmor: I'd like to have just the original folder structure committed to the root repository.18:45
jberkus left18:45
dasginganinja rodarmor: not the submodule18:45
rodarmor I just tried it out, and I think that `git add .` will ignore the .git folders in subdirectories.18:46
dasginganinja I'm on Git 1.7.9.5 -- an older system.18:46
frem joined18:46
rodarmor dasginganinja: So I think you might be okay, and the reason that git isn't showing any changes when you rm -rf the sub .git folders is because they aren't actually committed.18:46
You can make sure by cloning the repo 'git clone root root-new' and making sure that the .git folders aren't in root-new18:47
dasginganinja: Ahh, okay, I'm on 2.5.4, so maybe the behavior is different.18:47
nour joined18:48
fbwnnd left18:48
dasginganinja Ah alright. Thanks rodarmor18:48
qsx Seveas: needs it be christian music? :<18:48
rodarmor dasginganinja: You're very welcome ^_^18:48
Seveas qsx: yes. You need more god in your life, you sinner.18:49
zivester joined18:49
qsx i do still know the ave maria and our father by heart.18:49
welp. i know many things by heart.18:49
Seveas in german and latin?18:49
qsx nah, only german18:49
dasginganinja rodarmor: Simple: I just removed the root .git folder and the submodule git folders. I created a new root repo, deleted the existing one in bitbucket, and then pushed it all back up. It's good now. Thanks again18:50
qsx i'd love to have learnt latin, but french seemed more useful to me.18:50
Seveas I used to know it. We recited it before every dinner18:50
qsx LOL18:50
Gsham joined18:50
Seveas back when my parents thought religion was important :)18:50
tvw left18:51
Seveas (dutch only though, no latin)18:51
qsx heh.18:51
i remember when my grandma told my brother and me that "all that" doesn't really make sense18:51
Seveas I did do latin in high school, but dropped it. Guess what I did instead?18:51
qsx she was >90 then :D18:51
german?18:51
Seveas yup18:51
qsx GUT18:51
Seveas herr Goebbels18:51
Gsham left18:52
ChanServ set mode: +o18:52
qsx *cough*18:52
kdehl left18:52
Seveas yes, my german teacher was named Goebbels18:52
qsx 18:52
qsx set mode: -o18:52
qsx must have been fun for him to go through all that jokes.18:52
lindenle left18:53
Seveas we didn't dare make jokes. He was terrifying18:53
qsx :D18:54
EduardoMartins joined18:54
Seveas he also started every first lesson of the day with a short prayer :)18:54
CihanKaygusuz left18:54
elastix joined18:54
rodarmor Question: I'd like to reset my index and working tree to the state of a previous commit, without change the branch head, is there a way to do that?18:54
kfunk joined18:54
tvw joined18:55
sparetire_ joined18:55
mizu_no_oto joined18:55
Gfurst rodarmor: you can just checkout, your branch will remain with same HEAD and you will be in headless state18:55
Seveas rodarmor: git checkout sha1-of-commit18:55
roygbiv left18:55
hobodave joined18:56
qsx Gfurst: branches don't have a !HEAD18:56
gitinfo Gfurst: HEAD is a 'pointer' to the currently checked out branch (or commit, if HEAD is !detached). In bare repositories it tells clients which branch to checkout initially after cloning. Unlike commonly believed, HEAD is *not* something that exists separately for every branch. It also is *not* necessarily the newest commit in the repo (that's hard to define in a DVCS, anyway...)18:56
qsx note that HEAD /= head18:56
kdehl joined18:56
rodarmor Gfurst: Okay, interesting, so HEAD isn't a per-branch pointer to the current commit. So it's okay that i'm in "detached head state"?18:57
Gfurst qsx: oh yeah, what I meant is, the same tip18:57
Seveas rodarmor: as long as you're not planning to make commits, sure.18:57
lindenle joined18:57
Gfurst rodarmor: in detached you can do commits but they won't belong to any branches per say,18:57
Seveas s/ per say,//18:58
Gfurst Seveas: exactly?18:58
hobodave_ left18:58
rodarmor Seveas: Ahh, yeas, the thing is it that I want to now make a few changes and then 'commit -a --amend' and have that be reflected in the commit that I started on.18:58
Gfurst so if you checkout to other branchs those commits can be lost, but you can create a new branch from your headless state too18:59
Seveas rodarmor: git checkout sha1-of-commit -- .18:59
josuebrunel joined19:00
Gfurst rodarmor: maybe what you want is to redo certain commit, might be better with "reset --soft"19:00
Seveas that checks out all files, but keeps you on the current branch and doesn't detach HEAD19:00
bannakaffalatta left19:00
Seveas reset --soft will change HEAD, do NOT do that.19:00
synthmeat left19:00
Gfurst but if you just want to undo a certain commit and make changes, 'revert' is the way to go19:01
Seveas that's in fact the opposite of what you want, it doesn't touch files/index, but only changes HEAD19:01
Gfurst yeah, perhaps its best for rodarmor to tell exactly what he wants to do19:02
rodarmor I would totally 'reset --soft', but to satisfy phabricator (code review tool on top of git) I need to make sure I don't nuke the commit that already exists.19:02
Seveas he did. You just gave him bad advice :)19:02
rodarmor I think that "git checkout sha1-of-commit -- ." is doing what I want19:02
gaengaen[away]19:03
bannakaffalatta joined19:03
synthmeat joined19:03
bsanford left19:03
BigWillie left19:03
Balliad joined19:03
achadwick left19:03
Gfurst rodarmor: actually no, if you want to revert certains files you can 'checkout commit ..files' or 'revert commit ..files' to revert what a certain commit did without changing history19:03
luksaur left19:04
Seveas Gfurst: no, that's spelled the way I said it, and the way rodarmor already did it.19:04
Gfurst the 'checkout commit files' will get what files were in certain commit without changing HEAD, changes will be available for a new commit19:04
chitopunk left19:05
hobodave_ joined19:05
m8 left19:05
Seveas rodarmor: more undoing recipes are here for future reference: https://git.seveas.net/undoing-all-kinds-of-mistakes.html19:05
rodarmor I'm a little confused, because I think ""git checkout sha1-of-commit -- ." is doing what I want, set the contents of the working tree to the state of a previous commit.19:05
Seveas rodarmor: that is correct. I don't know what Gfurst is smoking... :)19:05
rodarmor Why does it change the index though? (i.e. those changes are ready to commit without 'git add'ing them)19:05
junw left19:05
bongjovi left19:06
Seveas because that's what checking out a file does by definition19:06
rodarmor: you can try a reset --mixed afterwards to un-add the changes from the index19:07
hobodave left19:07
gaen[away]gaen19:08
Oebele left19:08
jeffreylevesque_ left19:08
rodarmor Seveas: Still a little confused, from the git checkout man page on the 'git checkout <tree-ish> -- <pathspec>...' form:19:08
ojacobson rodarmor: well, mostly. (`git checkout <commitish> …any arguments…` always updates the index)19:08
rodarmor "updates the named paths in the working tree from the index file or from a named tree-ish"19:09
ojacobson rodarmor: to fully set the tree and index to <commitish> you need `git rm -rf :/ && git checkout <commitish> -- :/`19:09
`git checkout <committish> -- <path…>` won't remove files if they exist in the index but do not exist in <committish>19:09
Seveas ojacobson: ooh, good one19:09
ojacobson this bites me _all the time_ in refactors :)19:10
groton joined19:10
govg left19:10
dslevin_ left19:10
dasginganinja left19:11
EduardoMartins left19:11
groton why the .git/refs/heads does not contain all the remote branches? only after i do a checkout i get the ref in there. Why only after a checkout? Is there a way to get all the remote branches tracked by local branches?19:11
BigWillie joined19:11
Balliad left19:11
ninsei joined19:11
LiENUS left19:12
Gfurst ojacobson: if you just 'checkout <commit>' won't it just switch to the state of the commit (plus untracked files at the time), like switching branches?19:12
ojacobson yep.19:12
qsx groton: you have them, they are packed in .git/packed-refs19:12
ojacobson `git checkout <commitish>` and `git checkout <commitish> -- <paths…>` do different things, though.19:12
qsx groton: you should not poke around in .git (and in most cases neither peek), use the git toolset.19:12
chll left19:12
ojacobson groton: it doesn't contain _any_ remote branches. refs/heads/* are _local_ branches.19:12
Gfurst the '<commit> -- <paths>' is actually checking out those files remaining in current HEAD no?19:12
BigWillie left19:13
qsx … that, too.19:13
rodarmor qsx: Well, I dunno, peeking can often be quite instructive :)19:13
cvanball left19:13
Seveas groton: because refs can also be stored in different places19:13
groton: git for-each-ref is your friend19:13
rodarmor qsx: And poking can be destructive in an instructive way19:13
groton ok, thanks a lot, now it makes sense19:13
qsx *shrug*19:14
rodarmor: say that once you've lost irreplacable work.19:14
rodarmor qsx:19:14
qsx: "can be", always make backups/push before poking19:15
qsx and remember to pop your registers in the right order19:15
rodarmor ojacobson: I'm still a little confused as to why the index is changed, because of what it says in the man page, it's in the description for this form "git checkout [-p|--patch] [<tree-ish>] [--] <pathspec>..." is that the right oen?19:16
ryez left19:16
mbrzuzy joined19:17
LiENUS joined19:17
Seveas rodarmor: the manpage could be a bit more explicit about this19:18
but basically the index is changed because that's what the git developers decided git should do.19:18
rodarmor Okay, cool. Thanks all for the help19:19
ojacobson: Is github.com/ojacobson/git-aliases yours?19:19
It's very instructive reading19:19
kiloreux joined19:19
lindenle left19:20
Gfurst rodarmor: this syntax is like this it grabs the file from point in history, you're still the HEAD of the branch you were, but the files changed so you'd need to commit them...19:20
Fijit left19:20
nydel07 left19:21
pantsman- joined19:21
dreiss joined19:22
Gfurst but yeah the fact that it automatically adds to staging area is just a fact, probably because its expecting you to commit anyway19:22
marcogmonteiro left19:22
Gfurst been reading this yesterday too, pretty simple but easy to grasp https://www.atlassian.com/git/tutorials/undoing-changes/git-checkout19:22
Balliad joined19:22
Balliad left19:22
ochorocho joined19:22
govg joined19:23
nydel07 joined19:23
rominronin joined19:25
BSaboia joined19:25
21WAAP7FT left19:26
durham joined19:26
cerkauskas left19:27
ochorocho left19:27
Gfurst by the way, anyone using git-lfs around? is it my impression or does it only need to be installed once in the machine? 'git lfs install'19:27
dslevin_ joined19:28
lindenle joined19:29
Musok joined19:29
tristanp_ joined19:30
osxi_ joined19:30
kiloreux left19:30
rominronin left19:30
net2014_ joined19:30
mmlb left19:30
synthmea1 joined19:31
WaReZ joined19:31
DANtheBE- joined19:31
mattp__ joined19:31
_richardJ joined19:31
rewt left19:31
rewt`` joined19:31
wave left19:31
Balliad joined19:31
BlaXpirit_ joined19:31
lbv-user joined19:32
someara_ joined19:32
rewt``rewt19:32
kadoban_ joined19:32
cantor_ joined19:32
neanderslob_ joined19:33
WaReZ left19:33
dsteplight_ joined19:33
chitopunk joined19:33
case39_ joined19:33
frobnic_ joined19:33
Burgerz joined19:33
sickn3ss_ joined19:33
sickn3ss_ left19:33
sickn3ss_ joined19:33
Kad--_ joined19:33
Musok left19:33
abyss43 joined19:33
PublicSu_ joined19:33
faux___ joined19:34
kwmiebach_ joined19:34
comps_ joined19:34
richard_1aw joined19:34
heroux_ joined19:34
BlaXpirit left19:34
BlaXpirit_BlaXpirit19:34
mroth_ joined19:34
mmlb joined19:34
rideh- joined19:34
aleksandar2810 left19:34
Seveas Gfurst: read its manpage again.19:34
aleksandar2810 joined19:34
Zarthus_ joined19:35
cebor_ joined19:35
GameGamer43_ joined19:35
sr_____ joined19:35
Cabanoss- joined19:35
daito joined19:36
paddyez joined19:36
paddyez left19:36
paddyez joined19:36
dstarh left19:36
intgr_ joined19:36
Gfurst Seveas: yup, ah there it is, its global19:36
angelsl_ joined19:36
pcarrier_ joined19:36
lmatteis_ joined19:36
Seveas Gfurst: read its manpage again. And now really read it.19:36
Musok joined19:36
mmlb left19:36
Gfurst Seveas: ... ?19:37
edenist_ joined19:37
d4rklit3 left19:37
Lea2 joined19:37
n-st_ joined19:37
sarri left19:37
neunon_ joined19:37
constantinexvi_ joined19:37
SirCmpwn_ joined19:37
TomyLobo left19:37
TakumoKatekari joined19:37
TakumoKatekari left19:37
TakumoKatekari joined19:37
abh- joined19:37
xirdtegmezkfoyom joined19:37
xirdtegmezkfoyomihfablkucnskbfib19:37
themill_ joined19:37
ihfablkucnskbfibTomyLobo19:37
alip joined19:37
SirFunk_ joined19:37
bket1 joined19:37
fscala_ joined19:37
Seveas Gfurst: under desription, second bullet point.19:37
peoliye joined19:38
varesa- joined19:38
martinbjeldbak joined19:38
Zarthus left19:38
Zarthus_Zarthus19:38
matth1askrgr joined19:38
synthmeat left19:38
varesa left19:39
toogley left19:39
LBV_User left19:39
kadoban left19:39
modin left19:39
mattp_ left19:39
Es0teric left19:39
BillCriswell left19:39
fscala left19:39
Sendoushi left19:39
faux____ left19:39
Cabanossi left19:39
sr____ left19:39
_ikke_ left19:39
creppe left19:39
haaja left19:39
tristanp left19:39
mroth left19:39
lmatteis left19:39
neanderslob left19:39
_joes_ left19:39
net2014 left19:39
meloc_ left19:39
bket left19:39
troyt left19:39
tzero left19:39
PublicSubnet left19:39
Kad-- left19:39
VampiricPada left19:39
jason237 left19:39
richard_maw left19:39
Internet13 left19:39
sybariten left19:39
Keridos left19:39
heroux left19:39
bionicrm left19:39
Meow-J left19:39
roflin left19:39
Trieste left19:39
tazle_ left19:39
dsteplight left19:39
nwf left19:39
Nothing4You left19:39
matthiaskrgr left19:39
sickn3ss left19:39
kalz left19:39
cebor left19:39
osxi left19:39
GameGamer43 left19:39
malide left19:39
goezz left19:39
intgr left19:39
sublimate left19:39
pcarrier left19:39
kwmiebach left19:39
SirFunk left19:39
neunon left19:39
rom1504 left19:39
Takumo left19:39
rideh left19:39
johnny56 left19:39
constantinexvi left19:39
WakiMiko left19:39
quizzi left19:39
comps left19:39
roknir left19:39
flebron left19:39
SirCmpwn left19:39
slixpk left19:39
edenist left19:39
cantor left19:39
martinbjeldbak_ left19:39
themill left19:39
Learath2 left19:39
gkatsev left19:39
someara left19:39
DANtheBEASTman left19:39
Derega left19:39
ArmOrAttAk left19:39
toogy left19:39
case39 left19:39
mattcen left19:39
linuxmodder left19:39
frobnic left19:39
devster31 left19:39
kriskropd left19:39
parrhesiastes left19:39
abyss43_ left19:39
n-st left19:39
Nevik left19:39
abh left19:39
RichardJ left19:39
angelsl left19:39
timewalker left19:39
avtobiff left19:39
Cabanoss-Cabanossi19:39
themill_themill19:39
heroux_heroux19:39
lmatteis_lmatteis19:39
fscala_fscala19:39
Gfurst yup, though I did install in the repo only but the config was global19:39
matth1askrgrGuest8654919:39
n-st_n-st19:39
neunon_neunon19:39
BillCriswell_ joined19:39
_joes_ joined19:39
lindenle left19:39
Seveas ...19:39
I give up.19:39
Nevik joined19:39
Internet13 joined19:39
tazle_ joined19:39
gkatsev joined19:39
mattcen joined19:39
BigWillie joined19:39
bionicrm joined19:39
BigWillie left19:40
cerkauskas joined19:40
Keridos joined19:40
Sample left19:40
_ikke_ joined19:40
varesa-varesa19:40
angelsl_angelsl19:40
toogy joined19:40
creppe joined19:40
mmlb joined19:40
devster31 joined19:40
modin joined19:40
BigWillie joined19:40
johnny56_ joined19:40
WakiMiko joined19:40
troyt joined19:40
Trieste joined19:40
Gfurst -_- ... I'm saying, I just installed from within repo, but configuration went global instead19:40
daito left19:40
sarri joined19:40
mroth_mroth19:40
slixpk joined19:40
VampiricPada joined19:41
andres joined19:41
haaja joined19:41
noteness left19:41
arup_r joined19:41
ArmOrAttAk joined19:41
ArmOrAttAk left19:41
ArmOrAttAk joined19:41
roflin joined19:41
meloc_ joined19:41
arup_r left19:41
Guest86549 left19:41
Guest86549 joined19:41
Guest86549 left19:41
Guest86549 joined19:41
jason237 joined19:41
roknir joined19:41
M-ixi1 left19:41
Meow-J_ joined19:42
toogley joined19:42
malide joined19:42
Nothing4You joined19:42
Guest86549matthiaskrgr_19:42
quizzi joined19:42
Derega joined19:42
M-mistake left19:42
tzero joined19:43
zivester left19:43
sublimate joined19:43
rom1504 joined19:43
flebron joined19:43
GameGamer43_GameGamer4319:43
nwf joined19:43
timewalker joined19:44
eggoez joined19:44
pantsman_ joined19:44
lindenle joined19:45
SirCmpwn_SirCmpwn19:45
avtobiff joined19:45
kukks joined19:45
kukks left19:45
kukks joined19:45
Es0teric joined19:45
kadoban_kadoban19:45
kriskropd joined19:45
someara_someara19:46
comps_comps19:46
kwmiebach_kwmiebach19:46
wave joined19:48
uranellus left19:48
uranellus joined19:48
arup_r joined19:48
pantsman- left19:48
luksaur joined19:49
Meow-J_Meow-J19:49
Musok left19:49
Limes_ left19:49
jonno11 joined19:50
noname left19:50
pcarrier_pcarrier19:50
jonno11 left19:51
|nodux left19:51
M-ixi joined19:51
noteness joined19:51
kalz joined19:51
sybariten joined19:52
giddles joined19:52
gopar left19:53
mohammed64 joined19:53
giddles hello19:53
gitinfo giddles: 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.19:53
sanketdg left19:53
cschneid left19:55
luksaur left19:55
Sleepy63 left19:55
Limes_ joined19:56
lindenle left19:56
t4nk241 joined19:56
WaReZ joined19:56
cvanball joined19:56
frankie64 ok we have run a conversion , (trial run) of our CVS , what we are looking to do now is use it at least like CVS, ie we ran tortoiseCVS and each workstation could check in or out etc. I gather SSh does not do this, what do you people recommend on the server side?19:57
bsanford joined19:57
zivester joined19:57
cschneid joined19:57
cerkauskas left19:57
radsy joined19:57
nickthetait left19:57
thierryp joined19:57
M-ixi left19:58
zivester left19:58
Seveas frankie64: ssh is a suitable transport for git19:59
NateAGeek left19:59
Seveas very suitable even. It's the original transport :)19:59
frankie64 yes, but the user has to load git up on there workstation? and then do ssh pushes or am i understanding this wrong20:00
giddles how can i download from github with my rpi ;)20:00
kane77 left20:01
giddles i want to use https://github.com/DASPRiD/DASBiT , but have noe idea how to get it20:01
git clone <- and then i stuck20:01
Seveas frankie64: the user will have to install git locally, just like you would have had to with cvs. They can den do git clone / git pull / git push so sync commits. All of these can use a variety of transports transparently, of which ssh is one.20:01
thierryp left20:01
kpease_ joined20:02
Seveas giddles: that url would come next.20:02
giddles and then? @ [options] and [--]20:02
elastix left20:02
Seveas then nothing.20:02
just enter20:02
synthroid left20:02
giddles hmk20:03
radsy left20:03
wrilain left20:03
Oog joined20:03
giddles i need a username for github20:03
?20:03
x20:03
_ikke_ not for cloning public repositories with http20:03
frankie64 Seveas: i didnt have CVS on my machine but tortoisecvs, or is that as much the same thing?20:03
gaen left20:03
giddles works ok20:03
done20:04
gaen joined20:04
kpease left20:04
_ikke_ frankie64: that's just a client20:04
Sample joined20:04
Exagone313 left20:04
Mannequin left20:05
frankie64 ok is there an equivalent client for git?20:05
elastix joined20:05
Seveas frankie64: tortoisecvs is one of many cvs clients. There's a tortoisegit as well, but it really helps to learn the CLI.20:05
DANtheBE- left20:06
giddles thks!20:07
giddles left20:07
mohammed64 left20:07
synthroid joined20:07
lindenle joined20:07
luksaur joined20:07
t4nk241 left20:07
M-ixi joined20:08
DANtheBEASTman joined20:08
David1977 left20:08
Sleepy63 joined20:09
radsy joined20:09
gaen left20:09
cbonobo left20:10
gaen joined20:10
kpease_kpease20:10
peoliye left20:11
craigp left20:11
gargola joined20:12
sdothum left20:12
mahendra_ left20:13
EvilPenguin joined20:14
Oog left20:14
nickthetait joined20:14
t0by left20:14
yqt joined20:14
M-mistake joined20:15
sdothum joined20:15
luksaur left20:16
Ice_Strike left20:16
peoliye joined20:17
chrisgeorge joined20:18
frobnic_frobnic20:18
jeffreylevesque joined20:19
codeman left20:20
HanClinto left20:21
Seveas ojacobson: there's a better way than rm/checkout: git checkout -b temp commitish; git merge -s ours master; git checkout master; git merge --ff-only temp. Something for your aliases :)20:21
kpease left20:22
paulweb515 left20:22
EvilPenguin left20:22
Seveas I think it's better because the merge indicates where the old commit came from20:22
s/commit/code/20:22
mischat joined20:23
mohammed64 joined20:26
rominronin joined20:26
durham left20:27
M-mistake left20:27
GT joined20:27
pozitrono joined20:29
Pankhurst joined20:30
dsdeiz joined20:30
CJ_ joined20:31
CJ_ Is there a good guide to working with submodules? I am trying to determine how the various projects are linked.20:32
elastix left20:32
rominronin left20:32
pozitrono left20:32
luksaur joined20:32
nilg left20:33
lindenle left20:34
thierryp joined20:34
phaleth left20:34
m0viefreak joined20:34
otter768 joined20:35
alezandro hi all, i used git filter-branch to remove some tar.gz files out of my repo, it worked well, my .git dir is a lot smaller now.20:36
but how do i push it to origin? git status there is nothing to commit, and push says "everything up to date".20:36
Exagone314 joined20:36
alezandro would like to delete those tar.gz's from origin too.20:36
elastix joined20:36
elastix left20:36
vdv left20:36
daito joined20:36
calamari left20:37
peoliye left20:38
nickthetait left20:38
Seveas CJ_: the very brief guide is "don't do it" :)20:38
there are very few good reasons to use submodules, and many more instances of using submodules for the wrong reasons.20:39
ribasushi left20:39
bb010g joined20:39
gitinfo set mode: +v20:39
mariuscc left20:39
btree joined20:39
Gsham joined20:40
otter768 left20:40
M-mistake joined20:41
ril joined20:41
lindenle joined20:41
daito left20:41
CJ_ Seveas, That was my thought, but I am starting work a project that is using submodules.20:42
I have never worked with them before.20:42
postsneakernet left20:42
gaen The funny thing about submodules is how to remove a submodule. It requires 7 simple steps, you can google it (:20:43
Seveas gaen: that's only one of the bad parts of it.20:44
crose joined20:44
CJ_ Right now I just did a clone without --recursive and then did a symlink.20:44
gaen elaborate?20:44
Seveas also, it's only 5 steps :) https://git.seveas.net/getting-rid-of-submodules.html#getting-rid-of-submodules20:44
gaen ok my bad)20:44
samw left20:45
CorySimmons joined20:45
Exagone314 left20:45
Seveas you could say 7 steps though, if you include the cleanup after committing the removal20:45
gaen yeah, I see it20:46
samw joined20:46
gaen bumped into a problem with submodules when tried to rearrange a project whose repos were summary about 30G20:47
M-ixi left20:47
M-meznak left20:48
ril left20:48
zeroed joined20:48
Ahmed90 joined20:49
acetakwas joined20:49
gopar joined20:49
sq-one joined20:50
calamari joined20:51
Exagone314 joined20:51
samw left20:51
dan2k3k4 joined20:51
Chilley__ left20:52
kpease joined20:52
durham joined20:53
skcin7 joined20:53
kesenai left20:53
kesenai joined20:54
kesenai left20:54
ensyde joined20:54
encod3_ left20:54
peoliye joined20:55
BigWillie left20:55
mohammed64 left20:55
acetakwas left20:55
Exagone314 left20:55
tvw left20:56
arup_r left20:56
asnoehu left20:56
arup_r joined20:56
mohammed64 joined20:58
ribasushi joined20:58
arup_r left20:59
Sendoushi joined20:59
tpollard joined20:59
samw joined20:59
peoliye left20:59
lindenle left21:00
znabavi joined21:00
samw left21:00
peoliye joined21:00
Exagone314 joined21:00
rubyonrailed left21:01
dan2k3k4 left21:01
ril joined21:02
krawchyk left21:02
gopar left21:03
lbv-user left21:03
imachuchu left21:03
krawchyk joined21:04
lindenle joined21:04
krawchyk left21:04
dan2k3k4 joined21:04
rangergord joined21:05
krawchyk joined21:05
M-mistake left21:05
M-ixi joined21:06
durham left21:08
samw joined21:09
ensyde left21:09
Exagone314 left21:11
cbonobo joined21:11
durham_ joined21:11
M-meznak joined21:11
balau joined21:11
lindenle left21:11
Macaveli joined21:12
znabavi left21:12
alanjf I'm currently using gitweb and it is nice, but I'm wondering if there is a an interface that looks more like github.com's that one can install on their own server? I find I really prefer it's way of browsing repos, their commits, their files, tags, branches, etc.21:12
mattcen left21:12
sangy joined21:13
Gsham left21:13
alanjf (Preferably something free that one can play around with on their own box or LAN server for jsut their own private needs, that sort of thing.)21:13
mattcen joined21:14
cbonobo left21:14
lindenle joined21:14
znabavi joined21:14
HelloAtMega left21:14
guampa left21:14
vdv joined21:14
joshc alanjf: you might be interested in GitLab (although, I don't have much experience with it)21:15
kadoban alanjf: gitlab maybe? I generally just use gitolite though.21:15
diegoaguilar joined21:15
preaction there are dozens of them21:15
Exagone314 joined21:15
diegoaguilar I just pulled and got merge conflicts, how can I tell git, please ignore anything I have on this branch and just make it look like the full stuff I pulled21:15
_ikke_ Why do you want to merge then?21:16
preaction diegoaguilar: use reset instead perhaps?21:16
alanjf Do any of them have a similar look and feel as github.com though? (I wouldn't mind a darker theme though.)21:16
acetakwas joined21:16
mbrzuzy left21:16
acetakwas left21:16
kadoban Depends on your judgement of "similar" I guess.21:17
ac3takwas joined21:17
nnyk joined21:17
acetakwas joined21:17
groton left21:17
acetakwas left21:17
nickthetait joined21:18
Exagone314 left21:18
gaen left21:18
preaction look at them and see21:19
dan2k3k4 left21:19
preaction gitbucket gogs gitlab gitprep are the 4 i know of21:19
go1111111 left21:19
CorySimmons left21:19
MarkyC left21:20
courrier left21:20
dan2k3k4 joined21:20
rangergord alanjf: bitbucket21:20
Balliad left21:21
rangergord pretty sure they're going for the github feature list21:21
Exagone313 joined21:21
gaen joined21:21
lindenle_ joined21:22
dan2k3k4 left21:22
balau left21:22
lindenle left21:22
_ikke_ !hosted21:23
gitinfo [!host_gui] There are several options for self-hosting git repositories with a web GUI: !gitblit !gitlab !gitorious !rhode_code !gerrit and !gogs. Keep in mind that these all take far more work than a (non-GUI) !gitolite install. An overview of nearly all GUIs is available at: https://git.wiki.kernel.org/index.php/Interfaces,_frontends,_and_tools21:23
btree left21:23
guampa joined21:23
dan2k3k4 joined21:23
paulweb515 joined21:24
rominronin joined21:25
DolpheenDream joined21:25
M-meznak left21:27
Darcidride joined21:27
rwb left21:27
osxi_osxi21:28
vdv left21:28
killa_kyle joined21:30
rominronin left21:30
samw left21:30
qsx .trigger_edit host_gui There are several options for self-hosting git repositories with a web GUI: !gitblit !gitlab !rhode_code !gerrit and !gogs. Keep in mind that these all take far more work than a (non-GUI) !gitolite install. An overview of nearly all GUIs is available at: https://git.wiki.kernel.org/index.php/Interfaces,_frontends,_and_tools21:30
gitinfo qsx: You must be logged into NickServ in order to use this command.21:30
alanjf Thanks for all the tips. What I guess I'm really looking for is something like gitweb that looks more like github (especially the look/feel of the file/commit/branch/tag browsing.)21:30
qsx your mother must be logged in21:30
qsxqsuscs21:30
gaen left21:31
qsuscs .trigger_edit host_gui There are several options for self-hosting git repositories with a web GUI: !gitblit !gitlab !rhode_code !gerrit and !gogs. Keep in mind that these all take far more work than a (non-GUI) !gitolite install. An overview of nearly all GUIs is available at: https://git.wiki.kernel.org/index.php/Interfaces,_frontends,_and_tools21:31
gitinfo qsuscs: Okay.21:31
qsuscsqsx21:31
killa_kyle left21:31
qsx jast: fix pls :<21:31
krawchyk left21:31
nour_ joined21:31
qsx alanjf: gitlab has, though i can't understand why people want such a pile of shit21:31
krawchyk joined21:32
alanjf wonders if any such themes exist for gitweb.21:32
thierryp left21:33
nickthetait left21:33
gaen joined21:34
nickthetait joined21:34
nnyk left21:34
mbrzuzy joined21:34
jason237 left21:34
nour left21:35
noteness left21:35
marlinc left21:36
prosodydrosodv21:36
ac3takwas left21:36
krawchyk left21:36
daito joined21:37
lindenle_ left21:37
dr_lepper left21:37
[Saint] joined21:37
t0by joined21:38
nickthetait left21:38
mohammed64 left21:38
[Saint] Here's a git-ish question, using the Android tool 'repo', by default all the repositories that are pulled down come in a state where there is no branch, and there's no origin set by default.21:39
cbonobo joined21:39
dr_lepper joined21:39
[Saint] So, with this in mind, how would one go about getting out of a detached head state?21:39
vdv joined21:39
M-ixi left21:39
Seveas alanjf: gitweb isn't themeable21:39
[Saint] I can't, for example, do 'git checkout master', as there's no branches at all, let alone a master branch.21:40
Seveas [Saint]: !repo21:40
gitinfo [Saint]: Repo is a tool produced by Google for the AOSP project(and others) which wraps git and provides its own set of commands. While it is possible to use git with repositories that are managed by repo, it is not always easy. https://source.android.com/source/using-repo.html21:40
[Saint] Nor can I do 'git reset origin/mater', as there's no origin.21:40
Seveas we don't support that pile of [redacted]21:40
daito left21:41
sangy [Saint]: if there are no branches or remotes... are there at least .git/objects?21:41
Eugene [Saint] - `git branch -vva` should give you something to start with.21:42
diegoaguilar left21:42
synthroid left21:42
ochorocho joined21:43
zeroed left21:43
zeroed_ joined21:43
[Saint] * (no branch) <commit-short-ID> <commit-descript>21:44
MattMaker joined21:44
zeroed_ left21:44
Eugene Does it not list any branches from the remote?21:44
zeroed joined21:44
[Saint] It does not, which confused me greatly.21:44
Eugene Woo, Google.21:44
Seveas Eugene: it probably just does fetch $url and merge FETCH_HEAD21:44
Eugene Well, try `git checkout -b mybranch short-SHA`21:44
[Saint] I do know what the remotes are, however.21:45
Eugene That sounds familiar. I haven't used it in literal years21:45
Just make a `git clone` of the remote URL, outside of repo's control ;-)21:45
Seveas I haven't used it, ever. I only hear complaints about it :)21:45
hpe joined21:45
hpe left21:45
jeffreylevesque left21:45
[Saint] It's not terrible, ...until things like this happen.21:45
It's certainly easier in some regards.21:46
Eugene It works fine if you're working with a repo/gerrit-managed project21:46
[Saint] Manual checkout of some ~300 repos wouldn;t be fun without 'repo'.21:46
and, yes, yes it does.21:46
Seveas you're never working on 300 repos at once21:46
Karkus left21:47
[Saint] I fail to see why that is relevant. Whether or not I'm working with them directly doesn't immeidately matter when it comes to having all the build dependencies available.21:48
I've even trimmed out about 3 dozen repositories that my builds never touch.21:48
The Android source is pretty huge.21:49
Seveas you need 300 repos to build android?21:49
dayum21:49
[Saint] And when you need to build for a couple of dozen targets, it adds up. All I was saying is that I would most certainly not like to check the necessary requirements out manually.21:50
durham_ left21:50
cschneid left21:50
bsanford left21:50
cvanball left21:50
wave left21:50
kukks left21:50
eggoez left21:50
roknir left21:50
roflin left21:50
matthiaskrgr_ left21:50
martinbjeldbak left21:50
constantinexvi_ left21:50
angelsl left21:50
intgr_ left21:50
paddyez left21:50
Zarthus left21:50
comps left21:50
PublicSu_ left21:50
dreiss left21:50
spacepluk left21:50
mezod left21:50
CussBot left21:50
rpdprd left21:50
feliwir_ left21:50
Tronsha left21:50
asd6a left21:50
justanotheruser left21:50
lamppid left21:50
discipline left21:50
tyll_ left21:50
quenode left21:50
pablo left21:50
PasiFist left21:50
Pookz left21:50
tchan left21:50
AustinMatherne left21:50
EvilPenguin joined21:50
AustinMatherne joined21:50
jonno11 joined21:50
Seveas agreed21:50
[Saint] errrr, 476, to be precise.21:50
gopar joined21:50
Burgerz left21:50
blackwind_123 left21:51
justanotheruser joined21:51
durham_ joined21:51
cschneid joined21:51
bsanford joined21:51
cvanball joined21:51
wave joined21:51
kukks joined21:51
eggoez joined21:51
roknir joined21:51
roflin joined21:51
matthiaskrgr_ joined21:51
constantinexvi_ joined21:51
angelsl joined21:51
intgr_ joined21:51
paddyez joined21:51
Zarthus joined21:51
comps joined21:51
PublicSu_ joined21:51
dreiss joined21:51
spacepluk joined21:51
mezod joined21:51
CussBot joined21:51
rpdprd joined21:51
feliwir_ joined21:51
Tronsha joined21:51
asd6a joined21:51
lamppid joined21:51
discipline joined21:51
tyll_ joined21:51
quenode joined21:51
pablo joined21:51
PasiFist joined21:51
Pookz joined21:51
tchan joined21:51
[Saint] I do somewhat prefer this setup as opposed to one giant monolithic repository.21:51
martinbjeldbak joined21:51
[Saint] ...in some ways.21:51
quenode left21:51
constantinexvi_ left21:51
spacepluk left21:51
mezod left21:51
eggoez left21:51
cschneid left21:51
roknir left21:51
justanotheruser left21:51
Tronsha left21:51
PublicSu_ left21:51
constantinexvi joined21:52
cschneid joined21:52
Seveas at least it doesn't do them as 476 submodules21:52
roknir joined21:52
lindenle joined21:52
dsdeiz left21:52
quenode joined21:52
nour__ joined21:52
Chilley joined21:53
PublicSubnet joined21:53
eggoez joined21:53
marlinc joined21:53
krawchyk joined21:53
jimi_ left21:53
mezod joined21:53
spacepluk joined21:54
krawchyk left21:54
DolpheenDream left21:54
da5id left21:54
ryanhiebert left21:54
krawchyk joined21:55
krawchyk left21:55
justanotheruser joined21:55
Jackneill left21:55
gaen left21:55
ryanhiebert joined21:55
da5id joined21:56
rangergord left21:56
gitinfo set mode: +v21:56
dopesong left21:56
krawchyk joined21:56
ojacobson Eugene: have we done a `git-pusheen` /topic joke yet?21:56
Tronsha joined21:56
gaen joined21:56
nour_ left21:56
ChanServ set mode: +o21:56
Eugene Patches welcome21:56
ojacobson ha. ok.21:57
mizu_no_oto left21:57
Chilley left21:57
krawchyk_ joined21:57
anchorite joined21:57
dopesong joined21:58
mischat left21:59
thiago left21:59
krawchyk_ left21:59
acetakwas joined22:00
krawchyk left22:00
IWishIKnew joined22:00
sgambino left22:00
qsx Seveas: subtree22:01
:>22:01
ilmgb joined22:01
{AS} left22:01
thiago joined22:02
skcin7 left22:02
Ed_141541 joined22:03
gaen left22:03
cbonobo_ joined22:04
[Saint] Eugene: Seveas: ...well, I "fixed" it.22:04
cd working directory; rm -rf /path/to/asshole/repository; repo sync22:04
gaen joined22:04
Eugene Always a good idea to know the path to your ashsole.22:04
That would have been funnier without the typo.22:04
ChainTheory joined22:05
Eugene (he says, typoing half thw rods)22:05
[Saint] Annoys the hell out of me when something like this breaks the expected flow of working with git.22:05
Deleting a repository smacks of defeat to me.22:05
CihanKaygusuz joined22:05
[Saint] But it was either that or get annoyed at it more and pull out more of my hair that I can't really afford to pull out. ;)22:05
Fullma joined22:05
jason237 joined22:06
gaen left22:06
gaen joined22:07
cbonobo left22:07
vegy joined22:09
ajf- left22:09
Cihan left22:09
gargola left22:10
acetakwas left22:10
ochorocho left22:11
Cihan joined22:11
daedeloth joined22:13
felixjet left22:13
felixjet joined22:15
skcin7 joined22:15
vegy hi, can someone explain to me why when i do git clone https://whatever/myrepo.git i cant edit/add files unless im root?22:15
felixjet left22:15
Tee_Pee joined22:16
zmachine joined22:16
anchorite left22:16
felixjet joined22:17
holodoc left22:17
_ikke_ sounds like broken umask22:17
krawchyk joined22:17
calamari left22:17
_ikke_ what does ls -l return?22:17
mbrzuzy left22:18
vegy r to all except root has w22:18
go1111111 joined22:18
_ikke_ is it owned by root?22:19
CheckDavid left22:19
vegy yes22:19
_ikke_ Then don't clone the project as root..22:19
samw joined22:20
ojacobson ...or in a directory with the setuid bit set o22:20
_ikke_ right22:20
Macaveli left22:20
Dougie187 If you're doing a multi branch merge, how do you do `git checkout --theirs` from one of the branches?22:21
sq-one left22:21
felixjet left22:21
ojacobson `git checkout <branch> -- <paths…>`, but don't22:21
Dougie187 Well, I know that's what I want in this case.22:21
ojacobson octopus merges should be trivial, if you ever want to make sense of the conflict resolutions after the fact22:22
Dougie187 I understand the merge conflicts, and know that I want to throw one side away22:22
vegy hmm does it always let u clone without root? im newbie with permissions so i thought that adding root doesnt change anything with files that i get (+ i always thought that i must have had some problems in the past cloning without sudo)22:22
ojacobson IIRC octopus merges abort outright if there are conflicts, what did you do22:22
Dougie187 This just stopped to give me conflicts to resolve.22:22
_ikke_ vegy: When you clone as root, the files / directories will be owned by root22:23
noteness joined22:23
holodoc joined22:23
Dougie187 Most of them were easy, but this one file (which I knew would have conflicts) had more than I wanted to deal with, but I made all three of the branches I was merging.22:23
so I knew which file I wanted.22:23
_ikke_ vegy: git requires no root at all, just permissions in the current directory22:23
Dougie187 To be fail, it said: `fatal: merge program failed`22:23
but it just stopped for me to fix the conflicts.22:24
troulouliou_div2 joined22:24
jonno11 left22:24
Limes_ left22:24
vegy _ikke_: ty very much, much clearer now, although i still need to learn a lot about them22:24
nour__ left22:25
dsdeiz joined22:26
vegy _ikke_: but even if i had changed the repo with root and then push it, that wouldnt hurt others would it? (just theoretically, i know i shouldnt do that)22:26
rominron_ joined22:26
daito joined22:26
s8321414 joined22:27
_ikke_ No22:28
pantsman_ left22:29
vegy ok ty again22:29
SimonNa left22:29
calamari joined22:31
rominron_ left22:32
WaReZ left22:33
apprentice joined22:33
satifant joined22:33
zivester joined22:34
lindenle left22:35
daito left22:36
otter768 joined22:36
pozitrono joined22:36
zeroed left22:36
lindenle joined22:37
AtnevRed joined22:37
linux-modder joined22:37
linux-modder left22:37
linux-modder joined22:37
King_Hual left22:38
ash_workz so right now we're set up like, I have to commit to local repo, commit to the server repo and pull from the server repo to production...22:39
I know there are more ideal ways to do this but right now what I'd like to know is, if I commit to a branch on the server and that messes everything up, how can I move the branch back to the last commit and pull again?22:40
skapunker left22:40
otter768 left22:40
skapunker joined22:41
fatalhalt joined22:41
ash_workz like, I know master *shouldn't* move ahead without you commiting, but that's not what we're doing, it seems like.22:41
I mean22:41
shouldn't move ahead unless you're satisfied22:41
AtnevRed left22:42
lindenle left22:42
_ikke_ sorry, it's not clear what it is what you're asking22:43
lindenle joined22:45
jason237 left22:46
skcin7 left22:46
ash_workz well, it seems like I am fortunate enough not to have to do that anyway22:47
_ikke_: I didnt' make a new branch before I started committing to master and then when I pulled to the live site it broke everything22:47
so I was like, last time, someone just made another commit which undid the changes22:47
_ikke_: but I though, why not just move back 1 commit?22:48
_ikke_: but I didn't know how to do that... git reset maybe?22:48
Idk... I wanted to make a new branch on the current commit and move master back 1 commit22:48
but right now it looks like I haven't committed to the server repo yet22:49
Sendoushi left22:49
felixjet joined22:49
felixjet left22:49
Es0teric left22:49
lindenle left22:50
felixjet joined22:50
felixjet left22:51
nfk|laptop joined22:51
wethu joined22:51
_ikke_ Ok, right22:51
git reset can be used for this, indeed22:52
!fixup22:52
gitinfo So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!22:52
felixjet joined22:52
ash_workz _ikke_: so what I think I need to do, since i've created a new branch on the server, I need to sync up my push and pulls correctly22:53
_ikke_: I read this in the documentation but I forgot where it is22:53
fahadash joined22:53
felixjet left22:53
Exagone313 left22:53
ash_workz _ikke_: you have to do something like git branch [arg] [arg]22:53
I think22:53
krawchyk left22:53
lindenle joined22:53
ash_workz or git remote ?22:53
felixjet joined22:54
tubuliferous_ left22:54
thierryp joined22:55
felixjet left22:55
skcin7 joined22:56
gaen left22:56
felixjet joined22:56
linux-modder left22:57
znabavi left22:57
bannakaffalatta left22:57
gaen joined22:57
NeverDie joined22:57
Exagone313 joined22:57
_ikke_ git fetch; git checkout <branch> should work if I understand you correctly22:57
Pankhurst left22:57
bango2 left22:58
AaronMT left22:58
opdavies left22:58
opdavies joined22:58
felixjet left22:59
ash_workz _ikke_: okay so right now, locally, when i do git remote show origin it says that master pushes to remote master22:59
after doing what you just said23:00
hyperair left23:00
ash_workz how would I push ash_m to remote ash_m?23:00
git push ash_m ash_m ?23:00
Limes_ joined23:00
_ikke_ Do you have a branch with the same name as a remote?23:01
ilmgb left23:02
Imaginativeone joined23:03
ash_workz _ikke_: yeah23:03
felixjet joined23:03
Imaginativeone I'm doing a tutorial...23:03
and I'm stuck23:03
how do I checkout the master branch?23:03
madewokherd left23:04
apprentice left23:04
ash_workz Imaginativeone: is it a remote branch?23:04
Dougie187 left23:04
Imaginativeone git is forcing me to remove a file first23:04
felixjet left23:04
znabavi joined23:05
felixjet joined23:05
Seveas then remove the file.23:05
felixjet left23:05
ash_workz _ikke_: or git push origin ash_m23:06
?23:06
Imaginativeone it "can't find the file"23:06
acetakwas joined23:06
Imaginativeone even though I'm using the correct name23:06
zotherstupidguy left23:06
Seveas Imaginativeone: !repro23:06
gitinfo Imaginativeone: [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://gist.github.com/2415442 ) of your terminal session.23:06
calamari left23:07
felixjet joined23:07
ochorocho joined23:07
ash_workz _ikke_: yeah, git push ash_m ash_m didn't work23:07
felixjet left23:07
ash_workz _ikke_: fatal: 'ash_m' does not appear to be a git repository23:08
fatal: Could not read from remote repository.23:08
Imaginativeone what do I do to sanitize my paste?23:08
_ikke_ ash_workz: git remote show23:15
ash_workz _ikke_: origin23:15
felixjet joined23:15
_ikke_ git pull origin ash_m23:15
Seveas Imaginativeone: nothing. Just pastebin the lot.23:15
felixjet left23:15
_ikke_ ash_workz: although23:15
daurnimator is there a way to stash only *some* untracked files?23:15
ChainTheory left23:15
lindenle left23:15
_ikke_ ash_workz: git fetch; git checkout ash_m23:15
Seveas daurnimator: mv is your friend23:15
daurnimator Seveas: huh? howso?23:15
ash_workz _ikke_: I did that already :\23:15
Exagone313 left23:15
daurnimator oh you mean move the files out? stash, and mv them back?23:15
Seveas daurnimator: no just move them out, then you don't need to stash23:15
ochorocho left23:15
mezod left23:15
fees left23:15
ash_workz I'm very confused23:15
daurnimator Seveas: well I still want them in my directory23:15
satifant daurnimator, iirc, you could add changes you want to keep to the index and use git stash --keep-index23:15
daurnimator satifant: ah, nice idea23:15
Seveas daurnimator: stash would take them out too. So what do you actually want to achieve?23:15
daurnimator Seveas: I want to stash *some* of my many untracked files.23:15
_ikke_ ash_workz: what does git branch say, on which branch are you now?23:15
daurnimator (some untracked files are only relevant to the current branch; but others are relevant to all branches)23:15
Seveas and why is stash a good solution, but moving them out of the way not? It has the same effect...23:15
d0nn1e left23:15
daurnimator Seveas: because I want them 'attached' to the current commit23:15
waspinator_ left23:15
Seveas then commit them...23:15
Imaginativeone https://gist.github.com/anonymous/a4cd23ce4a40c9ab17e523:15
editshare-ericf joined23:15
daurnimator I don't want to commit them; I want to stash them.23:15
Imaginativeone My Terminal Session23:15
ash_workz _ikke_: okay, so before doing that, I did, (locally) "git checkout master; git branch -d ash_m; git fetch; git checkout ash_m; and it says: error: pathspec 'ash_m' did not match any file(s) known to git.23:15
daurnimator anyway, satifant's solution works23:15
d0nn1e joined23:15
felixjet joined23:15
felixjet left23:15
Exagone313 joined23:15
_ikke_ ash_workz: git checkout -b origin/ash_m ash_m23:15
daurnimator satifant: btw, you just have to stage them; then stash. no need to --keep-index23:17
ash_workz _ikke_: wait... maybe the remote doesn't have that branch.... how can I check to make sure of that?23:17
Seveas Imaginativeone: rm -r .idea23:17
lindenle joined23:17
Seveas git can't delete untracked files with git rm.23:17
ash_workz _ikke_: you're previous command resulted in: fatal: Cannot update paths and switch to branch 'origin/ash_m' at the same time.23:17
_nadim left23:17
Imaginativeone Seveas: thanks a MILLION23:18
CLMN joined23:18
_ikke_ ash_workz: Then origin does not have a branch called ash_m23:18
neanderslob_ left23:18
ash_workz _ikke_: so just git push origin ash_m ?23:19
hobodave_ left23:19
CLMN left23:19
neanderslob joined23:19
postsneakernet joined23:19
gaen left23:20
satifant daurnimator, hm ok... manpage doesn't read like that, or its to late for me to understand it ;)23:20
gaen joined23:20
znabavi left23:20
showaz left23:21
pozitrono left23:21
daurnimator satifant: stashing always stashes the index. --keep-index means stash it, but don't *clear* the index after (i.e. now the staged changes are in 2 places!)23:21
cbonobo_ left23:21
cbonobo joined23:22
ash_workz _ikke_: okay, *now* there's a remote branch23:22
_ikke_: ash_m pushes to ash_m23:22
satifant yeah, i thought that was what you wanted... to keep the changes...23:22
ash_workz so I jumped on the server23:23
and it says the same thing now when I do git remote show origin23:23
satifant but nevermind... if you're satisfied, i'm going to bed ;)23:23
ash_workz _ikke_: so can I just do git pull devon ?23:23
ash_m23:23
jason237 joined23:23
Limes_ left23:23
IWishIKnew left23:24
gnu_d joined23:24
_ikke_ ash_workz: Try to *know* what the situation is, instead of guessing it23:24
ril left23:24
ash_workz _ikke_: very sound advice23:24
gnu_d Hi, I got one local git repo, I want to make copy of it for production releases, how do I copy it and the link with the original with remote url or something ?23:25
_ikke_ use commands like git branch -r to see which branches you have from remotes23:25
git branch to see what local branches you have23:25
thierryp left23:26
ash_workz _ikke_: git branch -r shows origin/ash_m23:26
cbonobo left23:27
satifant left23:27
_ikke_ On what repository is that?23:27
BSaboia left23:27
csd_ left23:28
NeverDie left23:28
ash_workz _ikke_: but when I do git pull origin/ash_m ash_m it says "origin/ash_m" does not appear to be a git repository23:28
this is on the server now23:28
_ikke_ ash_workz: the command is: git pull <remote> <branch>23:28
you specified a ref in the place of remote23:28
pnorman joined23:28
rominron_ joined23:29
elastix joined23:29
gitinfo set mode: +v23:29
_ikke_ ash_workz: Where is the original ash_m branch?23:29
znabavi joined23:30
ash_workz _ikke_: like, when I first created the branch? on my local computer23:30
NeverDie joined23:30
gaen left23:30
sbasso joined23:31
gaen joined23:31
raek left23:31
pnorman I'm trying to figure out what's changing in a commit, https://github.com/osmlab/editor-imagery-index/commit/b400d229e38c38706008f9104707599b32effd60. When I look at the .patch on github or look at it locally with git show b400d22 I see + something and - something, with no apparent difference between what's being added and removed23:31
raek joined23:31
josuebrunel left23:32
elastix left23:32
daito joined23:32
kadoban Possibly line endings. Is it the whole file that it's saying changed basically?23:32
pnorman yes.23:33
actually, not quite the whole file. some lines appear unchanged23:33
Gsham joined23:34
rominron_ left23:34
_ikke_ And you want the branch on your server?23:34
kadoban If nothing looks different it's almost certainly whitespace changes. The usual culprit would be line endings, though it's possible you have an editor that decided to change spaces to tabs or the other way.23:34
_ikke_ ash_workz: ^^23:34
mellernoia joined23:34
acetakwas left23:34
cdg joined23:34
BillCriswell_ left23:35
pnorman the files are generated with a python script, so I'll ask what OS they were using23:35
nanga left23:36
daito left23:37
mischat joined23:37
ril joined23:37
nanga joined23:38
bannakaffalatta joined23:39
pnorman git deals well with the large files, being able to compute diffs against objects which aren't the immediately previous ones, so the .git directory is only 3MB with hundreds of diffs like this, but it makes code review a pain23:40
neanderslob left23:40
neanderslob_ joined23:40
Slush- left23:40
Sonicbit joined23:40
cdg_ joined23:40
madewokherd joined23:41
Slush- joined23:41
Ekho joined23:41
lindenle left23:42
ash_workz _ikke_: okay, I am just so confused... I really though I was getting it down to. So I was able to pull using git pull origin ash_m23:42
jimi_ joined23:42
ash_workz oh waiut23:43
is it possible that my local master branch has moved ahead of server23:43
samw left23:43
crayon left23:43
mezod joined23:44
gaen left23:44
M-ixi joined23:44
cdg left23:44
giddles joined23:44
giddles hello again23:44
cdg_ left23:44
gaen joined23:45
giddles how can i deinstall a mailfunction programme?23:45
cdg joined23:45
lindenle joined23:45
ojacobson What's your git question?23:45
zhiwliu joined23:45
giddles i got some programme von github wich i want to deinstall23:45
leksster left23:46
giddles the git clone command displays me a fatal of cause because the programm is already installed23:46
zhiwliu left23:46
giddles is there a command howto deinstall that package?23:46
gnu_d left23:47
troulouliou_div2 left23:47
giddles or only delete the file?23:47
ojacobson !transcript23:48
gitinfo Please paste (using https://gist.github.com/ or similar) a transcript ( https://gist.github.com/2415442 ) of your terminal session.23:48
meLon joined23:48
ash_workz yeah, git remote show origin on the server says master is out of date23:49
_ikke_:23:49
^23:49
t0by left23:49
mezod left23:49
ash_workz but I don't want to move that yet23:49
interestingly23:49
when I do git checkout ash_m on the server23:49
it does not appear to make my changes23:49
mellernoia left23:50
kadoban giddles: git has nothing to do with installing or uninstalling programs.23:50
cdg_ joined23:51
giddles ok23:51
cdg_ left23:51
editshare-ericf left23:51
cdg_ joined23:52
M-shine joined23:52
M-meznak joined23:52
M-mistake joined23:52
cagedwisdom joined23:53
mehola joined23:53
ash_workz yeah, git checkout isn't working like I want it to23:53
the server serves the page like it was on the master branch23:53
Chilley joined23:53
mellernoia joined23:54
ash_workz and for some reason doing git fetch + git checkout ash_m didn't update the files either23:54
cdg left23:54
Imaginativeone left23:55
lindenle left23:55
ash_workz nor did git pull origin ash_m23:55
oh no23:55
that did work actually23:55
chitopunk left23:55
ash_workz but doing so still did not change the behavior of the server23:56
cdg_ left23:56
causasui left23:57
d5sx43 joined23:58
Chilley left23:58
dan2k3k4 left23:58
mezod joined23:59

Logs Search ←Prev date Next date→ Channels Documentation