Various scripts to assist TDE developers
Slávek Banko 065e9e0936
Update switch_all_submodules_to_head_and_clean
2 weeks ago
astyle Fix script 5 years ago
README Add scripts directory 6 years ago
README.GIT Update README.GIT file with new GIT tutorial location 5 years ago
commit_all_submodules Updating git scripts 5 years ago
create_all_tarballs Update create_tarball and create_all_tarballs + default TARGET is now detected from the TDE core header + added check if TARGET is valid for the branch 2 months ago
create_tarball Update create_tarball and create_all_tarballs + default TARGET is now detected from the TDE core header + added check if TARGET is valid for the branch 2 months ago
switch_all_submodules_to_head_and_clean Update switch_all_submodules_to_head_and_clean + better detection of whether a branch is remote tracked + instead of git pull --rebase is used git fetch and git rebase + added verification whether the remote server is available + do a git checkout only if the required branch is not active + added support for creating a 'tde' submodules tree using git worktree 2 weeks ago
update_all_submodules Update update_all_submodules + create lock specific by branch + initialize submodules only if they have not yet been initialized + use --no-recurse-submodules at git pull for better overview of the update progress 2 months ago

README.GIT

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

GIT tutorial on github:
http://schacon.github.com/git/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 ===========================================================

Checking out the repository for editing under your username:
git clone http://your-username@scm.trinitydesktop.org/scm/git/tde

Adding files:
git add *

Committing changes to your local copy:
git commit -a

Pushing all committed changes in your local copy to the master server:
git push origin master

================================================================= NOTE ============================================================
GIT cannot store empty directories due to a 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 \;

================================================================ WORKFLOW ==========================================================


git clone http://your-username@scm.trinitydesktop.org/scm/git/tde

<make your changes, test, etc>

cd <repository checkout directory>
find . -type d -empty -exec touch {}/.gitignore \;
git add *
git commit -a
git push origin master