Reputation: 1140
I am having a problem dealing with a website and trying to make changes to it.
First of all, let's say that my website is www.example.com. I downloaded Putty, went to the session, and used the host name (or IP address) to be www.example.com and used the connection type to be SSH. I logged into my account with my username and password I have from the website admins and have myName@example:~$.
Then, I went to github.com. This place is where the website's git repository is located at and my admins told me to go there. I cloned the repository to my unix account and currently have a website url of www.example.com/~myName/
In putty, I have some of the css code for the website and wanted to change some part of the website. So in order to do that, I downloaded WinSCP and used that to transfer the css file of the website to my laptop, make a change to the css code, and then transfered the new code into putty account.
I can see the change on my putty account when I do less filename.css but when I try to log on to my account website of www.example/~myName/ , the change does not appear. In order to fix this problem, am I supposed to do something dealing with github.com and make a new branch or something to the repository I am working on, or do I need to do something else? Thanks for all the help.
Upvotes: 0
Views: 65
Reputation: 376
Instead of using WinSCP for your changes, you should do the following :
C:/wamp/www
if you are on Windows)less
them) and see them on http://localhost/
When you are satisfied with your modifications you can do the following :
www.example/~myName/
This is the proper way of using a configuration management system.
Upvotes: 1