• About Cosense
  • Help
  • Log in
programming-notes
git
分散型バージョン管理システム
github


/interaction-lab-git
Related
  • Sort by
  • Related
  • Modified
  • Created
  • Last visited
  • Most linked
  • Page rank
  • Title
  • Links
  • GitHub
  • Git: Large files detected
    [GitHub] に[100MB]超のファイルを置く -- [git push] に失敗してからの対処方法https://qiita.com/kanaya/items/ad52f25da32cb5aa19e6#Git [git.icon][GitHub.icon][Qiita.icon]
  • .gitattributes
    >[リポジトリ]の上のほうにある言語の割合が書かれているあれ>> 特定の言語を非表示にしたい時は.[gitattributes]というファイルでディレクトリ指定すると制御できるの地味に使えたhttps://twitter.com/hagyyyy1992/status/1193525486023929863?s=19#git [git.icon]
  • Git: forkとcloneの違い
  • Git: 特定のブランチのみclone
    Git: 特定の[ブランチ]のみ[clone]`$ git clone --depth 1 --sinle-branch -b <branch> <repository>``--single-branch`: `-b`で指定したブランチのみ`--depth 1`: 最新の[revision]のみ`depth`を指定すると,そのままでは新しいrepositoryへpushできない(shallow update)
  • Ubuntuインストール直後にやること
    設定[ディレクトリ名を英語にする][GPU初期設定]GitHubのSSH設定[CapsLock設定]
  • git submodule
    git [submodule]https://git-scm.com/book/en/v2/Git-Tools-Submoduleshttps://stackoverflow.com/questions/39765663/git-submodule-init-does-absolutely-nothing#Git [git.icon]
  • git diff
    repository外のファイルを比較する`--no-index`#git [git.icon]
  • pull requestの承認を待っている間に他の作業をする
    [https://stackoverflow.com/questions/41875101/github-working-on-fork-while-waiting-for-pull-request git - Github working on fork while waiting for pull request - Stack Overflow]新しいbranchを作って作業する[pull request]している更新が必要ならそのbranchからcheckout
  • VSCode: Visual Studio Code はこの大規模なワークスペース内のファイル変更を監視できません。
    [VSCode]: Visual Studio Code はこの大規模な[ワークスペース]内のファイル変更を監視できません。https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc
  • Gitのデフォルトブランチ名をmainにする
    [https://bayashi.net/diary/2023/0403 Ubuntuで最新のgit][Gitのバージョンが古い]#git [git.icon][main][ubuntu.icon]
  • .gitignore: 無視するディレクトリ内の一部のファイルだけ無視しない
    [.gitignore]: [無視]するディレクトリ内の一部のファイルだけ無視しない(.[gitignore]の否定文(!)でハマったところ: https://qiita.com/NumAniCloud/items/fd452828f634b577ae28 )`└─.gitignore``└─bin/ #これ以下を全部無視したい``└─hoge`
  • Git: ブランチを切ってmergeする
    [ブランチ]を切る`$ git branch # 現在のブランチ(<original branch>)を確認``$ git checkout -b <new branch> # ブランチを作って移動`[remote]に反映`$ git add -A && git commit -m "<msg>" # 改変後, コミットする`
  • fatal: Need to specify how to reconcile divergent branches.
    `$ git pull``hint: You have divergent branches and need to specify how to reconcile them.``hint: You can do so by running one of the following commands sometime before``hint: your next pull:``hint:`
  • git: branchの名前を変更
    [git rename]VSCodeではGUIから出来る[git]
  • Git: ローカルをリモートの状態に戻す
    [https://jpn.itlibra.com/article?id=20645 【git】ローカルをリモートリポジトリの状態に戻す - IT総合Wiki CWiki][git]
  • リモートサーバ上でもssh-agentを使う
    [ssh-agent]を使い、[Agent Forwarding]する`ssh`に`-A`オプションをつける[config]ファイルに`ForwardAgent`を設定する`Host <server>``HostName <server>`
  • The Missing Semester of Your CS Education
  • Git: 特定のファイルを別のブランチから持ってくる
    https://stackoverflow.com/questions/3334475/git-how-to-update-checkout-a-single-file-from-remote-origin-master[Git]: 特定のファイルを別の[ブランチ]から持ってくる#checkout
  • github
  • GitHubにSSHで接続する
    [https://docs.github.com/ja/github/authenticating-to-github/connecting-to-github-with-ssh GitHub に SSH で接続する - GitHub Docs][https://docs.github.com/ja/free-pro-team@latest/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent 新しい SSH キーを生成して ssh-agent に追加する - GitHub Docs]
  • GitHubでforkしたrepositoryをprivateにする
    from [https://stackoverflow.com/questions/10065526/github-how-to-make-a-fork-of-public-repository-private git - GitHub: How to make a fork of public repository private? - Stack Overflow]オリジナルを[bare clone]し、privateとして[mirror push]する
  • GitHubのパスワードを記憶して入力を省略する
    [credential helper]:[GitHub]のパスワードを記憶して入力を省略するhttps://help.github.com/en/articles/caching-your-github-password-in-git[GitHubにSSHで接続する]
  • New Links
  • 分散型バージョン管理システム
  • Created by suto3suto3suto3suto3
  • Updated by suto3suto3suto3suto3
  • Views: 15
  • Page rank: 23.2
  • Copy link
  • Copy readable link
  • Start presentation
  • Hide dots
git
分散型バージョン管理システム
github
https://img.shields.io/badge/git-F05033.svg?style=for-the-badge&logo=git&logoColor=white
/interaction-lab-git
https://ricapitolare.vercel.app/svg?url=https://scrapbox.io/interaction-lab-git#.svg https://scrapbox.io/interaction-lab-git