My thoughts would be to immediately do a 'git init' on your local media, find a 
suitable .gitignore fom github, add it and all your appropriate files as the 
initial commit, and work from there until you get home.

Then it's a case of grafting your travelling repo onto the home repo, followed 
by a suitable 'filter-branch', or rebase, to make the travelling work part of 
the home repo.

Good luck and safe travels.

Philip
  ----- Original Message ----- 
  From: juntandolin...@gmail.com 
  To: git-users@googlegroups.com 
  Sent: Wednesday, January 01, 2014 4:09 PM
  Subject: [git-users] Lost git metadata


  Hi.

  I had to travel urgently and I only have my source code backed up in my 
external drive. 

  I have code not pushed to main repository, I only have the source code, not 
git metadata. In other words, my modified code is not under version control. 

  I need to put my code again under version control, and need to be aware of 
the changes with respect of the main repository. What can I do?

  Thank you. 




  -- 
  You received this message because you are subscribed to the Google Groups 
"Git for human beings" group.
  To unsubscribe from this group and stop receiving emails from it, send an 
email to git-users+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to