- After change, you should update your branch first:
git fetch |
- Check how many files you changed:
git status |
- git add wanted file one by one:
git add <wanted file> |
- or add all changed file:
git add . |
- Commit your change:
git commit -m "to realize the login model" |
- Push your new code to gerrit for review:
git push origin HEAD:refs/for/master |