nicolac...@gmail.com <nicolacanta...@gmail.com> writes: > inside my repo, I should replace a folder named "img" with a folder > with the same name, which contains files with the same name, but the > image content is different. What is the smartest and easiest way to > replace this folder (in the end I have to replace the files it > contains) without going through 10,000 steps?
$ rm -rf img/ $ cp -R /path/to/new/img . $ git add img/* $ git commit -m "Replaced all images with better versions" $ git push So I guess the essence between 5 and 10.000 steps is using a glob to add. HTH, Tassilo -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/878sa1eiua.fsf%40gnu.org.