You ALWAYS need to know if you're at the latest revision. Two ways to check:
1. You could do this by checking the timeline on your Trac browser. OR,
2. You could do a git-svn fetch :)
When you do a git-svn fetch, sometimes it looks like there's nothing going on but it implies that you're at the latest revision.
Things to note when committing files:
- Update first so that you're surely working with the latest revision. If someone checks in his/her work 3 minutes ahead of you and you haven't updated, you might experience some errors.
- Commit to the local working directory first. (Difference with svn is that in svn you commit it directly to the repo when you're using svn.)
- command: git-commit -a
- Merge/commit the one you have on your working directory with the central svn repo. Note that if you forget to do #1, you might get an error. If you forget to do #2, you might get an error as well.
- command: git-svn dcommit
No comments:
Post a Comment