git clone: Clone a repository into a new directory.git pull: Fetch and integrate changes from a remote repository.git push: Update the remote repository with local changes.git commit: Record changes to the repository.git status: Show the working tree status.git add: Add file contents to the index (staging area).git branch: List, create, or delete branches.git merge: Join two or more development histories together.git fetch: Download objects and refs from another repository.git log: Show the commit logs.git diff: Show changes between commits, commit and working tree, etc.git rebase: Reapply commits on top of another base tip.git tag: Create, list, or delete tags.git reset: Reset current HEAD to the specified state.git remote: Manage set of remotes.git checkout: Switch branches or restore working tree files.git init: Create an empty Git repository or reinitialize an existing one.git rm: Remove files from the working tree and index.git stash: Stash the changes in a dirty working directory.git config: Get and set repository or global options.git blame: Show what revision and author last modified each line of a file.git cherry-pick: Apply the changes introduced by some existing commits.git revert: Revert some existing commits.git bisect: Use binary search to find the commit that introduced a bug.git submodule: Initialize, update, or inspect submodules.git describe: Describe a commit using the most recent tag.git tag -d: Delete a tag.git shortlog: Summarize git log output.git archive: Create an archive of files from a named tree.git gc: Cleanup unnecessary files and optimize the local repository.git fetch --all: Fetch all branches from all remotes.git clean: Remove untracked files from the working directory.git ls-tree: List the contents of a tree object.git show: Show various types of objects.git reflog: Show reference logs.git grep: Print lines matching a pattern.git config --global: Set global configuration options.git merge --no-ff: Merge commits with a merge commit.git merge --squash: Combine changes from multiple commits into one.git format-patch: Prepare patches for e-mail submission.git difftool: Show changes using a diff tool.git log --oneline: Show commit logs in a concise format.git log --graph: Show commit logs with a graphical representation.git commit --amend: Modify the last commit.git checkout -b: Create and switch to a new branch.git ls-files: Show information about files in the index.git remote -v: Show remote repository URLs.git stash pop: Apply the top stash and remove it from the stash list.git stash apply: Apply a stash without removing it from the stash list.git diff --staged: Show changes between the index and the last commit.git describe --tags: Describe a commit with the most recent tag.git remote add: Add a new remote repository.git rebase -i: Interactively rebase commits.git tag -a: Create an annotated tag.git pull --rebase: Rebase instead of merging when pulling.git show-branch: Show branches and their commits.git reflog expire: Expire old reflog entries.git archive --format=zip: Create an archive of the repository in a zip format.git rm --cached: Remove files from the index without deleting them from the working directory.git fetch --prune: Remove remote-tracking branches that no longer exist on the remote.git push --force: Force push changes to the remote repository.git push --tags: Push all tags to the remote repository.git push --set-upstream: Set the upstream branch for the current branch.git pull --no-commit: Perform a pull without committing.git remote rm: Remove a remote repository.git branch -d: Delete a local branch.git branch -m: Rename a local branch.git commit -m: Commit changes with a message.git commit --no-edit: Commit with the existing commit message.git tag -l: List all tags.git log --stat: Show the commit logs with statistics.git log --patch: Show the commit logs with diffs.git stash list: List all stashes.git stash drop: Remove a stash.git stash clear: Clear all stashes.git rebase --onto: Rebase commits onto a different base.git reflog show: Show reflog entries for a specific reference.git filter-branch: Rewrite branches.git notes: Manage object notes.git show-ref: Show references.git difftool --dir-diff: Compare directories using a diff tool.git update-index: Modify the index entries.git svn: Interface with Subversion repositories.git cherry: Find commits that are in one branch but not in another.git worktree: Manage multiple working trees.git notes add: Add a note to an object.git filter-repo: Filter repository history (alternative tofilter-branch).git bundle: Create and apply Git bundles.git reflog expire --expire: Expire reflog entries based on age.git daemon: A simple server for Git repositories.git instaweb: Launch a web server to view a repository.git mergetool: Run a merge conflict resolution tool.git blame --line-porcelain: Output blame information in a parseable format.git diff --word-diff: Show word diff in changes.git prune: Remove objects that are no longer reachable.git gc --aggressive: Perform an aggressive garbage collection.git gc --prune: Prune objects older than a specified date.git bisect start: Start a bisect session.git rerere: Reuse recorded resolutions of conflicted merges.git svn rebase: Rebase Subversion branches.
Last active
October 23, 2024 03:29
-
-
Save kmwarter/cdb2b5ced478b817c712026f1247183d to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment