mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-07 15:39:15 +02:00
Updated Useful Git commands (markdown)
@ -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`
|
Reference in New Issue
Block a user