-
Notifications
You must be signed in to change notification settings - Fork 7
Labels
enhancementNew feature or requestNew feature or requestlanguage/goRequires the knowledge of "Go"Requires the knowledge of "Go"
Milestone
Description
Current Behavior:
NONE
Desired Behavior:
Write APIs for all basic git operations:
-
Repository Setup & Configuration
- git init — Initialize a new Git repository.
- git clone — Clone an existing repository.
-
File Status & Inspection
- git status — Show the working directory and staging area status.
- git log — View commit history.
- git diff — Show changes between commits, branches, or working directory and index.
- git show — Display information about a specific commit.
-
Staging & Committing
- git add — Stage changes for the next commit.
- git reset — Unstage a file.
- git commit -m "message" — Commit staged changes with a message.
- git commit --amend — Modify the most recent commit.
-
Branching & Tagging
- git branch — List, create, or delete branches.
- git checkout / git switch — Switch branches.
- git merge — Merge another branch into the current one.
- git tag — List, create, or delete tags.
-
Remote Repositories
- git remote — Manage set of tracked repositories.
- git fetch — Download objects and refs from another repository.
- git pull — Fetch and merge changes from a remote repository.
- git push — Upload local commits to a remote repository.
-
File & History Management
- git rm — Remove files from the working directory and staging area.
- git mv — Move or rename a file.
- git restore — Restore file contents from a commit or discard changes.
- git revert — Create a new commit that undoes changes from a previous commit.
- git stash — Temporarily save changes that are not ready to be committed.
-
Viewing and Navigating
- git ls-files — Show information about files in the index and working tree.
- git blame — Show what revision and author last modified each line of a file.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestlanguage/goRequires the knowledge of "Go"Requires the knowledge of "Go"