...
All following commands, you have to call from within this directory, so just cd
into it.
Most common actions
Command | Description |
---|---|
git status | Shows information about the current status of your local repository. Most importantly, it shows which code version (branch) is currently available in the directory. Example: On branch develop Your branch is up-to-date with 'origin/develop'. |
git pull | Gets the latest updates from the main online (also called origin ) repository. This is similar to svn update . |
git tag | Shows all available tags (versions). To update this list, you should do 2.2.3 |
git checkout -b tag | Switches your workspace to the defined tag or branch and creates it localy. If you want to switch to it again later, omit the "-b" parameter. |
Use cases
Below a list of a few use cases which could make it easier to use/update z-push on GIT basis.
...
These are available in the "release/2X.2X" branch (later there will be other release branches, like "release/2.3").
Just:
git checkout release/2.2
to switch to the release2.
2.x branchgit checkout release/2.3
to switch to the release 2.3.x branch
This one contains 2.23.x alphas (for final QA'ing), betas and final releases.
...
You also could chose not to use e.g. alphas by not pulling until you see the beta announcement. The pull will immediately apply all changes. This is possible, but not very safe because you could accidentally pull and get an alpha version.
Latest development
...
title | Latest news about develop |
---|
...
There is also the "develop" branch, which contains everything available, independently from a version. This is basically the "nightly" build or the SVN trunk.
...
Info |
---|
You can use one or all of the described methods together. So, you can use |
...