© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Adam Bene
Founder & CTO @ Bene Studio | Join us!
The best you can do is an alias in your shell:
alias cdgp='function _cdgp(){ cd $1; git pull --autostash; };_cdgp'
Then do:
cdgp ~/mygitrepo