k88hudson/git-flight-rules: Flight rules for git


404 bookmarks. First posted by brianloveswords july 2014.


Git guide for situations where things go wrong.
git 
2 hours ago by jonatancortes
Fixing all manner of git mistakes
git  cheatsheet 
12 hours ago by jhafner
Flight rules for git. Contribute to k88hudson/git-flight-rules development by creating an account on GitHub.
git  howto 
14 hours ago by cglinka
Flight rules for git. Contribute to k88hudson/git-flight-rules development by creating an account on GitHub.
git 
19 hours ago by kingtong
Flight rules for git. Contribute to k88hudson/git-flight-rules development by creating an account on GitHub.
git  reference  guide  tips  cheatsheet  tutorial 
yesterday by e2b
I started writing Flight rules for git because who hasn't had an oh-crap-what-do-I-do moment? Contributions welcome
git 
yesterday by rdkeir
Flight rules for git. Contribute to k88hudson/git-flight-rules development by creating an account on GitHub.
git 
2 days ago by daverobertson
Flight Rules are the hard-earned body of knowledge recorded in manuals that list, step-by-step, what to do if X occurs, and why. Essentially, they are extremely detailed, scenario-specific standard operating procedures. [...] via Pocket
git 
2 days ago by goeran
Flight rules for git. Contribute to k88hudson/git-flight-rules development by creating an account on GitHub.
git  reference  guide  tutorial 
3 days ago by mac
Flight Rules are the hard-earned body of knowledge recorded in manuals that list, step-by-step, what to do if X occurs, and why. Essentially, they are extremely detailed, scenario-specific standard operating procedures. [...]
3 days ago by davidmatas
Flight rules for git. Contribute to k88hudson/git-flight-rules development by creating an account on GitHub.
3 days ago by gabalese
A guide for astronauts (now, programmers using Git) about what to do when things go wrong. via
from twitter_favs
4 days ago by gnat
initialize
git  flight  rules  ref  tut  lessons 
4 days ago by cjitlal
Flight rules for git. Contribute to k88hudson/git-flight-rules development by creating an account on GitHub.
git  code  ref 
4 days ago by rachwhatsit
How to handle common (and uncommon) situations in git
git  howto  examples  documentation  guide  rules 
4 days ago by wka
Flight rules for git. Contribute to k88hudson/git-flight-rules development by creating an account on GitHub.
6 days ago by mollerstrand
What are "flight rules"?

A guide for astronauts (now, programmers using Git) about what to do when things go wrong.
git  tips 
6 days ago by ssorc
Flight rules for git. Contribute to k88hudson/git-flight-rules development by creating an account on GitHub.
git  github  reference  cheatsheet 
6 days ago by lkovanen
A list of how to do common things in Git.
git 
6 days ago by pyrmont
Flight rules for Git by via Hacker News https://ift.tt/1rY1OYA
IFTTT  NewsBlur 
6 days ago by david3smith
Useful compendium of git tasks and solutions:
from twitter_favs
6 weeks ago by rukku
What are "flight rules"?
A guide for astronauts (now, programmers using Git) about what to do when things go wrong.

Flight Rules are the hard-earned body of knowledge recorded in manuals that list, step-by-step, what to do if X occurs, and why. Essentially, they are extremely detailed, scenario-specific standard operating procedures. [...]

NASA has been capturing our missteps, disasters and solutions since the early 1960s, when Mercury-era ground teams first started gathering "lessons learned" into a compendium that now lists thousands of problematic situations, from engine failure to busted hatch handles to computer glitches, and their solutions.

— Chris Hadfield, An Astronaut's Guide to Life.
git  reference  github 
may 2018 by rdark
This is a good troubleshooting for git.
git  resources  howto  troubleshooting 
march 2018 by lpuerto
Flight Rules are the hard-earned body of knowledge recorded in manuals that list, step-by-step, what to do if X occurs, and why. Essentially, they are extremely detailed, scenario-specific standard operating procedures.
git  github  flightrules  reference  tips  howto  guide 
february 2018 by spaceninja
Github repo
Name: git-flight-rules
Tagline: Flight rules for git
Languages:

# Flight rules for Git

🌍
*[English](README.md) ∙ [Русский](README_ru.md) ∙ [简体中文](README_zh-CN.md)*

#### What are "flight rules"?

