Let\'s say that I have a desktop pc and a laptop, and sometimes I work on the desktop and sometimes I work on the laptop.
What is the easiest way to move a git repo
Easiest way: central repo created with --bare (so no checked out files, only .git stuff), or github
"Distributed" will look like that:
Setup:
git remote add desktop ssh://user@desktop/home/user/repo/pathgit remote add laptop ssh://user@laptop/home/user/repo/pathSyncing:
git pull laptop/desktop (push won't work very well on non-bare repos because git won't modify checked out files when pushing to remote repo)
Or, make repo on pendrive ;)