#Git
43 notas · última:
Install Oh My ZSH on Ubuntu 14.04
The gist lists the commands to install ZSH and Git, run the Oh My ZSH installer, check the ZSH path, and switch the login shell to ZSH.
The Fundamental Law Of Software Dependencies
The article argues that canonical source code should include checksums for every dependency, including transitive libraries and the compiler, so builds become reproducible and trust shifts from distributors to hashes.
Why Use git switch Instead of git checkout?
Explains that `git switch`, introduced in Git 2.23, focuses on branch switching and creation, while `git checkout` mixes branch and file operations and can be more confusing.
Understanding Git Submodules: A Comprehensive Guide
The page explains what Git submodules are, why to use them, and how to add, clone, update, remove them on Windows, and keep them under control in projects.
Do You Still Use Git in the Terminal?
The author says they still default to Git in the terminal for most tasks, even though GUIs like GitKraken, SourceTree, and VS Code’s Git integration may be easier for others, and asks what tools people use.
Git Commands for Software Engineers
A guide to common Git commands for configuring repositories, tracking changes, managing branches, working with remotes, and handling history, stashes, tags, and patches.
10 new Git commands you should start using today
A round-up of ten Git commands added since version 2.23 that replace overloaded old ones, automate repo maintenance, and make merges, rebases and monorepos easier to handle.
Write broken commits for better review
The article argues that intentionally broken commits can make code review easier when they separate mechanical changes from real ones, especially under squash merges and AI-assisted development.
Automatically Format your code on Git Commit using Husky, ESLint, Prettier in 9 minutes
The article shows how to automate code formatting on commit with Husky, ESLint, Prettier, and lint-staged so a project keeps a consistent style when developers commit code.
Merge vs rebase
The article compares merge and rebase in Git, showing merge as a way to join histories and preserve conflict-resolution history, while rebase rewrites history to keep branches linear and clean.
A productive command-line Git workflow for indie app developers
The article shows a terminal-first Git workflow built around aliases, commitizen, tig, and vim-fugitive to speed up everyday Git tasks and review history.
A huge productivity boost in git with a single alias
The post suggests using a shell alias so `g` runs `git`, then shares a few Git config tweaks: global ignore files, `pull --rebase`, autocorrect, and reusable aliases.
Pull Requests: A Primer
The article explains how to write effective pull requests by following contribution rules, keeping each PR to one scope, using clear commits and messages, and writing a concise title and body with enough context for reviewers.
5 reasons why Git based resume is awesome
The author argues that keeping a resume in GitHub makes it portable, easier to review through pull requests, simpler to customize, cheaper to manage, and free from dependence on a fixed document stack.
Git helpers - Simplify your git workflow
The page shares Git aliases the author uses to reduce repetitive typing, speed up branch and fork maintenance, and simplify common tasks like committing, pulling, rebasing, pushing, and status checks.
Here are all the Git commands I used last week, and what they do.
The page lists common Git commands for initializing, cloning, branching, merging, pulling, inspecting changes, and reviewing history, then adds cautions about force pushes, rebasing, and commit message cleanup.
A successful Git branching model
The post presents a Git workflow built around two long-lived branches, master and develop, plus temporary feature, release, and hotfix branches to manage parallel work and production releases.
Plan Your Commits
The author says commits are easier to remember when the next checkpoint is chosen before coding. Planning the commit in advance reduces mental load and makes it easier to resume later.
Using git bisect
The article explains how git bisect narrows a commit range to find the first bad commit, using a checkout bug as a real-world example of marking commits good and bad.
Getting Git
A comprehensive video series that takes viewers from `git init` to Git Master, with PayPal payment available by sending money to jmac@gettinggit.com.
Don't Amend, Fix
The post argues that `git commit --amend` hides history and is too limited for many correction workflows, while `git commit --fixup` with `git rebase -i --autosquash` makes fixing commits easier and more flexible.
How to master the art of Git
The article explains what Git is, how GitHub fits in, and the basic workflow of cloning, checking status, staging, committing, pushing, pulling, and reverting changes.
Git standup, how did I ever live without you?
The post says standup meetings can make it hard to remember yesterday’s work, and praises git standup as a simple Git extension that lists your commits from yesterday and fits daily workflow.
When to make a Git Commit
The post says to commit when you finish a unit of work or when you have changes you may want to undo. It argues that units of work should be defined by feature, not by time or file type.
3 Git Commands I Use Every Day
The author favors `git add -p` for reviewing changes before staging, `git commit --amend --no-edit` for keeping sequential work in one commit, and `git reset --hard` for discarding unwanted changes.
Installing basic Node.js dev env on Windows 10 bash
The post gives a short bash script for Windows 10 bash that installs git, Node.js, and npm, then explains each command and notes how to switch Node versions and upgrade later.
Guia prático para aprender Git de vez
O texto apresenta o Git como um sistema distribuído de controle de versão e gerenciamento de código-fonte, com histórico completo local, e reúne links para estudo.
Git Tips & Tricks
The post gathers Git commands, config tweaks, aliases, and plugins that GitLab uses to make daily work faster, from built-in help to branch cleanup and merge request checkout.
Oh shit, git!
The page collects plain-English fixes for common Git messes, including reflog recovery, amending commits, moving commits to the right branch, checking staged diffs, and starting over by recloning.
git-tips
A collection of Git command snippets for everyday tasks, including branching, stashing, resets, diffs, remotes, submodules, and recovery actions.
One Commit. One Change.
The post argues that commits should be atomic: one change only, so they can be reverted cleanly, keep builds consistent, and make history easier to trace.
Learn Enough Git to Be Dangerous
Introduces Git as the version-control tool in the Learn Enough fundamentals trilogy, then walks through setup, commits, diffs, branching, merging, collaboration, and GitHub Pages.
8 Small git tips
The post collects eight practical Git tips: partial staging, interactive rebase, stashing, a global ignore file, whitespace warnings, autosetuprebase, clearer logs, and amending commit messages.
GitHub Cheat Sheet
A collection of Git and GitHub features and shortcuts, showing URL tweaks, branch comparison, gists, markdown rendering, issue handling, and local git commands.
5 Useful Tips For A Better Commit Message
The page recommends keeping the first line under 50 characters, using spell check and 72-column wrapping, avoiding git commit -m, and writing commit messages that explain why, how, side effects, and the related issue or story.
Micro Tutorial de Git
O tutorial mostra como clonar um repositório Git, trabalhar em branches locais, fazer commits, mesclar correções, rebasing, usar stash, enviar mudanças e limpar branches e commits.
Git para Cientistas da Computação
A introdução explica o Git como um DAG de objetos e post-its, mostra blobs, trees, commits, refs, tags e descreve como merge, fast-forward, rebase e garbage collection aparecem nesse modelo.
Jogar Pedra em Gato Morto: por que Subversion não presta
O texto defende que Subversion foi útil, mas já passou da hora de mudar para um VCS distribuído, sobretudo GIT, porque branches e merges continuam difíceis e tediosos.
HowTo: Easily integrate a (SSH secured) GIT repository into Redmine
This how-to explains how to clone a Git repository as a mirror, register it in Redmine, and keep it updated with a cron job so Redmine can show commits and repository trees.
Working with Git on Windows
The page explains how to create and install SSH keys on Windows for Git access, recommending OpenSSH over PuTTY and showing how to generate a key pair with ssh-keygen and add the public key to Beanstalk.
