summaryrefslogtreecommitdiffstats
path: root/README.GIT
diff options
context:
space:
mode:
authorRobert Xu <robxu9@gmail.com>2011-08-16 21:59:37 -0400
committerRobert Xu <robxu9@gmail.com>2011-08-16 21:59:37 -0400
commitb6376fdf63c961e5157cdb12b181ec39153372b7 (patch)
tree65345eca15bb74c332e1c62d2bfd41ca75d1237e /README.GIT
parent599ff7df9b6922f2d05133bc56e487bcb9200092 (diff)
downloadtde-packaging-b6376fdf63c961e5157cdb12b181ec39153372b7.tar.gz
tde-packaging-b6376fdf63c961e5157cdb12b181ec39153372b7.zip
thought this might be handy.
Diffstat (limited to 'README.GIT')
-rw-r--r--README.GIT41
1 files changed, 41 insertions, 0 deletions
diff --git a/README.GIT b/README.GIT
new file mode 100644
index 000000000..654f2f990
--- /dev/null
+++ b/README.GIT
@@ -0,0 +1,41 @@
+(if this doesn't belong at the root of tde-packaging, feel free to move it to
+opensuse/ for reference.)
+
+To get a copy of the repo:
+ git clone <repository URL>
+
+To exclude items:
+ Create a file '.gitignore'
+
+To add to the git repository (easiest and most efficient way):
+ git add .
+(this will add everything in the folder (excluding stuff from .gitignore).)
+
+To commit to the git repository (this does not send to the remote server!):
+ git commit -a
+(no need to do any git mv or git rm or any of that with the -a option.)
+
+To pull recent commits from the remote git repository:
+ git pull
+(do this before pushing so that you don't collide with other's commits.)
+
+To push to the remote git repository:
+ git push origin master
+(the 'origin master' part is optional after the first time.)
+
+To branch (be careful! This is different from SVN.):
+ git branch <name>
+(don't know what branch you're on? run "git branch" to see and list.)
+
+To switch branches:
+ git checkout <branch name>
+
+To tag a commit (like for releasing a tarball):
+ git tag -a <version> -m <message>
+(ps: this will make webgit generate a tarball with this tag.
+easy releases anyone?)
+
+To tag a commit WITH GPG verification (secure release anyone?):
+ git tag -s <version> -m <message>
+
+