So you have a Git repository and everything is all setup. What now?
Generally, it is not going to be much different than working with any other source control system, the only real difference should be the staging process. The workflow will generally go something like this:
That is the most complex case - if you’re not collaborating with anyone and so have no upstream repository to push to, and you want to ignore the staging area, it can be as simple as:
- modify files
- see what you’ve changed
- stage the changes you want to commit
- commit your staged changes
- rinse, repeat
Easy peasy. Remember, Git is decentralized, so you don’t actually need a public or shared server to commit to - you can use it like RCS if you want and just track local changes.
- modify files
- commit your changes
- repeat
A collection of articles and resources of interest to the modern software developer
Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do.
-- Steve Jobs
Sunday, September 11, 2011
Learn.GitHub - Normal Workflow
Learn.GitHub - Normal Workflow
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment