IRCloggy #git 2016-08-03

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-08-03

BSAlb joined00:00
BSAlb left00:00
ImJune left00:00
fuchstronaut joined00:00
The_Wood_ joined00:00
BSAlb joined00:00
The_Wood_ left00:00
The_Woodsman joined00:00
The_Woodsman if i have commits locally, and i am willing to overwrite the remote branch with my local changes, how do i do a "force push" ?00:01
akiva left00:03
rpd The_Woodsman: -f probably, but you usually don't have to do that unless you have an inconsistent history00:03
The_Woodsman rpd: yeah, i got myself into a silly situation in which my history was kinda messed up00:03
rpd: thanks00:03
BSab left00:04
shmuli joined00:05
fuchstronaut left00:06
iota_pi left00:06
Orion3k left00:08
tesuji_ joined00:09
tesuji left00:10
shmuli left00:10
kyan joined00:11
BrianBlaze420 left00:12
noidea left00:12
SpeakerToMeat left00:13
BrianBlaze420 joined00:13
SpeakerToMeat joined00:16
josuebrunel joined00:16
ISmithers joined00:17
rubyonrailed left00:21
rubyonrailed joined00:22
kpease left00:22
tango_ left00:24
CrazyBonz joined00:24
Bennux joined00:26
Rodya_ left00:26
vassagus joined00:26
byteflame left00:27
noidea joined00:27
gargola left00:27
_xor left00:28
ctcrnitv joined00:28
danslo joined00:29
rubyonrailed left00:29
dreiss left00:30
HanClinto joined00:31
danslo left00:33
vassagus left00:34
rubyonrailed joined00:34
Derperperd joined00:35
noidea left00:36
beyertech left00:36
noidea joined00:37
noidea left00:37
noidea joined00:37
beyertech joined00:38
zacts joined00:39
HoierM joined00:40
Lunatrius left00:40
LeBlaaanc left00:41
Lunatrius joined00:41
nitric left00:42
josuebrunel left00:42
beyertech left00:44
mischat left00:44
rkazak left00:44
Ahmed90 left00:45
beyertech joined00:46
Timvde joined00:46
beyertech left00:47
beyertech joined00:48
vdv left00:48
ResidentBiscuit joined00:51
jh3 joined00:51
haribo joined00:51
texinwien_ left00:52
robattila256 left00:54
jh3 left00:54
jstimm left00:54
CrazyBonz left00:56
m0viefreak left00:56
Rodya_ joined00:56
haribo left00:56
zacts left00:57
Pursuit left00:57
haribo joined00:57
Rodya_ left01:01
CrazyBonz joined01:01
bluezone left01:02
arescorpio joined01:05
shmuli joined01:06
sagerdearia left01:06
ahmedelgabri left01:07
rahtgaz left01:08
Sasazuka left01:08
shgysk8zer0 joined01:10
shmuli left01:16
ResidentBiscuit left01:17
ytl joined01:17
EduardoMartins left01:17
cqi joined01:19
HanClinto left01:20
ImJune joined01:22
noidea left01:23
kulelu88 left01:24
rkazak joined01:24
darkbit left01:24
sdothum left01:26
Darren_ left01:28
zacts joined01:29
Pulp left01:29
wwwi left01:31
shgysk8zer0 left01:31
vassagus joined01:31
thiago left01:33
Sasazuka joined01:33
rkazak left01:34
pks left01:37
EvilPenguin left01:38
vassagus left01:38
pks joined01:39
sdothum joined01:39
fission6 joined01:41
The_Woodsman left01:41
fission6 left01:41
sagerdearia joined01:42
fission6 joined01:42
afuentes left01:43
ejb joined01:43
dreiss joined01:45
ilbot3 left01:45
durham joined01:46
sarbs left01:47
sarbs joined01:48
rubyonrailed left01:48
ilbot3 joined01:49
durham_ left01:50
durham left01:50
rubyonrailed joined01:53
ResidentBiscuit joined01:54
d^sh left01:54
Noldorin left01:55
d^sh joined01:55
Rodya_ joined01:57
ResidentBiscuit left01:58
ResidentBiscuit joined01:59
nettoweb joined01:59
causasui left02:00
rubyonrailed left02:01
rubyonrailed joined02:02
jaguarmagenta joined02:02
CheckDavid left02:03
david007 joined02:05
sdothum left02:06
jaguarmagenta left02:07
sdothum joined02:08
Sucks joined02:08
Sucks left02:08
Sucks joined02:09
ImJune left02:09
beyertech left02:10
al-damiri left02:10
invex left02:14
beyertech joined02:15
beyertech left02:15
dreiss left02:16
fracting joined02:17
shmuli joined02:18
dreiss joined02:18
ImJune joined02:19
ikmaak left02:19
zacts left02:21
ArchNoob left02:21
sarbs left02:23
sarbs joined02:24
moneylotion left02:24
interne7y joined02:24
red_ joined02:25
sdothum left02:27
Goplat joined02:27
shmuli left02:27
HanClinto joined02:28
interne7y left02:29
danslo joined02:29
atomicb0mb joined02:33
danslo left02:34
govg left02:34
thiago joined02:34
vassagus joined02:36
Lope joined02:40
HoierM left02:40
Lope I'm making a post-receive script. I received this on STDIN: f98a92e77d81c031e37b8a550b1dc19fb8775f2f fe8af2804c2caa6ae44112f86e0c0daac1014efd refs/heads/master02:40
so that's telling me I received a push on the master branch? but I don't know much else.02:41
azerus left02:41
Lope Oh I see: Format: "from_commit to_commit branch_name"02:41
what is "refs/heads/"02:41
Sasazuka left02:42
vassagus left02:44
diegoviola left02:45
azerus joined02:46
dreamseeker left02:46
kyan left02:47
Mannn joined02:48
skylite left02:48
huanzhang joined02:49
red_ left02:49
chachasmooth left02:49
chachasmooth joined02:49
hexagoxel left02:50
gtodd is it possible to squash git commit history in a branch only?02:51
skylite joined02:51
gtodd or have the branch's commit history start "ex nihilo" at the point of the branch?02:52
lagothrix joined02:52
zumba_ad_ left02:53
gtodd sort of tag a version and keep the maintenance mode commits with the tagged branch but all the development history with the "main line" of the repo02:54
aavrug joined02:54
sangy joined02:54
hexagoxel joined02:55
lagothri1 left02:55
fission6 left02:56
playfullyExist left02:57
somaReverse joined03:01
somaReverse hello03:01
How can I cherry pick only one file?03:01
dreamseeker joined03:02
fuchstronaut joined03:02
fracting left03:04
sagerdearia left03:05
rubyonrailed left03:06
spudowiar left03:07
a3Dman left03:07
fuchstronaut left03:07
thiago somaReverse: cherry-pick -n the entire commit, then commit only the file you want03:08
discard the rest03:08
rubyonrailed joined03:10
ArchNoob joined03:11
madewokherd left03:11
a3Dman joined03:11
jimi_ joined03:12
ShekharReddy joined03:12
fahadash left03:13
hahuang61 joined03:13
vrand joined03:15
star_prone joined03:16
Finnoloid left03:16
fracting joined03:18
Dougie187 left03:18
hahuang61 left03:18
rkazak joined03:19
star_prone left03:20
VA3VNA joined03:22
rkazak left03:22
vrand left03:23
sagerdearia joined03:24
ArchNoob left03:25
sagerdearia left03:25
ResidentBiscuit left03:26
danimal2 joined03:27
Bennux left03:30
fstd_ joined03:32
pwnz0r joined03:32
wxg joined03:34
bshacklett joined03:35
fstd left03:36
fstd_fstd03:36
yoan left03:36
gtristan left03:37
yoan joined03:37
beatdown joined03:38
spudowiar joined03:41
gitinfo set mode: +v03:41
mehola joined03:41
red_ joined03:41
vassagus joined03:41
atomicb0mb left03:44
atomicb0mb joined03:45
Dro left03:45
atomicb0mb left03:45
Rodya_ left03:46
mohabaks joined03:48
vassagus left03:49
jimi_ left03:49
dreiss left03:51
spudowiar left03:53
rubyonrailed left03:56
shgysk8zer0 joined03:59
ArchNoob joined03:59
thecomedian left04:00
shgysk8zer0 left04:00
rubyonrailed joined04:01
LeBlaaanc joined04:02
phoenixh joined04:02
ejb left04:02
jaguarmagenta joined04:03
thecomedian joined04:03
mkoskar left04:04
ShekharReddy left04:04
ArchNoob left04:06
gtristan joined04:06
DJ_Spies joined04:06
jaguarmagenta left04:07
bshacklett left04:09
phoenixh left04:10
fracting left04:11
netj left04:12
netj joined04:12
sangy left04:13
hahuang61 joined04:14
mehola left04:17
hahuang61 left04:19
mehola joined04:19
wberrier joined04:20
danimal2 left04:21
Rish joined04:22
daynaskully left04:22
wberrier left04:23
interne7y joined04:25
DJ_Spies left04:25
danimal2 joined04:28
wxg left04:29
interne7y left04:30
danslo joined04:30
ImJune left04:31
Rish left04:31
Captain_Ramius left04:33
wxg joined04:33
aidalgol left04:34
danslo left04:35
zrts joined04:35
aidalgol joined04:36
Cabanossi left04:37
danimal2 left04:37
nettoweb left04:37
_28_ria joined04:39
Cabanossi joined04:39
nnyk_ joined04:40
zivester left04:40
glebihan left04:41
freimatz joined04:43
jstimm joined04:43
Limes_ joined04:43
vassagus joined04:46
mkoskar joined04:46
haribo left04:46
arescorpio left04:47
ImJune joined04:48
dmiles left04:49
ArchNoob joined04:50
cqi left04:50
subhojit777 joined04:51
vassagus left04:53
moei left04:53
ArchNoob left04:55
_28_ria left04:56
Darren_ joined05:01
diogenese left05:03
Darren_ left05:03
fuchstronaut joined05:03
rubyonrailed left05:05
cd-rum left05:05
fuchstronaut left05:08
FuzzySockets left05:08
rubyonrailed joined05:09
diogenese joined05:10
stuh84 joined05:12
boombatower left05:12
Lope what do you guys do about file ownership with GIT? do you have the same UID on your dev machine as your remote testing and production repos?05:15
Tachyon_ joined05:15
hahuang61 joined05:15
snowkidind left05:15
zumba_ad_ joined05:17
rubyonrailed left05:18
hahuang61 left05:20
foist left05:24
zivester joined05:25
ash_workz joined05:27
bsanford left05:27
aidalgol left05:31
pwnz0r left05:32
pwnz0r joined05:33
Gianormagantrous left05:33
lordjancso joined05:33
Gianormagantrous joined05:34
phanimahesh joined05:35
zivester left05:35
zeroed joined05:35
zeroed left05:35
zeroed joined05:35
emPi joined05:36
rgrinberg left05:38
glebihan joined05:38
ArchNoob joined05:38
Shakeel_ left05:40
Shakeel_ joined05:41
phanimah1sh joined05:42
satya4ever joined05:43
ffs joined05:44
ffsGuest946105:45
phanimahesh left05:45
zumba_ad_ left05:45
freimatz left05:47
zumba_addict joined05:47
stuh84 left05:48
Shakeel_ left05:49
TinkerTyper left05:49
vassagus joined05:51
Raging_Hog joined05:51
zumba_addict left05:51
sagerdearia joined05:57
l4v2 left05:57
bocaneri joined05:58
vassagus left05:59
jaguarmagenta joined06:04
jceb joined06:04
Shakeel_ joined06:05
TinkerTyper joined06:05
yoan left06:06
tvw joined06:06
yoan joined06:06
zorro786 joined06:07
jaguarmagenta left06:08
gitinfo set mode: +v06:09
josuebrunel joined06:11
rubyonrailed joined06:14
alcohol Lope: no such thing06:14
ahr3n left06:15
Tachyon_ left06:15
circ-user-HPmjC joined06:15
grawity Lope: no, why? git doesn't preserve UIDs anyway06:16
hahuang61 joined06:16
bremner Lope: In case you didn't already see it, !deploy06:17
gitinfo Lope: Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html06:17
Lope cool, thanks.06:17
rubyonrailed left06:18
emPi left06:19
freimatz joined06:19
hahuang61 left06:20
Lvjasha joined06:21
Lvjasha left06:23
josuebrunel left06:25
interne7y joined06:26
JeroenT joined06:26
ambro718 joined06:28
gtristan Hi06:28
Is there a way that I can clone and checkout a ref in one command ?06:29
grawity git clone -b06:29
gtristan grawity, that will work equally with tags and sha1s ?06:29
or only branches ?06:29
grawity dunno06:30
interne7y left06:30
phanimah1sh left06:30
ikmaak joined06:31
gtristan has a huge spreadsheet with specific refs he wants to clone in a loop06:31
star_prone joined06:31
danslo joined06:31
gtristan equally, if I can take ${cloneurl} and guess what directory git will transform that into, that can also work06:31
gtristan presumes a sprinkling of bash can help, only that $(basename ${url}) might not work for a url06:32
phanimahesh joined06:32
govg joined06:32
haribo joined06:33
jagob joined06:34
Mannn left06:35
ambro718 left06:35
star_prone left06:36
danslo left06:36
_xor joined06:36
grawity $(basename "$url" .git) should do it06:36
star_prone joined06:36
ImJune left06:36
wcpan left06:37
nikitasius joined06:38
alcohol joined06:38
TomyLobo left06:38
pwnz0r left06:40
wcpan joined06:42
rubyonrailed joined06:43
Lope git is not running GOT_SSH_COMMAND properly. My echo "$GIT_SSH_COMMAND" says "ssh bob@myserver -p 1234 -i /foo/bar" Then I did `git remote add myserver bob@myserver:/path/to/gitdir` `git push myserver master`. After a long delay it complained that it could not connect on port 22. So it didn't take the port from my $GIT_SSH_COMMAND. Any ideas how to change the syntax so it uses the ENV VAR?06:44
phanimahesh left06:44
gtristan left06:47
Sceorem joined06:48
gtristan joined06:48
star_prone left06:49
phanimahesh joined06:51
danslo joined06:51
mariuscc joined06:52
deltab left06:53
alcohol left06:54
cqi joined06:54
alcohol joined06:54
rscata joined06:55
vassagus joined06:56
woodruffw joined06:56
woodruffw left06:56
woodruffw joined06:57
woodruffw left06:57
woodruffw joined06:57
huanzhang left06:57
woodruffw left06:57
texinwien_ joined06:58
woodruffw joined06:58
woodruffw left06:58
woodruffw joined06:58
woodruffw left06:58
woodruffw joined06:59
woodruffw left06:59
phanimahesh left06:59
woodruffw joined06:59
woodruffw left06:59
Lope I even tried `git remote add ssh://bob@myserver:1234/path/to/mygit` but when I try push it says: "ssh: connect to host myserver port 22: connection time out". WTF?06:59
dreiss joined06:59
djb-irc joined07:00
tobiasvl pretty sure you can't use arguments like that in GIT_SSH_COMMAND, although not entirely07:02
git will take the [user@]host from the remote URL, supplying it in GIT_SSH_COMMAND is wrong (and might not work)07:02
Lope: and the second way, with the port in the url, works for me07:03
vassagus left07:03
tobiasvl have you unset GIT_SSH_COMMAND before trying that?07:03
fuchstronaut joined07:04
p4trix joined07:04
Seveas Lope: why not configure it properly in .ssh/config?07:05
Host myserver07:05
User bob07:05
Port 123407:05
IdentityFile /foo/bar07:05
phanimahesh joined07:05
p4trix left07:05
deltab joined07:06
star_prone joined07:06
ImJune joined07:07
guardian does git have something builtin to avoid commiting source files with 755 mode?07:07
or should I write a pre-commit hook for that07:08
tobiasvl guardian: well git doesn't commit permissions beyond +x07:08
submitnine joined07:08
fuchstronaut left07:09
Seveas guardian: pre-commit hook it is.07:09
or (very evil) core.filemode=false may work07:09
ctcrnitv left07:09
cdown joined07:10
interne7y joined07:11
gtristan left07:11
DevAntoine joined07:12
guardian pre commit is easy enough07:12
Lope tobiasvl: okay, checking it out.07:12
guardian thanks for the reply07:12
TomyWork joined07:12
Lope Seveas: that config file doesn't suit me.07:12
Okay I've tested logging in with my SSH user, and I can login with normal ssh. But my shell is git-shell and it's not enabled. So I'm looking up how to do that.07:13
error: cannot run ssh bob@myserver -p 1234 -i /path/to/bob: No such file or directory07:13
export GIT_SSH='ssh bob@myserver -p 1234 -i /path/to/bob'07:13
Seveas GIT_SSH != GIT_SSH_COMMAND07:13
grawity you need GIT_SSH_COMMAND= for that07:13
Lope grawity: okay, thanks.07:14
GIT_SSH_COMMAND seems to be ignored though. It kept trying to connect on port 22 :/07:14
grawity your git is too old then07:14
set up ~/.ssh/config instead07:15
Goplat left07:15
Lope I've got git 1.9.107:15
grawity *way* too old07:15
Lope maybe you're right that it's too old.07:15
Seveas ancient07:15
Lope Why is it so old? On ubunty 14.04 :/07:15
grawity well, ubuntu 14.04 itself is old07:15
Lope Yeah I've been procrastinating upgrading :/07:16
grawity and once ubuntu picks a major version, like git 1.9, they tend to stick to it07:16
zorro786 left07:16
Seveas 2.3.0 minimum07:16
grawity http://packages.ubuntu.com/search?keywords=git and http://sprunge.us/VcCD07:16
Sucks left07:16
Lope Seveas: thanks bro.07:16
will see if there's a backport.07:16
hahuang61 joined07:16
Seveas ppa:dennis/git-next gives you bleeding edge git from the main development branch07:16
sanketdg joined07:18
david002 joined07:20
nnyk_ left07:20
lordjancso left07:20
thiago left07:21
jceb left07:21
david007 left07:21
hahuang61 left07:22
aidalgol joined07:22
cdown_ joined07:22
lordjancso joined07:23
dreiss left07:24
cdown left07:25
tyreld left07:25
cdown_cdown07:25
Balliad joined07:25
ytl left07:25
star_prone left07:27
star_prone joined07:28
kadoban left07:32
MacWinner left07:32
star_prone left07:34
Macaveli joined07:36
PCatinean joined07:36
Lomex joined07:37
ImJune left07:37
star_prone joined07:38
jceb joined07:42
ArchNoob left07:42
blackwind_123 left07:43
cqi left07:43
red_ left07:45
gtristan joined07:46
Guest9461 left07:46
josuebrunel joined07:52
interne7y left07:52
mischat joined07:53
the_cybersphinx left07:54
FuzzySockets joined07:55
FuzzySockets left07:55
the_cybersphinx joined07:56
star_prone left07:56
Darcidride joined07:57
mischat left08:00
ISmithers left08:00
Lope Seveas: thanks. On bleeding edge now08:01
how can I setup ~/git-shell-commands so that my SSH user with a GIT shell can run any commands?08:01
vassagus joined08:01
Seveas just don't use git-shell08:01
set your shell to /bin/bash and be done with it08:02
Lope ah, but I thought it would be more secure?08:02
Seveas not if you're going to bypass it anyway08:02
Lope I've seen conflicting information about needing to create a dir or touch a file with that name.08:02
oh, I see.08:02
So there is no real git-shell?08:02
it's just a framework for scripting arbitrary commands?08:03
Seveas nope.08:03
it's a way of allowing people in over ssh while limiting their access08:04
Lope okidokes08:04
jaguarmagenta joined08:04
the_cybersphinx left08:05
zeroed left08:06
jaafar_ left08:06
netcarver left08:07
JeroenT left08:08
SwiftMatt left08:08
vassagus left08:08
jaguarmagenta left08:09
Lope `git push myserver prod --verbose --dry-run --progress` bash: bob@myserver:1234:: command not found08:09
cyan__ joined08:09
jknetl joined08:10
Lope `echo $GIT_SSH_COMMAND` ssh bob@myserver -p 1234 -i /path/to/bobkey08:10
Corneliu joined08:11
star_prone joined08:11
Lope `git remote -v` myserver ssh://bob@myserver:1234:/path/to/my/baregit (fetch) (and push same)08:11
when runnin the GIT_SSH_COMMAND by itself I can login to a bash shell and cd to the bare-git repo with full recursive ownership of it.08:12
Seveas that remote looks dodgy. change it back to just ssh://myserver/path/to/bare.git08:12
tomog999 joined08:13
vdv joined08:13
the_cybersphinx joined08:13
zeroed joined08:13
zeroed left08:13
zeroed joined08:13
JeroenT joined08:13
Lope is it okay if my bare git dir is called "git"?08:14
I've got web/git and web/www (where I will auto-deploy to www)08:14
I've changed it to: ssh://bob@myserver:1234:/path/to/my/baregit.git but it's got the same error.08:15
tomog999_ left08:15
Lope will try your plain form.08:15
I found a format like what I've used on stackoverflow (with port number and username)08:16
ki0 joined08:16
Lope okay I ran it without a username or port in the command. now it says bash: myserver: command not found08:17
fatal: Could not read from remote repository.08:17
Seveas ah, I *think* I know why.08:18
GIT_SSH_COMMAND will be fed the hostname08:18
Lope oops, I had a colin between the username and the path. I removed it be like yours. But it had the same error.08:18
okay, so I'll take out the username and port.08:18
magicTurtle joined08:18
Seveas so you'll want export GIT_SSH_COMMAND='ssh -l bob -p 1234 -i /path/to/key'08:18
Lope I maen username and host.08:18
or that.08:18
okay. good idea :)08:19
ahmedelgabri joined08:19
marcogmonteiro joined08:19
MrWoohoo left08:19
ArchNoob joined08:20
Lope different error now. no more command not found. now it sayd /path/to/baregit.git does not appear to be a git repository.08:20
will try without the .git.08:20
sweet. it looks like it worked :)08:21
bongjovi joined08:22
eVolutive joined08:22
Lope hmm, it says * [new branch] prod -> prod.08:22
I'm new to git. I think it's because I've not published yet.08:22
ifra201 joined08:22
yoan left08:24
Lope oh lol, --dry-run might have something to do with it not actually pushing anything.08:25
jast the possibility exists :}08:26
ffs joined08:28
magicTurtle left08:28
ffsGuest5826908:28
Jonuz How can I insert ' to commit message in git commit command?08:28
\' doesnt work08:28
ahmedelgabri left08:28
ahmed_elgabri joined08:28
bremner Jonuz: are you using a text editor, or -m ?08:29
tobiasvl Jonuz: huh? what's your command? you mean with -m? if you use "" you should be able to use it regularly08:29
bremner or use -F08:29
Jonuz oh, it worked when I used "", I thought I had tested it already.08:30
ty08:30
Lope Seveas: THANK YOU SO MUCH! works08:31
mohabaks left08:31
N3SS__ joined08:33
Jidoor joined08:33
Jidoor left08:33
Jidoor joined08:33
N3SS__ left08:34
Jidoor how do i ignore a folder, is it folder, /folder, /folder/ or does it even matter08:34
ygeLN left08:34
cqi joined08:34
tobiasvl Jidoor: well the second and third will only match "folder" in the repo's root08:35
man gitignore08:35
gitinfo the gitignore manpage is available at http://jk.gs/gitignore.html08:35
tvw left08:36
Jidoor second and third are equal?08:37
jast / at the beginning anchors it to the same level at which the .gitignore file lives. / at the end applies to folders only, not files with the same name.08:37
mischat joined08:37
Jidoor ah08:37
so /folder/ is the best if i want to ignore a folder in root08:37
jast sure, though you're not going to have 'folder' as both a file and a folder in root at the same time, anyway :)08:37
cqi left08:39
moei joined08:39
star_prone left08:40
jceb left08:42
cqi joined08:42
a3Dman left08:45
courrier joined08:45
star_prone joined08:46
vdv left08:49
Guest58269 left08:50
Anticom joined08:51
josuebrunel left08:51
peroht joined08:53
Lunatrius` joined08:54
ImJune joined08:55
sylario joined08:56
jceb joined08:57
Lunatrius left08:58
Lunatrius`Lunatrius08:58
ahmedelgabri joined08:59
ImJune left09:00
phanimahesh Jonuz: Don't use -m09:01
ahmed_elgabri left09:01
phanimahesh It'll create a habit of not writing longer commit messages09:01
Always do git commit without -m, it'll open up your editor09:01
Write a short summary on first line (what you'd pass to -m) and after a blank line, explain why the change was made.09:02
You'll thank yourself when you have to rely on logs anytime.09:02
fabio_ left09:02
a3Dman joined09:02
star_prone left09:04
courrier left09:04
fuchstronaut joined09:05
vassagus joined09:06
CEnnis91 left09:07
JeroenT left09:07
ronskisika joined09:09
Raging_Hog left09:09
Raging_Hog joined09:09
fuchstronaut left09:09
mohabaks joined09:10
a3Dman left09:13
JeroenT joined09:13
ronskisika left09:13
vassagus left09:14
Lope even though inside myproj/ I've run `git add --all --verbose` it didn't add myproj/packages or myproj/packages/foo.09:15
mooru joined09:16
jast maybe there's an ignore pattern somewhere?09:16
Lope There isn't09:16
Not that I can find, not in .gitignore myproj/packages09:17
jast you can use 'git check-ignore' so you don't have to search for it yourself :)09:17
hahuang61 joined09:17
cbreak Lope: find . -name ".git"09:17
mcqr joined09:18
jast oh yeah, and nested git repos are ignored :)09:18
Lope myproj/packages/foo was another git repo that I cloned from another project. I'd like to track the changes I make to it as part of my project. I deleted myproj/packages/foo/.git. Then tried `git add --all --verbose again` but it's not adding myproj/packages/foo09:18
nnyk_ joined09:18
cbreak Lope: git rm --cached myproj/packages/foo09:18
Lope cbreak: will try :)09:18
jast and then try your 'add' again09:19
cbreak if it isn't tracked as submodule, maybe you have to rm myproj/packages09:19
SourTrout joined09:19
cbreak (if that was ever a submodule)09:19
Lope Sweet,. it added them now :)09:19
thanks!09:19
jast well, that wasn't so bad09:19
Lope is there some command to flush all the cache?09:19
cbreak yes.09:20
ArchNoob left09:20
cbreak but you don't want that09:20
Lope Okay09:20
jast the thing is, the cache/index has not just changes from the last commit09:20
it's a complete snapshot of exacty what would end up in a new commit09:20
so, clearing it would mean your next commit would not go through, or at least not have any files in it at all :)09:20
cbreak Lope: see man git-update-index for details09:21
gitinfo Lope: the git-update-index manpage is available at http://jk.gs/git-update-index.html09:21
jast if you want to re-add everything I guess it's not that much of an issue, but still it's not a good habit09:21
_kreo joined09:21
jast (to answer anyway, the magic incantation is git read-tree --empty)09:21
sanketdg left09:22
hahuang61 left09:22
SourTrout left09:23
JeroenT left09:25
chll_ joined09:26
JanC_ joined09:27
david007 joined09:27
JanCGuest8892009:28
JanC_JanC09:28
ygeLN joined09:28
Guest88920 left09:29
david002 left09:30
a3Dman joined09:33
ArchNoob joined09:34
MrMojito1 joined09:36
MrMojito1 left09:36
ygeLN left09:38
mooru left09:39
darkbit joined09:39
fabio_ joined09:41
AlHafoudh joined09:41
texinwien_ left09:41
AlHafoudh hi all09:42
ygeLN joined09:42
AlHafoudh is there anything like statically linked single git.exe file?09:42
grawity probably not, since quite a few git subcommands are still written in sh09:43
braderhart left09:44
braderhart joined09:45
stealthii left09:46
JeroenT joined09:47
stealthii joined09:47
ahmedelgabri left09:47
noahsussman left09:47
kwmiebach left09:49
WillMoogle joined09:49
noahsussman joined09:49
mooru joined09:50
ahmedelgabri joined09:51
kwmiebach joined09:51
rbr joined09:51
interne7y joined09:53
choki joined09:53
harleypig left09:54
harleypig joined09:55
wxg left09:57
cdown left09:57
qsx and a good part in perl09:57
interne7y left09:58
ahmedelgabri left09:59
aidalgol left10:01
Zamerick left10:01
Raging_Hog left10:02
Raging_Hog joined10:03
denimsoft joined10:03
Derperperd left10:03
star_prone joined10:04
wxg joined10:05
irco joined10:05
yena left10:05
denimsoft left10:05
jaguarmagenta joined10:05
Sazhen86 left10:05
rahtgaz joined10:06
omegak left10:07
yena joined10:07
ISmithers joined10:07
nickstenn left10:08
ronskisika joined10:09
Raging_Hog left10:09
magicTurtle joined10:09
star_prone left10:09
jaguarmagenta left10:10
apachebcn joined10:10
apachebcn left10:10
nickstenn joined10:11
vassagus joined10:11
afuentes joined10:11
omegak joined10:12
star_prone joined10:14
ManiacTwister left10:15
nioncode left10:15
stfn left10:16
WakiMiko left10:16
hexa- left10:16
roflin left10:16
ffabi left10:16
languitar left10:16
i7c left10:16
nyuszika7h left10:16
bastelfreak left10:16
dx left10:16
chll_ left10:16
Blkt left10:16
ffabi joined10:17
rishi joined10:17
Chinorro joined10:17
heftig joined10:18
VampiricPadraig joined10:18
VampiricPadraig left10:18
VampiricPadraig joined10:18
mafrasi2 joined10:18
hexa- joined10:18
AlexanderS joined10:18
vassagus left10:18
ManiacTwister joined10:18
ohcibi joined10:18
Learath2 joined10:18
dx joined10:18
languitar joined10:18
stfn joined10:18
Blkt joined10:18
chll_ joined10:18
nioncode joined10:18
nyuszika7h joined10:19
WakiMiko joined10:19
bastelfreak joined10:19
roflin joined10:19
asd5a joined10:19
i7c joined10:19
osse commit, add, push, fetch, merge and cherry-pick are all builtin, so if you compile a static version you should be good to go \o/10:20
deepy joined10:20
qsx including the underlying helpers?10:20
noteness joined10:21
bauruine joined10:21
cyan__ left10:21
HanClinto left10:22
luke_penn joined10:22
osse what helpers?10:22
the one for add -p, no, that's perl10:22
qsx fetch-pack for example10:22
well "helper" may not be entirely the right term here10:23
osse yes10:23
gitinfo joined10:23
ChanServ set mode: +o10:23
tinajohnson___ joined10:23
osse the http helpers aren't though10:23
qsx and i doubt it’ll contain openssh10:24
so well, with some effort you could create such a git.exe, but won’t be easy10:24
Hobbyboy|BNC joined10:25
qsx and if you take everything in git (excluding contrib), you’d need sh, perl, python, tcl, libcurl, some kind of ssh, a web server and i guess even more10:26
JeroenT left10:26
osse who uses git-p4 anyway10:26
qsx who uses p4 anyway10:26
ahmedelgabri joined10:26
osse egg-sack-ly, so you can strike out python \o/10:27
fuchstronaut joined10:28
ormaaj left10:28
Nothing4You joined10:29
mehola left10:29
danslo left10:30
clivejo joined10:30
rchavik joined10:33
aguimaraes1986 joined10:33
_sjs left10:34
lordjancso left10:35
magicTurtle left10:37
lordjancso joined10:40
psacrifice joined10:41
tvw joined10:42
ljc joined10:43
circ-user-HPmjC left10:50
t-ask joined10:57
tvw left10:58
cdown joined10:58
fission6 joined10:58
danslo joined10:58
t-ask HI I have the following situation with git mergetool. I'm not sure what I'm actually looking at. I guess, the Remote column is the one I move to volt.h col2 ... http://storage2.static.itmages.com/i/16/0802/h_1470182002_2301308_f9c1dde916.png10:59
osse t-ask: the four files are in order: the one in the current branch, the merged result, the one from the other branch, the common ancestor11:01
selckin so yes fix up 2nd to final version11:01
t-ask Is this the fixed order in general? Then I take note11:02
woodruffw joined11:02
woodruffw left11:02
osse t-ask: you can tell from the names of the files11:02
LOCAL, (nothing), REMOTE, BASE11:03
woodruffw joined11:03
JeroenT joined11:03
romerocesar left11:04
nettoweb joined11:04
t-ask so (nothing) is just like a preview of the suggested merge?11:04
rafalcpp left11:04
osse i suppose you could call it that11:04
it's the actual file on disk.11:04
the one you're supposed to edit to fix the problem11:05
Jon28__ left11:05
Jon28__ joined11:05
selckin kdiff3/meld have nicer view imo11:06
t-ask ok, just to recap. LOCAL=the currently active local branch, (nothing) = the 'diff view' of the suggested merge, REMOTE = the remote version in that branch, BASE = the root branch of the local repo11:07
ojdo left11:07
osse t-ask: "root branch" ?11:07
playfullyExist joined11:08
osse BASE = the version of the file before the branches diverged11:08
Vinnie_win joined11:09
sdothum joined11:09
t-ask NOt sure how its calld, I guess, the BASE is when I'm looking at the graphical representation of a git version tree, the one main root11:09
Hobbyboy|BNCHobbyboy11:09
t-ask osse: much nicer explanation11:10
cdown left11:10
t-ask osse: I think I understand now. Thank you11:11
selckin: I will look into them11:11
dsdeiz left11:11
danslo left11:11
alcohol left11:13
mooru left11:13
mooru joined11:14
cd-rum joined11:14
LeBlaaanc left11:15
star_prone left11:15
ahmedelgabri left11:15
playfullyExist left11:15
alcohol joined11:15
vassagus joined11:16
rnsanchez joined11:16
ahmedelgabri joined11:17
ojdo joined11:17
hahuang61 joined11:18
cd-rum_ joined11:18
cd-rum left11:18
yoan joined11:20
_kreo left11:21
nnyk_ left11:21
danslo joined11:23
hahuang61 left11:23
cd-rum_ left11:24
vassagus left11:24
ljc left11:25
fahadash joined11:26
cyan__ joined11:29
mehola joined11:30
PCatinean left11:30
kus joined11:30
kus left11:30
dsdeiz joined11:35
notebox joined11:35
mehola left11:36
pandeiro joined11:38
MZAWeb left11:40
pandeiro left11:40
notebox left11:41
pandeiro joined11:41
airdisa joined11:43
pandeiro left11:44
Sceorem left11:44
phanimahesh left11:45
djb-irc left11:46
phanimahesh joined11:47
alkino joined11:48
alkino Why does git reimplement tar and zip?11:48
grawity what should it do instead? use libarchive?11:49
alkino grawity: do nothing?11:49
grawity that would make it lose functionality11:49
alkino If I want to do a git archive in tar.xz I do "git archive | tar | xz"11:50
grawity except you can't do that because pipes don't have a 'file delimiter'11:50
alkino grawity: but support only those 2 formats seems a broken functionality11:50
selckin if you want version control you just do cp file $(md6sum file)11:50
grawity Windows' powershell might work that way; Unix pipes don't.11:50
alkino grawity: and why not libarchive?11:50
grawity and if you start implementing a framing protocol, congrats, you reinvented tar.11:50
libarchive wouldn't be bad, though since git's support is generate-only (no parsing) and fairly static, it probably wasn't worth adding another dep, I guess?11:51
alkino hum11:51
osse git also reimplements diff, option parsing and string buffers11:52
alkino If I do "git archive HEAD" it write something in my output11:52
selckin and bitkeeper11:52
selckin hides11:52
alkino so it's useless?11:52
grawity it writes an uncompressed tar archive11:52
alkino ok11:53
grawity so you can indeed use `git archive HEAD | xz > foo.tar.xz`11:53
mooru left11:53
djb-irc joined11:53
grawity also – AFAIK – at least with tar, git-archive tries hard to generate identical files every time11:53
phanimahesh left11:53
mooru joined11:53
mooru left11:53
grawity (iirc, that's useful for signing large repos' tarballs)11:54
alkino ok right ^^11:54
m1dnight_ left11:55
phanimahesh joined11:55
synthroid joined11:55
davisonio joined11:55
t-ask left11:55
davisonio left11:56
johnny56 left11:56
holodoc left11:56
holodoc joined11:59
mooru joined11:59
sdaugherty There are some guarantees about timestamps too with git archive, which wouldn't be the case with tar/zip used on their own, also git archive takes care of removing git artifacts for you, so there's two features that make it especially suitable for releasing software.12:00
jceb left12:00
sdothum left12:01
grawity well, no, I assume libarchive lets you set arbitrary timestamps as well12:01
sdaugherty grawity, it might, but that's clumsy in comparison to a process which does so automatically based on the commitid12:01
alkino grawity: grawity: you can do manage metadata as you want with libarchivz12:01
zeroed left12:01
alkino sdaugherty: -^12:02
grawity sdaugherty: the same process would be doing the same thing automatically12:02
osse I also think this.12:02
sdaugherty also, git archive optionally handles .gitattributes directed processes12:02
grawity sdaugherty: just [for example] libarchive_set_metadata() instead of writing out the same directly12:02
sdaugherty: sure, it could still handle .gitattributes12:03
sdaugherty: there's nothing about using a library that would force it to blindly tarball the raw working tree12:03
it could still specify whatever input data it wants12:03
dsdeiz_ joined12:05
sdaugherty also, as for why libarchive wasn't used in the first place, both projects seem to have started at about the same time.12:06
in 2005.12:06
zeroed joined12:06
jaguarmagenta joined12:06
veilig2000 joined12:06
Sceorem joined12:07
sdaugherty without delving deeply into the development history, I'd take an educated guess that libarchive was not yet mature enough at the time git archive was implemented?12:07
dsdeiz left12:07
CheckDavid joined12:08
alkino sdaugherty: surely.12:09
HanClinto joined12:09
fission6 left12:10
korolev joined12:10
choki left12:10
jaguarmagenta left12:11
BPL joined12:12
BPL Hi everyone!12:12
cyan__ left12:12
str joined12:13
JeroenT left12:14
sdfsdf joined12:14
sigma__ joined12:15
BPL Not sure what's wrong... but I've cloned a couple of projects with git 2.7.0 (cygwin64) and I'm having some problems running the executables or bat files, they spawn this error "Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item" , any clue why is this?12:15
grawity try to `chmod +x` them via cygwin12:15
tvw joined12:15
star_prone joined12:15
sigma__ If I've got branches A, B, and C, all created from master, what is the proper method of merging them all back cleanly? I like to keep a linear history without "merge commits" all over the place.12:16
grawity imho "merge commits" are quite clean12:16
sigma__ In the past, I've merged A into master, rebased B onto master and merged B into master, then rebased C onto master and merged C into master.12:16
grawity you can merge 3 times, then rebase <pre-merge-master>..master to flatten everything12:17
BPL grawity: If i do > chmod -R +X minko i get chmod: cannot read directory 'minko': Permission denied12:17
sigma__ grawity: Would I have to squash any commits, like merge commits, in that scenario?12:17
rubyonrailed left12:17
grawity no12:17
sigma__ Maybe I'll give that a shot.12:17
jceb joined12:18
sigma__ Seems reasonable enough.12:18
Is there anything wrong with the way I've done it before? Even if it's more work?12:18
git checkout A; git rebase master; git checkout master; git merge A; # repeat for B and C...12:19
mohabaks left12:19
keltvek joined12:20
star_prone left12:20
sdaugherty A linear history isn't necessarily a completely clear history.either. A lot can be inferred from the history when you can see how branches have diverged and merged back in.12:21
ncd|leeN joined12:21
sigma__ sdaugherty: I understand.12:21
JeroenT joined12:21
leeN left12:21
rwb joined12:21
sdaugherty That's especially true if you have upstream or downstream repositories integrating changes back in.12:21
vassagus joined12:21
HanClinto left12:22
JeroenT left12:22
kyan joined12:22
sigma__ sdaugherty: Sure. That gets messy, so I try to avoid rewriting history.12:23
engx joined12:23
BPL On the other hand, when i clone stuff using the git included on Sourcetree (1.9.5.msysgit.0) i don't get any permissions error12:23
so, what's "wrong" with the cygwin's git? any chance to clone the projects properly on windows?12:23
mablae joined12:24
korolev left12:24
sigma__ BPL: There is also git-bash.12:24
engx left12:24
peroht_ joined12:24
grawity that *is* git-bash, I think12:24
veilig2000 left12:24
sigma__ TIL12:24
jast "git for windows" is not based on cygwin12:24
JeroenT joined12:24
jast it's based on msys12:24
BPL so? what should i do? not using the provided on cygwin at all?12:25
sigma__ Correct your permissions issues.12:25
jast are you running the commands from inside a cygwin terminal, or a normal Windows command prompt?12:25
_kreo joined12:26
BPL sigma__: how? jast: normal windows command prompt mostly of the time (conemu)12:26
sigma__ You haven't shown us what the permissions are for the objects you're dealing with, or what user and group(s) you're executing the chmod command as.12:26
bongjovi left12:26
shinnya joined12:27
peroht left12:27
Mogget joined12:27
jast BPL: I'm not sure how cygwin's path mapping works, my unsubstantiated guess is it's doing bad things when being run from a normal windows environment12:28
just to be sure, have you tried the same thing(s) from cygwin's shell?12:28
sdfsdf left12:28
vassagus left12:29
fuchstronaut Is there a way to get a list of all changes to files that match a regex (file ending) in the current branch?12:29
dsdeiz_ left12:29
star_pro_ joined12:30
sigma__ left12:30
bongjovi joined12:30
johnny56 joined12:31
flaguy48 left12:31
star_pro_ left12:32
bobdobbs joined12:32
BPL jast: Ok, never mind, i guess I'll put on path first the git included on sourcetree, which works alright, although is quite old 1.9.5 :P12:32
dsdeiz joined12:32
Codfection left12:33
gtristan left12:33
peroht_ left12:34
mohabaks joined12:37
syndikate joined12:38
aavrug left12:40
flaguy48 joined12:41
gruuf joined12:41
syndikate left12:41
syndikate joined12:42
nnyk_ joined12:42
rgrinberg joined12:43
syndikate left12:43
syndikate joined12:46
sanketdg joined12:50
syndikate left12:51
korolev joined12:52
jimi_ joined12:52
zivester joined12:52
boushi_ joined12:53
interne7y joined12:54
boushi left12:55
yoan left12:55
jagob left12:56
xall left12:56
daniel_rose joined12:57
cschneid left12:58
fuchstronaut left12:58
sdothum joined12:58
cdown joined12:58
artemisart joined12:58
interne7y left12:59
korolev left12:59
kyan left12:59
boushi_ left12:59
syndikate joined12:59
danslo left13:00
artemisart left13:01
odinsbane joined13:01
syndikate left13:02
cschneid joined13:02
syndikate joined13:02
subhojit777 left13:02
odinsbane I made a new branch, git branch mono, then I did git commit, which commited the local changes to the old branch.13:02
Faylite joined13:03
mooru left13:03
odinsbane How would I commit changes to a new branch?13:03
bobdobbs left13:03
odinsbane When I use git checkout mono, I am placed at a spot before any changes were made.13:03
iDanoo left13:03
perlpilot odinsbane: switch to that branch before you commit :)13:03
odinsbane perlpilot: When I switch to that branch, all of the changes are lost.13:04
perlpilot odinsbane: right now, you could just move the branch to the commit where you have those changes13:04
indistylo joined13:04
david007 left13:04
mooru joined13:04
tobiasvl odinsbane: they're not "lost", you're just switching to a branch that doesn't have them13:05
odinsbane True.13:05
So, lets say I make a bunch of changes, now how can I commit those changes to a new branch.13:05
selckin git checkout -b newbranch; git commit13:06
korolev joined13:06
perlpilot odinsbane: or, more verbosely, git branch foo; git checkout foo; git commit13:06
you appear to have skipped that second step13:07
odinsbane Yes.13:07
star_prone joined13:07
odinsbane Hmm, so when I checkout a branch, any non-commited changes will not be lost?13:08
selckin indeed13:09
perlpilot odinsbane: git's purpose in being is to keep things from being lost.13:10
tobiasvl odinsbane: !float13:10
gitinfo odinsbane: 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.13:10
Finnoloid joined13:10
odinsbane Okay now how do I fix my problem. I have commited changes to 'multi-threaded' that I want commited to 'mono'13:10
jast also you can copy your commit to your new branch13:10
selckin odinsbane: you can cherry-pick that commit and then drop it from the other branch13:11
jast git checkout mono; git cherry-pick multi-threaded13:11
guardian is there something shorther than git ls-files --state -- "$file" | cut -d' ' -f1 to figure out whether a file is committed with permissions different than 644?13:11
jast git ls-files shows things from the index, not from commits13:12
guardian I'm in pre-commit hook13:12
jast oh, okay then :)13:12
perlpilot when did ls-files get a --state option?13:12
kyan joined13:12
jast probably meant --stage13:13
guardian s/--state/--stage13:13
sorry13:13
perlpilot ah13:13
jast anyway, can't think of anything shorter13:13
guardian ok13:13
is it still the case that git only stores 644 or 755?13:13
jast strictly speaking the cut is not necessary, though13:13
yes13:13
guardian yeah I could just grep for 75513:13
jast well, I don't know if submodules show up in that list, they do have a different mode13:13
they probably do show up13:14
guardian submodules are marked with 16000013:14
phanimahesh left13:15
fission6 joined13:15
danslo joined13:15
korolev left13:16
phanimahesh joined13:16
cdown left13:17
mostlybadfly left13:17
Lomex left13:18
hahuang61 joined13:19
korolev joined13:19
cdown joined13:19
jceb left13:20
Gitzilla left13:21
hahuang61 left13:23
zumba_ad_ joined13:24
byteflame joined13:24
vassagus joined13:26
shinnya left13:27
ejb joined13:27
syndikate left13:28
fmcgeough joined13:28
mooru left13:29
ExoUNX joined13:29
Tachyon_ joined13:29
mkoskar left13:29
Angs joined13:30
CEnnis91 joined13:30
Lomex joined13:30
rnsanchez_ joined13:31
kedare joined13:31
zivester left13:31
Angs when I run "git add -A" on ubuntu, it outputs "...git/index.lock': Permission denied". However, ls -al doesn't show that index.lock exist under .git directory. I run "rm -f index.lock" just in case inside the .git directory, but I still get the same error13:32
cYmen is there a command to revert only a single file?13:32
Angs does anyone know how should I fix it?13:32
jceb joined13:33
_rnsanchez_ joined13:33
cYmen Angs: did you take the ... into account?13:33
vassagus left13:33
cYmen looks like that file might be one directory up in .git13:33
rnsanchez left13:34
Angs I meant ... with the previous project path, I didn't want to copy the all13:34
I run the command inside the directory13:34
nilg joined13:35
cYmen do you have permission to access the .git directory?13:35
HanClinto joined13:35
Lomex left13:35
rnsanchez_ left13:35
rchavik left13:36
Softeisbieger joined13:36
phanimahesh left13:36
satya4ever left13:37
hwoarang left13:37
Angs cYmen,13:37
it looks like I don't :) "drwxrwxr-x 8 root root 4096 Aug 3 15:25 .git13:37
"13:37
synthroid left13:37
alcohol left13:37
griffindy joined13:37
Angs thanks13:37
magicTurtle joined13:37
synthroid joined13:38
phanimahesh joined13:38
kini left13:38
zumba_ad_ left13:38
Cauiu joined13:38
_rnsanchez_rnsanchez13:38
al-damiri joined13:38
nanga joined13:39
nanga left13:39
nanga joined13:39
ChristopheT joined13:39
ChristopheT left13:40
alcohol joined13:40
cdown left13:41
HanClinto_ joined13:41
synthroid left13:42
shinnya joined13:42
Dougie187 joined13:43
Lomex joined13:43
mablae left13:43
tinajohnson___ left13:45
HanClinto left13:45
Noldorin joined13:45
Sucks joined13:46
HanClinto_ left13:46
magicTurtle left13:47
AaronMT joined13:48
aavrug joined13:48
Serg_Penguin joined13:48
sfeinste joined13:48
HoierM joined13:48
phaleth joined13:48
kini joined13:49
Serg_Penguin hi ! I broke my git: pushed to remote then accidentally amended commit, now it won't push: "tip of your current branch is behind its remote counterpart". ANy by-step manual to fix ?13:49
sdaugherty Serg_Penguin, depending on how much time has passed, and restrictions on the remote, you might be able to force push.13:51
RichiH Serg_Penguin: if you are working with others, you need to make them aware of this change13:51
synthroid joined13:51
RichiH else, you "break" their repos13:51
sdaugherty ^ force pushing breaks anyone who's already pulled/cloned after you13:51
RichiH and if they pull, merge, push, you have your old commit back13:51
sdaugherty: i.e. fetched13:52
hwoarang joined13:52
Serg_Penguin few hours, the only and master developer, repo on bitbucket.org but don't 'own' it, is granted with access13:52
korolev left13:52
garethdaine joined13:52
sdaugherty if you catch it quickly, before other people are affected, the quickest, dirtiest, and easiest solution is a force push.13:53
sbeller_ left13:53
sbeller joined13:53
tvw left13:54
sdaugherty it's normally discouraged, because others who may already have the offending commit will have repo operations fail in a similar way as to how your push is failing now.13:54
kaldoran joined13:54
Serg_Penguin sdaugherty, RichiH thanks, forced. But what is ultimate remedy ? Can i technically forbid amends to myself if pushed ?13:55
sdaugherty If at all possible, don't amend commits after they've been pushed.13:55
aavrug left13:56
sdaugherty The proper solution in most cases, after you've already pushed, is to do a revert, instead of amending the commit.13:56
However, that's not acceptable if you've committed sensitive info to a public repository.13:57
Serg_Penguin sdaugherty, revert ? my edit was just a one newline ;( no passwords, luckily13:57
fuchstronaut joined13:58
sdaugherty yeah, almost always better to revert once something's been pushed, because it's not possible to "erase" a commit that a remote repository has seen without rewriting history.13:59
git is very particular about history rewrites by design, so that they can't happen without being disruptive to other people using the repository14:00
ejb left14:01
wodim left14:02
zeroed left14:02
jceb left14:02
sdaugherty its annoying in a case like this where you've just made a mistake and want to get rid of it, but that same behavior is invaluable as a defense against someone trying to bury a malicious change in a repo.14:03
GodGinrai joined14:03
cqi left14:04
sdaugherty with cvs (and many other inferior VCS) for example, someone can manipulate older commits without anyone easily being able to notice it.14:05
fuchstronaut left14:05
shinnya left14:06
sdaugherty If they try to do that against a git repository, history won't match between repos, and people suddenly find they can't push/pull/fetch anymore.14:06
jaguarmagenta joined14:07
korolev joined14:08
soLucien joined14:08
tvw joined14:08
usm4n joined14:09
cdown joined14:09
soLucien hello guys ! I want to ignore the modules folder, but unignore modules/autosync and all contents (recursively). Is that possible ?14:10
rik316 joined14:10
Faylite left14:10
jaguarmagenta left14:11
kyan left14:11
soLucien i tried modules/*14:11
!modules/folder_autosync14:11
gitinfo [!submodule] git-submodule is ideal to add subsidiary git repositories to a git superproject when you do not control the subprojects or more specifically wish to fix the subproject at a specific revision even as the subproject changes upstream. See http://www.git-scm.com/book/en/Git-Tools-Submodules14:11
veilig2000 joined14:12
sdothum left14:13
kbs joined14:14
Tachyon_ left14:15
Serg_Penguin sdaugherty, thanks for deep explain, I was not thinking this way ;)14:15
madewokherd joined14:16
tvw left14:16
fuchstronaut joined14:17
catag87 joined14:17
catag87 left14:17
netcarver joined14:18
catag87 joined14:18
subhojit777 joined14:18
LionsMane joined14:20
cyan__ joined14:20
tvw joined14:21
ResidentBiscuit joined14:22
Dazzyp joined14:22
lordjancso left14:23
tjone270_ joined14:23
rik316 left14:24
axl_ joined14:24
rik316 joined14:25
Dazzyo joined14:26
sarbs left14:26
sarbs joined14:26
Dazzyp left14:27
tjone270 left14:27
usm4n left14:27
dsdeiz left14:27
l4v2 joined14:27
ShekharReddy joined14:28
luke_penn left14:28
cyan__ left14:28
Anticom left14:30
PCatinean joined14:31
vassagus joined14:31
zivester joined14:32
crayon left14:32
mehola joined14:33
sangy joined14:34
ShekharReddy left14:34
Softeisbieger left14:35
Anupkumar joined14:35
dlaboratory joined14:36
underpantz joined14:36
bsanford joined14:37
mehola left14:37
Tachyon_ joined14:37
catag87 left14:38
Anupkumar hi, currently I have a main git repository (without master access) and I want to push the changes that I made in the master repo directly to my fork, how can I do that?14:38
vassagus left14:39
moritz Anupkumar: add your fork as remote, do a git push yourremote yourbranch14:39
grawity git remote add14:39
selckin add your fork as a remote and i type to slow14:39
Silenced_v2 joined14:42
Electrometro left14:43
catag87 joined14:43
dlaboratory left14:43
submitnine left14:44
rominronin left14:45
Codfection joined14:46
phanimahesh left14:46
korolev left14:46
Darcidride left14:47
baako left14:47
dlaboratory joined14:47
phanimahesh joined14:48
Tachyon_ left14:48
nettoweb left14:49
korolev joined14:50
chll_ left14:50
dlaboratory left14:51
kyan joined14:51
chll_ joined14:52
jstein_ joined14:52
korolev left14:53
jstein_jstein14:54
xall joined14:54
interne7y joined14:55
TomyWork left14:56
odinsbane left14:57
phanimahesh left14:57
govg left14:57
korolev joined14:57
JeroenT left14:58
JeroenT joined14:59
rscata left14:59
xall left14:59
interne7y left15:00
cqi joined15:00
jknetl left15:00
Serg_Penguin left15:03
Christop` joined15:04
Christop` left15:04
Cauiu left15:04
synthroid left15:06
SourTrout joined15:06
kpease joined15:08
JeroenT left15:08
dmto joined15:09
JeroenT joined15:09
patarr Does anyone use bitbucket? How do I checkout a pull request so I can locally test it?15:09
madewokherd left15:10
daniel_rose left15:10
wxg left15:10
spudowiar joined15:10
gitinfo set mode: +v15:10
InfoTest joined15:12
vassagus joined15:12
dreiss joined15:13
ahmedelgabri left15:15
star_prone left15:15
star_prone joined15:16
fuchstronaut left15:16
ahmedelgabri joined15:17
Silenced_v2 left15:17
Silenced_v2 joined15:17
farkr joined15:18
eivarv joined15:18
farkr Let's say I have two csv files15:18
one is as follows:15:19
a,115:19
Sceorem left15:19
farkr b,215:19
c,315:19
and the other is15:19
b,215:19
c,315:19
a,315:19
how can I diff them in way that it ignores the fact that a is below b and c?15:19
while also making note of the new value change on a15:19
hahuang61 joined15:19
polyzen looks at channel name15:19
kyan left15:19
GodGinrai polyzen: indeed15:20
tyreld joined15:20
Darren_ joined15:20
dreiss left15:20
polyzen sounds like homework15:20
:p15:21
GodGinrai lol15:21
star_prone left15:21
polyzen farkr, correct the order, then diff?15:21
crayon joined15:22
dreiss joined15:22
tonyyarusso joined15:22
GodGinrai farkr: so you're just trying to figure out if values changed?15:24
ifra201 left15:24
kbs left15:24
hahuang61 left15:24
fuchstronaut joined15:27
aep-shoutlet joined15:28
ben__ joined15:30
danslo left15:31
nnyk_ left15:31
kaldoran left15:31
Lope left15:32
moriko joined15:32
brewmaster joined15:33
synthroid joined15:33
GodGinrai farkr: simple, and crude: `awk -F, '{ if ($1 in arr) { if (arr[$1] != $2 ) { changes[$1] = $2 } } else { arr[$1] = $2 } } END { for (i in changes) { print i }}' a.csv b.csv`15:34
mehola joined15:34
Tachyon_ joined15:34
GodGinrai or even simpler15:35
JeroenT left15:35
GodGinrai sort a.csv b.csv && diff a.csv b.csv15:35
nnyk_ joined15:36
faheem left15:36
farkr sorry, I used a bad example15:36
kyan joined15:37
farkr it's more like b.csv has an extra line with "d,4"15:37
nilg left15:37
farkr here, I'll just give you the files and show you the results I'm getting15:37
faheem joined15:38
nilg joined15:38
mehola left15:38
farkr http://pastebin.com/GhedBWv015:39
this is the diff15:39
GodGinrai farkr: pastebin.com is blocked here because of many reasons, use a better pastebin15:40
jaafar joined15:40
nilg left15:40
thiago joined15:40
Balliad left15:41
nnyk_ left15:41
danslo joined15:41
texinwien_ joined15:41
shymega left15:41
TomyLobo joined15:42
shymega joined15:42
shymega left15:42
madewokherd joined15:42
farkr http://hastebin.com/qotosoyogi.avrasm15:42
fuchstronaut left15:42
shymega joined15:42
farkr http://hastebin.com/facorucide.avrasm15:43
ignore the extensions15:43
http://hastebin.com/rozapinicu.avrasm15:43
these are all csv15:43
korolev left15:43
farkr first one is diff, last two are csv15:44
moriko left15:45
GodGinrai farkr: so, how are you so sure the diff is giving you weird output? I've tried like 3 random lines and found that it isn't repeated in the diff output as being added and removed. only one or the other15:45
rominronin joined15:45
ronskisika left15:45
danslo left15:46
seb7 joined15:47
tvw left15:47
farkr I don't really understand what you're saying, sorry :/15:47
anuxivm joined15:48
farkr my problem is that it's basically just combining both of the files into one15:48
nettoweb joined15:49
GodGinrai Either I'm not understanding what you are getting at, or you don't understand what diff does.15:49
rominronin left15:50
AaronMT left15:51
farkr I want it so that it shows the changed line directly under the old line15:51
rgrinberg left15:52
farkr instead it just puts all the '---' at the top and '+++' on the bottom15:52
eVolutive left15:52
Silenced_v2 left15:53
ahmedelgabri left15:53
jast for complete rewrites there's the -B option15:53
but generally what you're seeing is basically the way diff is definedf15:54
dreiss left15:55
jast that doesn't look like a valid unified diff, anyway. you're not talking about diffs in git, are you?15:55
GodGinrai: how is pastebin.com "blocked" here?15:55
danimal2 joined15:55
jast oh wait, you mean a different "here" than me, don't you :)15:56
GodGinrai jast: yes15:56
jast today is one of these "thinking N/A" days...15:56
ahmedelgabri joined15:56
GodGinrai lol15:56
farkr jast: no, that's in CRAN, but git returns the same thing http://hastebin.com/nerolixutu.avrasm15:56
jast I have to figure out a way to fix the hurried wide refactoring from last week at work, and it's the mind killer15:57
AaronMT joined15:57
texinwien_ left15:58
kbs joined15:58
Zamerick joined15:58
ambro718 joined15:59
texinwien_ joined15:59
dreiss joined16:00
kedare left16:00
nnyk_ joined16:00
ahmedelgabri left16:01
vassagus left16:04
brandonw left16:04
tvw joined16:05
brandonw joined16:05
jaguarmagenta joined16:07
solrize left16:08
_kreo left16:08
vassagus joined16:10
jaguarmagenta left16:12
df\d joined16:15
DevAntoine left16:15
rgrinberg joined16:15
Electrometro joined16:17
keltvek left16:17
Gitzilla joined16:18
SourTrout left16:19
daniel_rose joined16:20
df\d left16:21
snowkidind joined16:21
moriko joined16:21
EvilPenguin joined16:23
jaequery joined16:23
Derperperd joined16:25
Pulp joined16:26
moriko left16:26
UTAN_dev joined16:26
Electrom_ joined16:26
harish_ joined16:26
kevwil joined16:28
Electrometro left16:29
cqi left16:29
Gianormagantrous left16:31
dreiss left16:32
freimatz left16:33
zarubin left16:34
zarubin joined16:35
mehola joined16:35
devxom joined16:35
devxom left16:35
jeremyhall joined16:35
JanC_ joined16:35
devxom joined16:35
JanCGuest9452916:36
Guest94529 left16:36
JanC_JanC16:36
eivarv left16:37
emPi joined16:37
solrize joined16:38
solrize left16:38
chll_ left16:39
durham joined16:39
durham left16:39
mehola left16:39
durham joined16:39
nivag joined16:40
ImJune joined16:40
yoan joined16:40
BSAlb left16:42
fahadash left16:43
Pulp left16:43
cyan__ joined16:44
kaldoran joined16:44
rgrinberg left16:45
SteffanW2 joined16:45
grayjoc joined16:45
Lomex left16:45
rominronin joined16:47
fabio_ left16:47
eivarv joined16:48
rgrinberg joined16:48
_Patrick_ left16:49
Limes__ joined16:49
BSaboia joined16:50
fuchstronaut joined16:51
daynaskully joined16:52
rominronin left16:52
Limes_ left16:53
jfcaron joined16:54
dreiss joined16:54
ImJune left16:54
[gmi] joined16:55
fuchstronaut left16:55
jeremyhall_ joined16:55
interne7y joined16:56
Lomex joined16:56
cyan__ left16:57
jeremyhall left16:58
str left16:59
[gmi] left16:59
djapo joined16:59
interne7y left17:00
thiago left17:00
BSAlb joined17:01
shinnya joined17:01
Lomex left17:02
livingstn joined17:02
foist joined17:03
BSaboia left17:03
star_prone joined17:04
kevwil left17:05
veilig2000 left17:05
nitric joined17:06
fstd left17:07
fstd joined17:07
LeBlaaanc joined17:07
star_prone left17:09
eivarv left17:09
grayjoc left17:09
seb7 left17:10
livingstn left17:10
kadoban joined17:11
kyan left17:12
str joined17:12
le_melomane joined17:13
WayToDoor joined17:13
daniel_rose left17:13
UTAN_dev left17:13
tabrez joined17:14
armyriad joined17:15
armyriad left17:16
armyriad joined17:17
piling left17:17
eivarv joined17:17
piling joined17:18
phanimahesh joined17:19
jfcaron left17:19
jfcaron joined17:19
hahuang61 joined17:20
diegoviola joined17:20
ambro718 left17:21
The_Phoenix joined17:22
kevwil joined17:22
fuchstronaut joined17:22
tabrez left17:23
govg joined17:24
alkino left17:25
hahuang61 left17:25
Derperperd left17:26
Derperperd joined17:27
Spec-Chum joined17:27
kevwil left17:27
texinwien_ left17:27
fuchstronaut left17:27
daniel_rose joined17:28
texinwien_ joined17:30
indistylo left17:31
gtristan joined17:31
Lyqyd joined17:33
lvns joined17:34
Dyonisos joined17:35
mehola joined17:35
sanketdg left17:35
le_melomane left17:37
le_melomane joined17:39
sagerdearia left17:39
le_melomane left17:40
maucar joined17:40
mehola left17:40
MZAWeb joined17:41
ahmedelgabri joined17:42
le_melomane joined17:42
phanimah1sh joined17:43
pampeho left17:43
durham left17:43
kevwil joined17:43
thiago joined17:43
ki0 left17:44
durham joined17:44
lvns left17:45
lvns joined17:46
phanimahesh left17:46
rominronin joined17:46
tvw left17:48
Angs left17:48
tvw joined17:48
ChristopheT joined17:49
ChristopheT left17:49
Sasazuka joined17:50
kevwil left17:50
WayToDoor left17:50
rominronin left17:50
durham_ joined17:51
durham left17:53
tvw left17:55
ImJune joined17:57
durham_ left17:57
eVolutive joined17:58
vktec joined17:58
durham joined17:59
fuchstronaut joined18:00
Macaveli left18:00
zumba_ad_ joined18:01
sagerdearia joined18:01
ImJune left18:02
thekryn__ joined18:02
marcogmonteiro left18:03
aard joined18:04
fuchstronaut left18:04
nnyk_ left18:04
nnyk_ joined18:05
subhojit777 left18:05
HanClinto joined18:05
dreiss left18:06
aavrug joined18:06
kevwil joined18:07
SteffanW2 left18:07
jeremyhall_ left18:09
dminuoso joined18:10
daniel_rose left18:10
dminuoso Hi, I have a huge source file, and Im interested in the entire history of a particular region of code, but there's too many changes in the surrounding code.18:11
jeremyhall joined18:11
dminuoso (Basically I know there was some bit of documentation that was there at some time in the past, but I don't know how to find it)18:11
The_Phoenix left18:11
kevwil left18:11
dminuoso Note, this is a github project, if there's some github-specific functionality that could help me.18:12
anuxivm left18:12
kadoban dminuoso: git blame possibly, or maybe the stuff from git log about pickaxe, like -S and -G and etc. might help.18:12
jayc left18:14
anuxivm joined18:15
anuxivm left18:15
MacWinner joined18:16
nitric dminuoso: look at the -L option of `git help log`18:17
dminuoso nitric: Ah brilliant.18:17
aavrug left18:17
kbs oh, nice - good to know :-)18:19
bdonnahue joined18:21
jfcaron left18:21
sweb joined18:21
bdonnahue hey guys. when youre writing unit test libraries. d oyou keep them in the same repo as the code?18:21
not sure what common/best practices are18:21
sweb is there any mehtod to tell git just remember 10 latest for files in special folders ?18:22
bocaneri left18:22
eivarv left18:22
UTAN_dev joined18:22
mkoskar joined18:22
sweb for example i have project i build the source ... source must be git but i dont need to remember all commits of it ... just 10 latest commits18:22
rpd bdonnahue: Not sure what you mean by unit test libraries, but it seems okay to keep unit tests in the same repo as the code it tests.18:23
veilig2000 joined18:24
bdonnahue rpd: for example. I write a c# dll and a NUnit dll with tests. they are both in the same solution. i want to create a build system which build production containers based on the code18:24
rpd sweb: you could always use --depth when you clone to make a shallow clone18:24
bdonnahue i wasnt sure if people configure the build system to strip out the tests or if code and tests go to different repos18:24
cdown left18:25
InfoTest left18:25
sweb rpd: not during clone ... in main repository i dont need all commits but i need git for get latest build sources ... use case is i want to use babeljs for compile to standard javascript but i dont need to build on each repository18:25
rpd you'd probably have your build system allow multiple targets; one for testing/dev and one for building a production binary18:25
anuxivm joined18:25
anuxivm left18:25
Sasazuka left18:26
eivarv joined18:26
rpd sweb: why not just get the last 10 commits from the log?18:26
PCatinean left18:26
rpd If you already have all the commit history, there's no reason to get rid of it, just select which parts of the history you care about18:26
sweb rpd: problem is build can create hug list of file on each build i dont need the history of that files ... i need to just have it not just have entire history build for each file ...18:27
kevwil joined18:27
sweb it's increase git database and useless18:28
freimatz joined18:28
jayc joined18:28
rpd I'm not sure if I understand, but you only want to build the files modified in the last 10 commits, right?18:28
piling guys how do we force to push ?18:32
veilig2000 left18:32
piling after rebase -i ?18:32
kevwil left18:32
irco left18:32
rik316 left18:33
sweb rpd: right, 10 or one ... i dont need history of that files .. i just need to be synced with git18:35
dminuoso bdonnahue: Always keep unit tests in your source, including the required support files to execute that testsuite.18:35
anuxivm joined18:36
anuxivm left18:36
dminuoso bdonnahue: In an ideal scenario a programmer would: clone your repository, obtain any dependencies, and then execute, build or test18:36
eivarv left18:36
mehola joined18:36
dminuoso piling: Is this for a public repository? Has the work been shared already?18:36
ki0 joined18:37
iamtakingiteasy joined18:37
dminuoso !rewriting_public_history18:37
gitinfo [!rewrite] Rewriting public history is not recommended. Everyone who has pulled the old history will have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push --force-with-lease <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum18:37
m0viefreak joined18:37
rnsanchez_ joined18:38
iamtakingiteasy left18:38
iamtakingiteasy joined18:39
iamtakingiteasy left18:39
paul424 joined18:39
star_pro_ joined18:39
iamtakingiteasy joined18:40
rnsanchez left18:40
iamtakingiteasy left18:40
iamtakingiteasy joined18:40
mehola left18:41
daniel_rose joined18:42
piling dminuoso: yeah for both18:43
star_pro_ left18:44
danslo_ joined18:44
explodes left18:44
Synthead left18:45
dminuoso piling: Then read the gitinfo comment I provided.18:46
ambro718 joined18:46
Synthead joined18:46
dmto left18:46
piling dminuoso: appreciated, thanks.18:47
rominronin joined18:47
kfunk left18:47
kfunk joined18:48
zumba_ad_ left18:48
kevwil joined18:48
danslo_ left18:48
anuxivm joined18:49
anuxivm left18:49
Mannequin joined18:51
farkr left18:51
explodes joined18:51
mariuscc left18:52
rominronin left18:52
explodes left18:52
Sasazuka joined18:52
thekryn__ left18:54
anuxivm joined18:54
anuxivm left18:54
thekrynn_ joined18:54
jmd joined18:55
iamtakingiteasy left18:55
iamtakingiteasy joined18:55
jmd I know that at sometime in the past file X contained the string "foo".18:56
How can I search for the last commit where it existed?18:56
dreiss joined18:56
interne7y joined18:57
nitin joined18:57
kadoban jmd: 'git log -S foo -- the_file' should work18:57
rgrinberg left18:58
lvns left18:58
aard left18:58
jmd kadoban: Thanks18:59
Kulrak left18:59
crayon left18:59
fuchstronaut joined19:00
interne7y left19:01
avar Generally you want to use -G instead of -S, although in this case -S does what you want19:03
rahtgaz left19:03
kevwil_ joined19:04
johnmilton left19:05
fuchstronaut left19:05
kevwil left19:05
nnyk_ left19:05
sweb left19:08
nwkj86 joined19:09
Derperperd left19:09
elementalest left19:09
star_prone joined19:09
elementalest joined19:10
elementalest left19:10
elementalest joined19:10
star_prone left19:12
Kulrak joined19:13
Kulrak left19:13
Kulrak joined19:13
nitin left19:13
star_prone joined19:15
offby1 joined19:15
offby1 waves19:15
offby1 Howdy git folks. Is there some clever way to persuade git-grep to emit the _absolute_ file name of the hits that it finds?19:16
rbern left19:16
offby1 I often run git-grep in a loop, looking in many different git repositories; I'd love to be able to process the output from emacs' grep-mode19:16
a3Dman left19:16
offby1 of course only now thinks to google, and finds http://superuser.com/questions/980922/how-to-print-absolute-paths-with-git-grep19:17
emPi left19:17
Sazhen86 joined19:18
Takumo left19:19
kevwil_ left19:19
crayon joined19:19
robotroll joined19:19
Macaveli joined19:20
nettoweb left19:20
johnmilton joined19:20
eivarv joined19:21
Takumo joined19:21
Takumo left19:21
Takumo joined19:21
grawity joined19:21
dmto joined19:23
Guest66771 joined19:24
kbs cool (as a fellow emacs user :-)19:25
offby1 I suspect the answer will be "use sed"19:26
kbs heh19:26
offby1 which I will lower myself to, if I must19:26
alexclark joined19:26
offby1 LIKE AN ANIMAL19:26
rbern joined19:26
shmuli joined19:27
GavinMagnus joined19:27
fabio_ joined19:27
alexclark im trying to use merge-file to merge disparate files and can't do it for the life of me19:28
does anyone know how to use that tool?19:28
offby1 kbs: actually, sed seems to work fine, and isn't too nasty19:29
phanimah1sh left19:29
GavinMagnus left19:29
offby1 e.g., searching for @retry in all my Python files:19:29
for d in */src/*/; do (cd $d; set -o pipefail; git grep -nH @retry -- '*.py' | sed s,^,$(pwd)/, ); done19:29
MattMaker joined19:30
MattMaker left19:30
MattMaker joined19:30
fahadash joined19:30
IgnitionWeb joined19:31
alexclark maybe its not what i need19:31
peroht joined19:32
offby1 alexclark: I don't know, but I suspect that's a "plumbing" tool19:32
i.e., intended for git's internal use, not really intended for us hairy humans19:33
s/hairy/clumsy/19:33
GodGinrai offby1: `git grep whatever | 'awk -F: '{ "git rev-parse --show-toplevel" | getline base; print base "/" $1; }'19:33
eVolutive left19:33
offby1 GodGinrai: I think I like mine better :)19:33
alexclark offby1: i imagine whoever wrote it was the hairy one19:34
offby1 My brother is a smooth man.19:34
paul424 left19:35
offby1 hm, I don't need the "pipefail"19:36
Samual left19:36
irco joined19:36
cdown joined19:37
ImJune joined19:37
mehola joined19:37
Spec-Chum left19:37
GodGinrai offby1: yours assumes a directory. Mine will work in any git repo, from anywhere in the repo. :)19:38
IgnitionWeb left19:39
offby1 GodGinrai: does that awk script run "git rev-parse" once total, or once for each line that git-grep outputs?19:40
btree joined19:41
vrishab joined19:41
GodGinrai offby1: every line, but you can throw the rev-parse into a BEGIN block to run it once19:41
nikitasius left19:41
GodGinrai `git grep whatever | 'awk -F: 'BEGIN { "git rev-parse --show-toplevel" | getline base; } { print base "/" $1; }'`19:42
mehola left19:42
johnmilton left19:42
mariuscc joined19:43
GenZai joined19:44
_kreo joined19:46
jmd left19:46
Finnoloid left19:46
bongjovi left19:47
rominronin joined19:48
eVolutive joined19:49
paul424 joined19:49
texinwien_ left19:50
ZexaronS joined19:50
fuchstronaut joined19:51
armyriad left19:52
phaleth left19:52
Darcidride joined19:52
rominronin left19:53
armyriad joined19:54
fuchstronaut left19:55
jimi_sanchez joined19:55
lvns joined19:57
Alejandro-25 joined19:57
jimi_ left19:58
ImJune left19:58
AaronMT left19:59
kyan joined19:59
howdoi left19:59
ExoUNX left20:00
ImJune joined20:00
boombatower joined20:01
jeremyhall_ joined20:02
armyriad left20:04
mcmillhj_ joined20:04
jeremyhall left20:05
HappyLoa- left20:05
gitinfo set mode: +v20:06
mcmillhj_ I have a branch that was merged to our dev branch, but then that commit was reverted. How can I perform that merge again? When I try to merge the normal way via: git co dev -> git merge feature I see 'Already up-to-date.'20:06
cdown left20:07
rpd sounds like you're missing a fetch if it thinks it's up to date already20:07
kadoban mcmillhj_: revert the revert20:07
mcmillhj_ kadoban: how do I do that exactly? Just git-revert with the sha1, then git push ?20:08
maucar left20:08
kadoban mcmillhj_: Yes, git revert thesha1oftherevertcommit, and then ... whatever you want to do with it, push if you like.20:08
star_prone left20:09
mcmillhj_ kadoban: thanks, I will try that20:09
Macaveli left20:09
jaguarmagenta joined20:09
jayc left20:10
mcmillhj_ kadoban: worked perfectly, thank you.20:10
jaequery left20:10
invex joined20:10
kadoban Cool, 'welcome.20:10
boushi joined20:11
DJ_Spies joined20:11
devxom left20:11
eVolutive left20:12
rgrinberg joined20:12
aep-shoutlet left20:12
alexclark left20:12
armyriad joined20:12
a3Dman joined20:13
jaguarmagenta left20:14
spudowiar left20:14
ArchNoob left20:14
robotroll left20:15
wgrant left20:15
daniel_rose left20:16
HappyLoa- joined20:17
maroloccio left20:17
eivarv left20:17
jayc joined20:18
a3Dman left20:18
PCatinean joined20:20
maroloccio joined20:21
rwb left20:21
tvw joined20:22
freimatz left20:22
eVolutive joined20:24
Lunatrius` joined20:24
mcmillhj_ left20:25
xpk joined20:25
ajf- joined20:25
btree left20:25
IgnitionWeb joined20:25
IgnitionWeb left20:26
ImJune left20:26
a3Dman joined20:27
Lunatrius left20:27
Lunatrius`Lunatrius20:27
nwkj86 left20:27
Spec-Chum joined20:28
nwkj86 joined20:28
drefl joined20:28
Joel joined20:29
Joel if I type git tags, are they listed in the order they where made?20:29
mariuscc left20:30
mariuscc joined20:31
kadoban I thought they're alphabetical or something. I dunno though.20:31
ahmedelgabri left20:32
hahuang61 joined20:32
shmuli left20:34
rominronin joined20:35
shmuli joined20:35
ImJune joined20:37
robotroll joined20:37
mehola joined20:38
GenZai left20:38
Henkie joined20:39
daniel_rose joined20:40
johnmilton joined20:40
Henkie left20:41
rahtgaz joined20:41
pampeho joined20:42
mehola left20:43
daniel_rose left20:44
vuoto joined20:44
danslo joined20:45
Gitzilla left20:47
lvns left20:47
aguimaraes1986 left20:50
danslo left20:50
Sucks left20:51
xnrand joined20:51
JanC left20:51
fmcgeough left20:52
johnmilton left20:52
JanC joined20:52
synthroid left20:53
PCatinean left20:53
MattMaker left20:54
TinkerTyper left20:54
TinkerTyper joined20:54
GodGinrai left20:56
skapunker left20:57
jimi_sanchez left21:00
aidalgol joined21:01
aep-shoutlet joined21:02
ImJune left21:03
SwiftMatt joined21:04
LeBlaaanc left21:04
BPL left21:04
avar see "man git-tag" and search for --sort21:04
gitinfo the git-tag manpage is available at http://jk.gs/git-tag.html21:04
haribo left21:05
BPL joined21:05
avar Joel: ^21:05
haribo joined21:05
dsdeiz joined21:05
dsdeiz left21:05
dsdeiz joined21:05
vuoto left21:07
inflames left21:09
BSAlb left21:09
LeBlaaanc joined21:10
BSaboia joined21:14
LeBlaaanc left21:15
jeremyhall_ left21:15
jagob joined21:16
eVolutive left21:16
vrishab left21:17
ambro718 left21:17
editshare-ericf joined21:17
LeBlaaanc joined21:17
texinwien_ joined21:18
xall joined21:21
rahtgaz left21:22
mattcen left21:23
jayc left21:23
ahr3n joined21:24
Tachyon_ left21:24
rkazak joined21:26
rahtgaz joined21:26
mattcen joined21:26
fabio_ left21:26
fabio_ joined21:26
LionsMane left21:28
eVolutive joined21:29
Charliechin joined21:29
sfeinste left21:29
LeBlaaanc left21:30
LeBlaaanc joined21:30
rkazak left21:30
LeBlaaanc left21:31
Caelum ugh, I have a wrong email in a commit I already pushed to master, what do I do?21:32
osse Caelum: either force push or create a .gitmailmap21:33
ImJune joined21:33
ki0 left21:33
vktec But don't force push unless you are _absolutely certain_ that _nobody_ else has pulled that commit21:33
osse I mean .mailmap21:33
Caelum thank you21:33
osse !mailmap21:34
hmm21:34
anyway, see man git-shortlog21:34
gitinfo the git-shortlog manpage is available at http://jk.gs/git-shortlog.html21:34
adamm left21:34
darkbit left21:35
LeBlaaanc joined21:35
mellernoia joined21:35
LeBlaaanc left21:35
liamonade joined21:35
jayc joined21:36
le_melomane left21:36
kyan left21:36
kyan joined21:38
adamm joined21:38
netj left21:39
netj joined21:39
byteflame left21:40
Brain joined21:41
CrypticGator joined21:42
Dyonisos left21:42
skinux joined21:42
CrypticGator left21:42
mischat left21:43
skinux If I have created a local branch of a project, when I checkout that branch will it over-write the existing branch files or will it check files out to a sub-directory of hte project directory?21:43
mischat joined21:43
osse skinux: overwrite21:43
ImJune_ joined21:43
skinux How can I make it checkout the branch to a sub-directory or some way where it won't over-write the existing branch files?21:44
CrypticGator joined21:44
[Brain] left21:44
ImJune left21:44
liamonade left21:44
osse man git-worktree21:44
gitinfo the git-worktree manpage is available at http://jk.gs/git-worktree.html21:44
cd-rum joined21:45
osse but the common way to do it is to just checkout the other branch, and check the previoous one back out when you need it21:45
DieguezZ joined21:47
jagob left21:47
xall left21:47
ImJune joined21:47
ImJune_ left21:47
mischat left21:48
ajf- left21:48
mariuscc left21:50
kpease_ joined21:50
Dougie187 left21:51
fuchstronaut joined21:51
kpease left21:52
tvw left21:54
kpease_ left21:54
jayc left21:55
nnyk_ joined21:56
anuxivm joined21:56
fuchstronaut left21:56
ahr3n left21:56
hkm joined21:57
kpease joined21:57
Caelum osse: oh looks like I needed this anyway, because half of my history uses a different email address21:57
fission6 left21:58
zumba_addict joined21:58
osse Caelum: Pro tip: Don't set your email in ~/.gitconfig so that Git nags you to set it21:58
And set it per repo21:59
haribo left21:59
madewokherd left22:00
Caelum osse: this doesn't fix 'git log' output, right?22:00
zumba_addict left22:01
osse Nop22:02
Just a way to make it not happen in the future22:02
HappyLoa- left22:02
VA3VNA left22:02
zumba_addict joined22:02
DieguezZ left22:03
Spec-Chum left22:03
eVolutive left22:04
FelixVi joined22:04
Darcidride_ joined22:05
eVolutive joined22:05
hahuang61 left22:05
Darcidride left22:06
Spec-Chum joined22:06
boombatower left22:06
Caelum meh, would be nice if it did, oh well22:07
rnsanchez_ left22:08
jayc joined22:08
Caelum osse: in this particular case, I used my email from an organization that I later decided I no longer want to be identified with, because cunts, so I switched to my gmail address22:08
spudowiar joined22:09
gitinfo set mode: +v22:09
xall joined22:09
griffindy left22:09
osse Caelum: That cunty email is etched in stone, unfortunately22:10
jaguarmagenta joined22:10
osse Because checksums22:10
Caelum heh22:10
jeffreylevesque joined22:11
liamonade joined22:12
ResidentBiscuit left22:13
tvw joined22:13
Lyqyd left22:13
kadoban xD22:14
vF3hNGxc47h8 joined22:14
jaguarmagenta left22:14
zivester left22:15
ash_workz left22:18
jimi_ joined22:19
nickthetait left22:21
xpk_ joined22:21
heroux joined22:23
xpk left22:24
BSAlb joined22:25
editshare-ericf left22:26
ImJune left22:27
BSaboia left22:28
axl__ joined22:29
rnsanchez joined22:29
hkm left22:29
Limes__ left22:30
axl_ left22:30
axl__axl_22:30
Derperperd joined22:30
xpk_ left22:31
xall left22:33
dminuoso left22:34
axl_ left22:34
efco joined22:34
madewokherd joined22:34
nickthetait joined22:35
kaldoran left22:36
str left22:37
Corneliu left22:38
iDanoo joined22:39
iDanoo left22:39
iDanoo joined22:39
texinwien_ left22:39
mehola joined22:39
jayc left22:40
dsdeiz left22:41
paul424 left22:42
mehola left22:43
_kreo left22:45
adante_ joined22:45
adante left22:45
adante_adante22:46
danslo joined22:46
larsxschneider joined22:47
danslo left22:51
jayc joined22:52
cyan__ joined22:52
_Patrick_ joined22:52
ResidentBiscuit joined22:54
ImJune joined22:55
mohabaks left22:57
ash_workz joined22:58
HappyLoa- joined22:58
interne7y joined22:58
ncd|leeN left22:59
xall joined22:59
leeN joined23:00
guampa joined23:02
rbern left23:02
ImJune left23:03
interne7y left23:03
Gitzilla joined23:03
ChristopheT joined23:03
ChristopheT left23:03
catag87 left23:05
ImJune joined23:05
red_ joined23:05
catag87 joined23:05
unreal_ joined23:06
catag87 left23:06
catag87 joined23:06
Darcidride_ left23:07
smakarov_ joined23:07
ISmithers left23:07
bluepixel joined23:08
eVolutive left23:08
Darcidride joined23:09
moop left23:09
Darcidride left23:09
moop joined23:10
smakarov__ left23:10
cyan__ left23:11
mcqr left23:11
aep-shoutlet left23:12
bluepixel left23:12
CheckDavid left23:13
rkazak joined23:13
drawkula joined23:14
rbern joined23:14
kyan left23:15
Tachyon_ joined23:16
idmistir joined23:16
Electrom_ left23:18
Jon28__ left23:20
al-damiri left23:20
Jon28__ joined23:21
d0nn1e left23:21
strbean joined23:21
gitinfo set mode: +v23:22
strbean hello23:22
gitinfo strbean: 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.23:22
larsxschneider left23:23
d0nn1e joined23:23
dsdeiz joined23:24
ImJune left23:25
vassagus left23:28
vassagus joined23:29
strbean So I have the following situation: Repos A, B, and C. B and C were submodules of A. They have now been moved into repository A as subdirectories. I have a fork of B with numerous commits that were not in B at the time it was moved into A. How do I go about merging my changes into A?23:29
hahuang61 joined23:30
str joined23:30
dminuoso joined23:30
kadoban strbean: The subtree merging strategy. If you're going to be doing stuff like that a lot, you should use the 'git subtree' command, it's quite nice.23:30
strbean kadoban: thanks, I'll read up on it.23:31
ahr3n joined23:34
sangy left23:34
hahuang61 left23:35
dminuoso left23:37
vassagus left23:37
jj- joined23:39
jimi_ left23:40
cqi joined23:41
kpease left23:42
tvw left23:44
yoan left23:44
Internet13 left23:47
dmto left23:48
Spec-Chum left23:50
str left23:51
ReenignE joined23:52
ReenignE left23:52
ReenignE joined23:52
fuchstronaut joined23:52
shmuli left23:52
shmuli joined23:53
shmuli left23:53
irco left23:54
rkazak left23:56
nnyk_ left23:57
fuchstronaut left23:57
ariver joined23:58
ariverGuest4979223:58
ahr3n left23:59

Logs Search ←Prev date Next date→ Channels Documentation