Pushing git branches to another repository

No Comments

Leaving this here as I keep on forgetting these whenever I try to replicate a repository to a test repository:

git remote add new_repo git@gitprovider.com:/path/to/new-test-repo.git
git fetch --all --prune
git push --prune new_repo +refs/remotes/origin/*:refs/heads/* +refs/tags/*:refs/tags/*

Old age

No Comments

A few posts in my newsfeed made me think about this.

Growing old is a given.
Being old is an accomplishment.



And my personal corollary: acting your age is not in my vocabulary. 😛

ciao!