Recommendation on keeping code up to date
First off I love that you are updating fuel cms on a frequent basis! I have the desire to use this cms with many projects and want to know if you have a recommendation on how to keep the code up to date for each project. Downloading manually and copying files etc would not seem to be the most efficient way. I have done some reading about github but am having difficulty in understanding how to keep fuel cms current with the repository while maintaining my custom changes for look and feel etc. on a project by project basis. Any pointers?
Comments
1. Browse to a directory you want to make your changes (example):
cd /var/www/path/to/my/dir/
2. Type the following in your terminal window ("repo" is the folder name it will create)
git clone git@github.com:daylightstudio/FUEL-CMS.git "repo"
3. Make your changes
4. Do merges with
git pull
Any conflicts with the pull will be flagged as such and will need to be resolved. Let me know if that works for you or you have issues.
git pull
which had conflicts since my changes are not checked in of course
git stash save
this was recommend to save my changes to the side so I could pull the latest from the repository
git pull
pulled down the changes
git stash list
to find the stash id
git stash apply [stash id from list]
update newer version with my changes
git stash drop
ORgit stash pop
ORgit stash clear
to clear saved stashes
Anyway, hope this is helpful. This seems to be the best way to keep a site up to date with the changes that are being made to the repository.
As an FYI, for those that are on the Mac and would like a nice GUI for git, you should try Tower:
http://www.git-tower.com/
It's currently in beta, but is pretty nice. I tend to use the command line for most stuff because it can be quicker and easier in most cases, but sometimes the GUI comes in handy.
Cloning into 'repo;'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.faiz
git://github.com/daylightstudio/FUEL-CMS.git
i have tried to upgrade my fuel with the following process.
1. Browse to a directory you want to make your changes (example):
cd /var/www/path/to/my/dir/
2. Type the following in your terminal window ("repo" is the folder name it will create)
git clone git@github.com:daylightstudio/FUEL-CMS.git "repo"
https://github.com/daylightstudio/FUEL-CMS.git
Or you can look into creating an SSH key:
https://help.github.com/articles/generating-ssh-keys