Once:
git remote add upstream https://github.com/otheruser/repo.git
Every time:
git fetch upstream
git checkout master # your fork
git merge upstream/master
# Do not do this if your repo has more than one user:
git reset --hard upstream/master
git push --force origin master
(source)
A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.
Jump to
Showing posts with label sync. Show all posts
Showing posts with label sync. Show all posts
How to sync over FTP
Don't re-invent the wheel.
1) Install rsync instead, which is designed with syncing in mind.
2) ftpsync was written a decade ago. Perhaps it has been updated since.
3) lftp syncs over FTP and is being actively maintained.
4) Perl package turbo-ftp-sync may also fit the bill.
1) Install rsync instead, which is designed with syncing in mind.
2) ftpsync was written a decade ago. Perhaps it has been updated since.
3) lftp syncs over FTP and is being actively maintained.
4) Perl package turbo-ftp-sync may also fit the bill.
Subscribe to:
Posts (Atom)