Mount-Mockery - git

Meta data

Created by: dirk
Created at: 2024-10-21 15:38:37+00:00
Modified by: dirk
Modified at: 2025-08-06 15:55:55+00:00
Owner: dirk
Group: IT
Tags ---

History

Version Date Page Meta data Page changed Tags changed
Current 2025-08-06 15:55:55+00:00 Page Meta Yes No
48 2025-07-16 12:58:46+00:00 Page Meta (with diff to current) Yes No
47 2025-06-03 12:12:25+00:00 Page Meta (with diff to current) Yes No
46 2025-06-03 12:11:32+00:00 Page Meta (with diff to current) Yes No
37 2024-12-06 06:39:05+00:00 Page Meta (with diff to current) Yes No
32 2024-10-21 15:43:17+00:00 Page Meta (with diff to current) Yes No
31 2024-10-21 15:41:56+00:00 Page Meta (with diff to current) Yes No
30 2024-10-21 15:38:37+00:00 Page Meta (with diff to current) --- ---

Page source

{{attachment:git.png}}
<<toc>>
= Commit description =
== PYLIBS ==
 * Initial version of caching module
 * Released version ca2b4b9f3fc65b7c11093b2740ff26c2 of state_machine

== MODULES ==
 * Released unittest 4e1fb21190002e93c78ed22759af4ae6 for state_machine ca2b4b9f3fc65b7c11093b2740ff26c2

= Working with a repo =
|| {{{git status}}} || Status ||
|| {{{git submodules status}}} || Status of submodules ||
|| {{{git add <target>}}} || Adding changes of new files ||
|| {{{git push}}} || Pushing changes to server ||
|| {{{git pull}}} || Pulling changes to repo ||
|| {{{git reset <point_in_history> <target>}}} || Resetting added changes ||
|| {{{git commit -m "Change Description"}}} || Commiting changes to server ||
|| {{{git log}}} || Get Repo History ||
|| || Check against server ||
|| || Check Submodules against server ||

= Diff =
|| {{{git diff[tool]}}} || Inspect changes ||
|| {{{git diff[tool] <point_in_history> <point_in_history_2>}}} || Inspect changes between two commits ||
|| {{{git diff[tool] HEAD <point_in_history_2>}}} || Inspect changes of a Branch ||

= Branching and Versioning =
== Branch ==
|| {{{git branch <branch_name>}}} || Create a Branch ||
|| {{{git checkout <branch_name>}}} || Switch to a Branch ||
|| {{{git branch}}} || Get a List of existing Branches ||
|| {{{git merge <branch_name>}}} || Merge Branch to current branch ||
|| {{{git push origin <branch_name>}}} || Pushing changes (new branch) to server ||
|| {{{git branch -D <branch_name>}}} || Delete a Branch ||
|| {{{git push -d origin <branch_name>}}} || Pushing changes (deleted branch) to server ||
|| {{{git branch --merged >/tmp/merged-branches && vi /tmp/merged-branches && xargs git branch -d </tmp/merged-branches}}} || Remove local branches ||

== Version ==
|| {{{git checkout <version_id>}}} || Switch to a specific Version ||

== Tagging ==
|| {{{git tag <tag_name> [commit] }}} || Add a tag to a commit ||
|| {{{git push origin <tag_name> }}} || Push a tag to the repository ||
|| {{{git push --tags }}} || Push all with all tags ||
|| {{{git push --delete origin <tag_name>}}} || Delete remote tag ||
|| {{{git tag -l | xargs git tag -d && git fetch --tags}}} || Delete all tags and fetch all remote tags ||

= Stashing =
TBD

= Submodule =
|| {{{git submodule add <url> <target_path>}}} || Add a Submodule to a project ||
|| {{{git submodule update}}} || Clone Submodules or revert them to the dedicated version ||

= Helpfull =
== Commands ==
|| {{{git remote -v }}} || Get Repo URL ||
|| {{{git remote set-url origin <URL>}}} || Change Repo URL ||

== Points in History ==
|| {{{HEAD}}} || The head revision ||
|| {{{<point_in_history>^}}} || The revision before head ||