git config

未關閉
#12 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

@MuskanPaliwal 已經在處理了。

開始於 2026年8月31日。

  • #76 來自 @MuskanPaliwal —— 未關閉

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
go
領域
cli

研究方向

從連結的 _examples/config/main.go example 開始,以了解可用的設定支援,然後檢查定義命令的 CLI 入口點。圍繞所要求的 --get、--set 和 --path 形式定義命令行為,包括 remote.origin.url,並根據 GNU git 的結構驗證由此產生的 CLI 互動。

由索引模型根據 Issue 內容生成。

描述

enhancement good first issue help wanted

at the cli level it would be great to have "git config" for introspection.

https://github.com/go-git/go-git/blob/main/_examples/config/main.go show that its there...

The command structure could imitate the gnu git cli like :

config --get user.name

config --set user.name

config --get remote.origin.url

etc

--path is useful also to tell the git command what path to use etc.

主要語言
Go
星號
8
分支
8
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

go-git/cli 的其他 Issue

查看 go-git/cli 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。