A [guide for astronauts](https://www.jsc.nasa.gov/news/columbia/fr_generic.pdf) (now, programmers using Git) about what to do when things go wrong.

> *Flight Rules* are the hard-earned body of knowledge recorded in manuals that list, step-by-step, what to do if X occurs, and why. Essentially, they are extremely detailed, scenario-specific standard operating procedures. [...]

> NASA has been capturing our missteps, disasters and solutions since the early 1960s, when Mercury-era ground teams first started gathering "lessons learned" into a compendium that now lists thousands of problematic situations, from engine failure to busted hatch handles to computer glitches, and their solutions.

— Chris Hadfield, *An Astronaut's Guide to Life*.

#### Conventions for this document

For clarity's sake all examples in this document use a customized bash prompt in order to indicate the current branch and whether or not there are staged changes. The branch is enclosed in parentheses, and a `*` next to the branch name indicates staged changes.

[![Join the chat at https://gitter.im/k88hudson/git-flight-rules](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/k88hudson/git-flight-rules?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*

- [Editing Commits](#editing-commits)
- [What did I just commit?](#what-did-i-just-commit)
- [I wrote the wrong thing in a commit message](#i-wrote-the-wrong-thing-in-a-commit-message)
- [I committed with the wrong name and email configured](#i-committed-with-the-wrong-name-and-email-configured)
- [I want to remove a file from the previous commit](#i-want-to-remove-a-file-from-the-previous-commit)
- [I want to delete or remove my last commit](#i-want-to-delete-or-remove-my-last-commit)
- [Delete/remove arbitrary commit](#deleteremove-arbitrary-commit)
- [I tried to push my amended commit to a remote, but I got an error message](#i-tried-to-push-my-amended-commit-to-a-remote-but-i-got-an-error-message)
- [I accidentally did a hard reset, and I want my changes back](#i-accidentally-did-a-hard-reset-and-i-want-my-changes-back)
- [Staging](#staging)
- [I need to add staged changes to the previous commit](#i-need-to-add-staged-changes-to-the-previous-commit)
- [I want to stage part of a new file, but not the whole file](#i-want-to-stage-part-of-a-new-file-but-not-the-whole-file)
- [I want to add changes in one file to two different commits](#i-want-to-add-changes-in-one-file-to-two-different-commits)
- [I want to stage my unstaged edits, and unstage my staged edits](#i-want-to-stage-my-unstaged-edits-and-unstage-my-staged-edits)
- [Unstaged Edits](#unstaged-edits)
- [I want to move my unstaged edits to a new...
github  programming  github-starred-to-pinboard  crypto 
february 2018 by brianyang
Editing Commits
What did I just commit?
I wrote the wrong thing in a commit message
I committed with the wrong name and email configured
I want to remove a file from the previous commit
I want to delete or remove my last commit
Delete/remove arbitrary commit
I tried to push my amended commit to a remote, but I got an error message
I accidentally did a hard reset, and I want my changes back
Staging
I need to add staged changes to the previous commit
I want to stage part of a new file, but not the whole file
I want to add changes in one file to two different commits
I want to stage my unstaged edits, and unstage my staged edits
Unstaged Edits
I want to move my unstaged edits to a new branch
I want to move my unstaged edits to a different, existing branch
I want to discard my local uncommitted changes (staged and unstaged)
I want to discard specific unstaged changes
I want to discard specific unstaged files
I want to discard only my unstaged local changes
I want to discard all of my untracked files
Branches
I want to list all branches
Create a branch from a commit
I pulled from/into the wrong branch
I want to discard local commits so my branch is the same as one on the server
I committed to master instead of a new branch
I want to keep the whole file from another ref-ish
I made several commits on a single branch that should be on different branches
I want to delete local branches that were deleted upstream
I accidentally deleted my branch
I want to delete a branch
I want to delete multiple branches
I want to rename a branch
I want to checkout to a remote branch that someone else is working on
I want to create a new remote branch from current local one
I want to set a remote branch as the upstream for a local branch
I want to set my HEAD to track the default remote branch
I made changes on the wrong branch
Rebasing and Merging
I want to undo rebase/merge
I rebased, but I don't want to force push
I need to combine commits
Safe merging strategy
I need to merge a branch into a single commit
I want to combine only unpushed commits
I need to abort the merge
Check if all commits on a branch are merged
Possible issues with interactive rebases
The rebase editing screen says 'noop'
There were conflicts
Stash
Stash all edits
Stash specific files
Stash with message
Apply a specific stash from list
Finding
I want to find a string in any commit
I want to find by author/committer
I want to list commits containing specific files
Find a tag where a commit is referenced
Submodules
Clone all submodules
Remove a submodule
Miscellaneous Objects
Restore a deleted file
Delete tag
Recover a deleted tag
Deleted Patch
Exporting a repository as a Zip file
Tracking Files
I want to change a file name's capitalization, without changing the contents of the file
I want to overwrite local files when doing a git pull
I want to remove a file from Git but keep the file
I want to revert a file to a specific revision
Configuration
I want to add aliases for some Git commands
I want to add an empty directory to my repository
I want to cache a username and password for a repository
I want to make Git ignore permissions and filemode changes
I've no idea what I did wrong
git  curated 
february 2018 by ethack
What are "flight rules"? A guide for astronauts (now, programmers using Git) about what to do when things go wrong. Flight Rules are the hard-earned body of…
from instapaper
january 2018 by oli