Well.. I looked into this, but I didn't feel like it was the right solution..
With git, is it possible for me to just pull the code I pushed from my other computer, into my XAMPP or apache directory? And does it replace the folder, or just copy from Git repo and into the directory?
Git was made for this + collaboration. Basically each project you have should be a git repository. You can then push/pull changes from those repositories and everything will be synced. It doesn't replace the folder, it just applies changes fetched from git to the files that changed. Nothing else.
There is really no reason not to use git nowadays !
Passionate generalist conquering the web one project at a time. Whether authoring libraries for node, JS, PHP, or Rust, I am always on the lookout for better solutions to common problems.
Location
USA
Work
Lead Developer & Co-founder at corpscrypt, CTO at REtech
Even better: GIT will be the fastest solution as it only updates changes rather than the complete project. Additionally, you have a unified history so you can roll back changes regardless of which computer you used. Start simple and you will see that it's perfect. Soon you'll jump into branching and other features that will make you join the millions of devs that wouldn't live without it anymore
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Why not just use git ?
Well.. I looked into this, but I didn't feel like it was the right solution..
With git, is it possible for me to just pull the code I pushed from my other computer, into my XAMPP or apache directory? And does it replace the folder, or just copy from Git repo and into the directory?
Git was made for this + collaboration. Basically each project you have should be a git repository. You can then push/pull changes from those repositories and everything will be synced. It doesn't replace the folder, it just applies changes fetched from git to the files that changed. Nothing else.
There is really no reason not to use git nowadays !
Even better: GIT will be the fastest solution as it only updates changes rather than the complete project. Additionally, you have a unified history so you can roll back changes regardless of which computer you used. Start simple and you will see that it's perfect. Soon you'll jump into branching and other features that will make you join the millions of devs that wouldn't live without it anymore