Trinity Desktop Environment Packaging
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Slávek Banko f928a20a7c
DEB kdpkg: Switch to cmake.
1 nedēļu atpakaļ
arch hal: fixed hangup on hal start due to move of udev binaries from /sbin 7 gadus atpakaļ
ark Initial import from old SVN repository 7 gadus atpakaļ
debian DEB kdpkg: Switch to cmake. 1 nedēļu atpakaļ
fedora Updates for TDE 3.5.12 for RHEL5 7 gadus atpakaļ
mageia RPM packaging: remove obsolete file 4 gadus atpakaļ
mandriva RPM Packaging: R14 updates 5 gadus atpakaļ
openbsd Removed gopher documentation from tdebase. 8 mēnešus atpakaļ
opensuse RPM Packaging: update qt3 for opensuse 3 gadus atpakaļ
raspbian Added links for Debian Sid and Raspbian Jessie and Stretch 10 mēnešus atpakaļ
redhat RPM: update build scripts for pclinuxos 1 mēnesi atpakaļ
slackware Initial import from old SVN repository 7 gadus atpakaļ
ubuntu DEB kdpkg: Switch to cmake. Switch to common TDE cdbs rules. The man page has been moved to the main tree. 1 nedēļu atpakaļ
README.GIT Update README.GIT file with link to Wiki 3 gadus atpakaļ


============================================================ DOCUMENTATION =======================================================

GIT tutorial on github:

GIT "cheat sheet"

GIT for those who are used to centralized SCMs:

TDE GIT documentation:

================================================================ HOWTO ===========================================================

To get a copy of the repo:
git clone<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). It is intentionally a period because * will make git stop on already committed files.)

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>

================================================================= 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<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