posts: git-basics: add points to skeleton
This commit is contained in:
parent
af07776451
commit
83218ae648
|
@ -58,15 +58,33 @@ project but have not explored some of its more powerful features.
|
||||||
* Commit early, commit often
|
* Commit early, commit often
|
||||||
* Clean-up merge requests
|
* Clean-up merge requests
|
||||||
|
|
||||||
## Branches and decentralised distribution
|
* Lost? Here's a map
|
||||||
|
* History manipulation can lose commits and other work
|
||||||
|
* `reflog` can help you find it again
|
||||||
|
|
||||||
* Local/remote branch
|
## Tips and tricks
|
||||||
* Remote-tracking branches?
|
|
||||||
* Why doesn't my new `dev` branch push to the remote
|
Here are some basic pieces of knowledge which don't really belong to any other
|
||||||
* Multiple remotes
|
section, which I think needs to be said.
|
||||||
* Example use-case: shared branches and local sandboxes
|
|
||||||
* `pull`/`fetch`
|
### The importance of small commits
|
||||||
* Our lord and savior: `git pull --rebase`
|
|
||||||
|
* Small commits
|
||||||
|
* Why they're useful
|
||||||
|
* Blame
|
||||||
|
* Revert
|
||||||
|
* Review & scope
|
||||||
|
* `git add -p`
|
||||||
|
|
||||||
|
* Stubborn rebase
|
||||||
|
* Example from `42sh`
|
||||||
|
* `git rerere`
|
||||||
|
|
||||||
|
* Splitting a file with `blame` history
|
||||||
|
* Give attribution to `Old New Thing`
|
||||||
|
|
||||||
|
* Binary search for a regression
|
||||||
|
* `bissect`
|
||||||
|
|
||||||
## Going further
|
## Going further
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue