After pushing,
you can make a tag.
rizvi@rizvi-pc:~/workspace/JavaRat1/src/org/rizvi$
git push origin br1001:br1001
Username
for 'https://github.com': macPro
Password
for 'https://macPro@github.com':
To
https://github.com/macPro/JavaRat1.git
0f480f9..6242663 br1001 -> br1001
rizvi@rizvi-pc:~/workspace/JavaRat1/src/org/rizvi$
git tag -a v1.0 -m 'my version
1.0'
rizvi@rizvi-pc:~/workspace/JavaRat1/src/org/rizvi$
git branch -a
* br1001
master
remotes/origin/br1001
remotes/origin/master
rizvi@rizvi-pc:~/workspace/JavaRat1/src/org/rizvi$
git tag
v1.0
rizvi@rizvi-pc:~/workspace/JavaRat1/src/org/rizvi$
git show v1.0
tag
v1.0
Tagger:
rizvi <rizvi@oriongroup.com>
Date:
Mon Jan 19 16:33:12 2015 +0600
my
version 1.0
commit
6242663b132c41e9714356de10cca880d113df9c
Author:
rizvi <rizvi@oriongroup.com>
Date:
Mon Jan 19 15:55:42 2015 +0600
"Orange.java is created"
diff
--git a/src/org/rizvi/Orange.java b/src/org/rizvi/Orange.java
new
file mode 100644
index
0000000..3f774cd
---
/dev/null
+++
b/src/org/rizvi/Orange.java
@@
-0,0 +1,10 @@
+package
org.rizvi;
+
+public
class Orange {
+
+
public static void main(String[] args) {
+
// TODO Auto-generated method stub
+
System.out.println("This is Orange class");
+
}
+
+}
rizvi@rizvi-pc:~/workspace/JavaRat1/src/org/rizvi$
git push origin v1.0
Username
for 'https://github.com': macPro
Password
for 'https://macPro@github.com':
To
https://github.com/macPro/JavaRat1.git
* [new tag] v1.0 -> v1.0
No comments:
Post a Comment