Git

Working notes on Git: Backup, BitBucket, Branch, Commands, Continue, and cr-lf, and related topics.

Simple Icons contributors / Simple IconsCC0 1.0

Working notes on Git: Backup, BitBucket, Branch, Commands, Continue, and cr-lf, and related topics.

Working notes on Git: Backup, BitBucket, Branch, Commands, Continue, and cr-lf, and related topics.

Topics

  • Backup — Copy of .git.
  • BitBucket — Team\Project.
  • Branch — Updates a local branch from a remote repository while preserving your uncommitted changes and maintaining a clean workflow.
  • Commands — Minimal - repo only.
  • Continue — 1. Branch a private copy.
  • cr-lf — Git core.autocrlf.
  • Crash course — https://try.github.io/levels/1/challenges/1.
  • Detached head — The head points to a commit not on the branch.
  • Diff — Git diff HEAD^^ myfile.
  • File rename only case — Issue on case-insensitive OS like Windows & Mac.
  • History — Particular file.
  • Ignore — .
  • init — Does not alter on checkout.
  • IssuesMessage. Rejected master -> master (non-fast-forward).
  • List — Show files in git index.
  • Mac — 1. Will store password.
  • master to main — Create branch from main - rename.
  • Merge branch — Merge branch: Select the branch to merge to, Merge, Delete, Push, and Choose one version over the other.
  • Multiple accounts — Assisted by google workspace - help me write.
  • Ownership — Ownership: Change origin, and git remote set-url origin <>.
  • Remote — ‘Origin’ is the default one.
  • Remote - filesystem — UNC path.
  • Remote mirror — Every fetch overrides any local change.
  • Remote structure — Home directory.
  • Remove — Git.
  • Rename branch — Rename branch: git push origin :old_branch, git branch -m old_branch new_branch # Rena, and git push --set-upstream origin new_branch # Push.
  • Signed — Generate key.
  • Stash — Stashes current changes.
  • Submodule — Separate repositories.
  • tags — Shows current tags.
  • Tutorials — 5th of September - 2022.
  • Undo — http://stackoverflow.com/questions/927358/how-do-you-undo-the-last-commit.
  • Unexpected modified marks — 1. input is modified - to LF.
Updated: 2026 Aug 19