This project is read-only.

Getting error "lastFromCommit must not be empty"

Aug 23, 2012 at 12:22 PM

When doing a git tf checkin I get this error:

error "lastFromCommit must not be empty"

I looked in the java source code and find that I am obviously missing some parameter but I don`t find anything in the documentation for that.

Can anyone help me?



Aug 23, 2012 at 2:36 PM

Hello Mirco,

Can you please give us more information regarding the issue you are seeing. Did you clone this git repo using git tf clone ? or did you create a git repo that you are trying to checkin ?

If you created this repo using git and you are trying to check it in into tfs in shallow mode, this is a known issue that has been fixed and committed to source code.



Aug 23, 2012 at 5:15 PM

Hi Youhana,


I created this repo with git (on mac) the usual way. 

git init

git add . 

git commit -m "Initial Commit"

then as described in the documentation:

  1. git tf configure http://myserver:8080/tfs $/TeamProjectA/Main
  2. git tf pull
  3. git commit -a -m "merge commit"
  4. git tf checkin


will using 

git tf checkin --deep 


I will try.

is there a new binary version available with the fix?




Aug 23, 2012 at 7:13 PM


I apologize, this is a bug that we have already fixed and committed into the source in codeplex. Unfortunately, the bits on have not yet been updated as we did not build our official release there. To work around this issue you can either:

git tf checkin --deep

Or download and build the sources from codeplex, this should be easy, the instructions to do so are here :

Sorry for the inconvenience,