I'm fairly new to GIT and have not been able to establish a proper procedure for contributions, which I like to do. I have forked the master branch onto
https://github.com/webteckie/keystone, I have cloned that to a local repository in my PC and now is where my misunderstanding starts. I like to ask some specific questions and hopefully I learn here enough GIT by example for successful contributions to the project. With that said, what is the correct process to:
1) First to make sure I have a clean repository to make my changes on, what are the series of steps / commands to make sure that my forked and local copy are in sync with the master? Assume I have no changes to commit and I just want to be in sync with master.
2) Now that I have a clean repository, I like to make some changes to my local copy. I know how to work with local branches and commits but it want to mention steps for the benefit of others feel free. But my specific question here is that I like my project's Packages.json to use my local copy for local testing. How do I configure the local copy in my Packages.json file? Currently I'm directly pointing to Master as follows: "keystone": "git://
github.com/JedWatson/keystone.git"
3) ok, so now I've made local changes, tested them in my project, and now I like to push this to my fork and then master? What are the best series of commands / steps to accomplish this?
I think once I know how to do all 3 steps above I should be all set. Hopefully, the answers will also help some folks that are newer go GIT as well and we can all start more quickly contributing :-)
Thanks
Carlos
PS: I have read some on similar threads but they all say different things and I get a little confused. So hopefully having concrete steps specific to Keystone will help me better understand!