diff options
author | Robert Xu <[email protected]> | 2011-08-20 19:01:43 -0400 |
---|---|---|
committer | Robert Xu <[email protected]> | 2011-08-20 19:01:43 -0400 |
commit | 15f0f9d002ddecf5cc794a7a5bdd78a971b31ee6 (patch) | |
tree | 4206f1a1e76cab4491b6edfd9a1f04c3dad9ed36 /README.GIT | |
parent | b6376fdf63c961e5157cdb12b181ec39153372b7 (diff) | |
download | tde-packaging-15f0f9d002ddecf5cc794a7a5bdd78a971b31ee6.tar.gz tde-packaging-15f0f9d002ddecf5cc794a7a5bdd78a971b31ee6.zip |
new arts tarball with fix not yet in SVN; removed tqtinterface subpkg; revised README.GIT
Diffstat (limited to 'README.GIT')
-rw-r--r-- | README.GIT | 42 |
1 files changed, 38 insertions, 4 deletions
diff --git a/README.GIT b/README.GIT index 654f2f990..65c5312e3 100644 --- a/README.GIT +++ b/README.GIT @@ -1,15 +1,25 @@ -(if this doesn't belong at the root of tde-packaging, feel free to move it to -opensuse/ for reference.) +============================================================ DOCUMENTATION ======================================================= + +GIT tutorial on kernel.org: +http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html + +GIT "cheat sheet" +http://jonas.nitro.dk/git/quick-reference.html + +GIT for those who are used to centralized SCMs: +http://media.pragprog.com/titles/tsgit/chap-005-extract.html + +================================================================ HOWTO =========================================================== To get a copy of the repo: - git clone <repository URL> + git clone http://[email protected]/scm/git/<repository name> 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).) +(this will add everything in the folder (excluding stuff from .gitignore). It is intentionally a period because * will make git ignore already committed files.) To commit to the git repository (this does not send to the remote server!): git commit -a @@ -39,3 +49,27 @@ To tag a commit WITH GPG verification (secure release anyone?): git tag -s <version> -m <message> + +================================================================= NOTE ============================================================ +GIT cannot store empty directories due to a intentional design limitation. + +Therefore, this command should be run prior to any commits to ensure your empty directories stick around: + +find . -type d -empty -exec touch {}/.gitignore \; + +This will add a .gitignore to every empty directory. + +================================================================ WORKFLOW ========================================================== + + +git clone http://[email protected]/scm/git/<repository> + +<make your changes, test, etc> + +cd <repository checkout directory> +find . -type d -empty -exec touch {}/.gitignore \; +git add . +git commit -a +git pull +git push + |