... | ... | @@ -17,6 +17,7 @@ The proper procedure to editing code for the first time is: |
|
|
4. `git push --set-upstream origin some_new_branch_name` (... just do it. Also: _google it_)
|
|
|
5. edit the code.
|
|
|
6. periodically (every cohesive change), save your progress by:
|
|
|
`git add -A`
|
|
|
`git commit -am "commit message"`.
|
|
|
<sub>- keep the part between double quotes _descriptive and short_, use [this convention](https://github.com/joelparkerhenderson/git_commit_message) and you'll thank yourself later in life.</sub>
|
|
|
|
... | ... | @@ -31,6 +32,7 @@ One you have edited code in a previous session, and want to continue editing mak |
|
|
|
|
|
if you have uncommitted code, then you have several options but let's stick to just committing and pushing.
|
|
|
|
|
|
- `git add -A`
|
|
|
- `git commit -am "post code commit"`
|
|
|
- `git push`
|
|
|
|
... | ... | |