3 ms·
Too bad git is a distributed version control system, so you have your repositories locally and can continue work without remote access.
by kbutler 10y ago
Too bad git is a distributed version control system, so you have your repositories locally and can continue work without remote access.
- moron4hire 10y agoThe specific problem today is that I have changes on my home PC that I finished and pushed up to Github last night, but now I can't get them at work this morning, because my home PC is behind a firewall. Also, my IP address is not static, so there's no guarantee I'll even be able to find it to make it a remote.
- pmlnr 10y agoAll you need is to change a DNS entry once your ip changes. Or a remote port via ssh tunnel. (see -R option ).
- weaksauce 10y agoFwiw you can use a dynamic dns to connect to your computer if you poke holes in the firewall and feel like running ssh or something similar.
- problems 10y agoThere are a wide variety of solutions to that, they all fall under the general name of "dynamic DNS". Most DNS providers have some sort of system for updating it even. I use cloudflare and there's a wide variety of scripts that can be used to automatically update CF DNS records. There's also some purpose-built services and many home NAT routers include features for this.
- moron4hire 10y agoHonestly, I'm not really sure it's worth the effort. I'd have to spend time setting it up and baby sit it all year for the one time a year I am hurt by the problem for a couple of hours. Or I could just take the office out for expensive coffee and usually Github is back up again by the time we get back.