Re: [git-users] moving files to names that were part of the repository

2016-08-12 Thread Xen
Michael schreef op 12-08-2016 23:01: On 2016-08-12, at 10:54 AM, Konstantin Khomoutov wrote: git config --add --global alias.rlog `log -M -C` Ok, can you tell me what I'm doing wrong here? You're using the wrong quotes. The backticks are going to try to execute a command and replace its

Re: [git-users] moving files to names that were part of the repository

2016-08-12 Thread Michael
On 2016-08-12, at 10:54 AM, Konstantin Khomoutov wrote: > 1. http://www.gelato.unsw.edu.au/archives/git/0504/0598.html Wow, that thread got big really fast... --- Entertaining minecraft videos http://YouTube.com/keybounce -- You received this message because you are subscribed to the Google

Re: [git-users] moving files to names that were part of the repository

2016-08-12 Thread Michael
On 2016-08-12, at 10:54 AM, Konstantin Khomoutov wrote: > git config --add --global alias.rlog `log -M -C` Ok, can you tell me what I'm doing wrong here? keybounceMBP:Finite-Fluids michael$ git config --add --global alias.rlog `log -M -C` -bash: log: command not found error: wrong number o

Re: [git-users] moving files to names that were part of the repository

2016-08-12 Thread Xen
Konstantin Khomoutov schreef op 12-08-2016 19:54: Depend on what you're asking for. If you have asked about the `git log`, then yes: have an alias like git config --add --global alias.rlog `log -M -C` If you have asked about whether it's possible to change the way Git stores the history, th

Re: [git-users] moving files to names that were part of the repository

2016-08-12 Thread Konstantin Khomoutov
On Fri, 12 Aug 2016 18:59:37 +0200 Xen wrote: > > What `git mv` did is removed -- from the commit you have recorded > > after running that command -- the file as it was known under its > > old name and added the same contents under its new name. > > Sometimes Git will recognise something as a re

Re: [git-users] moving files to names that were part of the repository

2016-08-12 Thread Xen
Konstantin Khomoutov schreef op 12-08-2016 18:29: What `git mv` did is removed -- from the commit you have recorded after running that command -- the file as it was known under its old name and added the same contents under its new name. Sometimes Git will recognise something as a rename if yo

Re: [git-users] moving files to names that were part of the repository

2016-08-12 Thread Konstantin Khomoutov
On Fri, 12 Aug 2016 17:42:20 +0200 Pablo Rodríguez wrote: > I’m writing a book with git as control version system. > > I have been writing over 300 pages in a file named `my-book.tex`. Now > I realize that I should start it from scratch. So I just `git mv > my-book.tex old-draft.tex`. > > The n

Re: [git-users] moving files to names that were part of the repository

2016-08-12 Thread Michael
On 2016-08-12, at 8:42 AM, Pablo Rodríguez wrote: > Dear list, > > I’m writing a book with git as control version system. > > I have been writing over 300 pages in a file named `my-book.tex`. Now I > realize that I should start it from scratch. So I just `git mv > my-book.tex old-draft.tex`. >