*Creating and pushing tags
http://blog.ashchan.com/archive/2008/06/30/tags-on-git/
*More important for me is to check out branch and tags
1. git branch -a (list all branches)
2. git tag -l (list all tags)
3. git checkout remoteBranchName
4. git checkout -b localBranchName (3 and 4 creates local branch for the remotebranch)
5. git checkout -b localBranchName remoteTagName (creates localBranch for remoteTag)
6. git clone username@url:/remoteRepository (creates a local repository)
7. git fetch
8. git merge origin (7 and 8 equal to push)
9. git commit (commits code)
10. git push (updates code)
11. git log (gives me the commit points)
12. git reset --hard f72f1e84f2fb89abe5d1cd3862eed6f271844b0d (revoking to previous statge)
13 git merge tagname (merge to tag)
No comments:
Post a Comment