mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-16 10:21:23 +01:00
Updated Useful Git commands (markdown)
parent
1b724e3fa2
commit
4353c873de
@ -13,4 +13,12 @@
|
||||
|
||||
* switch to branch existing on your local repo
|
||||
|
||||
> `git checkout <branch>`
|
||||
> `git checkout <branch>`
|
||||
|
||||
* merge a commit from a different branch (after pulling/fetching!)
|
||||
|
||||
> `git cherry-pick <sha1>`
|
||||
|
||||
* merge a not pushed commit from a different local repository
|
||||
|
||||
> `git --git-dir=../<some_other_repo>/.git format-patch -k -1 --stdout <commit SHA> | git am -3 -k`
|
Loading…
Reference in New Issue
Block a user