diff --git a/tldr/git b/tldr/git index a6ea43a1..e9dc1616 100644 --- a/tldr/git +++ b/tldr/git @@ -6,29 +6,37 @@ source: https://github.com/tldr-pages/tldr.git # git > Distributed version control system. -> Some subcommands such as `commit`, `add`, `branch`, `checkout`, `push`, etc. have their own usage documentation. +> Some subcommands such as `commit`, `add`, `branch`, `switch`, `push`, etc. have their own usage documentation. > More information: . -- Execute a Git subcommand: +- Create an empty Git repository: -`git {{subcommand}}` +`git init` -- Execute a Git subcommand on a custom repository root path: +- Clone a remote Git repository from the internet: -`git -C {{path/to/repo}} {{subcommand}}` +`git clone {{https://example.com/repo.git}}` -- Execute a Git subcommand with a given configuration set: +- View the status of the local repository: -`git -c '{{config.key}}={{value}}' {{subcommand}}` +`git status` -- Display help: +- Stage all changes for a commit: -`git {{[-h|--help]}}` +`git add {{[-A|--all]}}` -- Display help for a specific subcommand (like `clone`, `add`, `push`, `log`, etc.): +- Commit changes to version history: -`git help {{subcommand}}` +`git commit {{[-m|--message]}} {{message_text}}` -- Display version: +- Push local commits to a remote repository: -`git {{[-v|--version]}}` +`git push` + +- Pull any changes made to a remote: + +`git pull` + +- Reset everything the way it was in the latest commit: + +`git reset --hard; git clean {{[-f|--force]}}` diff --git a/tldr/linux/ptyxis b/tldr/linux/ptyxis new file mode 100644 index 00000000..57c36e54 --- /dev/null +++ b/tldr/linux/ptyxis @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# ptyxis + +> A container-oriented terminal for GNOME. +> More information: . + +- Open a new Ptyxis window: + +`ptyxis --new-window` + +- Execute a specific command in a new terminal window: + +`ptyxis {{[-x|--execute]}} {{command}}` + +- Open new tab in the last opened window: + +`ptyxis --tab` + +- Set the title for a new: + +`ptyxis --tab {{[-T|--title]}} {{title}}` + +- Specify the working directory for a new tab, window, or command execution: + +`ptyxis {{[-d|--working-directory]}} {{path/to/directory}} --tab` diff --git a/tldr/tzconfig b/tldr/tzconfig new file mode 100644 index 00000000..162d78ed --- /dev/null +++ b/tldr/tzconfig @@ -0,0 +1,14 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# tzconfig + +> Manage and set your local timezone. +> It accepts no parameters. +> More information: . + +- Launch timezone configuration utility: + +`tzconfig`